jenkins-bot has submitted this change and it was merged. Change subject: Version 1.1: lots o' modernization ......................................................................
Version 1.1: lots o' modernization * Added extension.json file for MW 1.25+ * Killed PHP i18n file in favor of JSON i18n files ** Added Finnish (fi) i18n * Moved main PHP logic into a new, separate class * Changed extension type in version credits from "other" to "antispam" since the most common case in which a "bogus" user page is created these days is related to spambots * Added version number into extension credits Change-Id: I4b6b2426223f1b15729d6c8f441d616410ae3b65 --- A NoBogusUserpages.class.php D NoBogusUserpages.i18n.php M NoBogusUserpages.php A extension.json A i18n/ast.json A i18n/be-tarask.json A i18n/de-formal.json A i18n/de.json A i18n/dsb.json A i18n/en.json A i18n/es.json A i18n/fi.json A i18n/fr.json A i18n/gl.json A i18n/he.json A i18n/hsb.json A i18n/ia.json A i18n/it.json A i18n/ja.json A i18n/ksh.json A i18n/lb.json A i18n/mk.json A i18n/nl.json A i18n/pl.json A i18n/pms.json A i18n/qqq.json A i18n/ta.json A i18n/tl.json 28 files changed, 353 insertions(+), 272 deletions(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/NoBogusUserpages.class.php b/NoBogusUserpages.class.php new file mode 100644 index 0000000..4f0ea1c --- /dev/null +++ b/NoBogusUserpages.class.php @@ -0,0 +1,62 @@ +<?php +/** + * NoBogusUserpages + * + * @file + * @ingroup Extensions + * @author Daniel Friesen (https://www.mediawiki.org/wiki/User:Dantman) <[email protected]> + * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + */ + +class NoBogusUserpages { + + public static function onGetUserPermissionsErrors( $title, $user, $action, &$result ) { + // If we're not in the user namespace, + // or we're not trying to edit, + // or the page already exists, + // or we are allowed to create bogus userpages + // then just let MediaWiki continue. + if ( + $title->getNamespace() != NS_USER || + $action != 'create' || + $user->isAllowed( 'createbogususerpage' ) + ) + { + return true; + } + + $userTitle = explode( '/', $title->getText(), 2 ); + $userName = $userTitle[0]; + + // Don't block the creation of IP userpages if the page is for a IPv4 or IPv6 page. + if ( User::isIP( $userName ) ) { + return true; + } + + // Check if the user exists, if it says the user is anon, + // but we know we're not on an IP page, then the user does not exist. + // And therefore, we block creation. + $user = User::newFromName( $userName ); + if ( $user->isAnon() ) { + $result = 'badaccess-bogususerpage'; + return false; + } + + return true; + } + +} \ No newline at end of file diff --git a/NoBogusUserpages.i18n.php b/NoBogusUserpages.i18n.php deleted file mode 100644 index c50daad..0000000 --- a/NoBogusUserpages.i18n.php +++ /dev/null @@ -1,235 +0,0 @@ -<?php - /** - * NoBogusUserpages - * @package NoBogusUserpages - * @author Daniel Friesen (http://www.mediawiki.org/wiki/User:Dantman) <[email protected]> - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ - -$messages = array(); - -/** English - * @author Dantman - * @author SVG - */ -$messages['en'] = array( - 'nobogususerpages-desc' => 'Restricts creation of userpages for which a user does not exist', - 'badaccess-bogususerpage' => 'The user of this userpage does not exist. You do not have the rights to create a bogus userpage.', - 'right-createbogususerpage' => 'Create user pages for users who are not registered on this wiki', -); - -/** Message documentation (Message documentation) - * @author SVG - */ -$messages['qqq'] = array( - 'nobogususerpages-desc' => '{{desc}}', - 'badaccess-bogususerpage' => 'Error message which will be shown when an userpage does not exist and the user does not have permission to create a bogus userpage', - 'right-createbogususerpage' => '{{doc-right|createbogususerpage}}', -); - -/** Asturian (asturianu) - * @author Xuacu - */ -$messages['ast'] = array( - 'nobogususerpages-desc' => "Torga la creación de páxines d'usuariu cuando l'usuariu nun esiste", - 'badaccess-bogususerpage' => "Nun esiste l'usuariu d'esta páxina d'usuariu. Nun tienes permisu pa crear una páxina d'usuariu falsa.", - 'right-createbogususerpage' => "Crear páxines d'usuariu pa usuarios que nun tan rexistraos nesta wiki", -); - -/** Belarusian (Taraškievica orthography) (беларуская (тарашкевіца)) - * @author EugeneZelenko - * @author Wizardist - */ -$messages['be-tarask'] = array( - 'nobogususerpages-desc' => 'Забараняе стварэньне старонак неіснуючых удзельнікаў', - 'badaccess-bogususerpage' => 'Удзельнік гэтай старонкі ўдзельніка не існуе. Вы ня маеце дазволу ствараць фіктыўныя старонкі ўдзельнікаў.', - 'right-createbogususerpage' => 'стварэньне старонак незарэгістраваных ўдзельнікаў', -); - -/** German (Deutsch) - * @author Kghbln - */ -$messages['de'] = array( - 'nobogususerpages-desc' => 'Verhindert das Erstellen von Benutzerseiten zu denen kein Benutzerkonto vorhanden ist', - 'badaccess-bogususerpage' => 'Zu dieser Benutzerseite ist kein Benutzerkonto vorhanden. Du bist nicht berechtigt, eine solche Benutzerseite zu erstellen.', - 'right-createbogususerpage' => 'Benutzerseiten zu nicht vorhandenen Benutzerkonten erstellen', -); - -/** German (formal address) (Deutsch (Sie-Form)) - * @author Geitost - * @author Kghbln - * @author SVG - */ -$messages['de-formal'] = array( - 'badaccess-bogususerpage' => 'Zu dieser Benutzerseite ist kein Benutzerkonto vorhanden. Sie sind nicht berechtigt, eine solche Benutzerseite zu erstellen.', -); - -/** Lower Sorbian (dolnoserbski) - * @author Michawiki - */ -$messages['dsb'] = array( - 'nobogususerpages-desc' => 'Zajźujo napóranjeju wužywarskich bokow, za kótarež wužywaŕ njeeksistěrujo', - 'badaccess-bogususerpage' => 'Wužywaŕ toś togo wužywarskego boka njeeksistěrujo. Njamaš pšawa, aby napórał toś ten bok.', - 'right-createbogususerpage' => 'Wužywarske boki za wužywarjow napóraś, kótarež njejsu na toś tom wikiju zregistrěrowane', -); - -/** Spanish (español) - * @author Armando-Martin - */ -$messages['es'] = array( - 'nobogususerpages-desc' => 'Restringe la creación de páginas de usuario a los usuarios no registrados', - 'badaccess-bogususerpage' => 'El usuario de esta página de usuario no existe. No tiene derecho a crear páginas de usuario falsas.', - 'right-createbogususerpage' => 'Crear páginas de usuario para usuarios que no están registrados en este wiki', -); - -/** French (français) - * @author Gomoko - */ -$messages['fr'] = array( - 'nobogususerpages-desc' => "Empêcher la création de pages utilisateur pour lesquelles il n'y a pas d'utilisateur existant", - 'badaccess-bogususerpage' => "L'utilisateur de cette page utilisateur n'existe pas. Vous n'avez pas le droit de créer une fausse page utilisateur.", - 'right-createbogususerpage' => 'Créer des pages utilisateur pour des utilisateurs qui ne sont pas enregistrés sur ce wiki', -); - -/** Galician (galego) - * @author Toliño - */ -$messages['gl'] = array( - 'nobogususerpages-desc' => 'Restrinxe a creación das páxinas de usuario daqueles usuarios que non teñen ningunha conta rexistrada', - 'badaccess-bogususerpage' => 'O usuario desta páxina de usuario non existe. Non pode crear páxinas de usuario falsas.', - 'right-createbogususerpage' => 'Crear páxinas de usuario de usuarios que non están rexistrados neste wiki', -); - -/** Hebrew (עברית) - * @author Amire80 - */ -$messages['he'] = array( - 'nobogususerpages-desc' => 'הגבלת יצירת דפי משתמש עם שמות של משתמשים שאינם קיימים', - 'badaccess-bogususerpage' => 'שם המשתמש עבור דף המשתמש הזה אינו קיים. אין לך הרשאה ליצור דף משתמש מזויף.', - 'right-createbogususerpage' => 'ליצור דף משתמש עבור משתמשים שאינם רשומים בוויקי הזה', -); - -/** Upper Sorbian (hornjoserbsce) - * @author Michawiki - */ -$messages['hsb'] = array( - 'nobogususerpages-desc' => 'Zadźěwa wutworjenju wužiwarskich stronow, za kotrež wužiwar njeeksistuje', - 'badaccess-bogususerpage' => 'Wužiwar tuteje wužiwarskeje strony njeeksistuje. Nimaš prawa, zo by tutu wužiwarsku stronu wutworił.', - 'right-createbogususerpage' => 'Wužiwarske strony za wužiwarjow wutworić, kotřiž njejsu na tutym wikiju zregistrowani', -); - -/** Interlingua (interlingua) - * @author McDutchie - */ -$messages['ia'] = array( - 'nobogususerpages-desc' => 'Impedi le creation de paginas de usator pro le quales non existe un usator', - 'badaccess-bogususerpage' => 'Le usator de iste pagina de usator non existe. Tu non ha le derecto de crear un false pagina de usator.', - 'right-createbogususerpage' => 'Crear paginas de usator pro usatores que non es registrate in iste wiki', -); - -/** Italian (italiano) - * @author Beta16 - */ -$messages['it'] = array( - 'nobogususerpages-desc' => 'Limita la creazione di pagine utente per le quali non esiste un utente', - 'badaccess-bogususerpage' => "L'utente di questa pagina non esiste. Non hai i diritti per creare una falsa pagina utente.", - 'right-createbogususerpage' => 'Crea pagine utente per gli utenti che non sono registrati su questo wiki', -); - -/** Japanese (日本語) - * @author Shirayuki - */ -$messages['ja'] = array( - 'nobogususerpages-desc' => '存在しない利用者の利用者ページの作成を制限する', - 'badaccess-bogususerpage' => 'この利用者ページの利用者は存在しません。あなたには偽の利用者ページを作成する権限がありません。', - 'right-createbogususerpage' => 'このウィキに未登録の利用者の利用者ページを作成', -); - -/** Colognian (Ripoarisch) - * @author Purodha - */ -$messages['ksh'] = array( - 'nobogususerpages-desc' => 'Beschrängk de Müjjeleshkeit, Metmaachersigge aanzzelääje, för Metmaacher, di et nit jitt.', - 'badaccess-bogususerpage' => 'Dä Metmaacher för heh di Metmaachersigg jidd_et nit. -Do häs nit dat Rääsch, esu en Metmaachersigg aanzelääje.', - 'right-createbogususerpage' => 'Metmaachersigge aanlääje för Metmaacher, di heh em Wiki nit bikannt sin.', -); - -/** Luxembourgish (Lëtzebuergesch) - * @author Robby - */ -$messages['lb'] = array( - 'nobogususerpages-desc' => "Limitéiert d'Uleeë vu Benotzersäiten fir déi et kee Benotzer gëtt", - 'badaccess-bogususerpage' => 'De Benotzer vun dëser Benotzersäit gëtt et net. Dir sidd net berechtegt esou eng Bogus-Benotzersäit unzeleeën.', - 'right-createbogususerpage' => 'Säite fir Benotzer uleeën, déi op dëser Wiki net registréiert sinn', -); - -/** Macedonian (македонски) - * @author Bjankuloski06 - */ -$messages['mk'] = array( - 'nobogususerpages-desc' => 'Го спречува создавањето на кориснички страници за непостоечки корисници', - 'badaccess-bogususerpage' => 'Корисникот на оваа страница не постои. Немате права да создадете божемна корисничка страница.', - 'right-createbogususerpage' => 'Создавање на кориснички страници за нерегистрирани корисници', -); - -/** Dutch (Nederlands) - * @author Siebrand - */ -$messages['nl'] = array( - 'nobogususerpages-desc' => "Beperkt het aanmaken van gebruikerspagina's waar een gebruiker niet bestaat", - 'badaccess-bogususerpage' => 'De gebruiker voor deze gebruikerspagina bestaat niet. U hebt geen rechten om deze gebruikerspagina aan te maken.', - 'right-createbogususerpage' => "Gebruikerspagina's aanmaken voor gebruikers die niet bekend zijn in deze wiki", -); - -/** Polish (polski) - * @author BeginaFelicysym - */ -$messages['pl'] = array( - 'nobogususerpages-desc' => 'Ogranicza tworzenie stron użytkowników dla których użytkownik nie istnieje', - 'badaccess-bogususerpage' => 'Użytkownik tej strony użytkownika nie istnieje. Nie masz uprawnienia do tworzenia nieprawdziwej strony użytkownika.', - 'right-createbogususerpage' => 'Tworzenie stron użytkownika dla użytkowników, którzy nie są zarejestrowane w tym wiki', -); - -/** Piedmontese (Piemontèis) - * @author Borichèt - * @author Dragonòt - */ -$messages['pms'] = array( - 'nobogususerpages-desc' => 'A rëstrenz la creassion ëd pàgine utent për le quaj a esist gnun utent', - 'badaccess-bogususerpage' => "L'utent dë sta pàgina utent a esist pa. Chiel a l'ha pa ij drit ëd creé na pàgina utent fantasma.", - 'right-createbogususerpage' => "Creé dle pàgine utent për dj'utent ch'a son pa registrà dzora a sta wiki.", -); - -/** Tamil (தமிழ்) - * @author Shanmugamp7 - */ -$messages['ta'] = array( - 'nobogususerpages-desc' => 'பதிவு செய்யாத பயனர்களுக்கு பயனர் பக்கம் உருவாக்குவதை தடுக்கிறது', - 'badaccess-bogususerpage' => 'இந்தப் பயனர் பக்கத்தின் பயனர் பதிவு செய்யப்படவில்லை. போலியான பயனர் பக்கம் உருவாக்க உங்களுக்கு அனுமதி இல்லை.', - 'right-createbogususerpage' => 'இந்த விக்கியில் பதிவு செய்யாத பயனர்களுக்கு பயனர் பக்கங்கள் உருவாக்கு', -); - -/** Tagalog (Tagalog) - * @author AnakngAraw - */ -$messages['tl'] = array( - 'nobogususerpages-desc' => 'Nagbabawal sa paglikha ng mga pahina ng tagagamit kung saan ang isang tagagamit ay hindi naman umiiral', - 'badaccess-bogususerpage' => 'Ang tagagamit ng pahinang ito ng tagagamit ay hindi umiiral. Wala kang mga karapatan na lumikha ng hindi totoong mga pahina ng tagagamit.', - 'right-createbogususerpage' => 'Lumikha ng mga pahina ng tagagamit para sa mga tagagamit na hindi nakarehistro sa wiking ito', -); - diff --git a/NoBogusUserpages.php b/NoBogusUserpages.php index 8ae5e00..168dd5c 100644 --- a/NoBogusUserpages.php +++ b/NoBogusUserpages.php @@ -1,68 +1,46 @@ <?php - /** +/** * NoBogusUserpages * @package NoBogusUserpages - * @author Daniel Friesen (http://www.mediawiki.org/wiki/User:Dantman) <[email protected]> + * @author Daniel Friesen (https://www.mediawiki.org/wiki/User:Dantman) <[email protected]> * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. - * + * * You should have received a copy of the GNU General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ -if( !defined( 'MEDIAWIKI' ) ) die( "This is an extension to the MediaWiki package and cannot be run standalone." ); +if ( !defined( 'MEDIAWIKI' ) ) { + die( "This is an extension to the MediaWiki package and cannot be run standalone." ); +} -$wgExtensionCredits['other'][] = array ( +$wgExtensionCredits['antispam'][] = array( 'path' => __FILE__, 'name' => 'NoBogusUserpages', + 'version' => '1.1', 'url' => 'https://www.mediawiki.org/wiki/Extension:NoBogusUserpages', 'author' => '[https://www.mediawiki.org/wiki/User:Dantman Daniel Friesen] [mailto:daniel%20friesen%20%[email protected]%3E <[email protected]>]', 'descriptionmsg' => 'nobogususerpages-desc', ); -// Internationlization file -$wgExtensionMessagesFiles['NoBogusUserpages'] = dirname(__FILE__) . '/NoBogusUserpages.i18n.php'; +$wgAutoloadClasses['NoBogusUserpages'] = __DIR__ . '/NoBogusUserpages.class.php'; + +// Internationalization files +$wgMessagesDirs['NoBogusUserpages'] = __DIR__ . '/i18n'; // Add missing permission $wgAvailableRights[] = 'createbogususerpage'; $wgGroupPermissions['sysop']['createbogususerpage'] = true; // Hook -$wgHooks['getUserPermissionsErrors'][] = 'efNoBogusUserpagesUserCan'; - -function efNoBogusUserpagesUserCan( $title, $user, $action, &$result ) { - // If we're not in the user namespace, - // or we're not trying to edit, - // or the page already exists, - // or we are allowed to create bogus userpages - // then just let MediaWiki continue. - if ( $title->getNamespace() != NS_USER - || $action != 'create' - || $user->isAllowed('createbogususerpage') ) return true; - - $userTitle = explode( '/', $title->getText(), 2 ); - $userName = $userTitle[0]; - - // Don't block the creation of IP userpages if the page is for a IPv4 or IPv6 page. - if ( User::isIP( $userName ) ) return true; - - // Check if the user exists, if it says the user is anon, - // but we know we're not on an ip page, then the user does not exist. - // And therefore, we block creation. - $user = User::newFromName( $userName ); - if ( $user->isAnon() ) { - $result = 'badaccess-bogususerpage'; - return false; - } - return true; -} +$wgHooks['getUserPermissionsErrors'][] = 'NoBogusUserpages::onGetUserPermissionsErrors'; \ No newline at end of file diff --git a/extension.json b/extension.json new file mode 100644 index 0000000..ebc5f92 --- /dev/null +++ b/extension.json @@ -0,0 +1,33 @@ +{ + "name": "NoBogusUserpages", + "version": "1.1", + "author": [ + "[https://www.mediawiki.org/wiki/User:Dantman Daniel Friesen]" + ], + "license-name": "GPL-2.0+", + "url": "https://www.mediawiki.org/wiki/Extension:NoBogusUserpages", + "descriptionmsg": "nobogususerpages-desc", + "type": "antispam", + "MessagesDirs": { + "NoBogusUserpages": [ + "i18n" + ] + }, + "AutoloadClasses": { + "NoBogusUserpages": "NoBogusUserpages.class.php" + }, + "Hooks": { + "getUserPermissionsErrors": [ + "NoBogusUserpages::onGetUserPermissionsErrors" + ] + }, + "AvailableRights": [ + "createbogususerpage" + ], + "GroupPermissions": { + "sysop": { + "createbogususerpage": true + } + }, + "manifest_version": 1 +} diff --git a/i18n/ast.json b/i18n/ast.json new file mode 100644 index 0000000..100521e --- /dev/null +++ b/i18n/ast.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Xuacu" + ] + }, + "nobogususerpages-desc": "Torga la creación de páxines d'usuariu cuando l'usuariu nun esiste", + "badaccess-bogususerpage": "Nun esiste l'usuariu d'esta páxina d'usuariu. Nun tienes permisu pa crear una páxina d'usuariu falsa.", + "right-createbogususerpage": "Crear páxines d'usuariu pa usuarios que nun tan rexistraos nesta wiki" +} diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json new file mode 100644 index 0000000..aada986 --- /dev/null +++ b/i18n/be-tarask.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "EugeneZelenko", + "Wizardist" + ] + }, + "nobogususerpages-desc": "Забараняе стварэньне старонак неіснуючых удзельнікаў", + "badaccess-bogususerpage": "Удзельнік гэтай старонкі ўдзельніка не існуе. Вы ня маеце дазволу ствараць фіктыўныя старонкі ўдзельнікаў.", + "right-createbogususerpage": "стварэньне старонак незарэгістраваных ўдзельнікаў" +} diff --git a/i18n/de-formal.json b/i18n/de-formal.json new file mode 100644 index 0000000..a6455e2 --- /dev/null +++ b/i18n/de-formal.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Geitost", + "Kghbln", + "SVG" + ] + }, + "badaccess-bogususerpage": "Zu dieser Benutzerseite ist kein Benutzerkonto vorhanden. Sie sind nicht berechtigt, eine solche Benutzerseite zu erstellen." +} diff --git a/i18n/de.json b/i18n/de.json new file mode 100644 index 0000000..45be537 --- /dev/null +++ b/i18n/de.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Kghbln" + ] + }, + "nobogususerpages-desc": "Verhindert das Erstellen von Benutzerseiten zu denen kein Benutzerkonto vorhanden ist", + "badaccess-bogususerpage": "Zu dieser Benutzerseite ist kein Benutzerkonto vorhanden. Du bist nicht berechtigt, eine solche Benutzerseite zu erstellen.", + "right-createbogususerpage": "Benutzerseiten zu nicht vorhandenen Benutzerkonten erstellen" +} diff --git a/i18n/dsb.json b/i18n/dsb.json new file mode 100644 index 0000000..ffd63ec --- /dev/null +++ b/i18n/dsb.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "nobogususerpages-desc": "Zajźujo napóranjeju wužywarskich bokow, za kótarež wužywaŕ njeeksistěrujo", + "badaccess-bogususerpage": "Wužywaŕ toś togo wužywarskego boka njeeksistěrujo. Njamaš pšawa, aby napórał toś ten bok.", + "right-createbogususerpage": "Wužywarske boki za wužywarjow napóraś, kótarež njejsu na toś tom wikiju zregistrěrowane" +} diff --git a/i18n/en.json b/i18n/en.json new file mode 100644 index 0000000..32c47c9 --- /dev/null +++ b/i18n/en.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Dantman", + "SVG" + ] + }, + "nobogususerpages-desc": "Restricts creation of userpages for which a user does not exist", + "badaccess-bogususerpage": "The user of this userpage does not exist. You do not have the rights to create a bogus userpage.", + "right-createbogususerpage": "Create user pages for users who are not registered on this wiki" +} diff --git a/i18n/es.json b/i18n/es.json new file mode 100644 index 0000000..f2ffed9 --- /dev/null +++ b/i18n/es.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Armando-Martin" + ] + }, + "nobogususerpages-desc": "Restringe la creación de páginas de usuario a los usuarios no registrados", + "badaccess-bogususerpage": "El usuario de esta página de usuario no existe. No tiene derecho a crear páginas de usuario falsas.", + "right-createbogususerpage": "Crear páginas de usuario para usuarios que no están registrados en este wiki" +} diff --git a/i18n/fi.json b/i18n/fi.json new file mode 100644 index 0000000..263398d --- /dev/null +++ b/i18n/fi.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Jack Phoenix <[email protected]>" + ] + }, + "nobogususerpages-desc": "Rajoittaa käyttäjäsivujen luontia sellaisille käyttäjätunnuksille, joita ei ole olemassa", + "badaccess-bogususerpage": "Sitä käyttäjää, jonka käyttäjäsivu tämä on, ei ole olemassa. Sinulla ei ole oikeuksia luoda tarpeetonta käyttäjäsivua.", + "right-createbogususerpage": "Luoda käyttäjäsivuja käyttäjille, jotka eivät ole rekisteröityneet tähän wikiin" +} diff --git a/i18n/fr.json b/i18n/fr.json new file mode 100644 index 0000000..e80ee22 --- /dev/null +++ b/i18n/fr.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Gomoko" + ] + }, + "nobogususerpages-desc": "Empêcher la création de pages utilisateur pour lesquelles il n'y a pas d'utilisateur existant", + "badaccess-bogususerpage": "L'utilisateur de cette page utilisateur n'existe pas. Vous n'avez pas le droit de créer une fausse page utilisateur.", + "right-createbogususerpage": "Créer des pages utilisateur pour des utilisateurs qui ne sont pas enregistrés sur ce wiki" +} diff --git a/i18n/gl.json b/i18n/gl.json new file mode 100644 index 0000000..af56bf0 --- /dev/null +++ b/i18n/gl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Toliño" + ] + }, + "nobogususerpages-desc": "Restrinxe a creación das páxinas de usuario daqueles usuarios que non teñen ningunha conta rexistrada", + "badaccess-bogususerpage": "O usuario desta páxina de usuario non existe. Non pode crear páxinas de usuario falsas.", + "right-createbogususerpage": "Crear páxinas de usuario de usuarios que non están rexistrados neste wiki" +} diff --git a/i18n/he.json b/i18n/he.json new file mode 100644 index 0000000..db3320d --- /dev/null +++ b/i18n/he.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Amire80" + ] + }, + "nobogususerpages-desc": "הגבלת יצירת דפי משתמש עם שמות של משתמשים שאינם קיימים", + "badaccess-bogususerpage": "שם המשתמש עבור דף המשתמש הזה אינו קיים. אין לך הרשאה ליצור דף משתמש מזויף.", + "right-createbogususerpage": "ליצור דף משתמש עבור משתמשים שאינם רשומים בוויקי הזה" +} diff --git a/i18n/hsb.json b/i18n/hsb.json new file mode 100644 index 0000000..e47994b --- /dev/null +++ b/i18n/hsb.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Michawiki" + ] + }, + "nobogususerpages-desc": "Zadźěwa wutworjenju wužiwarskich stronow, za kotrež wužiwar njeeksistuje", + "badaccess-bogususerpage": "Wužiwar tuteje wužiwarskeje strony njeeksistuje. Nimaš prawa, zo by tutu wužiwarsku stronu wutworił.", + "right-createbogususerpage": "Wužiwarske strony za wužiwarjow wutworić, kotřiž njejsu na tutym wikiju zregistrowani" +} diff --git a/i18n/ia.json b/i18n/ia.json new file mode 100644 index 0000000..9c21733 --- /dev/null +++ b/i18n/ia.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "McDutchie" + ] + }, + "nobogususerpages-desc": "Impedi le creation de paginas de usator pro le quales non existe un usator", + "badaccess-bogususerpage": "Le usator de iste pagina de usator non existe. Tu non ha le derecto de crear un false pagina de usator.", + "right-createbogususerpage": "Crear paginas de usator pro usatores que non es registrate in iste wiki" +} diff --git a/i18n/it.json b/i18n/it.json new file mode 100644 index 0000000..b89e00d --- /dev/null +++ b/i18n/it.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Beta16" + ] + }, + "nobogususerpages-desc": "Limita la creazione di pagine utente per le quali non esiste un utente", + "badaccess-bogususerpage": "L'utente di questa pagina non esiste. Non hai i diritti per creare una falsa pagina utente.", + "right-createbogususerpage": "Crea pagine utente per gli utenti che non sono registrati su questo wiki" +} diff --git a/i18n/ja.json b/i18n/ja.json new file mode 100644 index 0000000..c858801 --- /dev/null +++ b/i18n/ja.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Shirayuki" + ] + }, + "nobogususerpages-desc": "存在しない利用者の利用者ページの作成を制限する", + "badaccess-bogususerpage": "この利用者ページの利用者は存在しません。あなたには偽の利用者ページを作成する権限がありません。", + "right-createbogususerpage": "このウィキに未登録の利用者の利用者ページを作成" +} diff --git a/i18n/ksh.json b/i18n/ksh.json new file mode 100644 index 0000000..5b1c023 --- /dev/null +++ b/i18n/ksh.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Purodha" + ] + }, + "nobogususerpages-desc": "Beschrängk de Müjjeleshkeit, Metmaachersigge aanzzelääje, för Metmaacher, di et nit jitt.", + "badaccess-bogususerpage": "Dä Metmaacher för heh di Metmaachersigg jidd_et nit.\r\nDo häs nit dat Rääsch, esu en Metmaachersigg aanzelääje.", + "right-createbogususerpage": "Metmaachersigge aanlääje för Metmaacher, di heh em Wiki nit bikannt sin." +} diff --git a/i18n/lb.json b/i18n/lb.json new file mode 100644 index 0000000..55cf554 --- /dev/null +++ b/i18n/lb.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Robby" + ] + }, + "nobogususerpages-desc": "Limitéiert d'Uleeë vu Benotzersäiten fir déi et kee Benotzer gëtt", + "badaccess-bogususerpage": "De Benotzer vun dëser Benotzersäit gëtt et net. Dir sidd net berechtegt esou eng Bogus-Benotzersäit unzeleeën.", + "right-createbogususerpage": "Säite fir Benotzer uleeën, déi op dëser Wiki net registréiert sinn" +} diff --git a/i18n/mk.json b/i18n/mk.json new file mode 100644 index 0000000..006fead --- /dev/null +++ b/i18n/mk.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Bjankuloski06" + ] + }, + "nobogususerpages-desc": "Го спречува создавањето на кориснички страници за непостоечки корисници", + "badaccess-bogususerpage": "Корисникот на оваа страница не постои. Немате права да создадете божемна корисничка страница.", + "right-createbogususerpage": "Создавање на кориснички страници за нерегистрирани корисници" +} diff --git a/i18n/nl.json b/i18n/nl.json new file mode 100644 index 0000000..b24a473 --- /dev/null +++ b/i18n/nl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Siebrand" + ] + }, + "nobogususerpages-desc": "Beperkt het aanmaken van gebruikerspagina's waar een gebruiker niet bestaat", + "badaccess-bogususerpage": "De gebruiker voor deze gebruikerspagina bestaat niet. U hebt geen rechten om deze gebruikerspagina aan te maken.", + "right-createbogususerpage": "Gebruikerspagina's aanmaken voor gebruikers die niet bekend zijn in deze wiki" +} diff --git a/i18n/pl.json b/i18n/pl.json new file mode 100644 index 0000000..08d4c70 --- /dev/null +++ b/i18n/pl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "BeginaFelicysym" + ] + }, + "nobogususerpages-desc": "Ogranicza tworzenie stron użytkowników dla których użytkownik nie istnieje", + "badaccess-bogususerpage": "Użytkownik tej strony użytkownika nie istnieje. Nie masz uprawnienia do tworzenia nieprawdziwej strony użytkownika.", + "right-createbogususerpage": "Tworzenie stron użytkownika dla użytkowników, którzy nie są zarejestrowane w tym wiki" +} diff --git a/i18n/pms.json b/i18n/pms.json new file mode 100644 index 0000000..6c00cf9 --- /dev/null +++ b/i18n/pms.json @@ -0,0 +1,11 @@ +{ + "@metadata": { + "authors": [ + "Borichèt", + "Dragonòt" + ] + }, + "nobogususerpages-desc": "A rëstrenz la creassion ëd pàgine utent për le quaj a esist gnun utent", + "badaccess-bogususerpage": "L'utent dë sta pàgina utent a esist pa. Chiel a l'ha pa ij drit ëd creé na pàgina utent fantasma.", + "right-createbogususerpage": "Creé dle pàgine utent për dj'utent ch'a son pa registrà dzora a sta wiki." +} diff --git a/i18n/qqq.json b/i18n/qqq.json new file mode 100644 index 0000000..00b73a1 --- /dev/null +++ b/i18n/qqq.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "SVG" + ] + }, + "nobogususerpages-desc": "{{desc}}", + "badaccess-bogususerpage": "Error message which will be shown when an userpage does not exist and the user does not have permission to create a bogus userpage", + "right-createbogususerpage": "{{doc-right|createbogususerpage}}" +} diff --git a/i18n/ta.json b/i18n/ta.json new file mode 100644 index 0000000..e952579 --- /dev/null +++ b/i18n/ta.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Shanmugamp7" + ] + }, + "nobogususerpages-desc": "பதிவு செய்யாத பயனர்களுக்கு பயனர் பக்கம் உருவாக்குவதை தடுக்கிறது", + "badaccess-bogususerpage": "இந்தப் பயனர் பக்கத்தின் பயனர் பதிவு செய்யப்படவில்லை. போலியான பயனர் பக்கம் உருவாக்க உங்களுக்கு அனுமதி இல்லை.", + "right-createbogususerpage": "இந்த விக்கியில் பதிவு செய்யாத பயனர்களுக்கு பயனர் பக்கங்கள் உருவாக்கு" +} diff --git a/i18n/tl.json b/i18n/tl.json new file mode 100644 index 0000000..a671cb0 --- /dev/null +++ b/i18n/tl.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "AnakngAraw" + ] + }, + "nobogususerpages-desc": "Nagbabawal sa paglikha ng mga pahina ng tagagamit kung saan ang isang tagagamit ay hindi naman umiiral", + "badaccess-bogususerpage": "Ang tagagamit ng pahinang ito ng tagagamit ay hindi umiiral. Wala kang mga karapatan na lumikha ng hindi totoong mga pahina ng tagagamit.", + "right-createbogususerpage": "Lumikha ng mga pahina ng tagagamit para sa mga tagagamit na hindi nakarehistro sa wiking ito" +} -- To view, visit https://gerrit.wikimedia.org/r/253170 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4b6b2426223f1b15729d6c8f441d616410ae3b65 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/NoBogusUserpages Gerrit-Branch: master Gerrit-Owner: Jack Phoenix <[email protected]> Gerrit-Reviewer: Legoktm <[email protected]> Gerrit-Reviewer: Siebrand <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
