Last modified: 2011-02-08 21:56:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28625, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26625 - Special:PrefixIndex does inconsistent handling of params
Special:PrefixIndex does inconsistent handling of params
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.18.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-07 15:26 UTC by Niklas Laxström
Modified: 2011-02-08 21:56 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2011-01-07 15:26:01 UTC
Special:PrefixIndex/File: returns different results from Special:PrefixIndex&prefix=&namespace=6
Comment 2 Brion Vibber 2011-01-07 22:14:24 UTC
Looks like a regression since 1.16.

In deployed code,

http://www.mediawiki.org/wiki/Special:PrefixIndex/File:

and

http://www.mediawiki.org/wiki/Special:PrefixIndex?prefix=&namespace=6

appear identical except the first says "All pages with prefix" and the second says "All pages (File namespace)". Both return the same results, and have the same "next" link: http://www.mediawiki.org/w/index.php?title=Special:PrefixIndex&from=Hack-A-Ton-DC-t-shirt.png&namespace=6


In my local trunk copy, I can see that the first form works as expected but the second form lists no results -- this is probably a regression from changes to make Special:Prefixindex default to not showing results when no prefix has been passed in.

If a namespace is given, this ought to count as having a prefix and thus being ready to go.
Comment 3 Krinkle 2011-01-07 23:48:42 UTC
(In reply to comment #2)
> Looks like a regression since 1.16.
> 
> -- this is probably a regression from changes to
> make Special:Prefixindex default to not showing results when no prefix has been
> passed in.
> 
> If a namespace is given, this ought to count as having a prefix and thus being
> ready to go.

Indeed, passing a 'space' or '+' as prefix does return everything like it used to.
http://translatewiki.net/w/i.php?title=Special%3APrefixIndex&prefix=+&namespace=6
(I guess it's trimmed after the validation part)
Comment 4 Brion Vibber 2011-01-07 23:53:34 UTC
Looks like this was another regression in r75314 (bug 23923); pages weren't listed if namespace was set but no prefix given.

Fixed in r79851

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links