Page MenuHomePhabricator

Special:WhatLinksHere behaves incorrectly on targets from "Special:" namespace
Closed, ResolvedPublic

Description

Author: Innocenti.Maresin

Description:
An attempt to browse to such pages as [[Special:WhatLinksHere/Special:…]] invariably gives “No pages link to Special:…”.
Examples are:
http://en.wikipedia.org/wiki/Special:WhatLinksHere/Special:Log/block
http://en.wikipedia.org/wiki/Special:WhatLinksHere/Special:Version
http://en.wikipedia.org/wiki/Special:WhatLinksHere/Special:AllMessages
http://en.wikipedia.org/wiki/Special:WhatLinksHere/Special:SpecialPages
All these are linked from http://en.wikipedia.org/wiki/Help:Special_pages

Actually, not a serious bug, but I think that either Special: pages should be included to <tt>pagelinks</tt> (it is not a heresy since it contains even red links), or that answer in this situation has to be altered to something like “Information is not available”.


Version: 1.21.x
Severity: minor

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:02 AM
bzimport set Reference to bz39126.
bzimport added a subscriber: Unknown Object (MLST).

Change 875349 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/core@master] specials: Special:Whatlinkshere should not act on special pages

https://gerrit.wikimedia.org/r/875349

Change 875349 merged by jenkins-bot:

[mediawiki/core@master] specials: Special:Whatlinkshere should not act on special pages

https://gerrit.wikimedia.org/r/875349

matmarex subscribed.

The patch fixes this behavior when the form on Special:WhatLinksHere is submitted with a special page's title, but not when visiting Special:WhatLinksHere/foo with the special page given as a subpage – it behaves as if you just visited Special:WhatLinksHere in this case. I'm therefore keeping the bug open.

Change 875935 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] Refactor SpecialWhatLinksHere to use FormSpecialPage

https://gerrit.wikimedia.org/r/875935

Change 876385 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] Refactor SpecialWhatLinksHere to use FormSpecialPage

https://gerrit.wikimedia.org/r/876385

Change 876385 merged by jenkins-bot:

[mediawiki/core@master] Refactor SpecialWhatLinksHere to use FormSpecialPage

https://gerrit.wikimedia.org/r/876385

matmarex assigned this task to Func.
matmarex removed a project: Patch-For-Review.