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

       Web browser: ---
             Bug #: 32479
           Summary: semantic search: 'edit query' link is broken
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


When I am browsing the results of a concept query, if i choose to view "...
further results", i correctly see the same (maybe longer) list of results. If I
click the '[Edit query]' link at the top of the page, it takes me to a page
where i can edit the query i am running and display the results.

However, the link for that page is malformed. It is missing a '&' between
variable assignments, so crams two values into one, thus messing up the
auto-population of the fields on that page, causing the query to return
nothing.

Here is the page with the link:

http://directory.fsf.org/wiki/Special:Ask/-5B-5BConcept:Biology-5D-5D/-3FFull-20description%3DDescription/-3FHomepage-20URL%3DHomepage/-3FLicense/-3FIs-20GNU-23-5B-5BFile:Heckert_gnu.small.png-7C20px-5D-5D,%3DGNU-3F/mainlabel%3D/format%3Dtemplate/template%3DGetlist-2Drow/link%3Dnone/columns%3D1/introtemplate%3DGetlist-2Dintro/outrotemplate%3DGetlist-2Doutro

Here is the malformed link:

http://directory.fsf.org/wiki?title=Special:Ask&offset=0&limit=20q=[[Concept%3ABiology]]&p=mainlabel%3D%2Fformat%3Dtemplate%2Ftemplate%3DGetlist-2Drow%2Flink%3Dnone%2Fcolumns%3D1%2Fintrotemplate%3DGetlist-2Dintro%2Foutrotemplate%3DGetlist-2Doutro&po=%3FFull+description%3DDescription%0A%3FHomepage+URL%3DHomepage%0A%3FLicense%0A%3FIs+GNU%23[[File%3AHeckert_gnu.small.png|20px]]%2C%3DGNU%3F%0A&eq=yes

This is the messed up text in the second link:

"...&limit=20q=[[Concept%3ABiology]]&p=..."

it should be (with the '&' after '20'):

"...&limit=20&q=[[Concept%3ABiology]]&p=..."

Editing the link and inserting that ampersand fixes the problem for me.

Thank you for your time.

---
Versions of installed components:

MediaWiki           1.17.0
Semantic Bundle     (Version 2011-08-24.20110912)     (r166)
More version info:  http://directory.fsf.org/wiki/Special:Version

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