Help talk:Page status indicators

From mediawiki.org
Latest comment: 11 months ago by Sj in topic Update: Coordinates + screenshots?

Coord and friends[edit]

Is it appropriate to use these for coord and similar text/hypertext information? --Nemo 21:10, 30 December 2014 (UTC)Reply

How to add a help indicator[edit]

addHelpLink() adds a (?)_link_ to the indicators, see e.g. Special:WhatLinksHere. I want to simulate this from wikitext.

<indicator name="mw-helplink">[[mw:API:Data and developer hub|what is this?]]</indicator>

only shows the help icon if I load the 'mediawiki.helplink' module, e.g. by entering mw.loader.load('mediawiki.helplink') in the browser console. Instead of using name="mw-helplink", I could manually insert the icon, or I could load the module in common.js, or I could try and use the OOUI version of the help icon. See my experiment at Special:Redirect/revision/1687517

@SPage (WMF): I think the latest version of the code is the best, namely something like:
<indicator name="not-mw-helplink-use-something-else">[[File:VisualEditor_-_Icon_-_Help.svg|24px|link=mw:API:dev.wikimedia.org]] [[mw:API:Data and developer hub|Help]]</indicator>
Using the 'mw-helplink' indicator name for custom stuff is not supported right now. Matma Rex (talk) 12:47, 25 June 2015 (UTC)Reply

Mobile support[edit]

Is there anyway to make it works with mobile page? --Great Brightstar (talk) 13:58, 13 February 2019 (UTC)Reply

The default mobile skin (Skin:Minerva Neue) unfortunately does not display them. This issue is reported here: phab:T75299. Matma Rex (talk) 15:39, 13 February 2019 (UTC)Reply

Update: Coordinates + screenshots?[edit]

Worth a section here specifically for coordinates as indicators, and where they show up.

Also worth adding a Vector2022 screenshot for clarity on where various indicators show up with a language bar. Sj (talk) 13:41, 29 April 2023 (UTC)Reply