Last modified: 2014-10-05 18:33:15 UTC
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?
Backported in https://gerrit.wikimedia.org/r/#/c/164781/