Page MenuHomePhabricator

Address Voice and Tone issues in CentralAuth
Open, Needs TriagePublic

Description

Targets
    Occurrences of '(white|black)[ \-]?list' in Directory /Users/reedy/PhpstormProjects/mediawiki/extensions/CentralAuth
Found Occurrences  (202 usages found)
    extensions  (202 usages found)
        CentralAuth  (202 usages found)
            .phan  (2 usages found)
                config.php  (2 usages found)
                    15 '../../extensions/TitleBlacklist',
                    29 '../../extensions/TitleBlacklist',
            i18n  (124 usages found)
                api  (1 usage found)
                    qqq.json  (1 usage found)
                        78 available. The \"opt in\" wikisets are made by whitelisting (explicitly listing all members) while the \"opt out\" wikisets are made by blacklisting (all wikis
                af.json  (1 usage found)
                    223 "centralauth-badaccess-blacklisted": "U kan nie 'n globale hernoeming versoek nie,want u is op 'n swartlys."
                ar.json  (4 usages found)
                    354 "centralauth-rename-form-overridetitleblacklist": "تجاوز القائمة السوداء للعناوين",
                    373 "centralauth-rename-titleblacklist-match": "يتطابق اسم المستخدم الجديد مع إدخال قائمة العناوين التالي: $1",
                    466 "globalrenamequeue-request-titleblacklist": "<strong>يتطابق اسم المستخدم المختار مع إدخال القائمة السوداء للعناوين التالي:</strong> $1",
                    532 "centralauth-badaccess-blacklisted": "لا يمكنك طلب عملية إعادة تسمية عالمية، لأنك على قائمة سوداء."
                ast.json  (4 usages found)
                    325 "centralauth-rename-form-overridetitleblacklist": "Inorar TitleBlacklist",
                    344 "centralauth-rename-titleblacklist-match": "El nuevu nome d'usuariu coincide cola siguiente entrada de TitleBlacklistː $1",
                    436 "globalrenamequeue-request-titleblacklist": "<strong>El nome d'usuariu escoyíu coincide cola siguiente entrada de TitleBlacklist:</strong> $1",
                    502 "centralauth-badaccess-blacklisted": "Nun pues solicitar un cambiu de nome global porque tas nuna llista negra."
                cs.json  (2 usages found)
                    352 "centralauth-rename-titleblacklist-match": "Nové uživatelské jméno se shoduje s následujícím záznamem černé listiny názvů: $1",
                    444 "globalrenamequeue-request-titleblacklist": "<strong>Vybrané uživatelské jméno se shoduje s položkou černé listiny názvů:</strong> $1",
                de-formal.json  (1 usage found)
                    45 "centralauth-badaccess-blacklisted": "Sie können keine globale Umbenennung beantragen, weil Sie auf einer Negativliste stehen."
                de.json  (4 usages found)
                    354 "centralauth-rename-form-overridetitleblacklist": "Titel-Negativliste umgehen",
                    373 "centralauth-rename-titleblacklist-match": "Der neue Benutzername entspricht dem folgenden Eintrag der Titel-Negativliste: $1",
                    466 "globalrenamequeue-request-titleblacklist": "<strong>Der gewählte Benutzername stimmt mit dem folgenden Eintrag in der Titel-Negativliste überein:</strong> $1",
                    537 "centralauth-badaccess-blacklisted": "Du kannst keine globale Umbenennung beantragen, weil du auf einer Negativliste stehst."
                en.json  (4 usages found)
                    366 "centralauth-rename-form-overridetitleblacklist": "Override TitleBlacklist",
                    385 "centralauth-rename-titleblacklist-match": "The new username matches the following TitleBlacklist entry: $1",
                    479 "globalrenamequeue-request-titleblacklist": "<strong>The chosen username matches the following TitleBlacklist entry:</strong> $1",
                    550 "centralauth-badaccess-blacklisted": "You can't request a global rename, because you are on a blacklist."
                es.json  (4 usages found)
                    389 "centralauth-rename-form-overridetitleblacklist": "Evitar disparar la lista de nombres de usuario y títulos prohibidos (TitleBlacklist)",
                    408 "centralauth-rename-titleblacklist-match": "El nuevo nombre de usuario coincide con la siguiente entrada en la lista de nombres de usuario y títulos prohibidos: $1",
                    501 "globalrenamequeue-request-titleblacklist": "<strong>El nombre de usuario elegido coincide con lo siguiente TitleBlacklist entrada:</strong> $1",
                    572 "centralauth-badaccess-blacklisted": "Tu nombre de usuario figura en una lista que impide que puedas solicitar un cambio global de nombre de usuario."
                fa.json  (3 usages found)
                    353 "centralauth-rename-form-overridetitleblacklist": "گذر از فهرست سیاه عنوان‌ها",
                    372 "centralauth-rename-titleblacklist-match": "این نام کاربری با مورد زیر در فهرست سیاه عنوان‌ها مطابقت دارد: $1",
                    464 "globalrenamequeue-request-titleblacklist": "<strong>نام کاربری انتخاب‌شده با مورد زیر در فهرست سیاه عنوان‌ها مطابقت دارد:</strong> $1",
                fi.json  (4 usages found)
                    356 "centralauth-rename-form-overridetitleblacklist": "Ohita otsikkomustalista",
                    375 "centralauth-rename-titleblacklist-match": "Uusi käyttäjänimi täsmää seuraavaan otsikkomustalistan kohteeseen: $1",
                    468 "globalrenamequeue-request-titleblacklist": "<strong>Valittu käyttäjänimi täsmää seuraavaan otsikkomustalistan kohteeseen:</strong> $1",
                    539 "centralauth-badaccess-blacklisted": "Et voi pyytää järjestelmänlaajuista nimenvaihtoa, koska tunnuksesi on kielletty pyytämästä nimenvaihtoja."
                fr.json  (4 usages found)
                    390 "centralauth-rename-form-overridetitleblacklist": "Ignorer TitleBlacklist",
                    409 "centralauth-rename-titleblacklist-match": "Le nouveau nom d’utilisateur correspond à l’entrée TitleBlacklist suivante : $1",
                    502 "globalrenamequeue-request-titleblacklist": "<strong>Le nom d’utilisateur choisi correspond à l’entrée suivante de la Liste Noire de Titres :</strong> $1",
                    573 "centralauth-badaccess-blacklisted": "Vous ne pouvez pas demander un renommage global, parce que vous êtes en liste noire."
                gl.json  (4 usages found)
                    336 "centralauth-rename-form-overridetitleblacklist": "Ignorar TitleBlacklist",
                    355 "centralauth-rename-titleblacklist-match": "O novo nome de usuario coincide coa seguinte entrada de TitleBlacklistː $1",
                    447 "globalrenamequeue-request-titleblacklist": "<strong>O nome de usuario escollido coincide co seguinte título da lista negra:</strong> $1",
                    513 "centralauth-badaccess-blacklisted": "Non pode solicitar un cambio de nome global xa que está incluído nunha lista negra."
                he.json  (4 usages found)
                    346 "centralauth-rename-form-overridetitleblacklist": "עקיפת רשימה שחורה של כותרות",
                    365 "centralauth-rename-titleblacklist-match": "שם המשתמש החדש תואם לרשומה הבאה ברשימה השחורה של הכותרות: $1",
                    458 "globalrenamequeue-request-titleblacklist": "<strong>שם המשתמש שנבחר תואם לערך הבא ברשימה השחורה של הכותרות:</strong> $1",
                    529 "centralauth-badaccess-blacklisted": "אין באפשרותך לבקש שינוי שם גלובלי בשך הימצאותך ברשימה שחורה."
                hu.json  (3 usages found)
                    343 "centralauth-rename-form-overridetitleblacklist": "TitleBlacklist (tiltott kifejezések) figyelmen kívül hagyása",
                    358 "centralauth-rename-titleblacklist-match": "Az új felhasználónév megegyezik a következő TitleBlacklist elemmel (tiltott kifejezéssel): $1",
                    422 "globalrenamequeue-request-titleblacklist": "<strong>Az új felhasználónév megegyezik a következő TitleBlacklist elemmel (tiltott kifejezéssel):</strong> $1",
                ia.json  (3 usages found)
                    324 "centralauth-rename-form-overridetitleblacklist": "Ignorar TitleBlacklist",
                    343 "centralauth-rename-titleblacklist-match": "Le nove usator corresponde al sequente entrata del lista de titulos prohibite (TitleBlacklist): $1",
                    434 "globalrenamequeue-request-titleblacklist": "<strong>Le nomine de usator eligite corresponde al sequente entrata del lista nigre de titulos (TitleBlacklist):</strong> $1",
                id.json  (1 usage found)
                    288 "globalrenamequeue-request-titleblacklist": "<strong>Nama pengguna yang dipilih sesuai dengan entri TitleBlacklist:</strong> $1",
                it.json  (1 usage found)
                    352 "centralauth-rename-form-overridetitleblacklist": "Ignora TitleBlacklist",
                ja.json  (2 usages found)
                    354 "centralauth-rename-form-overridetitleblacklist": "TitleBlacklistを上書きする",
                    373 "centralauth-rename-titleblacklist-match": "新しいユーザ名は次のTitleBlacklistエントリと一致します: $1",
                ko.json  (3 usages found)
                    362 "centralauth-rename-form-overridetitleblacklist": "제목 블랙리스트 무시",
                    381 "centralauth-rename-titleblacklist-match": "다음 사용자 이름은 다음 제목 블랙리스트 항목과 일치합니다: $1",
                    473 "globalrenamequeue-request-titleblacklist": "<strong>선택한 사용자 이름은 다음 제목 블랙리스트 항목과 일치합니다:</strong> $1",
                ksh.json  (1 usage found)
                    395 "globalrenamequeue-request-titleblacklist": "<strong>Dä ußjesöhk Metmaachernahme paß op dä Enndraach following TitleBlacklist entry:</strong> $1",
                lrc.json  (4 usages found)
                    327 "centralauth-rename-form-overridetitleblacklist": "گوئارسن د نومگٱ سؽ داسونؽا",
                    346 "centralauth-rename-titleblacklist-match": "اؽ نوم مؽنتۏری با مۉرد هار د نومگٱ سؽ داسونؽا موتابقٱت دارٱ: $1",
                    438 "globalrenamequeue-request-titleblacklist": "<strong>نوم مؽنتۏری گلٛٱڤرچی بیٱ با مۉرد هار د نومگٱ سؽ داسونؽا بروئٱری دارٱ:</strong> $1",
                    504 "centralauth-badaccess-blacklisted": "شما نمؽ تونؽت دٱرهاست آلشت نوم جهونی باٛئؽت، سی یٱ کاْ شما جۏز نومگاٛ سؽ هؽسؽت."
                lt.json  (3 usages found)
                    319 "centralauth-rename-form-overridetitleblacklist": "Nepaisyti TitleBlacklist",
                    337 "centralauth-rename-titleblacklist-match": "Naujas vartotoja vardas sutampa su šiuo TitleBlacklist įrašu: $1",
                    425 "globalrenamequeue-request-titleblacklist": "<strong>Pasirinktas vartotojo vardas atitinka šį TitleBlacklist įrašą:</strong> $1",
                mk.json  (4 usages found)
                    339 "centralauth-rename-form-overridetitleblacklist": "Заобиколи го црниот список",
                    358 "centralauth-rename-titleblacklist-match": "Новото корисничко име се совпаѓа со следниов запис на црниот список: $1",
                    451 "globalrenamequeue-request-titleblacklist": "<strong>Избраното корисничко име се совпаѓа со следниов запис на црниот список:</strong> $1",
                    522 "centralauth-badaccess-blacklisted": "Не можете да побарате глобално преименување бидејќи сте на црн список."
                nb.json  (4 usages found)
                    348 "centralauth-rename-form-overridetitleblacklist": "Overstyr tittelsvarteliste",
                    367 "centralauth-rename-titleblacklist-match": "Det nye brukernavnet matcher følgende oppføring i tittelsvartelista: $1",
                    460 "globalrenamequeue-request-titleblacklist": "<strong>Det valgte brukernavnet matcher følgende tittelsvartelisteoppføring:</strong> $1",
                    531 "centralauth-badaccess-blacklisted": "Du kan ikke be om global navneendring fordi du er på en svarteliste."
                nl.json  (4 usages found)
                    353 "centralauth-rename-form-overridetitleblacklist": "Negeer de zwarte lijst met paginanamen",
                    372 "centralauth-rename-titleblacklist-match": "De nieuwe gebruikersnaam komt overeen met de volgende regel in de zwarte lijst met paginanamen: $1",
                    464 "globalrenamequeue-request-titleblacklist": "<strong>De gekozen gebruikersnaam komt overeen met de volgende regel op de zwarte lijst met titels:</strong> $1",
                    524 "centralauth-badaccess-blacklisted": "U kunt geen globale hernoeming aanvragen omdat u op een zwarte lijst staat."
                pl.json  (3 usages found)
                    362 "centralauth-rename-form-overridetitleblacklist": "Obejdź czarną listę tytułów",
                    381 "centralauth-rename-titleblacklist-match": "Nowa nawa użytkownika pasuje do następującego wpisu Czarnej Listy Tytułów: $1",
                    473 "globalrenamequeue-request-titleblacklist": "<strong>Wybrana nazwa użytkownika pasuje do następującego wpisu Czarnej Listy Tytułów:</strong> $1",
                pt-br.json  (4 usages found)
                    368 "centralauth-rename-form-overridetitleblacklist": "Substituí TitleBlacklist",
                    387 "centralauth-rename-titleblacklist-match": "O novo nome de usuário coincide com a seguinte entrada TitleBlacklist: $1",
                    480 "globalrenamequeue-request-titleblacklist": "<strong>O nome de usuário escolhido corresponde à seguinte entrada na lista negra: </strong> $1",
                    551 "centralauth-badaccess-blacklisted": "Você não pode solicitar uma renomeação global porque está em uma lista negra."
                pt.json  (4 usages found)
                    359 "centralauth-rename-form-overridetitleblacklist": "Ignorar TitleBlacklist",
                    378 "centralauth-rename-titleblacklist-match": "O novo nome de utilizador corresponde à seguinte entrada da TitleBlacklist: $1",
                    471 "globalrenamequeue-request-titleblacklist": "<strong>O nome de utilizador escolhido corresponde à seguinte entrada na TitleBlacklist:</strong> $1",
                    542 "centralauth-badaccess-blacklisted": "Não pode pedir uma alteração global de nome, porque está numa lista negra."
                qqq.json  (4 usages found)
                    386 "centralauth-rename-form-overridetitleblacklist": "Label for checkbox on whether to override TitleBlacklist",
                    405 "centralauth-rename-titleblacklist-match": "Message shown on Special:GlobalRenameUser if the new username matches a [[mw:Extension:TitleBlacklist]] entry.",
                    499 "globalrenamequeue-request-titleblacklist": "Message shown when a user's requested name matches a [[mw:Extension:TitleBlacklist|title blacklist
                    570 "centralauth-badaccess-blacklisted": "Message shown to users who can't request to be renamed because they are listed on a blacklist."
                roa-tara.json  (4 usages found)
                    340 "centralauth-rename-form-overridetitleblacklist": "Sovrascrive TitleBlacklist",
                    359 "centralauth-rename-titleblacklist-match": "'U nome de l'utende nuève s'accocchie cu ste vôsce d'a lista gnore: $1",
                    452 "globalrenamequeue-request-titleblacklist": "<strong>'U nome de l'utende scacchiate se accocchie cu le vôsce d'a lista gnore de le titole:</strong> $1",
                    523 "centralauth-badaccess-blacklisted": "Non ge puè cercà 'nu renomenamende globbale, purcé tu ste jndr'à lista gnore."
                ru.json  (4 usages found)
                    371 "centralauth-rename-form-overridetitleblacklist": "Игнорировать «черный список» названий (TitleBlacklist)",
                    390 "centralauth-rename-titleblacklist-match": "Выбранное имя учётной соответствует названию из «чёрного списка»: $1",
                    482 "globalrenamequeue-request-titleblacklist": "<stong>Выбранное имя учётной записи соответствует названию из «чёрного списка»: $1</strong>",
                    550 "centralauth-badaccess-blacklisted": "Вы не можете запросить глобальное переименование, поскольку вы находитесь в чёрном списке."
                sl.json  (3 usages found)
                    322 "centralauth-rename-form-overridetitleblacklist": "Povozi Črni seznam naslovov",
                    341 "centralauth-rename-titleblacklist-match": "Novo uporabniško ime se ujema z imenom na Črnem seznamu naslovov: $1",
                    433 "globalrenamequeue-request-titleblacklist": "<strong>Izbrano uporabniško ime se ujema z naslednjim imenom iz Črnega seznama naslovov:</strong> $1",
                sv.json  (1 usage found)
                    377 "centralauth-rename-titleblacklist-match": "Det nya användarnamnet matchar följande TitleBlacklist-notering: $1",
                tr.json  (4 usages found)
                    366 "centralauth-rename-form-overridetitleblacklist": "TitleBlacklist'i geçersiz kılın",
                    385 "centralauth-rename-titleblacklist-match": "Yeni kullanıcı adı şu TitleBlacklist girişiyle eşleşiyor: $1",
                    478 "globalrenamequeue-request-titleblacklist": "<strong>Seçilen kullanıcı adı aşağıdaki TitleBlacklist girişiyle eşleşiyor:</strong> $1",
                    549 "centralauth-badaccess-blacklisted": "Genel bir yeniden adlandırma isteğinde bulunamazsınız, çünkü kara listede olursunuz."
                uk.json  (4 usages found)
                    366 "centralauth-rename-form-overridetitleblacklist": "Обійти чорний список назв",
                    385 "centralauth-rename-titleblacklist-match": "Нове ім'я користувача відповідає такому запису з чорного списку назв: $1",
                    478 "globalrenamequeue-request-titleblacklist": "<strong>Вибране ім'я користувача відповідає такому запису з чорного списку назв:</strong> $1",
                    549 "centralauth-badaccess-blacklisted": "Ви не можете подати запит на глобальне перейменування, оскільки перебуваєте в чорному списку."
                vi.json  (3 usages found)
                    322 "centralauth-rename-form-overridetitleblacklist": "Ghi đè danh sách đen tên trang",
                    341 "centralauth-rename-titleblacklist-match": "Tên người dùng mới trùng với mục sau trong danh sách đen tên trang: $1",
                    432 "globalrenamequeue-request-titleblacklist": "<strong>Tên người dùng đã chọn trùng với mục sau trong danh sách đen tên trang:</strong> $1",
                xmf.json  (1 usage found)
                    17 "centralauth-badaccess-blacklisted": "თქვა ვეშეილებჷნა გლობალური ჯოხოშ თირუა მითხუათინ, თიშ გეშა, ნამჷ-და თქვა უჩა ერკებულს რეთ."
                zh-hans.json  (4 usages found)
                    386 "centralauth-rename-form-overridetitleblacklist": "覆盖标题黑名单",
                    405 "centralauth-rename-titleblacklist-match": "新的用户名匹配以下标题黑名单条目:$1",
                    498 "globalrenamequeue-request-titleblacklist": "<strong>选择的用户名匹配以下标题黑名单条目:</strong>$1",
                    569 "centralauth-badaccess-blacklisted": "由于您在黑名单上,故无法申请全域更名。"
                zh-hant.json  (4 usages found)
                    372 "centralauth-rename-form-overridetitleblacklist": "覆蓋標題黑名單",
                    391 "centralauth-rename-titleblacklist-match": "新的使用者名稱符合以下標題黑名單項目:$1",
                    484 "globalrenamequeue-request-titleblacklist": "<strong>所選使用者名稱符合以下標題黑名單:</strong> $1",
                    555 "centralauth-badaccess-blacklisted": "因為您在黑名單中,您不能請求一個全域的重新命名。"
            includes  (57 usages found)
                GlobalRename  (30 usages found)
                    GlobalRenameBlacklist.php  (29 usages found)
                        25 * Utility class to deal with global rename blacklist.
                        30 class GlobalRenameBlacklist {
                        31 /** @var string|Title|null Source of the blacklist, set to $wgGlobalRenameBlacklist */
                        33 /** @var string[]|null Content of blacklist */
                        34 private $blacklist = null;
                        41 * @param string|Title|null $file Source of blacklist or null to use $wgGlobalRenameBlacklist
                        44 global $wgGlobalRenameBlacklist;
                        47 $this->file = $wgGlobalRenameBlacklist;
                        54 * Internal method for fetching blacklist.
                        56 * Blacklist is fetched and parsed into $blacklist. Blacklist source is
                        62 private function fetchBlacklist() {
                        63 if ( $this->blacklist !== null && count( $this->blacklist ) !== 0 ) {
                        65 'GlobalRenameBlacklist::fetchBlacklist called on already fully initialized class'
                        70 $this->logger->debug( 'GlobalRenameBlacklist is fetching blacklist from a wikipage' );
                        75 'GlobalRenameBlacklist::fetchBlacklist was called with non-existent wikipage'
                        80 'Page used with GlobalRenameBlacklist has invalid content model'
                        85 $this->logger->debug( 'GlobalRenameBlacklist is fetching blacklist from the internet' );
                        87 $this->logger->info( 'GlobalRenameBlacklist is not specified, not fetching anything' );
                        93 $this->logger->warning( 'GlobalRenameBlacklist failed to fetch global rename blacklist.' );
                        99 $this->blacklist = [];
                        109 $this->blacklist[] = $trimmedRow;
                        120 global $wgGlobalRenameBlacklistRegex;
                        122 if ( $this->blacklist === null ) {
                        123 $this->logger->debug( 'GlobalRenameBlacklist::checkUser() fetches blacklist, null found' );
                        124 $this->fetchBlacklist();
                        127 if ( !$wgGlobalRenameBlacklistRegex ) {
                        128 $res = !in_array( $user->getName(), $this->blacklist, true );
                        131 foreach ( $this->blacklist as $row ) {
                        145 'GlobalRenameBlacklist returns {result} for {username}',
                    GlobalRenameRequest.php  (1 usage found)
                        423 * for AntiSpoof, TitleBlacklist or other AbortNewAccount hook blocks.
                session  (4 usages found)
                    CentralAuthTokenSessionProvider.php  (4 usages found)
                        111 $key = CentralAuthUtils::memcKey( 'api-token-blacklist', (string)$centralUser->getId() );
                        113 $this->logger->debug( __METHOD__ . ': user is blacklisted' );
                        194 // Assume blacklisting for a day will be enough because we assume by
                        198 $key = CentralAuthUtils::memcKey( 'api-token-blacklist', (string)$centralUser->getId() );
                specials  (23 usages found)
                    SpecialGlobalRenameQueue.php  (6 usages found)
                        484 // Show a message if the new username matches the title blacklist.
                        485 if ( ExtensionRegistry::getInstance()->isLoaded( 'TitleBlacklist' ) ) {
                        486 $titleBlacklist = TitleBlacklist::singleton()->isBlacklisted(
                        490 if ( $titleBlacklist instanceof TitleBlacklistEntry ) {
                        492 $this->msg( 'globalrenamequeue-request-titleblacklist' )
                        493 ->params( wfEscapeWikiText( $titleBlacklist->getRegex() ) )->parseAsBlock()
                    SpecialGlobalRenameRequest.php  (3 usages found)
                        45 $blacklist = new GlobalRenameBlacklist();
                        46 return $blacklist->checkUser( $user );
                        50 throw new PermissionsError( null, [ 'centralauth-badaccess-blacklisted' ] );
                    SpecialGlobalRenameUser.php  (14 usages found)
                        28 private $overrideTitleBlacklist = false;
                        98 'overridetitleblacklist' => [
                        99 'id' => 'mw-globalrenameuser-overridetitleblacklist',
                        100 'name' => 'overridetitleblacklist',
                        101 'label-message' => 'centralauth-rename-form-overridetitleblacklist',
                        191 // Ask for confirmation if the new username matches the title blacklist.
                        193 !$this->overrideTitleBlacklist
                        194 && ExtensionRegistry::getInstance()->isLoaded( 'TitleBlacklist' )
                        196 $titleBlacklist = TitleBlacklist::singleton()->isBlacklisted(
                        200 if ( $titleBlacklist instanceof TitleBlacklistEntry ) {
                        202 $this->msg( 'centralauth-rename-titleblacklist-match' )
                        203 ->params( wfEscapeWikiText( $titleBlacklist->getRegex() ) )
                        248 if ( $data['overridetitleblacklist'] ) {
                        249 $this->overrideTitleBlacklist = true;
            tests  (16 usages found)
                phpunit  (16 usages found)
                    GlobalRenameBlacklistTest.php  (16 usages found)
                        27 class GlobalRenameBlacklistTest extends MediaWikiIntegrationTestCase {
                        28 /** @var GlobalRenameBlacklist|null */
                        29 private $blacklist = null;
                        33 $this->editPage( 'Blacklist', 'BadUser' );
                        34 $this->blacklist = new GlobalRenameBlacklist( Title::newFromText( 'Blacklist' ) );
                        38 * @covers GlobalRenameBlacklist::checkUser
                        42 $this->blacklist->checkUser( User::newFromName( 'GoodUser' ) ),
                        43 'GoodUser didn\'t pass GlobalRenameBlacklist'
                        48 * @covers GlobalRenameBlacklist::checkUser
                        52 $this->blacklist->checkUser( User::newFromName( 'BadUser' ) ),
                        53 'BadUser passed GlobalRenameBlacklist'
                        58 * @covers GlobalRenameBlacklist::checkUser
                        59 * @covers GlobalRenameBlacklist::fetchBlacklist
                        61 public function testEmptyBlacklist() {
                        62 $this->editPage( 'Blacklist', '' );
                        65 $this->blacklist->checkUser( User::newFromName( 'BadUser' ) )
            extension.json  (3 usages found)
                324 "GlobalRenameBlacklist": "includes/GlobalRename/GlobalRenameBlacklist.php"
                602 "GlobalRenameBlacklist": {
                605 "GlobalRenameBlacklistRegex": {

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
OpenNone

Event Timeline

I think the largest thing here is GlobalRenameBlacklist and related config values. Any ideas on what it should be called? GlobalRenameBlocklist? UserWhoCantBeRenamed?

Working out what to name things is the hardest part in many regards.

As per some similar threads, we've got to be wary of use of words like block, suppress and such, because they have more specific meanings in MediaWiki land.

As there's no special page, and the page at https://meta.wikimedia.org/wiki/Global_rename_blacklist being the main user facing feature (we can be renamed almost at any point; just needs simultaneous update of the $wg in IS.php), I think you'd be ok using something more like UserWhoCantBeRenamed personally.

Other stuff like PreventedRenames (or similar) and stuff might be ok too; User:SillyBadName tried to request a rename but was prevented, though in that case User:SillyBadName tried to request a rename but was denied sounds more natural. CentralAuth prevented User:SillyBadName from being renamed.

Denylist could work too

In T277932#6931225, @Majavah wrote:

I think the largest thing here is GlobalRenameBlacklist and related config values. Any ideas on what it should be called? GlobalRenameBlocklist? UserWhoCantBeRenamed?

I'd go for Global rename denylist, since it effectively denies people from renaming.

Change 709850 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/CentralAuth@master] Rename variables and methods from master to primary

https://gerrit.wikimedia.org/r/709850

Change 709850 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Rename variables and methods from master to primary

https://gerrit.wikimedia.org/r/709850

Change 719327 had a related patch set uploaded (by Majavah; author: Jforrester):

[mediawiki/extensions/CentralAuth@master] Alter use of deprecated methods to ones called 'Primary'

https://gerrit.wikimedia.org/r/719327

Change 719327 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Alter use of deprecated methods to ones called 'Primary'

https://gerrit.wikimedia.org/r/719327

Change 719559 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/CentralAuth@master] CentralAuthUser: remove deprecated methods containing *master*

https://gerrit.wikimedia.org/r/719559

Change 719559 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] CentralAuthUser: remove deprecated methods containing *master*

https://gerrit.wikimedia.org/r/719559

Change 720343 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/CentralAuth@master] Rename GlobalRenameBlacklist -> Denylist

https://gerrit.wikimedia.org/r/720343

Change 720344 had a related patch set uploaded (by Majavah; author: Majavah):

[mediawiki/extensions/CentralAuth@master] Rename GlobalRenameBlacklist config to denylist

https://gerrit.wikimedia.org/r/720344

Change 720343 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Rename GlobalRenameBlacklist -> Denylist

https://gerrit.wikimedia.org/r/720343

Change 720362 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/mediawiki-config@master] Add new config names for CentralAuth denylist controls

https://gerrit.wikimedia.org/r/720362

Change 720363 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/mediawiki-config@master] Drop old config names for CentralAuth denylist controls

https://gerrit.wikimedia.org/r/720363

Change 720485 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/CentralAuth@master] Rename CentralAuthSpoofUser::getDBMaster() to ::getDBPrimary()

https://gerrit.wikimedia.org/r/720485

Change 720485 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Rename CentralAuthSpoofUser::getDBMaster() to ::getDBPrimary()

https://gerrit.wikimedia.org/r/720485

Change 730946 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/mediawiki-config@master] CommonSettings: Drop legacy CentralAuth config flag, never read

https://gerrit.wikimedia.org/r/730946

Change 720362 merged by jenkins-bot:

[operations/mediawiki-config@master] Add new config names for CentralAuth denylist controls

https://gerrit.wikimedia.org/r/720362

Mentioned in SAL (#wikimedia-operations) [2021-10-21T23:15:58Z] <thcipriani@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:720362|Add new config names for CentralAuth denylist controls (T277932)]] (duration: 00m 55s)

Mentioned in SAL (#wikimedia-operations) [2021-10-21T23:18:32Z] <thcipriani@deploy1002> Synchronized tests/multiversion/StaticSettingsTest.php: Config: [[gerrit:720362|Add new config names for CentralAuth denylist controls (T277932)]] (duration: 00m 55s)

Change 730946 merged by jenkins-bot:

[operations/mediawiki-config@master] CommonSettings: Drop legacy CentralAuth config flag, never read

https://gerrit.wikimedia.org/r/730946

Mentioned in SAL (#wikimedia-operations) [2021-10-21T23:25:00Z] <thcipriani@deploy1002> Synchronized wmf-config: Config: [[gerrit:730946|CommonSettings: Drop legacy CentralAuth config flag, never read (T277932)]] (duration: 00m 55s)

Change 720344 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Rename GlobalRenameBlacklist config to denylist

https://gerrit.wikimedia.org/r/720344

Change 720363 merged by jenkins-bot:

[operations/mediawiki-config@master] Drop old config names for CentralAuth denylist controls

https://gerrit.wikimedia.org/r/720363

Mentioned in SAL (#wikimedia-operations) [2021-12-02T19:22:13Z] <taavi@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:720363|Drop old config names for CentralAuth denylist controls (T277932)]] (duration: 00m 56s)

Change 790993 had a related patch set uploaded (by Amire80; author: Amire80):

[mediawiki/extensions/CentralAuth@master] Rephrase a message to match the function name

https://gerrit.wikimedia.org/r/790993