Help talk:Magic words

From Wikipedia, the free encyclopedia
Jump to: navigation, search
the Wikipedia Help Project  
WikiProject icon This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the help menu or help directory. Or ask for help on your talk page and a volunteer will visit you there.
 ???  This page does not require a rating on the project's quality scale.
 ???  This page has not yet received a rating on the project's importance scale.
 

__DISAMBIG__[edit]

Could someone please add the necessary documentation for __DISAMBIG__ (mw:Extension:Disambiguator)? Thank you. -- Michael Bednarek (talk) 13:51, 11 July 2013 (UTC)

Yes check.svg Done, see here --Redrose64 (talk) 14:30, 11 July 2013 (UTC)

Tomorrow[edit]

Is there some way to auto-generate text that is tomorrows date? Context: Wikipedia:Redirects for discussion/Today transcludes today's RfD discussions, but the page would be a million times better if it included a link to the previous day's discussions. Ego White Tray (talk) 03:07, 13 June 2014 (UTC)

@Ego White Tray: Yes, the #time magic word can do this. The documentation is at mw:Help:Extension:ParserFunctions#.23time.
*[[Wikipedia:Redirects for discussion/Log/{{CURRENTYEAR}} {{CURRENTMONTHNAME}} {{CURRENTDAY}}]]
*[[Wikipedia:Redirects for discussion/Log/{{#time:Y F j|now - 1 day}}]]
*[[Wikipedia:Redirects for discussion/Log/{{#time:Y F j|now + 1 day}}]]
-- John of Reading (talk) 05:21, 13 June 2014 (UTC)

Three "behavior switches" that aren't[edit]

Regarding the following three keywords:

  • {{DISPLAYTITLE:title}}
  • {{DEFAULTSORT:sortkey}}
  • {{noexternallanglinks}}

All three of these are presently included in the list of behavior switches, but they aren't behavior switches; the first two are variables, and the third is a parser function. It seems to me that they should be moved from the "Behavior switches" section to the "Variables" and "Parser functions" sections, respectively. — Jaydiem (talk) 00:18, 17 July 2014 (UTC)

The first two do not return a value: they are not variables. The third does not take a value, process it and return another value: it is not a parser function. All three change the behaviour of the page: they are behaviour switches. --Redrose64 (talk) 00:27, 17 July 2014 (UTC)
If you examine the linked references I provided above—or the "General information" section within the article itself—I believe you will find them to be incompatible with that interpretation. — Jaydiem (talk) 01:22, 17 July 2014 (UTC)
It's an inconsistency within the page. I have raised the matter at mw:Help talk:Magic words#Variables that affect behaviour. Please do not use bullets for indenting talk page posts: see WP:TPG#Layout (third bullet) and WP:TPO#fixformat. --Redrose64 (talk) 10:21, 17 July 2014 (UTC)
Thanks. When I noticed the discrepancy between how these three keywords are characterized here versus in the MediaWiki documentation, I thought I should point it out. I grant that all three affect page display, and thus behave differently from other variables and parser functions, but the MediaWiki categorization of keywords appears to key on their format and mechanism of action rather than on their effects. ~ Regarding indentation, over time I've developed the habit of including a bullet before the first paragraph of replies, and only colons before subsequent paragraphs of the same reply, as I find that this greatly improves readability. If it's good for threaded discussions in AfD, CfD, RfC, etc., then it's good elsewhere. But I'll defer to your request here. — Jaydiem (talk) 13:51, 17 July 2014 (UTC)

Pagename[edit]

I'd like to have WP:PAGENAME for WP:Page name.

Please let me know why I should not do that. I will be happy to reason further if need be. Thanks. — CpiralCpiral 04:18, 7 August 2014 (UTC)

(i) because it's got incoming links, possibly some from edit summaries as well; (ii) because it's an established shortcut which has been around for over 6 12 years; (iii) because this is the wrong venue: repurposing of existing redirects (incl. shortcuts) is a WP:RFD matter. --Redrose64 (talk) 11:48, 7 August 2014 (UTC)
I know it's asking a lot, but I think it's constructive for newer editors, so I'll go to Redirects for Discussion. Thanks for the direction. — CpiralCpiral 23:01, 7 August 2014 (UTC)

Per Wikipedia:Rfd#The_guiding_principles_of_RfD

RfD is not the place to resolve most editorial disputes. If you think a redirect should be targeted at a different article, discuss it on the talk pages of the current target article and/or the proposed target article. However, for more difficult cases, this page can be a centralized discussion place for resolving tough debates about where redirects point.

I realize it is a difficult thing to ask established and productive editors to change what was a learned habit. I assume this is going to be difficult, so I posted there. However I just noticed it says "for resolving debates". If I could get more admins and editors like Redrose to champion WP:Page name by using that terminology and modifying more pages to use that terminology, I'd gladly give up a redirect. But it doesn't have to be a battle. It only has to be a civil debate with a week long window, and we all conclude what is rational and reasonable. Right? — CpiralCpiral 07:29, 8 August 2014 (UTC)

Basically, what I posted there:

  • WP:Page name has no redirect to its title.
  • wp:pagename is the obvious choice for it.
  • help:pagename already works for Help:Page name, the sister page of WP:Page name.
  • The Project version of Page name is an important page (in theory) for Project improvement because it provides a concise terminology currently lacking on many project pages. Its is mature and stable. — CpiralCpiral 07:29, 8 August 2014 (UTC)

To respond to your reasons for keeping it:

  • Project improvement implies "for the future" and "for new admins". What's more important, the changing of a 6 12 yr old habit of an established coder, or the sense of new admins who can type either help:pagename or wp:pagename to get to Help and Project sister pages?
  • help:pagename is almost 6.5 yrs old. It is has been pointing to the same place for all its life: to the top of the page Help:Page name.
  • Your current redirect for wp:pagename pointed to the top of the page Magic words for several years before it was used to redirect to Variables.
  • For some, like me, but not others, there is an important distinction between the Help and Project namespaces concerning content. Your use of Project:pagename says its in the Help namespace.
  • I will of course gladly modify all the incoming links necessary to point to wp:var instead of WP:Page name, if we re-reference wp:pagename, although I can't fix edit summaries, or get search results for talk page history. — CpiralCpiral 07:29, 8 August 2014 (UTC)

A fitting compromise was found:

  • WP:Pagename --> WP:Page name, and wp:pagename navigates there Yes check.svg Done
  • WP:PAGENAME --> WP:Magic words#Variables, and wp:PAGENAME goes there Yes check.svg DoneCpiralCpiral 20:34, 9 August 2014 (UTC)

Magic word redirect under discussion[edit]

Wikipedia:Redirects for discussion/Log/2014 September 8#Template:Revisionuser Oiyarbepsy (talk) 20:16, 8 September 2014 (UTC)