https://bugzilla.wikimedia.org/show_bug.cgi?id=34749
Web browser: ---
Bug #: 34749
Summary: [SMW] When mainlabel specified an extra mainlabel
parameter is added in the further results link
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
SMW 1.7.0.0.2 MW 1.18
This query:
{{#ask: [[Anything]]
| mainlabel=Anymainlabel
}}
Will be changed to this query, when clicking on "further results":
{{#ask: [[Anything]]
| mainlabel=Anymainlabel
| ?=Anymainlabel#
}}
Notice that this part is added by the further results URL query string:
?=Anymainlabel#
The relevant further results url query string is:
/Special:Ask/-5B-5BAnything-5D-5D/-3F%3DAnymainlabel-23/mainlabel%3DAnymainlabel/
When it should be:
/Special:Ask/-5B-5BAnything-5D-5D/mainlabel%3DAnymainlabel/
Note that the query string is produced correctly if it starts out as it would
otherwise be incorrectly done. This:
{{#ask: [[Anything]]
| mainlabel=Anymainlabel
| ?=Anymainlabel#
}}
Will produce this:
/Special:Ask/-5B-5BAnything-5D-5D/-3F%3DAnymainlabel-23/mainlabel%3DAnymainlabel/
Just like it should.
This bug is all that look similar when I searched prior to entering this bug.
It might be somehow related:
https://bugzilla.wikimedia.org/show_bug.cgi?id=23722
--
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