Help talk:Magic words

BASEPAGENAME and SUBPAGENAME do not output properly
I am running an installation of Mediawiki 1.11.0, and I cannot get  to output the appropriate page name. If the page is called "title/foo", it is supposed to output "title", but instead I get "title/foo". Same output with. Would appreciate some help... --Wikitonic 18:37, 14 November 2007 (UTC)
 * Set $wgNamespacesWithSubpages to true for the namespaces where you want to use these templates. (It's better to ask these questions on Project:Support desk.) i Alex  08:17, 15 November 2007 (UTC)
 * Thanks! I'll try to post in a better place next time. --Wikitonic 16:22, 15 November 2007 (UTC)

User's User Name?
will link to your profile: Subfader But how about a code that returns your user name as plain text so i can use it for codes and links? --Subfader 11:05, 28 March 2008 (UTC)


 * I know that Uncyclopedia uses  in their article on You, but I think that one might be a custom magic word for them only. -- Lightsup55  ( T | C ) 07:30, 26 January 2009 (UTC)

Section name
Is there any variable (or extension that enables it) which returns the current section name? Would be useful for manually inserting edit links. 193.62.111.10 09:47, 3 April 2008 (UTC)
 * I second this. Access to the current section name/number would be very helpful on occasion. ⇔ ChristTrekker 20:06, 4 September 2008 (UTC)


 * MediaWiki's bug-tracking database already has an old request for a section number variable. See 1605. --Zigger 16:42, 10 November 2008 (UTC)

Sync?
I have added a few that seemed to have been missed, like filepath and pagesize, but when about to add #special, I saw that #language and #tag aren't listed here, but are on m:Help:Magic_words. Should I add them? They are ptechnically parser functions, but so are many of the one listed here already. The definition of parser function vs variable is a bit hazy, so separating them isn't terribly easy. Here are all the (as of r33875) defined core parser functions:

Should all of these either all be included, or all moved to Help:Parser functions? Splarka 23:10, 24 April 2008 (UTC)


 * I think including them on this page would be better, so it's easier to reference or look something up. Maybe add a "Parser function" section? — Pathoschild 08:37:53, 15 May 2008 (UTC)

shows a wrong number
Hi,

I use  in the main page of my site. at the moment in the name space I have about 20 articles but just says ten.

I have:
 * 1)  MediaWiki: 1.11.0
 * 2) PHP: 5.2.4 (cgi)

how could that be fixed?

thanks,

--DonGiulio 20:48, 1 May 2008 (UTC)

START
The magic word __START__ does not appear in the list $mDoubleUnderscoreIDs defined in MagicWord.php. John Vandenberg 02:58, 30 July 2008 (UTC)

something to obtain image dimensions?
There's a variable or something to get the "dimensions" of a file in the "Image" description pages?

(I want to put this info in a property using SemanticMediaWiki; I see the info is there but I don't know how to obtain it)

Thanks in advance.

Dvdgmz.--Dvdgmz 11:09, 3 September 2008 (UTC)

__NEWSECTIONLINK__ or alternative in 1.6.10?
is there any alternative to __NEWSECTIONLINK__ or in 1.6.10?

PAGESINCATEGORY doesn't work on my site.
I cannot seem to get the PAGESINCATEGORY magic word to work. My wiki treats it like its a Template.

Is there a setting that needs to be set somewhere to make it work? My Wiki Version is 1.13.1

I note that it works here: =

Magic word requests

 * User's User Name
 * Section name
 * image dimensions
 * page_id
 * Random GUID (Globally Unique ID) string

I would like to have page_id TechControl 21:00, 28 October 2008 (UTC)

Create Date ?
Hi, is there a way to display the date a page was created? I only found the REVISIONDAY - REVISIONTIMESTAMP, etc ... But i need the CREATEDATE. Can anyone help with a workaround? thanks in advance best regards --TurboKanne 08:56, 21 November 2008 (UTC)

How can I figure out the name space of a contribution
Hello, I'd like to know how to figure out that e.g. "Template:Unreferenced" is actually located in the name space template, the same for all other name spaces (files, categories, helps, etc.). I couldn't find any magic word like that. Would it be possible to create one (something like     resulting in "Template")? Does anybody know any other way to find it out?, regards, --Poco a poco 18:08, 22 February 2009 (UTC)
 * In the latest version of MediaWiki, you can use the   variable also as a parser function:    &rarr; . Happy ‑ melon 22:34, 22 February 2009 (UTC)