https://bugzilla.wikimedia.org/show_bug.cgi?id=18164
Summary: Search URLs became a mess
Product: MediaWiki
Version: unspecified
Platform: All
URL: http://de.wikipedia.org/w/index.php?ns0=1&search=search-
url-bug-
showcase&title=Spezial%3ASuche&fulltext=Advanced+search&
fulltext=Erweiterte+Suche
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Search
AssignedTo: [email protected]
ReportedBy: [email protected]
Our search URLs became a mess by the latest code update:
1. The special page name isn't localized anymore (for all searches)!
Example: Spezial:Search instead of Spezial:Suche.
2. &fulltext=1 got doubled.
Example: &fulltext=Advanced+search&fulltext=Erweiterte+Suche
3. Parameters do not show any proper sort order anymore.
Sidebar search:
=>
http://de.wikipedia.org/w/index.php?title=Spezial%3ASearch&search=search-url-bug-showcase&fulltext=Volltext
==> title, search, fulltext: OK (but "Search" is English!)
#search:
=>
http://de.wikipedia.org/w/index.php?search=search-url-bug-showcase&ns0=1&title=Spezial%3ASuche&fulltext=Search&fulltext=Volltext
==> search, ns0, title, fulltext, fulltext (leave title as first, remove
doubled fulltext)
HTML source:
<input name="title" type="hidden" value="Spezial:Suche" /><input
name="fulltext" type="hidden" value="Search" /><input type="submit"
value="Volltext" name="fulltext" />
#powersearch:
=>
http://de.wikipedia.org/w/index.php?ns0=1&search=search-url-bug-showcase&title=Spezial%3ASuche&fulltext=Advanced+search&fulltext=Erweiterte+Suche
==> ns0, search, title, fulltext, fulltext (ns0 first? leave title as first.
...remove doubled fulltext)
HTML source:
<input name="title" type="hidden" value="Spezial:Suche" />
<input name="fulltext" type="hidden" value="Advanced search" />
<input type="submit" value="Erweiterte Suche" name="fulltext" />
If the doubled &fulltext= should have been intended for some kind of tracking,
please use only *one* &fulltext= anyway, but instead use:
&fulltext=1 if 'Search'
*or*
&fulltext=2 if 'Advanced+search'
--
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