From: Bartosz DziewoƄski Date: Sat, 18 Feb 2017 17:34:56 +0000 (+0100) Subject: Add "Unknown user" to $wgReservedUsernames X-Git-Tag: 1.31.0-rc.0~4056^2 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=835c6639095f3ea8ddc6e1387692c252e1713e3d;p=lhc%2Fweb%2Fwiklou.git Add "Unknown user" to $wgReservedUsernames Used in WikiImporter when importing revisions with no author (e.g. when the author of the exported edit was revision-deleted). Follow-up to changes related to T121338. Bug: T158474 Change-Id: I49f3d5b9a23a0535c51a733d8837a681f6e51959 --- diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29 index 58cc84b716..13406d61da 100644 --- a/RELEASE-NOTES-1.29 +++ b/RELEASE-NOTES-1.29 @@ -31,6 +31,7 @@ production. * A temporary feature flag, $wgDisableUserGroupExpiry, is provided to disable new features that rely on the schema changes to the user_groups table. This feature flag will likely be removed before 1.29 is released. +* (T158474) "Unknown user" has been added to $wgReservedUsernames. === New features in 1.29 === * (T5233) A cookie can now be set when a user is autoblocked, to track that user diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index c4833660d8..791d024af6 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4786,6 +4786,7 @@ $wgReservedUsernames = [ 'Maintenance script', // Maintenance scripts which perform editing, image import script 'Template namespace initialisation script', // Used in 1.2->1.3 upgrade 'ScriptImporter', // Default user name used by maintenance/importSiteScripts.php + 'Unknown user', // Used in WikiImporter when importing revisions with no author 'msg:double-redirect-fixer', // Automatic double redirect fix 'msg:usermessage-editor', // Default user for leaving user messages 'msg:proxyblocker', // For $wgProxyList and Special:Blockme (removed in 1.22)