Help talk:Magic words

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Archives of this page


Please add new topics to the bottom of this page

{{MediaWiki:}} and {{int:}}[edit]

Just as clarification, {{MediaWiki:..}} and {{int:..}} are not the same.

{{MediaWiki:..}} is not a magic word function. It is just a regular template transclusion from the MediaWiki-namespace (just like one could embed User:Krinkle/Tools with {{User:Krinkle/Tools}}.

{{int:..}} on the other hand is in fact a magic word function that returns the translated message value for the passed key, in the language of the logged-in user. For example {{int:nstab-main}} returns "Content page" (the title of the "namespace tab" of the main namespace).

These messages are part of the MediaWiki software, they are not stored in the MediaWiki namespace. Only messages that are overridden or created for this wiki specifically (created, for example: MediaWiki:Common.js. Overridden for example: MediaWiki:Blockedtext (original) are stored on-wiki in that namespace. Another big difference is the translation. {{int:nstab-main}} returns "Content page" for English users but returns "Seite" for German users. –Krinkletalk 12:30, 16 March 2012 (UTC)

anchorencode?[edit]

Searching for "anchorencode" redirects me to this help page, but there isn't any information about anchorencode. So, what does it do?? Please, if you answer, also notify me on my Wikipedia talk page since I'm not so often here. —Kri 22:03, 2 June 2012 (UTC)

This has been merged to the MediaWiki software documentation at mw:Help:Magic_words#Parser functions (see notice on top of the help page). –Krinkletalk 01:36, 3 June 2012 (UTC)
Okay, I edited the redirection page so now it links to mw:Help:Magic_words#Parser functions instead, although the reader has to manually click on a link to be forwarded to the page since it is at another Wikimedia site. —Kri 09:52, 3 June 2012 (UTC)

GENDER[edit]

There used to be a GENDER magic word, but I'm not seeing it documented. Is it still in the software? NE Ent (talk) 12:50, 1 September 2014 (UTC)

I just came here looking for information on the {{GENDER}} magic word, but it's not documented! It appears that NE Ent beat me to this talk page, though. Would anybody be able to document this? – voidxor (talk | contrib) 01:25, 30 September 2014 (UTC)
It's actually at mw:Help:Magic words NE Ent (talk) 20:44, 11 October 2014 (UTC)

What's left to kill this page?[edit]

It seems crazy to have this page stumbling along while mw:Help:Magic words on mediawiki.org is more up-to-date.

However, only this page documents the Template modifiers

  • {{msgnw}}
  • {{raw}}

and maybe other stuff. If we move those to mw.org, can we {{Outdated}} this? -- SPage (WMF) (talk) 23:47, 20 April 2015 (UTC)

I copied Template modifiers to mw:Help:Magic words#Transclusion modifiers. It is missing safesubst here, but better to kill this page than fix it. -- SPage (WMF) (talk) 09:42, 21 April 2015 (UTC)