* Mapping NS_xxx to array of GENDERKEY to alias.
* Example:
* @code
- * $namespaceGenderAliases = array(
- * NS_USER => array( 'male' => 'Male_user', 'female' => 'Female_user' ),
- * );
+ * $namespaceGenderAliases = [
+ * NS_USER => [ 'male' => 'Male_user', 'female' => 'Female_user' ],
+ * ];
* @endcode
*/
$namespaceGenderAliases = [];
* IDs must be valid identifiers, they cannot contain hyphens.
* CASE is 0 to match all case variants, 1 for case-sensitive
*
- * Note to translators:
- * Please include the English words as synonyms. This allows people
- * from other wikis to contribute more easily.
+ * Note to localisers:
+ * - Include the English magic words as synonyms. This allows people from
+ * other wikis that do not speak the language to contribute more easily.
+ * - The first alias listed MUST be the preferred alias in that language.
+ * Tools (like Visual Editor) are expected to use the first listed alias
+ * when editing or creating new content.
+ * - Order the other aliases so that common aliases occur before more rarely
+ * used aliases. The aliases SHOULD be sorted by the following convention:
+ * 1. Local first, English last, then
+ * 2. Most common first, least common last.
*
* This array can be modified at runtime with the LanguageGetMagic hook
*/
'subst' => [ 0, 'SUBST:' ],
'safesubst' => [ 0, 'SAFESUBST:' ],
'msgnw' => [ 0, 'MSGNW:' ],
- 'img_thumbnail' => [ 1, 'thumbnail', 'thumb' ],
+ 'img_thumbnail' => [ 1, 'thumb', 'thumbnail' ],
'img_manualthumb' => [ 1, 'thumbnail=$1', 'thumb=$1' ],
'img_right' => [ 1, 'right' ],
'img_left' => [ 1, 'left' ],
'img_none' => [ 1, 'none' ],
'img_width' => [ 1, '$1px' ],
'img_center' => [ 1, 'center', 'centre' ],
- 'img_framed' => [ 1, 'framed', 'enframed', 'frame' ],
+ 'img_framed' => [ 1, 'frame', 'framed', 'enframed' ],
'img_frameless' => [ 1, 'frameless' ],
'img_lang' => [ 1, 'lang=$1' ],
'img_page' => [ 1, 'page=$1', 'page $1' ],
'BrokenRedirects' => [ 'BrokenRedirects' ],
'Categories' => [ 'Categories' ],
'ChangeContentModel' => [ 'ChangeContentModel' ],
+ 'ChangeCredentials' => [ 'ChangeCredentials' ],
'ChangeEmail' => [ 'ChangeEmail' ],
'ChangePassword' => [ 'ChangePassword', 'ResetPass', 'ResetPassword' ],
'ComparePages' => [ 'ComparePages' ],
'JavaScriptTest' => [ 'JavaScriptTest' ],
'BlockList' => [ 'BlockList', 'ListBlocks', 'IPBlockList' ],
'LinkSearch' => [ 'LinkSearch' ],
+ 'LinkAccounts' => [ 'LinkAccounts' ],
'Listadmins' => [ 'ListAdmins' ],
'Listbots' => [ 'ListBots' ],
'Listfiles' => [ 'ListFiles', 'FileList', 'ImageList' ],
'Recentchanges' => [ 'RecentChanges' ],
'Recentchangeslinked' => [ 'RecentChangesLinked', 'RelatedChanges' ],
'Redirect' => [ 'Redirect' ],
+ 'RemoveCredentials' => [ 'RemoveCredentials' ],
'ResetTokens' => [ 'ResetTokens' ],
'Revisiondelete' => [ 'RevisionDelete' ],
'RunJobs' => [ 'RunJobs' ],
'Uncategorizedpages' => [ 'UncategorizedPages' ],
'Uncategorizedtemplates' => [ 'UncategorizedTemplates' ],
'Undelete' => [ 'Undelete' ],
+ 'UnlinkAccounts' => [ 'UnlinkAccounts' ],
'Unlockdb' => [ 'UnlockDB' ],
'Unusedcategories' => [ 'UnusedCategories' ],
'Unusedimages' => [ 'UnusedFiles', 'UnusedImages' ],