Last modified: 2014-02-12 23:35:38 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 T45955, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43955 - Allow more magic words to take a parameter
Allow more magic words to take a parameter
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-14 11:45 UTC by AGK
Modified: 2014-02-12 23:35 UTC (History)
4 users (show)

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


Attachments

Description AGK 2013-01-14 11:45:10 UTC
At the moment, some magic words can take a parameter, yet some cannot. For example:

1. If I use {{BASEPAGENAME|Wikipedia:Arbitration/Requests/Case}} on [[User talk:AGK]], "Arbitration" will still be returned.
2. However, if I use {{REVISIONDAY|Wikipedia:Arbitration/Requests/Case}} on [[User talk:AGK]], the day of the last edit to my talk page—not to the arbitration requests page—will be returned.

The other magic words (in particular, the last time a page was edited) should be able to take a parameter. This bug is a request that this feature be added.

Is this feature not currently present to protect the site's performance? Should these indeed be expensive functions, we could have low cap on the number of magic words that can take a parameter on any one page. I suppose I can see that people might go overboard and make up some silly, long page that lists (on one user subpage) the last time that their "favourite" pages were edited—perhaps with <blink> tags and bgcolor:red for added hilarity. However, this feature would make life for a lot of us process junkies so much easier—and supersede the need for many of our bots (MediationBot, BAGbot, and so on).
Comment 1 Dereckson 2013-01-14 16:25:22 UTC
Thank you for the feature request.

Do you see use cases to add parameters to other magic words than REVISIONDAY? If so, could you prepare a list?

Note: Please avoid in the future to be contemptuous with your fellow contributors. A bug tracker is a technical stuff collection, sometimes with some social impact, but absolutely not a condescension notepad.

[ Setting priority to low. ]

[ CC's asher to get feedback about performance. ]
Comment 2 AGK 2013-01-14 16:37:01 UTC
All the "REVISIONx" magic words are obviously included in this feature request. I suppose the most sensible approach would be to consider whether any of the magic words that currently can NOT take a parameter need to stay that way. What is left over can then have this feature enabled.

Please do not patronise your peers, Dereckson. I was not being contemptuous; I was being satirical, so as to demonstrate that the case against this feature was weak. I confess I laughed at the bone-headedness of your comment; at first, I genuinely thought you were joking.

I understand from the help pages on this site that the priority of other people's bugs should not be changed, but in my experience the priority rarely matters so I am satisfied with your change.
Comment 3 AGK 2013-01-14 16:39:47 UTC
I have been told by another user that this feature request was suggested in the course of a bug filed some years ago: 6092#c9
Comment 4 Andre Klapper 2013-01-15 13:17:36 UTC
Auto-linkifying: bug 6092 comment 9
Comment 5 AGK 2013-01-15 14:18:44 UTC
Thanks, from a Bugzilla newbie. :-)
Comment 6 Waldir 2013-11-05 19:02:45 UTC
What's missing now that bug 6092 has been fixed?

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


Navigation
Links