Help talk:Magic words

&#123;&#123;REVISIONxxx:Foo&#125;&#125;
Is there any way to get revision information using the magic words for another page such as getting  or   from  ? This would be useful for keeping track of articles in a project for a list of pages. Technical 13 (talk) 15:44, 22 May 2013 (UTC)


 * No. This can be handled by a DynamicPageList extension, though. --Ciencia Al Poder (talk) 09:11, 23 May 2013 (UTC)


 * +1 for feature request -- sir KitKat 78.21.21.68 07:38, 15 October 2013 (UTC)
 * Yes, this has worked for some time now. Guess no-one has patrolled this page in a while...  Foo was lasted edited on   by  (User:). Technical 13 (talk) 19:53, 10 November 2014 (UTC)

_NOEDITSECTION_ on every page?
Hey there, I am using Mediawiki and I have problems with partly editing of pages, so I want to disable the "edit section" Button for the whole wiki. Is this possible?
 * If there was such a thing, I would think it would be listed on Manual:Configuration settings (alphabetical), which it is not. However, depending on which version of MediaWiki you are running you could just set the class (use to be   but was recently renamed   on some wikis like en.wikipedia) for to   in your MediaWiki:Common.css --  Technical 13 (talk) 12:48, 15 June 2013 (UTC)

I'd like to be able to do this too
I don't understand the answer saying that you set \
 * or possibly, depending on the version of MW you are running:


 * to your MediaWiki:Common.css. Technical 13 (talk) 19:46, 10 November 2014 (UTC)

__DISAMBIG__
Could someone please add the necessary documentation for __DISAMBIG__ (Extension:Disambiguator) here and, if you could be so kind, also at en:Wikipedia:Magic words? Thank you. -- Michael Bednarek (talk) 13:48, 11 July 2013 (UTC)
 * I was under the impression that this page was reserved for core (or at least ships with core extension) magic words and I don't remember seeing Extension:Disambiguator being in that package. Is this going to be a new inclusion in the default package? Technical 13 (talk) 10:26, 17 July 2013 (UTC)
 * When I look up magic words on the EN Wikipedia, I often end up looking at Help:Magic words here on MediaWiki, because that page is linked there, e.g. at en:Help:Magic words. My impression, which may well be wrong, is that MediaWiki documents the MediaWiki software. If that is not so, feel free to remove the entry about  again; in that case, I wonder whether it would be better to remove the mentioned link to MediaWiki at "en:Help:Magic words" as well. -- Michael Bednarek (talk) 12:21, 17 July 2013 (UTC)

Number of files in Articles
Hi, Is there any way to be able to count the number of files (In my case: Images) shown in article/category? In other words, I want to have the number of occurrence of any in given article.

TNX --82.80.126.166 13:01, 23 October 2013 (UTC)

Fullurle
The magic word  is not described in this page, and I honestly don't know the difference between that and. Cainamarques (talk) 21:32, 6 December 2013 (UTC)

Displaying the article's author on the page
Is there any magic word for that? For example displays the username/IP of the last user, who edited the article. How to display the username/IP of the user, who created the article?--185.31.48.30 09:45, 17 April 2014 (UTC)


 * No. That would be an expensive operation, as MediaWiki should find the first revision of the current page. --Ciencia Al Poder (talk) 16:53, 17 April 2014 (UTC)


 * Requested on bugzilla:18748 in May of 2009. Technical 13 (talk) 19:32, 10 November 2014 (UTC)

Adding translatable docu to such a page is horrifying
This diff together with translate tags etc. causes fatals, so I gave up. Sorry for this. The standard nonsense error message "Fatal exception of MediaWiki exception" or what this is called will probably not help digging into the issue. --&#91;&#91;kgh&#93;&#93; (talk) 22:32, 4 July 2014 (UTC)

anchorencode
Did somebody change anchorencode ?

It now seems to strip italic markup, rather than encode it:

->

It just means that on en-wp, we have to clean up a few hundred articles where en:template:SfnRef (which uses anchorencode to generate anchors in footnotes) has anchors that are generated from italicised words. --RexxS (talk) 16:30, 6 July 2014 (UTC)

Variables that affect behaviour
Why are  and   listed under Variables when they do not "return information about the current page, wiki, or date"? Surely, since they "control the layout or behavior of the page", they should be listed at Behavior switches. This has come up at w:en:Help talk:Magic words. --Redrose64 (talk; at English Wikipedia) 10:14, 17 July 2014 (UTC)


 * I surmise it's because "switches" have a special  that doesn't accommodate parameters, whereas DISPLAYTITLE: and DEFAULTSORT: require them. Of the "variables" listed on this Help page, those that take parameters use them only to specify the object about which the "variable" should return information. As DISPLAYTITLE: and DEFAULTSORT: use parameters to set environmental states rather than report them, they are certainly a special case. Maybe they (along with NOEXTERNALLANGLINKS:) should be described as "environment variables", "behavior variables", or "behavior functions", and be placed in their own section or subsection in the page.
 * &#8942;
 * My suggestion at this point would be to rename the current "Behavior switches" section to "Behavior settings", move the current content of that section into a subsection called "Behavior switches", and add a second subsection called "Behavior functions" where DISPLAYTITLE:, DEFAULTSORT:, and NOEXTERNALLANGLINKS: are explained. I would also suggest that the list of "general types of magic words" in the lede be rewritten accordingly, mentioning the differences in effect, as well as in format, of the various kinds of magic words.
 * &#8942;
 * As an aside, I note that the keywords called "variables" on this Help page would probably be more accurately described as "functions", as they are used to return values that report some aspect of the environment, rather than to store arbitrarily-assigned values. But I guess that's a whole 'nother ball o' wax. — Jaydiem (talk) 16:56, 17 July 2014 (UTC)

Pages in category + sub categories
Is there a deeper penetrating {{Pagesincategory that will also count the pages in the subcategories? That would be wonderful. Kmath87 (talk) 22:02, 8 August 2014 (UTC)
 * Not built in to the parser, Kmath87, no. You will have to use a recursive template, some kind of E:Loops, Lua (scribunto if I spelled that right), or javascript via the api if you want to have a count of all pages in a category & subcats. Technical 13 (talk) 12:14, 9 September 2014 (UTC)

What is the opposite of ?
If I know the page ID number, how do I find the page?

I see that, if I have the page name, the will give me the number, I'd just like to do it the other way around.

197.155.4.118 09:08, 20 August 2014 (UTC)


 * The answer to your question is . Technical 13 (talk) 19:20, 10 November 2014 (UTC)

Missing magic words
It looks like the following magic isnt listed: gives gives gives gives gives gives gives Christian75 (talk) 07:30, 30 September 2014 (UTC)

Magic Word ' | '
When I created the template for this magic word, I was having an issue using it with tables when I passed them in parameters for templates. I was using the syntax for specifying why I created the template. One thing to note is that the '|' character must come immediately after the closing tag. Otherwise, the white space messes up the parsing of the character when being used in tables; at least for what I was using it for. A newline simply doesn't cut it. --Erutan409 (talk) 14:48, 5 October 2014 (UTC)

Proposition of text changes and errors.
--Jmarchn (talk) 06:26, 10 October 2014 (UTC)
 * In page name is nor translatable.
 * Where says:
 * "exactly as formatnum formats them with the wiki's locale" must be "exactly as  formats them with the wiki's locale"
 * "are changed; formatnum will only transform" must be "are changed;  will only transform"

Getting display on the page without parsing: mw:Help:Magic words#Other
Hi,

I have mediawiki 1.23 and most of the extension installed, including scribunto, parserfunctions...

Since, the august dump I am getting errors in the page like the page is not able to parser Magic words module. Do you have any idea why is that happening?

Most of the pages are broken.

Gaius Marius colspan=2 style="background-color: lavender; text-align: center" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Consul of the Roman Republic This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.colspan=2 style="border-bottom:none; text-align:center"#REDIRECTmw:Help:Magic words#Other This page is a soft redirect.In office 107 BC, 104–100 BC, 1 January 86 – 13 January 86 BC #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Preceded by This page is a soft redirect. Marcus Aurelius Scaurus #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Succeeded by This page is a soft redirect. Quintus Servilius Caepio and Gaius Atilius Serranus #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

colspan=2 style="background-color: lavender; text-align: center" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Personal details This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Born This page is a soft redirect. ca. 157 BC Arpinum, Roman Republic #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Died This page is a soft redirect. January 13, 86 BC (aged 70) Rome, Roman Republic #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Political party This page is a soft redirect. populares #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Spouse(s) This page is a soft redirect. Julia (paternal aunt of Julius Caesar) #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Children This page is a soft redirect. Young Marius #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other

style="text-align:left;" #REDIRECTmw:Help:Magic words#Other This page is a soft redirect. Religion This page is a soft redirect. Roman Paganism #REDIRECTmw:Help:Magic words#Other This page is a soft redirect.-
 * 1) REDIRECTmw:Help:Magic words#Other
 * Please consider revising your topic by removing unnecessary white-space and adding content under a registered account so that someone could actually respond back to you directly if they preferred.
 * --Erutan409 (talk) 13:06, 21 October 2014 (UTC)