Special:PrefixIndex/File: returns different results from Special:PrefixIndex&prefix=&namespace=6
Version: 1.18.x
Severity: minor
Special:PrefixIndex/File: returns different results from Special:PrefixIndex&prefix=&namespace=6
Version: 1.18.x
Severity: minor
comport wrote:
http://translatewiki.net/w/i.php?title=Special%3APrefixIndex&prefix=&namespace=6 - this link is generated by translatewiki.net and do not return any result
*See also: http://translatewiki.net/w/i.php?title=Thread:Support/Translating_talk_vs_Translatiions_talk%3F#Translating_talk_vs_Translations_talk?_10137
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.
(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)
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