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

           Summary: Namespace paramters search break exection in SQL error
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
               URL: http://translatewiki.net/w/i.php?title=Special%3ASearc
                    h&redirs=0&search=Foobar&ns8=1
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Search
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: krinklem...@gmail.com


See the following:

http://translatewiki.net/w/i.php?title=Special%3ASearch&redirs=0&search=Foobar&ns8=1

On translatewiki (running trunk) a plain search in the searchbar works (in most
cases) but going to 'page 2' and/or changing the namespaces being search
through breaks:

== Database error ==
A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:

  (SQL query hidden)

from within function "". Database returned error "1064: You have an error in
your SQL syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near 'AND page_namespace IN ('8') LIMIT 20' at line
1 (localhost)".

-- 
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