Help talk:Magic words/Archives/2009

Latest comment: 15 years ago by Shaggorama in topic Page Creation Date

{{subst:REVISIONID}}

Why doesn't work the command {{subst:REVISIONID}}, similar as ex. {{subst:REVISIONTIMESTAMP}}? I really need the function, have somebody an idea how to replace it to get the same result? --PAD 21:29, 18 December 2008 (UTC)

It doesn't work because the revision ID is not available until the text is finalized and committed, after variable/substitution expansion. See Bugzilla:12694. Splarka 07:59, 19 December 2008 (UTC)
See {{page history}} for an alternative (which actually existed before revisionid was turned on). Hillgentleman 00:44, 24 March 2009 (UTC)

Page Creation Date

I've noticed various magic words exist that output the aspects of the date a page was last modified, but do any magic words exist that will output the date a page was created? I'm trying to find a way to sort category tokens by page-creation date instead of page name. The best alternative i have come up with is writing a robot (which I've never tried before) that will add a new category tag to all pages within a category along the lines of:

[[category:CategoryName-DateSorted|{{REVISIONYEAR}}{{REVISIONMONTH}}{{REVISIONDAY2}}_{{ARTICLEPAGENAME}}]]

But I'm fairly certain I ought to be able to find a better solution. --Shaggorama 22:00, 7 June 2009 (UTC)

Return to "Magic words/Archives/2009" page.