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

       Web browser: ---
             Bug #: 29958
           Summary: SQL Error generated from
                    includes/parser/LinkHolderArray.php  (namespace not
                    quoted)
           Product: MediaWiki
           Version: 1.17.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


SQL error generated from includes/parser/LinkHolderArray.php:

SELECT page_id, page_namespace, page_title, page_is_redirect, page_len,
page_latest FROM `wiki_page` WHERE (page_namespace=SF_NS_FORM 

Obviously this is not right because there are no quotes round the namespace.

See lines: 187, 190 of includes/parser/LinkHolderArray.php
And similar in: includes/parser/Parser_OldPP.php

I'm not sure how these files work and where they come into play or what they
do, but all I know is that adding quotes round $ns stopped the SQL error on my
install on MediaWiki 1.17.0 with SMW 1.5.6 and Semantic Forms 2.1.2

Andrew

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to