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

Christian Boltz <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #8 from Christian Boltz <[email protected]> 2012-07-12 
22:34:37 UTC ---
Unfortunately the new version (current SVN) still has this bug :-(

The problem is this line:

$allCats = self::getAllCategories( $isUpload ? NS_SPECIAL :
$pageObj->mTitle->getNamespace() );

For Special:Upload ($isUpload), NS_IMAGE instead of NS_SPECIAL namespace should
be used.

Reason:
With NS_IMAGE, SelectCategory will use the root category for the File:
namespace
With NS_SPECIAL, it will display _all_ categories - which doesn't make sense
for file uploads

I'll attach an updated one-line patch for current SVN that fixes the issue.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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