Last modified: 2014-02-12 23:35:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T46494, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44494 - Request new magic word {{PAGECREATOR}}
Request new magic word {{PAGECREATOR}}
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.21.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-30 04:01 UTC by John
Modified: 2014-02-12 23:35 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John 2013-01-30 04:01:13 UTC
As a useful enhancement to the available magic words, can we have {{PAGECREATOR}} to deliver the username who first edited the page. Even if it had some quirks like the page creator's version having been revdeled it would be useful, and 99% of the time, correct. Thank you.
My76Strat
Comment 1 Kunal Mehta (Legoktm) 2013-01-30 04:12:34 UTC
This probably can't happen until bug 42135 is fixed.
Comment 2 John 2013-01-30 04:29:05 UTC
(In reply to comment #1)
> This probably can't happen until bug 42135 is fixed.

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Bryan%20Loren&rvprop=timestamp%7Cuser%7Ccomment&rvdir=newer&rvlimit=1&format=jsonfm appears to deliver the correct result, but devising a template to deliver the result is too challenging for me.
Comment 3 Bawolff (Brian Wolff) 2013-01-30 12:43:34 UTC
Yeah. The other big is more aboit people wanting to do stats on the page creator. Just to create a new magic word probably doesnt need any db change.
Comment 4 MZMcBride 2013-01-30 23:04:04 UTC
I'm surprised this bug isn't a duplicate. I searched and found a number of bugs requesting similar features (such as a magic word for the latest editor or a magic word for the currently logged in user), but I wasn't able to find any pre-existing bugs about a magic word for the page creator.

(In reply to comment #0)
> As a useful enhancement to the available magic words, can we have
> {{PAGECREATOR}} to deliver the username who first edited the page.

Useful how? Can you describe how you might use this magic word?
Comment 5 John 2013-01-31 06:02:56 UTC
(In reply to comment #4)
> I'm surprised this bug isn't a duplicate. I searched and found a number of
> bugs
> requesting similar features (such as a magic word for the latest editor or a
> magic word for the currently logged in user), but I wasn't able to find any
> pre-existing bugs about a magic word for the page creator.
> 
> (In reply to comment #0)
> > As a useful enhancement to the available magic words, can we have
> > {{PAGECREATOR}} to deliver the username who first edited the page.
> 
> Useful how? Can you describe how you might use this magic word?

I have a boiler tag I want to placing atop "admin container categories" which I wanted to include a final bullet statement:
* This category was created by {{#if:{{{newcat|}}}|~~<noinclude></noinclude>~ on ~~<noinclude>~</noinclude>~~.|{{<includeonly>subst:</includeonly>PAGECREATOR}}.}}

Also the {{db}} template series which says at the bottom:

    Please consider placing the template:
    {{subst:db-reason-notice|Template:Db|header=1|no reason given}} ~~~~
    on the talk page of the author.

which requires the additional step of determining who authored the page would more efficiently read better as:

    Please consider placing the template:
    {{subst:db-reason-notice|Template:Db|header=1|no reason given}} ~~~~
    on the talk page of {{{PAGECREATOR}}}.

In my opinion. Other usefulness exists.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links