Help talk:Magic words
![]() Archives |
---|
/Archive 001 |
Contents |
Pending change level [edit]
This page needs to be updated with {{PENDINGCHANGELEVEL}}
, but I'm not sure that I could describe it accurately myself. Does anyone know who the right person to ask is? Mr. Stradivarius (talk) 10:17, 15 February 2013 (UTC)
- First off, what is a
{{PENDINGCHANGELEVEL}}
? I've tried searching the text for anywhere on this wiki and en.wikipedia and can't find a thing referring to that. It looks like some kind of Magic Word or Template, but I can't find it on the Help:Magic Words page or in the Template namespace. - Secondly, what is the change that you think condones a
{{PENDINGCHANGELEVEL}}
? - -- ShoeMaker ( Contributions • Message ) 19:15, 18 February 2013 (UTC)
- PENDINGCHANGELEVEL is a magic word that shows the level of pending-changes protection active on the current page. It's already implemented, it's just not documented here yet - I revised a meta-template for protection icons using it on en.wiki (en:Template:Pp-meta). On the template talk page, someone pointed to this page where it was apparently put into MediaWiki, but I don't really understand the code review process or localization issues, so I thought I'd ask before adding it to the page in case I got it wrong. Best --Mr. Stradivarius (talk) 03:01, 28 March 2013 (UTC)
- Does that magic word belong to the core (or core set of extensions)? I would think it is part of Extension:FlaggedRevs' Special:PendingChanges. No? Either way, I don't see this MAG listed on Special:Version with the rest of the MAGs. — T13 ( C • M • Click to learn how to view this signature as intended ) 10:34, 28 March 2013 (UTC)
- It's extension specific so probably belongs on in the extension docs. Note afaik special:version only lists parser functions not variables and this one is a variable. Bawolff (talk) 11:31, 28 March 2013 (UTC)
- Wouldn't it be in the same group as ... numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, padleft, padright, pagename, pagenamee, pagesincategory, pagesize, plural, protectionlevel, ... ? Technical 13 (talk) 12:06, 28 April 2013 (UTC)
- It's extension specific so probably belongs on in the extension docs. Note afaik special:version only lists parser functions not variables and this one is a variable. Bawolff (talk) 11:31, 28 March 2013 (UTC)
- Does that magic word belong to the core (or core set of extensions)? I would think it is part of Extension:FlaggedRevs' Special:PendingChanges. No? Either way, I don't see this MAG listed on Special:Version with the rest of the MAGs. — T13 ( C • M • Click to learn how to view this signature as intended ) 10:34, 28 March 2013 (UTC)
- PENDINGCHANGELEVEL is a magic word that shows the level of pending-changes protection active on the current page. It's already implemented, it's just not documented here yet - I revised a meta-template for protection icons using it on en.wiki (en:Template:Pp-meta). On the template talk page, someone pointed to this page where it was apparently put into MediaWiki, but I don't really understand the code review process or localization issues, so I thought I'd ask before adding it to the page in case I got it wrong. Best --Mr. Stradivarius (talk) 03:01, 28 March 2013 (UTC)
Option NOSEP in formatnum [edit]
What does it do? See translatewiki:Thread:Support/Magic_Word_"NOSEP". --Nemo 21:24, 29 March 2013 (UTC)
Reading numbers from titles [edit]
Hi. Could anybody help me how to read only numbers from titles with different parametres (e.g. the title is "1256 something" and the template should extract only "1256"; or the title is "something 358 something" and the template should extract only "358")? I tried it by using different magic words, but they appeared to be useless in this case. I'd also like to know if it's possible to create a template that will read the words from the title in a given order (e.g. the title is "Canis Minor" and the template should read only the second word, i.e. "Minor"). Thanks.--Kiril Simeonovski (talk) 07:48, 8 April 2013 (UTC)
- Replied here: Thread:Project:Support desk/Reading numbers from titles --Ciencia Al Poder (talk) 09:35, 8 April 2013 (UTC)
{{PAGESINCAT:Foo|subpages}} [edit]
Is there an easy way to get the total number of subpages in a category such as {{PAGESINCAT:Foo|subpages}}
? This would be useful for keeping track of members of maintenance categories that are segregated by month or year. Technical 13 (talk) 15:44, 22 May 2013 (UTC)
- No, and this could be a highly expensive parser function. --Ciencia Al Poder (talk) 09:12, 23 May 2013 (UTC)
{{REVISIONxxx:Foo}} [edit]
Is there any way to get revision information using the magic words for another page such as getting {{REVISIONUSER:Foo}}
or {{REVISIONTIMESTAMP:Foo}}
from [[Bar]]
? 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)