Page MenuHomePhabricator

Searchmenu-new (“Create the page "Xxx" on this wiki!”) is shown for special page names
Closed, ResolvedPublic

Description

exists() should be isKnown()

When you do a fulltext search for something which is an exact name of a special page (see the linked URL), the search results page begins with a message like

Create the page "[[Special:AllPages]]" on this wiki!

which is obviously a nonsense.

The problem is that SpecialSearch::showCreateLink checks for Title::exists(), while it should use Title::isKnown(). (Or, even better, add a bit more logic into that function, see bug #19600.)


Version: unspecified
Severity: trivial
URL: http://test.wikipedia.org/wiki/Special:Watchlist?search=Special:AllPages&fulltext=Search

Attached:

Details

Reference
bz20948

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:58 PM
bzimport set Reference to bz20948.
bzimport added a subscriber: Unknown Object (MLST).