Page MenuHomePhabricator

Introduce redirect detecting parserfunctions
Closed, ResolvedPublic

Description

Author: jamydlan

Description:
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.


Version: unspecified
Severity: enhancement

Details

Reference
bz11532

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:58 PM
bzimport added a project: ParserFunctions.
bzimport set Reference to bz11532.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 10990 ***