https://bugzilla.wikimedia.org/show_bug.cgi?id=71670
Bug ID: 71670
Summary: checkLocalNames.php maintenance script uses
non-existent SQL columns
Product: MediaWiki extensions
Version: REL1_23 branch
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: CentralAuth
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Web browser: ---
Mobile Platform: ---
The CentralAuth checkLocalNames.php script in the REL1_19 - REL1_23 (the
1.25wmf1 and master branches are unaffected as they are already patched)
branches uses the ln_wiki and ln_user of the localuser table to fetch data, but
the ln_user tables does not exist, ln_wiki and ln_name are the only tables.
When running the maintenance script (REL1_23 branch), people get errors like:
Checking localnames for dewiki ...
... querying from ''
A database query error has occurred.
Query: SELECT ln_user FROM `localnames` WHERE ln_wiki = 'dewiki' AND
(ln_user > '') ORDER BY ln_name ASC LIMIT 1000
Function: execute
Error: 1054 Unknown column 'ln_user' in 'field list' (localhost)
Legoktm fixed this bug in https://gerrit.wikimedia.org/r/#/c/142304/ - but that
fix seems only to be used in the 1.25wmf1 and master branches. The fix has
never been backported to the stable branches.
Is it possible to fix this bug also in the current stable branches?
--
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