https://bugzilla.wikimedia.org/show_bug.cgi?id=31116
Web browser: ---
Bug #: 31116
Summary: CategorySuggest Multiple Fixes and 1.16 support
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: [other]
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 9092
--> https://bugzilla.wikimedia.org/attachment.cgi?id=9092
A fixed version of CategorySuggest. See description.
The attached file fixes some basic issues to make CategorySuggest work in 1.16.
Some of the hooks took references instead of variables, making it crash.
I've also rewritten the database query, "optimizing" it (now uses category
table instead of categorylink table, lot less rows and no DISTINCT necessary)
and fixing bugs (it now converts category names to utf8 string before running
UPPER, this would previously break 1.16 since cat_title is varbinary, which
UPPER of course can't handle).
This is my first contribution, so do expect errors! And sorry if "critical" is
an incorrect classification.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l