https://bugzilla.wikimedia.org/show_bug.cgi?id=20948

           Summary: Searchmenu-new (“Create the page "Xxx" on this
                    wiki!”) is shown for special page names
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://test.wikipedia.org/wiki/Special:Watchlist?search=
                    Special:AllPages&fulltext=Search
        OS/Version: All
            Status: NEW
          Keywords: easy, need-review, patch
          Severity: trivial
          Priority: Normal
         Component: Search
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: morme...@centrum.cz


Created an attachment (id=6616)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6616)
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.)


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to