Last modified: 2008-03-18 11:26:42 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 T15413, the corresponding Phabricator task for complete and up-to-date bug report information.
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