Last modified: 2009-09-09 13:48:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11532 - Introduce redirect detecting parserfunctions
Introduce redirect detecting parserfunctions
Status: RESOLVED DUPLICATE of bug 10990
Product: MediaWiki extensions
Classification: Unclassified
ParserFunctions (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-10-02 07:21 UTC by Sherool
Modified: 2009-09-09 13:48 UTC (History)
0 users

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


Description Sherool 2007-10-02 07:21:53 UTC
Simmilar to ifexist, but rater than checking if a page exist or not it checks if a page is a redirect or not. Call it #ifredirect or something like that.

This could be used as part of a template for thinkgs like making a listing automaticaly update to notify people that an article have been moved or otherwise redirected, for example during an ongoing deletion/rename/merge/split debate and simmilar.

For extra credit a function to return the target of a redirect would be super neat in combination with this (getredirect or whatever) if it would not be too expensive. Then we could not only tell people that a page has been redirected but also to where.

For example on the English Wikipedia {{#getredirect|WP:SOAP}} would produce: "Wikipedia:What Wikipedia is not#Wikipedia is not a soapbox".
Comment 1 Chad H. 2009-09-09 13:48:17 UTC

*** This bug has been marked as a duplicate of bug 10990 ***

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