Last modified: 2009-10-02 18:28:27 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 T22948, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20948 - Searchmenu-new (“Create the page "Xxx" on this wiki!”) is shown for special page names
Searchmenu-new (“Create the page "Xxx" on this wiki!”) is shown for special p...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
All All
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.wikipedia.org/wiki/Specia...
: easy, patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-02 12:40 UTC by Mormegil
Modified: 2009-10-02 18:28 UTC (History)
1 user (show)

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


Attachments
exists() should be isKnown() (553 bytes, patch)
2009-10-02 12:40 UTC, Mormegil
Details

Description Mormegil 2009-10-02 12:40:15 UTC
Created attachment 6616 [details]
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.)
Comment 1 Alexandre Emsenhuber [IAlex] 2009-10-02 18:28:27 UTC
Fixed in r57298.

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


Navigation
Links