Last modified: 2008-03-18 11:26:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13413 - FIXED: Categoryfinder.php do not scan for parent categories
FIXED: Categoryfinder.php do not scan for parent categories
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.12.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-18 11:26 UTC by Nicola Asuni
Modified: 2008-03-18 11:26 UTC (History)
0 users

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


Attachments

Description Nicola Asuni 2008-03-18 11:26:05 UTC
scan_next_layer() function on Categoryfinder.php do not scan for parent categories because of malformed SQL query.

To fix this you have to edit /includes/Categoryfinder.php changing the following line:

/* WHERE  */ array( 'page_namespace' => NS_CATEGORY , 'page_title' => $layer ),

to

/* WHERE  */ array( 'page_namespace' => NS_CATEGORY , 'page_title' => $layer[$k] ),

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


Navigation
Links