ItSpiderman has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/387184 )
Change subject: Remove InterWikiLinks extension ...................................................................... Remove InterWikiLinks extension Change-Id: Ia0beebbb16e460180ad6fd15d6e23aa343f55319 ERM: #7929 --- D InterWikiLinks/InterWikiLinks.class.php D InterWikiLinks/InterWikiLinks.setup.php D InterWikiLinks/extension.json D InterWikiLinks/i18n/ar.json D InterWikiLinks/i18n/ast.json D InterWikiLinks/i18n/ba.json D InterWikiLinks/i18n/bho.json D InterWikiLinks/i18n/bn.json D InterWikiLinks/i18n/br.json D InterWikiLinks/i18n/ce.json D InterWikiLinks/i18n/cv.json D InterWikiLinks/i18n/de-formal.json D InterWikiLinks/i18n/de.json D InterWikiLinks/i18n/diq.json D InterWikiLinks/i18n/en.json D InterWikiLinks/i18n/es.json D InterWikiLinks/i18n/eu.json D InterWikiLinks/i18n/fa.json D InterWikiLinks/i18n/fr.json D InterWikiLinks/i18n/fy.json D InterWikiLinks/i18n/gl.json D InterWikiLinks/i18n/he.json D InterWikiLinks/i18n/hu.json D InterWikiLinks/i18n/ia.json D InterWikiLinks/i18n/it.json D InterWikiLinks/i18n/ja.json D InterWikiLinks/i18n/ko.json D InterWikiLinks/i18n/ksh.json D InterWikiLinks/i18n/lb.json D InterWikiLinks/i18n/lt.json D InterWikiLinks/i18n/mk.json D InterWikiLinks/i18n/mr.json D InterWikiLinks/i18n/ne.json D InterWikiLinks/i18n/nl.json D InterWikiLinks/i18n/oc.json D InterWikiLinks/i18n/pl.json D InterWikiLinks/i18n/ps.json D InterWikiLinks/i18n/pt-br.json D InterWikiLinks/i18n/pt.json D InterWikiLinks/i18n/qqq.json D InterWikiLinks/i18n/ru.json D InterWikiLinks/i18n/sd.json D InterWikiLinks/i18n/sl.json D InterWikiLinks/i18n/sv.json D InterWikiLinks/i18n/tr.json D InterWikiLinks/i18n/uk.json D InterWikiLinks/i18n/zh-hans.json D InterWikiLinks/i18n/zh-hant.json D InterWikiLinks/includes/api/BSApiTasksInterWikiLinksManager.php D InterWikiLinks/includes/specials/SpecialInterWikiLinks.alias.php D InterWikiLinks/includes/specials/SpecialInterWikiLinks.class.php D InterWikiLinks/resources/BS.InterWikiLinks/InsertLink/FormPanelInterWiki.js D InterWikiLinks/resources/BS.InterWikiLinks/InterWikiLinksDialog.js D InterWikiLinks/resources/BS.InterWikiLinks/Panel.js D InterWikiLinks/resources/bluespice.insertLink.interWikiLinks.js D InterWikiLinks/resources/bluespice.interWikiLinks.js D InterWikiLinks/tests/phpunit/BSApiTasksInterWikiLinksManagerTest.php 57 files changed, 0 insertions(+), 2,136 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions refs/changes/84/387184/1 diff --git a/InterWikiLinks/InterWikiLinks.class.php b/InterWikiLinks/InterWikiLinks.class.php deleted file mode 100644 index 37bc788..0000000 --- a/InterWikiLinks/InterWikiLinks.class.php +++ /dev/null @@ -1,125 +0,0 @@ -<?php -/** - * InterWiki Links extension for BlueSpice MediaWiki - * - * Administration interface for adding, editing and deleting interwiki links - * - * This program 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 of the License, or - * (at your option) any later version. - * - * This program 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 program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * This file is part of BlueSpice MediaWiki - * For further information visit http://www.bluespice.com - * - * @author Markus Glaser <[email protected]> - * @author Leonid Verhovskij <[email protected]> - * @author Sebastian Ulbricht <[email protected]> - * @version 2.27 - * @package BlueSpice_Extensions - * @subpackage InterWikiLinks - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - * @filesource - */ - -/** - * Main class for InterWikiLinks extension - * @package BlueSpice_Extensions - * @subpackage InterWikiLinks - */ -class InterWikiLinks extends BsExtensionMW { - - /** - * Constructor of InterWikiLinks class - */ - public function __construct() { - wfProfileIn( 'BS::'.__METHOD__ ); - WikiAdmin::registerModule( 'InterWikiLinks', [ - 'image' => '/extensions/BlueSpiceExtensions/WikiAdmin/resources/images/bs-btn_interwikilinks_v1.png', - 'level' => 'wikiadmin', - 'message' => 'bs-interwikilinks-label', - 'iconCls' => 'bs-icon-chain', - 'permissions' => [ 'interwikilinks-viewspecialpage' ], - ]); - wfProfileOut( 'BS::'.__METHOD__ ); - } - - protected function initExt() { - wfProfileIn('BS::InterWikiLinks::initExt'); - - $this->setHook( 'BeforePageDisplay' ); - - $this->mCore->registerPermission( 'interwikilinks-viewspecialpage', array('sysop'), array( 'type' => 'global' ) ); - - wfProfileOut('BS::InterWikiLinks::initExt'); - } - - /** - * - * @param OutputPage $oOutputPage - * @param Skin $oSkin - * @return boolean - always true - */ - public function onBeforePageDisplay( &$oOutputPage, &$oSkin ) { - if( !in_array($oOutputPage->getRequest()->getVal('action', 'view'), array('edit', 'submit')) ) return true; - $oOutputPage->addModules('bluespice.insertLink.interWikiLinks'); - //TODO implement ow - $oOutputPage->addJsConfigVars( 'BSInterWikiPrefixes', $this->getInterWikiLinkPrefixes() ); - - return true; - } - - public static function getInterWikiLinkPrefixes() { - $oDbr = wfGetDB( DB_REPLICA ); - $rRes = $oDbr->select( - 'interwiki', - 'iw_prefix', - '', - '', - array( "ORDER BY" => "iw_prefix" ) - ); - - $aInterWikiPrefixes = array(); - while( $o = $oDbr->fetchObject($rRes) ) $aInterWikiPrefixes[] = $o->iw_prefix; - - return $aInterWikiPrefixes; - } - - public static function purgeTitles($iw_prefix) { - $dbr = wfGetDB( DB_REPLICA ); - $res = $dbr->select( - 'iwlinks', - array('iwl_from', 'iwl_prefix'), - array('iwl_prefix' => $iw_prefix) - ); - - foreach( $res as $row ) { - $oTitle = Title::newFromID( $row->iwl_from ); - if( $oTitle instanceof Title == false ) continue; - $oTitle->invalidateCache(); - } - } - - /** - * UnitTestsList allows registration of additional test suites to execute - * under PHPUnit. Extensions can append paths to files to the $paths array, - * and since MediaWiki 1.24, can specify paths to directories, which will - * be scanned recursively for any test case files with the suffix "Test.php". - * @param array $paths - */ - public static function onUnitTestsList ( array &$paths ) { - $paths[] = __DIR__ . '/tests/phpunit/'; - return true; - } - -} diff --git a/InterWikiLinks/InterWikiLinks.setup.php b/InterWikiLinks/InterWikiLinks.setup.php deleted file mode 100644 index 327d5e2..0000000 --- a/InterWikiLinks/InterWikiLinks.setup.php +++ /dev/null @@ -1,2 +0,0 @@ -<?php -wfLoadExtension( 'BlueSpiceExtensions/InterWikiLinks' ); \ No newline at end of file diff --git a/InterWikiLinks/extension.json b/InterWikiLinks/extension.json deleted file mode 100644 index 70c2cf0..0000000 --- a/InterWikiLinks/extension.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "name": "InterWikiLinks", - "version": "2.27.1-alpha", - "url": "https://help.bluespice.com/index.php/Interwikilinks", - "author": [ - "Markus Glaser", - "Sebastian Ulbricht", - "Leonid Verhovskij" - ], - "descriptionmsg": "bs-interwikilinks-desc", - "type": "bluespice", - "license-name": "GPL-2.0+", - "bsgExtensions": { - "InterWikiLinks": { - "className": "InterWikiLinks", - "extPath": "/BlueSpiceExtensions/InterWikiLinks" - } - }, - "SpecialPages": { - "InterWikiLinks": "SpecialInterWikiLinks" - }, - "APIModules": { - "bs-interwikilinks-tasks": "BSApiTasksInterWikiLinksManager" - }, - "MessagesDirs": { - "InterWikiLinks": [ - "i18n" - ] - }, - "AutoloadClasses": { - "InterWikiLinks": "InterWikiLinks.class.php", - "BSApiTasksInterWikiLinksManager": "includes/api/BSApiTasksInterWikiLinksManager.php", - "SpecialInterWikiLinks": "includes/specials/SpecialInterWikiLinks.class.php" - }, - "Hooks": { - "UnitTestsList": "InterWikiLinks::onUnitTestsList" - }, - "ExtensionMessagesFiles": { - "InterWikiLinksAlias": "includes/specials/SpecialInterWikiLinks.alias.php" - }, - "ResourceModules": { - "ext.bluespice.interWikiLinks": { - "scripts": "bluespice.interWikiLinks.js", - "messages": [ - "bs-interwikilinks-headerprefix", - "bs-interwikilinks-headerurl", - "bs-interwikilinks-titleaddinterwikilink", - "bs-interwikilinks-titleeditinterwikilink", - "bs-interwikilinks-labelprefix", - "bs-interwikilinks-labelurl", - "bs-interwikilinks-titledeleteinterwikilink", - "bs-interwikilinks-confirmdeleteinterwikilink" - ], - "dependencies": [ - "ext.bluespice.extjs" - ] - }, - "bluespice.insertLink.interWikiLinks": { - "scripts": "bluespice.insertLink.interWikiLinks.js", - "messages": [ - "bs-interwikilinks-insertlink-tabtitle", - "bs-interwikilinks-insertlink-labelprefix", - "bs-interwikilink-select-a-prefix" - ] - } - }, - "ResourceFileModulePaths": { - "localBasePath": "resources", - "remoteExtPath": "BlueSpiceExtensions/InterWikiLinks/resources" - }, - "manifest_version": 1 -} diff --git a/InterWikiLinks/i18n/ar.json b/InterWikiLinks/i18n/ar.json deleted file mode 100644 index c918cf3..0000000 --- a/InterWikiLinks/i18n/ar.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "محمد أحمد عبد الفتاح" - ] - }, - "bs-interwikilinks-link-edited": "عدلت وصلة اللغة", - "apihelp-bs-interwikilinks-tasks-description": "يقدم المهام لامتداد InterWikiLinks." -} diff --git a/InterWikiLinks/i18n/ast.json b/InterWikiLinks/i18n/ast.json deleted file mode 100644 index 9105222..0000000 --- a/InterWikiLinks/i18n/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Xuacu" - ] - }, - "bs-interwikilinks-desc": "Interfaz alministrativa p'amestar, editar y desaniciar enllaces interwiki", - "bs-interwikilinks-invalid-pfx-spc": "El prefixu ye inválidu. Nun uses espacios.", - "bs-interwikilinks-invalid-url-spc": "La URL ye inválida. Nun uses espacios.", - "bs-interwikilinks-label": "Enllaces interwiki", - "bs-interwikilinks-link-created": "Creóse l'enllaz interwiki.", - "bs-interwikilinks-link-added": "Amestóse l'enllaz interwiki.", - "bs-interwikilinks-link-deleted": "Desanicióse l'enllaz interwiki.", - "bs-interwikilinks-nooldpfx": "Nun s'alcontró el prefixu anterior.", - "bs-interwikilinks-nopfx": "Proporciona un prefixu.", - "bs-interwikilinks-nourl": "Proporciona una URL.", - "bs-interwikilinks-pfxtoolong": "El prefixu ye enforma llargu. Usa un máximu de 32 carácteres.", - "bs-interwikilinks-pfxexists": "Esti prefixu yá esiste.", - "bs-interwikilinks-headerprefix": "Prefixu", - "bs-interwikilinks-titleaddinterwikilink": "Amestar enllaz interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Editar enllaz interwiki", - "bs-interwikilinks-labelprefix": "Prefixu", - "bs-interwikilinks-titledeleteinterwikilink": "Desaniciar enllaz interwiki", - "bs-interwikilinks-confirmdeleteinterwikilink": "¿Tas seguru de que quies desaniciar esti enllaz interwiki?", - "bs-interwikilinks-insertlink-tabtitle": "Enllazar a otra wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefixu", - "bs-interwikilink-select-a-prefix": "Escueye prefixu", - "bs-interwikilinks-link-edited": "Editóse l'enllaz interwiki.", - "apihelp-bs-interwikilinks-tasks-description": "Ufre les xeres pa la estensión InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Ufre les xeres pa la estensión InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "ver la páxina especial «{{int:bs-interwikilinks-label}}»", - "interwikilinks": "Enllaces interwiki" -} diff --git a/InterWikiLinks/i18n/ba.json b/InterWikiLinks/i18n/ba.json deleted file mode 100644 index f2b70ac..0000000 --- a/InterWikiLinks/i18n/ba.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Sagan", - "Лилиә", - "Азат Хәлилов", - "Ләйсән" - ] - }, - "bs-interwikilinks-desc": "Интервик һылтанмаларын өҫтәү, төҙәтеү өсөн хакимиәт интерфейсы.", - "bs-interwikilinks-invalid-pfx-spc": "Дөрөҫ булмаған префикс. Пробел ҡулланмағыҙ.", - "bs-interwikilinks-invalid-url-spc": "Дөрөҫ булмаған URL. Пробелдар ҡулланмағыҙ.", - "bs-interwikilinks-label": "Интервики-һылтанмалар", - "bs-interwikilinks-link-created": "Интервики-һылтанма булдырылды.", - "bs-interwikilinks-link-added": "Интервики һылтанмаһы өҫтәлде", - "bs-interwikilinks-link-deleted": "Интервики-һылтанма алып ташланды.", - "bs-interwikilinks-nooldpfx": "алдан килгән префикс табылманы.", - "bs-interwikilinks-nopfx": "Префиксты күрһәтегеҙ.", - "bs-interwikilinks-nourl": "URL күрһәтегеҙ.", - "bs-interwikilinks-pfxtoolong": "Префикс бик оҙон. 31 символдан артыҡ ҡулланмағыҙ.", - "bs-interwikilinks-pfxexists": "Бындай префикс юҡ.", - "bs-interwikilinks-headerprefix": "Префикс", - "bs-interwikilinks-titleaddinterwikilink": "Интервики-һылтанма өҫтәргә", - "bs-interwikilinks-titleeditinterwikilink": "интервики-һылтанманы мөхәррирләргә", - "bs-interwikilinks-labelprefix": "Префикс", - "bs-interwikilinks-titledeleteinterwikilink": "Интервики-һылтанманы алып ташларға", - "bs-interwikilinks-confirmdeleteinterwikilink": "Интервики-һылтанманы алып ташларға теләйһегеҙме?", - "bs-interwikilinks-insertlink-tabtitle": "Башҡа викиға һылтанма", - "bs-interwikilinks-insertlink-labelprefix": "Префикс", - "bs-interwikilink-select-a-prefix": "Префикс һайлағыҙ", - "bs-interwikilinks-link-edited": "Интервики-һылтанма мөхәррирләнде." -} diff --git a/InterWikiLinks/i18n/bho.json b/InterWikiLinks/i18n/bho.json deleted file mode 100644 index 272a341..0000000 --- a/InterWikiLinks/i18n/bho.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Nepaboy" - ] - }, - "bs-interwikilinks-titleaddinterwikilink": "अन्तरविकी लिंक स्थापित करीं" -} diff --git a/InterWikiLinks/i18n/bn.json b/InterWikiLinks/i18n/bn.json deleted file mode 100644 index 2ebe253..0000000 --- a/InterWikiLinks/i18n/bn.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Aftab1995", - "Aftabuzzaman" - ] - }, - "bs-interwikilinks-label": "আন্তঃউইকি সংযোগ", - "bs-interwikilinks-nourl": "একটি URL দিন।", - "bs-interwikilinks-titleaddinterwikilink": "আন্তঃউইকি সংযোগ যোগ করুন", - "bs-interwikilinks-titleeditinterwikilink": "আন্তঃউইকি সংযোগ সম্পাদনা", - "bs-interwikilinks-titledeleteinterwikilink": "আন্তঃউইকি সংযোগ অপসারণ করুন", - "bs-interwikilinks-confirmdeleteinterwikilink": "আপনি কি নিশ্চিত, আপনি এই আন্তউইকি সংযোগ অপসারণ করতে চান?", - "bs-interwikilinks-insertlink-tabtitle": "অন্য উইকি মধ্যে সংযোগ", - "action-interwikilinks-viewspecialpage": "বিশেষ পাতা \"{{int:bs-interwikilinks-label}}\" দেখার", - "interwikilinks": "আন্তঃউইকি সংযোগ" -} diff --git a/InterWikiLinks/i18n/br.json b/InterWikiLinks/i18n/br.json deleted file mode 100644 index 6dc8bfc..0000000 --- a/InterWikiLinks/i18n/br.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Fohanno", - "Fulup" - ] - }, - "bs-interwikilinks-desc": "Etrefas merañ da ouzhpennañ, aozañ ha dilemel al lialloù etrewiki", - "bs-interwikilinks-invalid-pfx-spc": "Direizh eo ar rakger. Na implijit ket esaouennoù, mar plij.", - "bs-interwikilinks-invalid-url-spc": "Direizh eo an URL. Na implijit ket esaouennoù, mar plij.", - "bs-interwikilinks-label": "Liammoù etrewiki", - "bs-interwikilinks-link-created": "Krouet eo bet al liamm etrewiki.", - "bs-interwikilinks-link-added": "Ouzhpennet eo bet al liamm etrewiki.", - "bs-interwikilinks-link-deleted": "Dilamet eo bet al liamm etrewiki.", - "bs-interwikilinks-nooldpfx": "N'eo ket bet kavet ar rakger kent.", - "bs-interwikilinks-nopfx": "Pourchasit ur rakger, mar plij.", - "bs-interwikilinks-nourl": "Pourchasir un URL, mar plij.", - "bs-interwikilinks-pfxtoolong": "Re hir eo ar rakger. Implijit 32 arouezenn d'ar muiañ, mar plij.", - "bs-interwikilinks-pfxexists": "Ar rakger-mañ zo anezhañ dija.", - "bs-interwikilinks-headerprefix": "Rakger", - "bs-interwikilinks-titleaddinterwikilink": "Ouzhpennañ ul liamm etrewiki", - "bs-interwikilinks-titleeditinterwikilink": "Aozañ al liamm etrewiki", - "bs-interwikilinks-labelprefix": "Rakger", - "bs-interwikilinks-titledeleteinterwikilink": "Dilemel al liamm etrewiki", - "bs-interwikilinks-confirmdeleteinterwikilink": "Ha sur oc'h e fell deoc'h dilemel al liamm interwiki-mañ ?", - "bs-interwikilinks-insertlink-tabtitle": "Liamm war-zu ur wiki all", - "bs-interwikilinks-insertlink-labelprefix": "Rakger", - "bs-interwikilink-select-a-prefix": "Choaz ur rakger", - "interwikilinks": "Liammoù etrewiki" -} diff --git a/InterWikiLinks/i18n/ce.json b/InterWikiLinks/i18n/ce.json deleted file mode 100644 index 155024e..0000000 --- a/InterWikiLinks/i18n/ce.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Умар" - ] - }, - "bs-interwikilinks-link-deleted": "Юкъаравикин хьажорг дӀаяьккхина.", - "bs-interwikilinks-headerprefix": "ТӀетоьхна элпаш", - "bs-interwikilinks-insertlink-tabtitle": "Кхечу вики тӀе хьажорг" -} diff --git a/InterWikiLinks/i18n/cv.json b/InterWikiLinks/i18n/cv.json deleted file mode 100644 index 14c9c12..0000000 --- a/InterWikiLinks/i18n/cv.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Chuvash2014" - ] - }, - "bs-interwikilinks-headerprefix": "Префикс", - "bs-interwikilinks-labelprefix": "Префикс", - "bs-interwikilinks-insertlink-labelprefix": "Префикс" -} diff --git a/InterWikiLinks/i18n/de-formal.json b/InterWikiLinks/i18n/de-formal.json deleted file mode 100644 index 08e96b4..0000000 --- a/InterWikiLinks/i18n/de-formal.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Stephan Muggli <[email protected]>" - ] - }, - "bs-interwikilinks-invalid-pfx-spc": "Das Präfix ist ungültig. Verwenden Sie keine Leerzeichen und Sonderzeichen.", - "bs-interwikilinks-invalid-url-spc": "Die URL ist ungültig. Verwenden Sie keine Leerzeichen.", - "bs-interwikilinks-nopfx": "Bitte geben Sie einen Präfix ein.", - "bs-interwikilinks-nourl": "Bitte geben Sie eine URL ein.", - "bs-interwikilinks-pfxtoolong": "Das Präfix ist zu lang. Geben Sie maximal 32 Zeichen an.", - "bs-interwikilinks-confirmdeleteinterwikilink": "Sind Sie sicher, dass Sie diesen Interwiki-Link löschen wollen?" -} diff --git a/InterWikiLinks/i18n/de.json b/InterWikiLinks/i18n/de.json deleted file mode 100644 index df8b3a1..0000000 --- a/InterWikiLinks/i18n/de.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Stephan Muggli <[email protected]>", - "Metalhead64" - ] - }, - "bs-interwikilinks-desc": "Administrationsinterface, um Links zwischen Wikis hinzuzufügen, zu bearbeiten und zu löschen", - "bs-interwikilinks-invalid-pfx-spc": "Das Präfix ist ungültig. Verwende keine Leerzeichen und keine Sonderzeichen.", - "bs-interwikilinks-invalid-url-spc": "Die URL ist ungültig. Verwende keine Leerzeichen.", - "bs-interwikilinks-label": "Interwikilinks", - "bs-interwikilinks-link-created": "Der Interwiki Link wurde erstellt.", - "bs-interwikilinks-link-added": "Der Interwiki Link wurde geändert.", - "bs-interwikilinks-link-deleted": "Der Interwiki Link wurde gelöscht.", - "bs-interwikilinks-nooldpfx": "Das ursprüngliche Präfix wurde nicht gefunden.", - "bs-interwikilinks-nopfx": "Bitte gib einen Präfix ein.", - "bs-interwikilinks-nourl": "Bitte gib eine URL ein.", - "bs-interwikilinks-pfxtoolong": "Das Präfix ist zu lang. Gib maximal 32 Zeichen an.", - "bs-interwikilinks-pfxexists": "Das Präfix ist bereits vorhanden.", - "bs-interwikilinks-headerprefix": "Präfix", - "bs-interwikilinks-headerurl": "Url", - "bs-interwikilinks-titleaddinterwikilink": "Interwiki-Link hinzufügen", - "bs-interwikilinks-titleeditinterwikilink": "Interwiki-Link bearbeiten", - "bs-interwikilinks-labelprefix": "Präfix", - "bs-interwikilinks-labelurl": "Url", - "bs-interwikilinks-titledeleteinterwikilink": "Interwiki-Link löschen", - "bs-interwikilinks-confirmdeleteinterwikilink": "Bist du sicher, dass du diesen Interwiki-Link löschen willst?", - "bs-interwikilinks-insertlink-tabtitle": "Link in anderes Wiki", - "bs-interwikilinks-insertlink-labelprefix": "Präfix", - "bs-interwikilink-select-a-prefix": "Präfix auswählen", - "bs-interwikilinks-link-edited": "Der Interwiki-Link wurde bearbeitet", - "apihelp-bs-interwikilinks-tasks-description": "Bietet die Aufgaben für die Erweiterung InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "die Spezialseite „{{int:bs-interwikilinks-label}}“ anzusehen", - "interwikilinks": "Interwikilinks" -} diff --git a/InterWikiLinks/i18n/diq.json b/InterWikiLinks/i18n/diq.json deleted file mode 100644 index 7f5affd..0000000 --- a/InterWikiLinks/i18n/diq.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Kumkumuk" - ] - }, - "bs-interwikilinks-headerprefix": "Verole", - "bs-interwikilinks-titleaddinterwikilink": "Linkê interwiki dek", - "bs-interwikilinks-titleeditinterwikilink": "Grey interwiki bıvurnê", - "bs-interwikilinks-labelprefix": "Verole", - "bs-interwikilinks-titledeleteinterwikilink": "Linkê interwiki esterne", - "bs-interwikilinks-confirmdeleteinterwikilink": "Şıma qayılê, ena linka interwiki bıesteri yo?", - "bs-interwikilinks-insertlink-labelprefix": "Verole", - "bs-interwikilink-select-a-prefix": "Verole weçinê" -} diff --git a/InterWikiLinks/i18n/en.json b/InterWikiLinks/i18n/en.json deleted file mode 100644 index 0f0c541..0000000 --- a/InterWikiLinks/i18n/en.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Stephan Muggli <[email protected]>", - "Leonid Verhovskij <[email protected]>" - ] - }, - "bs-interwikilinks-desc": "Administration interface for adding, editing and deleting interwiki links", - "bs-interwikilinks-invalid-pfx-spc": "The prefix is invalid. Please do not use spaces.", - "bs-interwikilinks-invalid-url-spc": "The URL is invalid. Please do not use spaces.", - "bs-interwikilinks-label": "Interwiki links", - "bs-interwikilinks-link-created": "The interwiki link has been created.", - "bs-interwikilinks-link-added": "The interwiki link has been added.", - "bs-interwikilinks-link-deleted": "The interwiki link has been deleted.", - "bs-interwikilinks-nooldpfx": "The previous prefix was not found.", - "bs-interwikilinks-nopfx": "Please supply a prefix.", - "bs-interwikilinks-nourl": "Please supply a URL.", - "bs-interwikilinks-pfxtoolong": "The prefix is too long. Please use a maximum of 32 characters.", - "bs-interwikilinks-pfxexists": "This prefix already exists.", - "bs-interwikilinks-headerprefix": "Prefix", - "bs-interwikilinks-headerurl": "URL", - "bs-interwikilinks-titleaddinterwikilink": "Add interwiki link", - "bs-interwikilinks-titleeditinterwikilink": "Edit interwiki link", - "bs-interwikilinks-labelprefix": "Prefix", - "bs-interwikilinks-labelurl": "URL", - "bs-interwikilinks-titledeleteinterwikilink": "Delete interwiki link", - "bs-interwikilinks-confirmdeleteinterwikilink": "Are you sure, you want delete this interwiki link?", - "bs-interwikilinks-insertlink-tabtitle": "Link into another wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefix", - "bs-interwikilink-select-a-prefix": "Choose prefix", - "bs-interwikilinks-link-edited": "The interwiki link has been edited", - "apihelp-bs-interwikilinks-tasks-description": "Provides the tasks for the extension InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Provides the tasks for the extension InterWikiLinks.", - "action-interwikilinks-viewspecialpage":"view the specialpage \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks":"Interwiki links" -} diff --git a/InterWikiLinks/i18n/es.json b/InterWikiLinks/i18n/es.json deleted file mode 100644 index 8d37a79..0000000 --- a/InterWikiLinks/i18n/es.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Fitoschido", - "Macofe", - "AVIADOR" - ] - }, - "bs-interwikilinks-desc": "Interfaz administrativa para añadir, editar y eliminar enlaces interwikis", - "bs-interwikilinks-invalid-pfx-spc": "El prefijo no es válido. No uses espacios.", - "bs-interwikilinks-invalid-url-spc": "La URL no es válida. No uses espacios.", - "bs-interwikilinks-label": "Enlaces interwikis", - "bs-interwikilinks-link-created": "Se ha creado el enlace interwiki.", - "bs-interwikilinks-link-added": "Se ha añadido el enlace interwiki.", - "bs-interwikilinks-link-deleted": "Se ha eliminado el enlace interwiki.", - "bs-interwikilinks-nooldpfx": "No se encontró el prefijo anterior.", - "bs-interwikilinks-nopfx": "Suministra un prefijo.", - "bs-interwikilinks-nourl": "Especifica una URL.", - "bs-interwikilinks-pfxtoolong": "El prefijo es demasiado largo. Usa 32 caracteres como máximo.", - "bs-interwikilinks-pfxexists": "Este prefijo ya existe.", - "bs-interwikilinks-headerprefix": "Prefijo", - "bs-interwikilinks-titleaddinterwikilink": "Agregar un enlace interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Editar enlace interwiki", - "bs-interwikilinks-labelprefix": "Prefijo", - "bs-interwikilinks-titledeleteinterwikilink": "Eliminar enlace interwiki", - "bs-interwikilinks-confirmdeleteinterwikilink": "¿Confirmas que quieres borrar este enlace interwiki?", - "bs-interwikilinks-insertlink-tabtitle": "Enlazar a otra wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefijo", - "bs-interwikilink-select-a-prefix": "Elegir prefijo", - "bs-interwikilinks-link-edited": "Se ha editado el enlace interwiki.", - "apihelp-bs-interwikilinks-tasks-description": "Proporciona las tareas para la extensión InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "ver la página especial \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks": "Enlaces interwikis" -} diff --git a/InterWikiLinks/i18n/eu.json b/InterWikiLinks/i18n/eu.json deleted file mode 100644 index 699afb2..0000000 --- a/InterWikiLinks/i18n/eu.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Subi" - ] - }, - "bs-interwikilinks-label": "Interwiki loturak", - "bs-interwikilinks-link-created": "Interwiki lotura sortu da.", - "bs-interwikilinks-link-added": "Interwiki lotura gehitu da.", - "bs-interwikilinks-link-deleted": "Interwiki lotura ezabatu da.", - "interwikilinks": "Interwiki loturak" -} diff --git a/InterWikiLinks/i18n/fa.json b/InterWikiLinks/i18n/fa.json deleted file mode 100644 index 30536cc..0000000 --- a/InterWikiLinks/i18n/fa.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Alirezaaa", - "Reza1615" - ] - }, - "bs-interwikilinks-desc": "رابط مدیریت برای افزودن، ویرایش و حذف پیوندهای میانویکی", - "bs-interwikilinks-invalid-pfx-spc": "این پیشوند نامعتبر است. لطفاً از فاصله استفاده نکنید.", - "bs-interwikilinks-invalid-url-spc": "این نشانی نامعتبر است. لطفاً از فاصله استفاده نکنید.", - "bs-interwikilinks-label": "پیوندهای میانویکی", - "bs-interwikilinks-link-created": "پیوند میانویکی ایجاد شد.", - "bs-interwikilinks-link-added": "پیوند میانویکی اضافه شد.", - "bs-interwikilinks-link-deleted": "پیوند میانویکی حذف شد.", - "bs-interwikilinks-nooldpfx": "پیشوند پیشین یافت نشد.", - "bs-interwikilinks-nopfx": "لطفاً یک پیشوند تدارک ببینید.", - "bs-interwikilinks-nourl": "لطفاً یک نشانی تدارک ببینید.", - "bs-interwikilinks-pfxtoolong": "پیشوند خیلی طولانی است. لطفاً از حداکثر ۳۲ نویسه استفاده کنید.", - "bs-interwikilinks-pfxexists": "این پیشوند از پیش وجود دارد.", - "bs-interwikilinks-headerprefix": "پیشوند", - "bs-interwikilinks-headerurl": "نشانی اینترنتی", - "bs-interwikilinks-titleaddinterwikilink": "افزودن پیوند میانویکی", - "bs-interwikilinks-titleeditinterwikilink": "ویرایش پیوند میانویکی", - "bs-interwikilinks-labelprefix": "پیشوند", - "bs-interwikilinks-labelurl": "نشانی اینترنتی", - "bs-interwikilinks-titledeleteinterwikilink": "حذف پیوند میانویکی", - "bs-interwikilinks-confirmdeleteinterwikilink": "آیا مطمئنید، میخواهید این پیوند میانویکی را حذف کنید؟", - "bs-interwikilinks-insertlink-tabtitle": "پیوند به ویکی دیگر", - "bs-interwikilinks-insertlink-labelprefix": "پیشوند", - "bs-interwikilink-select-a-prefix": "انتخاب پیشوند" -} diff --git a/InterWikiLinks/i18n/fr.json b/InterWikiLinks/i18n/fr.json deleted file mode 100644 index af80066..0000000 --- a/InterWikiLinks/i18n/fr.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Gomoko", - "Wladek92" - ] - }, - "bs-interwikilinks-desc": "Interface d’administration pour ajouter, modifier et supprimer les liens interwikis", - "bs-interwikilinks-invalid-pfx-spc": "Le préfixe n’est pas valide. Veuillez ne pas utiliser d’espaces.", - "bs-interwikilinks-invalid-url-spc": "L’URL n’est pas valide. Veuillez ne pas utiliser d’espaces.", - "bs-interwikilinks-label": "Liens interwiki", - "bs-interwikilinks-link-created": "Le lien interwiki a été créé.", - "bs-interwikilinks-link-added": "Le lien interwiki a été ajouté.", - "bs-interwikilinks-link-deleted": "Le lien interwiki a été supprimé.", - "bs-interwikilinks-nooldpfx": "Le préfixe précédent n’a pas été trouvé.", - "bs-interwikilinks-nopfx": "Veuillez fournir un préfixe.", - "bs-interwikilinks-nourl": "Veuillez fournir une URL.", - "bs-interwikilinks-pfxtoolong": "Le préfixe est trop long. Veuillez utiliser au maximum 32 caractères.", - "bs-interwikilinks-pfxexists": "Le préfixe existe déjà.", - "bs-interwikilinks-headerprefix": "Préfixe", - "bs-interwikilinks-titleaddinterwikilink": "Ajouter un lien interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Modifier un lien interwiki", - "bs-interwikilinks-labelprefix": "Préfixe", - "bs-interwikilinks-titledeleteinterwikilink": "Supprimer un lien interwiki", - "bs-interwikilinks-confirmdeleteinterwikilink": "Êtes-vous sûr de vouloir supprimer ce lien interwiki ?", - "bs-interwikilinks-insertlink-tabtitle": "Lien vers un autre wiki", - "bs-interwikilinks-insertlink-labelprefix": "Préfixe", - "bs-interwikilink-select-a-prefix": "Choisir un préfixe", - "bs-interwikilinks-link-edited": "Le lien interwiki a été modifié", - "apihelp-bs-interwikilinks-tasks-description": "Fournit les tâches pour l’extension InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Fournit les tâches pour l’extension InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "afficher la page spéciale \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks": "Liens interwiki" -} diff --git a/InterWikiLinks/i18n/fy.json b/InterWikiLinks/i18n/fy.json deleted file mode 100644 index 740da8d..0000000 --- a/InterWikiLinks/i18n/fy.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Robin0van0der0vliet" - ] - }, - "bs-interwikilinks-headerurl": "URL", - "bs-interwikilinks-labelurl": "URL" -} diff --git a/InterWikiLinks/i18n/gl.json b/InterWikiLinks/i18n/gl.json deleted file mode 100644 index 5b13092..0000000 --- a/InterWikiLinks/i18n/gl.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Elisardojm", - "Toliño" - ] - }, - "bs-interwikilinks-desc": "Interface administrativa para engadir, editar e eliminar ligazóns interwiki", - "bs-interwikilinks-invalid-pfx-spc": "O prefixo é inválido. Por favor, non use espazos.", - "bs-interwikilinks-invalid-url-spc": "A URL é inválida. Por favor, non use espazos.", - "bs-interwikilinks-label": "Ligazóns interwikis", - "bs-interwikilinks-link-created": "Creouse a ligazón interwiki.", - "bs-interwikilinks-link-added": "Engadiuse a ligazón interwiki.", - "bs-interwikilinks-link-deleted": "Borrouse a ligazón interwiki.", - "bs-interwikilinks-nooldpfx": "O prefixo anterior non foi encontrado.", - "bs-interwikilinks-nopfx": "Por favor, proporcione un prefixo.", - "bs-interwikilinks-nourl": "Por favor, proporcione un URL.", - "bs-interwikilinks-pfxtoolong": "O prefixo é demasiado longo. Por favor, utilice un máximo de 32 caracteres.", - "bs-interwikilinks-pfxexists": "Este prefixo xa existe.", - "bs-interwikilinks-headerprefix": "Prefixo", - "bs-interwikilinks-titleaddinterwikilink": "Engadir ligazón interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Editar a ligazón interwiki", - "bs-interwikilinks-labelprefix": "Prefixo", - "bs-interwikilinks-titledeleteinterwikilink": "Eliminar ligazón interwiki", - "bs-interwikilinks-confirmdeleteinterwikilink": "Está seguro de que desexa eliminar esta ligazón interwiki?", - "bs-interwikilinks-insertlink-tabtitle": "Ligar a outra wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefixo", - "bs-interwikilink-select-a-prefix": "Escolla o prefixo", - "bs-interwikilinks-link-edited": "Editouse a ligazón interwiki.", - "apihelp-bs-interwikilinks-tasks-description": "Proporciona as tarefas para a extensión InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Proporciona as tarefas para a extensión InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "ver a páxina especial \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks": "Ligazóns interwiki" -} diff --git a/InterWikiLinks/i18n/he.json b/InterWikiLinks/i18n/he.json deleted file mode 100644 index 01774c4..0000000 --- a/InterWikiLinks/i18n/he.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Guycn2" - ] - }, - "action-interwikilinks-viewspecialpage": "לצפות בדף המיוחד \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks": "קישורי בינוויקי" -} diff --git a/InterWikiLinks/i18n/hu.json b/InterWikiLinks/i18n/hu.json deleted file mode 100644 index 8473655..0000000 --- a/InterWikiLinks/i18n/hu.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Csega" - ] - }, - "bs-interwikilinks-invalid-pfx-spc": "Az előtag érvénytelen. Kérjük, ne használj szóközöket.", - "bs-interwikilinks-invalid-url-spc": "Az URL érvénytelen. Kérjük, ne használj szóközöket.", - "bs-interwikilinks-label": "Interwiki hivatkozások", - "bs-interwikilinks-link-created": "Interwiki link létrehozva.", - "bs-interwikilinks-link-deleted": "Az interwiki link törölve.", - "bs-interwikilinks-pfxexists": "Ez az előtag már létezik.", - "bs-interwikilinks-headerprefix": "Előtag", - "bs-interwikilinks-titleaddinterwikilink": "Interwiki hivatkozás hozzáadása", - "bs-interwikilinks-labelprefix": "Előtag", - "bs-interwikilinks-titledeleteinterwikilink": "Interwiki hivatkozás törlése", - "bs-interwikilinks-confirmdeleteinterwikilink": "Biztosan törölni szeretnéd ezt az interwiki hivatkozást?", - "bs-interwikilinks-insertlink-tabtitle": "Link másik wikihez", - "bs-interwikilinks-insertlink-labelprefix": "Előtag", - "bs-interwikilink-select-a-prefix": "Előtag választása" -} diff --git a/InterWikiLinks/i18n/ia.json b/InterWikiLinks/i18n/ia.json deleted file mode 100644 index fdc41cd..0000000 --- a/InterWikiLinks/i18n/ia.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "@metadata": { - "authors": [ - "McDutchie" - ] - }, - "bs-interwikilinks-desc": "Interfacie de administration pro adder, modificar e deler ligamines interwiki", - "bs-interwikilinks-invalid-pfx-spc": "Le prefixo es invalide. Per favor non usa spatios.", - "bs-interwikilinks-invalid-url-spc": "Le URL es invalide. Per favor non usa spatios.", - "bs-interwikilinks-label": "Ligamines interwiki", - "bs-interwikilinks-link-created": "Le ligamine interwiki ha essite create.", - "bs-interwikilinks-link-added": "Le ligamine interwiki ha essite addite.", - "bs-interwikilinks-link-deleted": "Le ligamine interwiki ha essite delite.", - "bs-interwikilinks-nooldpfx": "Le prefixo anterior non ha essite trovate.", - "bs-interwikilinks-nopfx": "Per favor specifica un prefixo.", - "bs-interwikilinks-nourl": "Per favor specifica un URL.", - "bs-interwikilinks-pfxtoolong": "Le prefixo es troppo longe. Per favor usa al maximo 32 characteres.", - "bs-interwikilinks-pfxexists": "Iste prefixo jam existe.", - "bs-interwikilinks-headerprefix": "Prefixo", - "bs-interwikilinks-titleaddinterwikilink": "Adder ligamine interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Modificar ligamine interwiki", - "bs-interwikilinks-labelprefix": "Prefixo", - "bs-interwikilinks-titledeleteinterwikilink": "Deler ligamine interwiki", - "bs-interwikilinks-confirmdeleteinterwikilink": "Es tu secur de voler deler iste ligamine interwiki?", - "bs-interwikilinks-insertlink-tabtitle": "Ligamine verso un altere wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefixo", - "bs-interwikilink-select-a-prefix": "Selige prefixo", - "bs-interwikilinks-link-edited": "Le ligamine interwiki ha essite modificate." -} diff --git a/InterWikiLinks/i18n/it.json b/InterWikiLinks/i18n/it.json deleted file mode 100644 index 0ef0a72..0000000 --- a/InterWikiLinks/i18n/it.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ankabel", - "Beta16" - ] - }, - "bs-interwikilinks-invalid-url-spc": "L'URL non è valido. Si prega di non utilizzare spazi.", - "bs-interwikilinks-link-created": "Il collegamento interwiki è stato creato.", - "bs-interwikilinks-pfxexists": "Questo prefisso esiste già.", - "bs-interwikilinks-headerprefix": "Prefisso", - "bs-interwikilinks-labelprefix": "Prefisso", - "bs-interwikilinks-confirmdeleteinterwikilink": "Sei sicuro di voler cancellare questo collegamento interwiki?", - "bs-interwikilinks-insertlink-labelprefix": "Prefisso", - "bs-interwikilinks-link-edited": "Il collegamento interwiki è stato modificato", - "apihelp-bs-interwikilinks-tasks-description": "Fornisce le attività per l'estensione InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Fornisce le attività per l'estensione InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "visualizzare la pagina speciale \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks": "Collegamenti interwiki" -} diff --git a/InterWikiLinks/i18n/ja.json b/InterWikiLinks/i18n/ja.json deleted file mode 100644 index 1bee06e..0000000 --- a/InterWikiLinks/i18n/ja.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Shirayuki", - "2nd-player" - ] - }, - "bs-interwikilinks-desc": "ウィキ間リンクを追加/編集/削除する管理インターフェイス", - "bs-interwikilinks-invalid-pfx-spc": "接頭辞が無効です。空白を使用しないでください。", - "bs-interwikilinks-invalid-url-spc": "URL が無効です。空白を使用しないでください。", - "bs-interwikilinks-label": "ウィキ間リンク", - "bs-interwikilinks-link-created": "ウィキ間リンクを作成しました。", - "bs-interwikilinks-link-added": "ウィキ間リンクを追加しました。", - "bs-interwikilinks-link-deleted": "ウィキ間リンクを削除しました。", - "bs-interwikilinks-nopfx": "接頭辞を指定してください。", - "bs-interwikilinks-nourl": "URL を指定してください。", - "bs-interwikilinks-pfxtoolong": "接頭辞が長すぎます。最長でも32文字にしてください。", - "bs-interwikilinks-pfxexists": "この接頭辞は既に存在します。", - "bs-interwikilinks-headerprefix": "接頭辞", - "bs-interwikilinks-titleaddinterwikilink": "ウィキ間リンクの追加", - "bs-interwikilinks-titleeditinterwikilink": "ウィキ間リンクの編集", - "bs-interwikilinks-labelprefix": "接頭辞", - "bs-interwikilinks-titledeleteinterwikilink": "ウィキ間リンクの削除", - "bs-interwikilinks-confirmdeleteinterwikilink": "このウィキ間リンクを本当に削除しますか?", - "bs-interwikilinks-insertlink-tabtitle": "他のWikiへのリンク", - "bs-interwikilinks-insertlink-labelprefix": "接頭辞", - "bs-interwikilink-select-a-prefix": "接頭辞を選択" -} diff --git a/InterWikiLinks/i18n/ko.json b/InterWikiLinks/i18n/ko.json deleted file mode 100644 index 1727925..0000000 --- a/InterWikiLinks/i18n/ko.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Hwangjy9", - "HDNua", - "Ykhwong" - ] - }, - "bs-interwikilinks-label": "인터위키 링크", - "bs-interwikilinks-link-created": "인터위키 링크를 만들었습니다.", - "bs-interwikilinks-link-added": "인터위키 링크를 추가했습니다.", - "bs-interwikilinks-link-deleted": "인터위키 링크를 삭제했습니다.", - "bs-interwikilinks-nopfx": "접두어를 입력하세요.", - "bs-interwikilinks-nourl": "URL을 입력하세요.", - "bs-interwikilinks-pfxtoolong": "이 접두어는 너무 깁니다. 최대 32글자를 사용해주세요.", - "bs-interwikilinks-pfxexists": "이 접두어는 이미 존재합니다.", - "bs-interwikilinks-headerprefix": "접두어", - "bs-interwikilinks-titleaddinterwikilink": "인터위키 링크 추가", - "bs-interwikilinks-titleeditinterwikilink": "인터위키 링크 편집", - "bs-interwikilinks-labelprefix": "접두어", - "bs-interwikilinks-titledeleteinterwikilink": "인터위키 링크 삭제", - "bs-interwikilinks-insertlink-labelprefix": "접두어", - "bs-interwikilinks-link-edited": "인터위키 링크가 편집되었습니다.", - "action-interwikilinks-viewspecialpage": "특수문서 \"{{int:bs-interwikilinks-label}}\" 보기", - "interwikilinks": "인터위키 링크" -} diff --git a/InterWikiLinks/i18n/ksh.json b/InterWikiLinks/i18n/ksh.json deleted file mode 100644 index 0912b39..0000000 --- a/InterWikiLinks/i18n/ksh.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Purodha" - ] - }, - "bs-interwikilinks-desc": "Schnettschtäll för Engewikkilengks ze verwallde: derbeidonn, ändere, fottschmiiße.", - "bs-interwikilinks-invalid-pfx-spc": "Dä !!FUZZY Prefix <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locator\">URL</i> es nit ze bruche. Donn kein Zweschräum dren.", - "bs-interwikilinks-invalid-url-spc": "Dä <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locator\">URL</i> es nit ze bruche. Donn kein Zweschräum dren.", - "bs-interwikilinks-label": "Engerwikki_Lengks", - "bs-interwikilinks-link-created": "Dä Engerwikki_Lengk es aanjelaat.", - "bs-interwikilinks-link-added": "Dä Engerwikki_Lengk es derbei jedonn..", - "bs-interwikilinks-link-deleted": "Dä Engerwikki_Lengk es fott jeschmeße.", - "bs-interwikilinks-nooldpfx": "Dä vörreje Vörsaz wood nit jefonge.", - "bs-interwikilinks-nopfx": "Bes esu johd un donn ene Vörsaz aanjävve.", - "bs-interwikilinks-nourl": "Bes esu johd un donn ene <i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locator\">URL</i> aanjävve.", - "bs-interwikilinks-pfxtoolong": "Dä Vörsaz es ze lang. Bes esu johd un donn nt mih wi 32 Zeijsche aanjävve.", - "bs-interwikilinks-pfxexists": "Dä Vörsaz jidd_et ald.", - "bs-interwikilinks-headerprefix": "Vörsaz", - "bs-interwikilinks-headerurl": "<i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locator\">URL</i>", - "bs-interwikilinks-titleaddinterwikilink": "Donn ene Engerwikki_Lengk derbei", - "bs-interwikilinks-titleeditinterwikilink": "Donn ene Engerwikki_Lengk änndere", - "bs-interwikilinks-labelprefix": "Försaz", - "bs-interwikilinks-labelurl": "<i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"Uniform Ressource Locator\">URL</i>", - "bs-interwikilinks-titledeleteinterwikilink": "Donn dä Engerwikki_Lengk fottschmiiße.", - "bs-interwikilinks-confirmdeleteinterwikilink": "Wells De heh dä Engerwikki_Lengk verhaftesch fottschmiiße.", - "bs-interwikilinks-insertlink-tabtitle": "lengk en en ander Wikki", - "bs-interwikilinks-insertlink-labelprefix": "Försaz", - "bs-interwikilink-select-a-prefix": "Försaz ußsöhke" -} diff --git a/InterWikiLinks/i18n/lb.json b/InterWikiLinks/i18n/lb.json deleted file mode 100644 index 5c038d1..0000000 --- a/InterWikiLinks/i18n/lb.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Robby" - ] - }, - "bs-interwikilinks-invalid-url-spc": "D'URL ass net valabel. Benotzt w.e.g. keng Espacen.", - "bs-interwikilinks-label": "Interwiki-Linken", - "bs-interwikilinks-link-added": "Den Interwiki-Link gouf derbäigesat.", - "bs-interwikilinks-link-deleted": "Den Interwiki-Link gouf geläscht.", - "bs-interwikilinks-nooldpfx": "De virege Prefix gouf net fonnt.", - "bs-interwikilinks-nourl": "Gitt w.e.g. eng URL un.", - "bs-interwikilinks-pfxexists": "Dëse Prefix gëtt et schonn.", - "bs-interwikilinks-headerprefix": "Prefix", - "bs-interwikilinks-titleaddinterwikilink": "Interwiki-Link derbäisetzen", - "bs-interwikilinks-titleeditinterwikilink": "Interwiki-Link änneren", - "bs-interwikilinks-labelprefix": "Prefix", - "bs-interwikilinks-titledeleteinterwikilink": "Interwiki-Link läschen", - "bs-interwikilinks-confirmdeleteinterwikilink": "Sidd Dir sécher datt Dir dësen Interwiki-Link läsche wëllt?", - "bs-interwikilinks-insertlink-tabtitle": "Link an eng aner Wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefix", - "action-interwikilinks-viewspecialpage": "d'Spezialsäit \"{{int:bs-interwikilinks-label}}\" weisen", - "interwikilinks": "Interwiki-Linken" -} diff --git a/InterWikiLinks/i18n/lt.json b/InterWikiLinks/i18n/lt.json deleted file mode 100644 index ab4b156..0000000 --- a/InterWikiLinks/i18n/lt.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Eitvys200", - "Zygimantus" - ] - }, - "bs-interwikilinks-invalid-pfx-spc": "Priešdėlis yra neteisingas. Prašome nenaudoti tarpų.", - "bs-interwikilinks-invalid-url-spc": "URL yra neteisingas. Prašome nenaudoti tarpų.", - "bs-interwikilinks-nopfx": "Prašome pateikti priešdėlį.", - "bs-interwikilinks-nourl": "Prašome pateikti URL.", - "bs-interwikilinks-pfxtoolong": "Priešdėlis yra per ilgas. Prašome naudoti iki 32 simbolių.", - "bs-interwikilinks-pfxexists": "Priešdėlis jau egzistuoja.", - "bs-interwikilinks-headerprefix": "Priešdėlis", - "bs-interwikilinks-labelprefix": "Priešdėlis", - "bs-interwikilinks-insertlink-tabtitle": "Nuoroda į kitą vikį", - "bs-interwikilinks-insertlink-labelprefix": "Priešdėlis", - "bs-interwikilink-select-a-prefix": "Pasirinkti priešdėlį", - "interwikilinks": "Tarpkalbinės nuorodos" -} diff --git a/InterWikiLinks/i18n/mk.json b/InterWikiLinks/i18n/mk.json deleted file mode 100644 index eac7833..0000000 --- a/InterWikiLinks/i18n/mk.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Bjankuloski06" - ] - }, - "bs-interwikilinks-desc": "Раководен посредник за додавање, измена и бришење на меѓујазични врски", - "bs-interwikilinks-invalid-pfx-spc": "Претставката е неважечка. Не користете празни места.", - "bs-interwikilinks-invalid-url-spc": "URL-адресата е неважечка. Не користете празни места.", - "bs-interwikilinks-label": "Меѓујазични врски", - "bs-interwikilinks-link-created": "Меѓујазичната врска е создадена.", - "bs-interwikilinks-link-added": "Меѓујазичната врска е додадена.", - "bs-interwikilinks-link-deleted": "Меѓујазичната врска е избришана.", - "bs-interwikilinks-nooldpfx": "Не ја најдов претходната претставка.", - "bs-interwikilinks-nopfx": "Укажете претставка.", - "bs-interwikilinks-nourl": "Укажете URL.", - "bs-interwikilinks-pfxtoolong": "Претставката е предолга. Може да има највеќе 32 знаци.", - "bs-interwikilinks-pfxexists": "Претставката веќе постои.", - "bs-interwikilinks-headerprefix": "Претставка", - "bs-interwikilinks-titleaddinterwikilink": "Додај меѓујазична врска", - "bs-interwikilinks-titleeditinterwikilink": "Измени меѓујазична вркса", - "bs-interwikilinks-labelprefix": "Претставка", - "bs-interwikilinks-titledeleteinterwikilink": "Избриши меѓујазична врска", - "bs-interwikilinks-confirmdeleteinterwikilink": "Дали сигурно сакате да ја избришете оваа меѓујазична врска?", - "bs-interwikilinks-insertlink-tabtitle": "Врска до друго вики", - "bs-interwikilinks-insertlink-labelprefix": "Претставка", - "bs-interwikilink-select-a-prefix": "Изберете претставка", - "bs-interwikilinks-link-edited": "Меѓујазичната врска е изменета.", - "apihelp-bs-interwikilinks-tasks-description": "Ги дава задачите за додатокот „Меѓујазични врски“." -} diff --git a/InterWikiLinks/i18n/mr.json b/InterWikiLinks/i18n/mr.json deleted file mode 100644 index af06df4..0000000 --- a/InterWikiLinks/i18n/mr.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "V.narsikar" - ] - }, - "interwikilinks": "आंतरविकि दुवे" -} diff --git a/InterWikiLinks/i18n/ne.json b/InterWikiLinks/i18n/ne.json deleted file mode 100644 index 237018c..0000000 --- a/InterWikiLinks/i18n/ne.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@metadata": { - "authors": [ - "बिप्लब आनन्द" - ] - }, - "bs-interwikilinks-desc": "अन्तरविकि लिङ्क जोड्ने, सम्पादन गर्ने तथा मेट्ने प्रवन्धक अवतरण", - "bs-interwikilinks-invalid-pfx-spc": "यो उपसर्ग अमान्य छ। कृपया स्पेसको प्रयोग नगर्नुहोला।", - "bs-interwikilinks-invalid-url-spc": "यो युआरयल अमान्य छ। कृपया स्पेसको प्रयोग नगर्नुहोला।", - "bs-interwikilinks-label": "अन्तरविकि लिङ्कहरू", - "bs-interwikilinks-link-created": "अन्तरविकि लिङ्क सृजना गरियो।", - "bs-interwikilinks-link-added": "अन्तरविकि लिङ्क जोडियो।", - "bs-interwikilinks-link-deleted": "अन्तरविकि लिङ्क मेटियो।", - "bs-interwikilinks-nooldpfx": "पछिल्लो उपसर्ग खोज्न सकिएन।", - "bs-interwikilinks-nopfx": "कृपया एउटा उपसर्ग दिनुहोस।", - "bs-interwikilinks-nourl": "कृपया एउटा युआरयल दिनुहोस।", - "bs-interwikilinks-pfxtoolong": "यो उपसर्ग धेरै लामो भयो। कृपया बढीमा ३२ क्यारेक्टरको उपसर्ग प्रयोग गर्नुहोस।", - "bs-interwikilinks-pfxexists": "उपसर्ग पहिले देखि छ।", - "bs-interwikilinks-headerprefix": "उपसर्ग", - "bs-interwikilinks-titleaddinterwikilink": "अन्तरविकि लिङ्क जोड्ने", - "bs-interwikilinks-titleeditinterwikilink": "अन्तरविकि लिङ्क सम्पादन गर्ने", - "bs-interwikilinks-labelprefix": "उपसर्ग", - "bs-interwikilinks-titledeleteinterwikilink": "अन्तरविकि लिङ्क मेट्ने", - "bs-interwikilinks-confirmdeleteinterwikilink": "के तपाईं साचिक्कै यो अन्तरविकि लिङ्कलाई मेट्न चाहनुहुन्छ?", - "bs-interwikilinks-insertlink-tabtitle": "अन्य विकिसँग लिङ्क गर्ने", - "bs-interwikilinks-insertlink-labelprefix": "उपसर्ग", - "bs-interwikilink-select-a-prefix": "उपसर्ग छान्ने" -} diff --git a/InterWikiLinks/i18n/nl.json b/InterWikiLinks/i18n/nl.json deleted file mode 100644 index 8ede7b6..0000000 --- a/InterWikiLinks/i18n/nl.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Siebrand", - "Esketti", - "Mainframe98" - ] - }, - "bs-interwikilinks-desc": "Administratie-interface voor het toevoegen, bewerken en verwijderen van interwiki-links", - "bs-interwikilinks-invalid-pfx-spc": "Het voorvoegsel is ongeldig. Gebruik geen spaties.", - "bs-interwikilinks-invalid-url-spc": "De URL is ongeldig. Gebruik geen spaties.", - "bs-interwikilinks-label": "Interwikilinks", - "bs-interwikilinks-link-created": "De interwikikoppeling is aangemaakt.", - "bs-interwikilinks-link-added": "De interwikikoppeling is toegevoegd.", - "bs-interwikilinks-link-deleted": "De interwikikoppeling is verwijderd.", - "bs-interwikilinks-nooldpfx": "Het vorige voorvoegsel is niet gevonden.", - "bs-interwikilinks-nopfx": "Geef een voorvoegsel op.", - "bs-interwikilinks-nourl": "Geef een URL op.", - "bs-interwikilinks-pfxtoolong": "Het voorvoegsel is te lang. Gebruik maximaal 32 tekens.", - "bs-interwikilinks-pfxexists": "Dit voorvoegsel bestaat al.", - "bs-interwikilinks-headerprefix": "Voorvoegsel", - "bs-interwikilinks-titleaddinterwikilink": "Interwikikoppeling toevoegen", - "bs-interwikilinks-titleeditinterwikilink": "Interwikikoppeling bewerken", - "bs-interwikilinks-labelprefix": "Voorvoegsel", - "bs-interwikilinks-titledeleteinterwikilink": "Interwikilink verwijderen", - "bs-interwikilinks-confirmdeleteinterwikilink": "Weet u zeker dat u deze interwikikoppeling wilt verwijderen?", - "bs-interwikilinks-insertlink-tabtitle": "Koppeling naar andere wiki", - "bs-interwikilinks-insertlink-labelprefix": "Voorvoegsel", - "bs-interwikilink-select-a-prefix": "Kies voorvoegsel" -} diff --git a/InterWikiLinks/i18n/oc.json b/InterWikiLinks/i18n/oc.json deleted file mode 100644 index c8c547a..0000000 --- a/InterWikiLinks/i18n/oc.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Cedric31" - ] - }, - "bs-interwikilinks-label": "Ligams interwiki", - "bs-interwikilinks-headerprefix": "Prefix", - "bs-interwikilinks-titleaddinterwikilink": "Apondre un ligam interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Modificar un ligam interwiki", - "bs-interwikilinks-labelprefix": "Prefix", - "bs-interwikilinks-titledeleteinterwikilink": "Suprimir un ligam interwiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefix", - "bs-interwikilink-select-a-prefix": "Causir un prefix" -} diff --git a/InterWikiLinks/i18n/pl.json b/InterWikiLinks/i18n/pl.json deleted file mode 100644 index d05f22c..0000000 --- a/InterWikiLinks/i18n/pl.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Chrumps" - ] - }, - "bs-interwikilinks-label": "Linki interwiki", - "bs-interwikilinks-link-created": "Link interwiki został utworzony.", - "bs-interwikilinks-link-added": "Link interwiki został dodany.", - "bs-interwikilinks-link-deleted": "Link interwiki został usunięty.", - "bs-interwikilinks-nopfx": "Podaj prefiks.", - "bs-interwikilinks-nourl": "Podaj adres URL.", - "bs-interwikilinks-pfxtoolong": "Prefiks jest zbyt długi. Użyj nie więcej niż 32 znaków.", - "bs-interwikilinks-pfxexists": "Ten przedrostek już istnieje.", - "bs-interwikilinks-headerprefix": "Przedrostek", - "bs-interwikilinks-titleaddinterwikilink": "Dodaj link interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Edytuj link interwiki", - "bs-interwikilinks-labelprefix": "Przedrostek", - "bs-interwikilinks-titledeleteinterwikilink": "Usuń link interwiki", - "bs-interwikilinks-confirmdeleteinterwikilink": "Czy na pewno chcesz usunąć ten link interwiki?", - "bs-interwikilinks-insertlink-tabtitle": "Link do innej wiki", - "bs-interwikilinks-insertlink-labelprefix": "Przedrostek", - "bs-interwikilink-select-a-prefix": "Wybierz przedrostek", - "interwikilinks": "Linki interwiki" -} diff --git a/InterWikiLinks/i18n/ps.json b/InterWikiLinks/i18n/ps.json deleted file mode 100644 index 1c86c6d..0000000 --- a/InterWikiLinks/i18n/ps.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ahmed-Najib-Biabani-Ibrahimkhel" - ] - }, - "interwikilinks": "ويکي خپلمنځي تړنې" -} diff --git a/InterWikiLinks/i18n/pt-br.json b/InterWikiLinks/i18n/pt-br.json deleted file mode 100644 index 5a95e26..0000000 --- a/InterWikiLinks/i18n/pt-br.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Felipe L. Ewald" - ] - }, - "bs-interwikilinks-desc": "Interface administrativa para adicionar, editar e excluir links interwiki", - "bs-interwikilinks-label": "Links interwiki", - "bs-interwikilinks-link-created": "O link interwiki foi criado.", - "bs-interwikilinks-link-added": "O link interwiki foi adicionado.", - "bs-interwikilinks-link-deleted": "O link interwiki foi excluído.", - "bs-interwikilinks-nooldpfx": "O prefixo anterior não foi encontrado.", - "bs-interwikilinks-nopfx": "Por favor, forneça um prefixo.", - "bs-interwikilinks-nourl": "Por favor, forneça um URL.", - "bs-interwikilinks-pfxexists": "Este prefixo já existe.", - "bs-interwikilinks-headerprefix": "Prefixo", - "bs-interwikilinks-headerurl": "URL", - "bs-interwikilinks-titleaddinterwikilink": "Adicionar link interwiki", - "bs-interwikilinks-titleeditinterwikilink": "Editar link interwiki", - "bs-interwikilinks-labelprefix": "Prefixo", - "bs-interwikilinks-labelurl": "URL", - "bs-interwikilinks-titledeleteinterwikilink": "Excluir interwiki link", - "bs-interwikilinks-insertlink-tabtitle": "Link para outra wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefixo", - "bs-interwikilink-select-a-prefix": "Escolha o prefixo", - "bs-interwikilinks-link-edited": "O link interwiki foi editado", - "apihelp-bs-interwikilinks-tasks-description": "Fornece as tarefas para a extensão InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Fornece as tarefas para a extensão InterWikiLinks.", - "interwikilinks": "Links interwiki" -} diff --git a/InterWikiLinks/i18n/pt.json b/InterWikiLinks/i18n/pt.json deleted file mode 100644 index b08ac06..0000000 --- a/InterWikiLinks/i18n/pt.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Vitorvicentevalente", - "Hamilton Abreu" - ] - }, - "bs-interwikilinks-desc": "Interface de administração para adicionar, editar ou eliminar ligações interwikis", - "bs-interwikilinks-invalid-pfx-spc": "O prefixo é inválido. Por favor, não use espaços.", - "bs-interwikilinks-invalid-url-spc": "O URL é inválido. Por favor, não use espaços.", - "bs-interwikilinks-label": "Ligações interwikis", - "bs-interwikilinks-link-created": "A ligação interwikis foi criada.", - "bs-interwikilinks-link-added": "A ligação interwikis foi adicionada.", - "bs-interwikilinks-link-deleted": "A ligação interwikis foi eliminada.", - "bs-interwikilinks-nooldpfx": "O prefixo anterior não foi encontrado.", - "bs-interwikilinks-nopfx": "Por favor, forneça um prefixo.", - "bs-interwikilinks-nourl": "Por favor, forneça um URL.", - "bs-interwikilinks-pfxtoolong": "O prefixo é demasiado longo, Por favor, utilize um máximo de 32 caracteres.", - "bs-interwikilinks-pfxexists": "Este prefixo já existe.", - "bs-interwikilinks-headerprefix": "Prefixo", - "bs-interwikilinks-titleaddinterwikilink": "Adicionar ligação interwikis", - "bs-interwikilinks-titleeditinterwikilink": "Editar ligação interwikis", - "bs-interwikilinks-labelprefix": "Prefixo", - "bs-interwikilinks-titledeleteinterwikilink": "Eliminar ligação interwikis", - "bs-interwikilinks-confirmdeleteinterwikilink": "Tem a certeza de que pretende eliminar esta ligação interwikis?", - "bs-interwikilinks-insertlink-tabtitle": "Ligar a outra wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefixo", - "bs-interwikilink-select-a-prefix": "Escolha o prefixo", - "bs-interwikilinks-link-edited": "A ligação interwikis foi editada", - "apihelp-bs-interwikilinks-tasks-description": "Fornece as tarefas para a extensão InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Fornece as tarefas para a extensão InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "ver página especial \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks": "Ligações interwikis" -} diff --git a/InterWikiLinks/i18n/qqq.json b/InterWikiLinks/i18n/qqq.json deleted file mode 100644 index dcfbc82..0000000 --- a/InterWikiLinks/i18n/qqq.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Stephan Muggli <[email protected]>", - "Liuxinyu970226", - "Shirayuki", - "Nemo bis", - "Leonid Verhovskij <[email protected]>", - "Umherirrender" - ] - }, - "bs-interwikilinks-desc": "Used in [{{canonicalurl:Special:WikiAdmin|mode=ExtensionInfo}} Special:WikiAdmin?mode=ExtensionInfo], description of [[mw:Extension:BlueSpice/Featurelist#I|interwiki links]] extension", - "bs-interwikilinks-invalid-pfx-spc": "Text for the prefix is invalid. Please do not use spaces.", - "bs-interwikilinks-invalid-url-spc": "Text for the URL is invalid. Please do not use spaces.", - "bs-interwikilinks-label": "Anchor text in admin tab for interwiki links.\n{{Identical|Interwiki link}}", - "bs-interwikilinks-link-created": "Text for the interwiki link has been created.", - "bs-interwikilinks-link-added": "Text for the interwiki link has been added.", - "bs-interwikilinks-link-deleted": "Text for the interwiki link has been deleted.", - "bs-interwikilinks-nooldpfx": "Text for the previous prefix was not found.", - "bs-interwikilinks-nopfx": "Text for please supply a prefix.", - "bs-interwikilinks-nourl": "Text for please supply a URL.", - "bs-interwikilinks-pfxtoolong": "Text for the prefix is too long. Please use a maximum of 32 characters.", - "bs-interwikilinks-pfxexists": "Text for this prefix already exists.", - "bs-interwikilinks-headerprefix": "Label for prefix\n{{Identical|Prefix}}", - "bs-interwikilinks-headerurl": "{{optional}}\nLabel for URL.\n{{Identical|URL}}", - "bs-interwikilinks-titleaddinterwikilink": "Text for add interwiki link", - "bs-interwikilinks-titleeditinterwikilink": "Text for edit interwiki link", - "bs-interwikilinks-labelprefix": "Label for prefix\n{{Identical|Prefix}}", - "bs-interwikilinks-labelurl": "{{optional}}\nLabel for URL.\n{{Identical|URL}}", - "bs-interwikilinks-titledeleteinterwikilink": "Text for delete interwiki link", - "bs-interwikilinks-confirmdeleteinterwikilink": "Text for are you sure, you want delete this interwiki link?", - "bs-interwikilinks-insertlink-tabtitle": "Text for link in another wiki", - "bs-interwikilinks-insertlink-labelprefix": "Text for prefix\n{{Identical|Prefix}}", - "bs-interwikilink-select-a-prefix": "Text for choose prefix", - "bs-interwikilinks-link-edited": "Text for the interwiki link has been edited", - "apihelp-bs-interwikilinks-tasks-description": "Describes the API endpoint that provides tasks for the InterWikiLinks extension.\n{{doc-apihelp-description|bs-interwikilinks-tasks}}", - "apihelp-bs-interwikilinks-tasks-summary": "Describes the API endpoint that provides tasks for the InterWikiLinks extension.\n{{doc-apihelp-summary|bs-interwikilinks-tasks}}", - "action-interwikilinks-viewspecialpage": "Placeholder to describe that view of special page \"{{int:bs-interwikilinks-label}}\" is restricted for the current user\n{{doc-action|interwikilinks-viewspecialpage}}", - "interwikilinks": "Anchor text in special page overview for interwiki links.\n{{Identical|Interwiki link}}" -} diff --git a/InterWikiLinks/i18n/ru.json b/InterWikiLinks/i18n/ru.json deleted file mode 100644 index e4bd921..0000000 --- a/InterWikiLinks/i18n/ru.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Meshkov.a", - "Okras", - "Striking Blue", - "Kaganer" - ] - }, - "bs-interwikilinks-desc": "Административный интерфейс для добавления, правки и удаления ссылок интервики", - "bs-interwikilinks-invalid-pfx-spc": "Некорректный префикс. Пожалуйста, не используйте пробелы.", - "bs-interwikilinks-invalid-url-spc": "Некорректный URL. Пожалуйста, не используйте пробелы.", - "bs-interwikilinks-label": "Интервики-ссылки", - "bs-interwikilinks-link-created": "Была создана ссылка интервики.", - "bs-interwikilinks-link-added": "Ссылка интервики была добавлена.", - "bs-interwikilinks-link-deleted": "Ссылка интервики была удалена.", - "bs-interwikilinks-nooldpfx": "Предыдущий префикс не был найден.", - "bs-interwikilinks-nopfx": "Пожалуйста, укажите префикс.", - "bs-interwikilinks-nourl": "Пожалуйста, укажите URL.", - "bs-interwikilinks-pfxtoolong": "Префикс слишком длинный. Пожалуйста, используйте не более 32 символов.", - "bs-interwikilinks-pfxexists": "Этот префикс уже существует.", - "bs-interwikilinks-headerprefix": "Префикс", - "bs-interwikilinks-titleaddinterwikilink": "Добавить интервики-ссылку", - "bs-interwikilinks-titleeditinterwikilink": "Редактировать интервики-ссылку", - "bs-interwikilinks-labelprefix": "Префикс", - "bs-interwikilinks-titledeleteinterwikilink": "Удалить интервики-ссылку", - "bs-interwikilinks-confirmdeleteinterwikilink": "Вы уверены, что хотите удалить эту интервики-ссылку?", - "bs-interwikilinks-insertlink-tabtitle": "Ссылка на другой вики-сайт", - "bs-interwikilinks-insertlink-labelprefix": "Префикс", - "bs-interwikilink-select-a-prefix": "Выберите префикс" -} diff --git a/InterWikiLinks/i18n/sd.json b/InterWikiLinks/i18n/sd.json deleted file mode 100644 index 5c6a028..0000000 --- a/InterWikiLinks/i18n/sd.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Mehtab ahmed" - ] - }, - "bs-interwikilinks-label": "بينالوڪي ڳنڍڻا", - "interwikilinks": "بين الوڪي ڳنڍڻا" -} diff --git a/InterWikiLinks/i18n/sl.json b/InterWikiLinks/i18n/sl.json deleted file mode 100644 index 93ec094..0000000 --- a/InterWikiLinks/i18n/sl.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Alojz.tic", - "Skalcaa" - ] - }, - "bs-interwikilinks-desc": "Skrbniški vmesnik za dodajanje, urejanje in brisanje notranjih povezav wiki.", - "bs-interwikilinks-invalid-pfx-spc": "Predpona je neveljavna. Prosimo, ne uporabljajte presledkov.", - "bs-interwikilinks-invalid-url-spc": "URL ni veljaven. Prosimo, ne uporabljajte presledkov.", - "bs-interwikilinks-label": "Interwiki povezave", - "bs-interwikilinks-link-created": "Interwiki povezava je bila ustvarjena.", - "bs-interwikilinks-link-added": "Interwiki povezava je bila dodana.", - "bs-interwikilinks-link-deleted": "Interwiki povezava je bila izbrisana.", - "bs-interwikilinks-nooldpfx": "Prejšnja predpona ni bila najdena.", - "bs-interwikilinks-nopfx": "Prosimo, priskrbite predpono.", - "bs-interwikilinks-nourl": "Prosimo, priskrbite URL.", - "bs-interwikilinks-pfxtoolong": "Predpona je predolga. Prosimo, uporabite največ 32 znakov.", - "bs-interwikilinks-pfxexists": "Ta predpona že obstaja.", - "bs-interwikilinks-headerprefix": "Predpona", - "bs-interwikilinks-titleaddinterwikilink": "Dodajanje interwiki povezave", - "bs-interwikilinks-titleeditinterwikilink": "Urejanje interwiki povezave", - "bs-interwikilinks-labelprefix": "Predpona", - "bs-interwikilinks-titledeleteinterwikilink": "Brisanje interwiki povezave", - "bs-interwikilinks-confirmdeleteinterwikilink": "Ali ste prepričani, da želite izbrisati to interwiki povezavo?", - "bs-interwikilinks-insertlink-tabtitle": "Povezava v drug wiki", - "bs-interwikilinks-insertlink-labelprefix": "Predpona", - "bs-interwikilink-select-a-prefix": "Izberite predpono" -} diff --git a/InterWikiLinks/i18n/sv.json b/InterWikiLinks/i18n/sv.json deleted file mode 100644 index 5d70434..0000000 --- a/InterWikiLinks/i18n/sv.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Jopparn", - "Josve05a", - "WikiPhoenix" - ] - }, - "bs-interwikilinks-desc": "Administrationsgränssnittet för att lägga till, redigera och ta bort interwikilänkar", - "bs-interwikilinks-invalid-pfx-spc": "Prefixet är ogiltig. Vänligen använd inte mellanslag.", - "bs-interwikilinks-invalid-url-spc": "URL-adressen är ogiltig. Vänligen använd inte mellanslag.", - "bs-interwikilinks-label": "Interwiki-länkar", - "bs-interwikilinks-link-created": "Interwiki-länken har skapats.", - "bs-interwikilinks-link-added": "Interwiki-länken har lagts till.", - "bs-interwikilinks-link-deleted": "Interwiki-länken har raderats.", - "bs-interwikilinks-nooldpfx": "Det tidigare prefixet kunde inte hittas.", - "bs-interwikilinks-nopfx": "Ange ett prefix.", - "bs-interwikilinks-nourl": "Ange en URL.", - "bs-interwikilinks-pfxtoolong": "Prefixet är för långt. Använd högst 32 tecken.", - "bs-interwikilinks-pfxexists": "Detta prefix finns redan.", - "bs-interwikilinks-headerprefix": "Prefix", - "bs-interwikilinks-titleaddinterwikilink": "Lägg till interwiki-länk", - "bs-interwikilinks-titleeditinterwikilink": "Redigera interwiki-länk", - "bs-interwikilinks-labelprefix": "Prefix", - "bs-interwikilinks-titledeleteinterwikilink": "Ta bort interwiki-länk", - "bs-interwikilinks-confirmdeleteinterwikilink": "Är du säker på att du vill radera denna interwiki-länk?", - "bs-interwikilinks-insertlink-tabtitle": "Länka till en annan wiki", - "bs-interwikilinks-insertlink-labelprefix": "Prefix", - "bs-interwikilink-select-a-prefix": "Välj prefix", - "bs-interwikilinks-link-edited": "Interwikilänken har redigerats", - "action-interwikilinks-viewspecialpage": "visa specialsidan \"{{int:bs-interwikilinks-label}}\"", - "interwikilinks": "Interwiki-länkar" -} diff --git a/InterWikiLinks/i18n/tr.json b/InterWikiLinks/i18n/tr.json deleted file mode 100644 index 63f36da..0000000 --- a/InterWikiLinks/i18n/tr.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Sayginer", - "KediÇobanı" - ] - }, - "bs-interwikilinks-invalid-url-spc": "URL geçersiz. Lütfen boşluk kullanmayın.", - "bs-interwikilinks-nourl": "Lütfen bir URL girin.", - "bs-interwikilinks-link-edited": "Interwiki bağlantısı düzenlendi", - "apihelp-bs-interwikilinks-tasks-description": "InterWikiLinklerinin uzantılar için görevler sağlar." -} diff --git a/InterWikiLinks/i18n/uk.json b/InterWikiLinks/i18n/uk.json deleted file mode 100644 index 4572d2d..0000000 --- a/InterWikiLinks/i18n/uk.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ата", - "Piramidion" - ] - }, - "bs-interwikilinks-desc": "Інтерфейс адміністрування для додавання, редагування та вилучення інтервікі-посилань", - "bs-interwikilinks-invalid-pfx-spc": "Неприпусимий префікс. Будь ласка, не використовуйте пробілів.", - "bs-interwikilinks-invalid-url-spc": "Неприпустима URL-адреса. Будь ласка, не використовуйте пробілів.", - "bs-interwikilinks-label": "Інтервікі-посилання", - "bs-interwikilinks-link-created": "Створено інтервікі-посилання.", - "bs-interwikilinks-link-added": "Додано інтервікі-посилання.", - "bs-interwikilinks-link-deleted": "Вилучено інтервікі-посилання.", - "bs-interwikilinks-nooldpfx": "Попередній префікс не знайдено.", - "bs-interwikilinks-nopfx": "Будь ласка, поставте префікс.", - "bs-interwikilinks-nourl": "Будь ласка, вкажіть URL-адресу.", - "bs-interwikilinks-pfxtoolong": "Префікс надто довгий. Будь ласка, використайте не більше 32-х символів.", - "bs-interwikilinks-pfxexists": "Цей префікс уже існує.", - "bs-interwikilinks-headerprefix": "Префікс", - "bs-interwikilinks-titleaddinterwikilink": "Додати інтервікі-посилання", - "bs-interwikilinks-titleeditinterwikilink": "Редагувати інтервікі-посилання", - "bs-interwikilinks-labelprefix": "Префікс", - "bs-interwikilinks-titledeleteinterwikilink": "Видалити інтервікі-посилання", - "bs-interwikilinks-confirmdeleteinterwikilink": "Ви впевнені, що хочете видалити це інтервікі-посилання?", - "bs-interwikilinks-insertlink-tabtitle": "Посилання на іншу вікі", - "bs-interwikilinks-insertlink-labelprefix": "Префікс", - "bs-interwikilink-select-a-prefix": "Виберіть префікс", - "bs-interwikilinks-link-edited": "Інтервікі-посилання додано", - "apihelp-bs-interwikilinks-tasks-description": "Забезпечує завдання для розширення InterWikiLinks.", - "apihelp-bs-interwikilinks-tasks-summary": "Забезпечує завдання для розширення InterWikiLinks.", - "action-interwikilinks-viewspecialpage": "перегляд спеціальної сторінки «{{int:bs-interwikilinks-label}}»", - "interwikilinks": "Інтервікі-посилання" -} diff --git a/InterWikiLinks/i18n/zh-hans.json b/InterWikiLinks/i18n/zh-hans.json deleted file mode 100644 index bb7ee78..0000000 --- a/InterWikiLinks/i18n/zh-hans.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Liuxinyu970226" - ] - }, - "bs-interwikilinks-desc": "加入、编辑和删除跨wiki连接的管理员界面", - "bs-interwikilinks-invalid-pfx-spc": "前缀无效,请不要使用空格。", - "bs-interwikilinks-invalid-url-spc": "URL无效,请不要使用空格。", - "bs-interwikilinks-label": "跨wiki连接", - "bs-interwikilinks-link-created": "跨wiki连接已创建。", - "bs-interwikilinks-link-added": "跨wiki连接已加入。", - "bs-interwikilinks-link-deleted": "跨wiki连接已删除。", - "bs-interwikilinks-nooldpfx": "找不到之前的前缀。", - "bs-interwikilinks-nopfx": "请提供前缀。", - "bs-interwikilinks-nourl": "请提供URL。", - "bs-interwikilinks-pfxtoolong": "前缀太长。请使用最多32个字符。", - "bs-interwikilinks-pfxexists": "此前缀已存在。", - "bs-interwikilinks-headerprefix": "前缀", - "bs-interwikilinks-titleaddinterwikilink": "加入跨wiki链接", - "bs-interwikilinks-titleeditinterwikilink": "编辑跨wiki连接", - "bs-interwikilinks-labelprefix": "前缀", - "bs-interwikilinks-titledeleteinterwikilink": "删除跨wiki链接", - "bs-interwikilinks-confirmdeleteinterwikilink": "您确定您要删除此wiki连接?", - "bs-interwikilinks-insertlink-tabtitle": "连接至其他wiki", - "bs-interwikilinks-insertlink-labelprefix": "前缀", - "bs-interwikilink-select-a-prefix": "选择前缀", - "bs-interwikilinks-link-edited": "跨wiki链接已编辑", - "apihelp-bs-interwikilinks-tasks-description": "提供用于扩展InterWikiLinks的任务。", - "apihelp-bs-interwikilinks-tasks-summary": "提供用于扩展InterWikiLinks的任务。", - "action-interwikilinks-viewspecialpage": "查看特殊页面“{{int:bs-interwikilinks-label}}”", - "interwikilinks": "跨wiki连接" -} diff --git a/InterWikiLinks/i18n/zh-hant.json b/InterWikiLinks/i18n/zh-hant.json deleted file mode 100644 index f8f8f7c..0000000 --- a/InterWikiLinks/i18n/zh-hant.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Liuxinyu970226" - ] - }, - "bs-interwikilinks-headerprefix": "字首", - "bs-interwikilinks-labelprefix": "字首", - "bs-interwikilinks-insertlink-labelprefix": "字首" -} diff --git a/InterWikiLinks/includes/api/BSApiTasksInterWikiLinksManager.php b/InterWikiLinks/includes/api/BSApiTasksInterWikiLinksManager.php deleted file mode 100644 index b691b90..0000000 --- a/InterWikiLinks/includes/api/BSApiTasksInterWikiLinksManager.php +++ /dev/null @@ -1,333 +0,0 @@ -<?php -/** - * Provides the Interwiki links manager tasks api for BlueSpice. - * - * This program 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 of the License, or - * (at your option) any later version. - * - * This program 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 program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * This file is part of BlueSpice MediaWiki - * For further information visit http://www.bluespice.com - * - * @author Patric Wirth <[email protected]> - * @package Bluespice_Extensions - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - */ - -/** - * InterWikiLinksManager Api class - * @package BlueSpice_Extensions - */ -class BSApiTasksInterWikiLinksManager extends BSApiTasksBase { - - protected $aIWLexists = array(); - /** - * Methods that can be called by task param - * @var array - */ - protected $aTasks = array( - 'editInterWikiLink' => [ - 'examples' => [ - [ - 'prefix' => 'mywiki', - 'url' => 'http://some.wiki.com/$1' - ], - [ - 'oldPrefix' => 'old_name', - 'prefix' => 'new_name', - 'url' => 'http://some.wiki.com/$1' - ] - ], - 'params' => [ - 'oldPrefix' => [ - 'desc' => 'Old prefix', - 'type' => 'string', - 'required' => false, - 'default' => '' - ], - 'url' => [ - 'desc' => 'Url of the wiki', - 'type' => 'string', - 'required' => true - ], - 'prefix' => [ - 'desc' => 'Prefix to set', - 'type' => 'string', - 'required' => true - ] - ] - ], - 'removeInterWikiLink' => [ - 'examples' => [ - [ - 'prefix' => 'mywiki' - ] - ], - 'params' => [ - 'prefix' => [ - 'desc' => 'Prefix to remove', - 'type' => 'string', - 'required' => true - ] - ] - ], - ); - - /** - * Returns an array of tasks and their required permissions - * array( 'taskname' => array('read', 'edit') ) - * @return array - */ - protected function getRequiredTaskPermissions() { - return array( - 'editInterWikiLink' => array( 'wikiadmin' ), - 'removeInterWikiLink' => array( 'wikiadmin' ) - ); - } - - /** - * Creates or edits an interwiki link. - * @return stdClass Standard tasks API return - */ - protected function task_editInterWikiLink( $oTaskData ) { - $oReturn = $this->makeStandardReturn(); - $oPrefix = null; - - $sOldPrefix = isset( $oTaskData->oldPrefix ) - ? (string) $oTaskData->oldPrefix - : '' - ; - $sUrl = isset( $oTaskData->url ) - ? (string) $oTaskData->url - : '' - ; - $sPrefix = isset( $oTaskData->prefix ) - ? (string) $oTaskData->prefix - : '' - ; - - //Make sure we get the db result! - if( !empty($sPrefix) ) { - $sKey = wfMemcKey( 'interwiki', $sPrefix ); - wfGetMainCache()->delete( $sKey ); - } - if( !empty($sOldPrefix) ) { - $sKey = wfMemcKey( 'interwiki', $sOldPrefix ); - wfGetMainCache()->delete( $sKey ); - } - - if( !empty($sOldPrefix) && !$this->interWikiLinkExists( $sOldPrefix ) ) { - $oReturn->errors[] = array( - 'id' => 'iweditprefix', - 'message' => wfMessage( 'bs-interwikilinks-nooldpfx' )->plain(), - ); - } elseif( !empty($sPrefix) && $this->interWikiLinkExists( $sPrefix ) && $sPrefix !== $sOldPrefix) { - $oReturn->errors[] = array( - 'id' => 'iweditprefix', - 'message' => wfMessage( 'bs-interwikilinks-pfxexists' )->plain(), - ); - } - if( !empty($oReturn->errors) ) { - return $oReturn; - } - - if( !$oPrefix && empty($sUrl) ) { - $oReturn->errors[] = array( - 'id' => 'iwediturl', - 'message' => wfMessage( 'bs-interwikilinks-nourl' )->plain(), - ); - } - if( !$oPrefix && empty($sPrefix) ) { - $oReturn->errors[] = array( - 'id' => 'iweditprefix', - 'message' => wfMessage( 'bs-interwikilinks-nopfx' )->plain(), - ); - } - if( !empty($sUrl) ) { - $oValidationResult = BsValidator::isValid( - 'Url', - $sUrl, - array( 'fullResponse' => true - )); - if( $oValidationResult->getErrorCode() ) { - $oReturn->errors[] = array( - 'id' => 'iwediturl', - 'message' => $oValidationResult->getI18N() - ); - } - if( strpos( $sUrl, ' ' ) ) { - $oReturn->errors[] = array( - 'id' => 'iwediturl', - 'message' => wfMessage( - 'bs-interwikilinks-invalid-url-spc' - )->plain() - ); - } - } - if( !empty($sPrefix) ) { - if ( strlen( $sPrefix ) > 32 ) { - $oReturn->errors[] = array( - 'id' => 'iweditprefix', - 'message' => wfMessage( - 'bs-interwikilinks-pfxtoolong' - )->plain(), - ); - } - - foreach( array( ' ', '"', '&', ':') as $sInvalidChar ) { - if( substr_count( $sPrefix, $sInvalidChar ) === 0 ) { - continue; - } - //TODO (PW 19.02.2016): Return the invalid char(s) - $oReturn->errors[] = array( - 'id' => 'iweditprefix', - 'message' => wfMessage( - 'bs-interwikilinks-invalid-pfx-spc' - )->plain() - ); - break; - } - } - - if( !empty($oReturn->errors) ) { - return $oReturn; - } - - $oDB = $this->getDB(); - $sTable = 'interwiki'; - $aConditions = array( - 'iw_local' => '0', - ); - $aValues = array( - 'iw_prefix' => $sPrefix, - 'iw_url' => $sUrl, - ); - - if( empty($sOldPrefix) ) { - $oReturn->success = $oDB->insert( - $sTable, - array_merge( $aConditions, $aValues ), - __METHOD__ - ); - $oReturn->message = wfMessage( - 'bs-interwikilinks-link-created' - )->plain(); - - //Make sure to invalidate as much as possible! - $sKey = wfMemcKey( 'interwiki', $sPrefix ); - wfGetMainCache()->delete( $sKey ); - InterWikiLinks::purgeTitles( $sPrefix ); - return $oReturn; - } - - $aConditions['iw_prefix'] = $sOldPrefix; - $oReturn->success = $oDB->update( - $sTable, - $aValues, - $aConditions, - __METHOD__ - ); - $oReturn->message = wfMessage( - 'bs-interwikilinks-link-edited' - )->plain(); - - //Make sure to invalidate as much as possible! - $sKey = wfMemcKey( 'interwiki', $sPrefix ); - wfGetMainCache()->delete( $sKey ); - $sKey = wfMemcKey( 'interwiki', $sOldPrefix ); - wfGetMainCache()->delete( $sKey ); - InterWikiLinks::purgeTitles( $sOldPrefix ); - - return $oReturn; - } - - /** - * Creates or edits an interwiki link. - * @return stdClass Standard tasks API return - */ - protected function task_removeInterWikiLink( $oTaskData ) { - $oReturn = $this->makeStandardReturn(); - $oPrefix = null; - - $sPrefix = isset( $oTaskData->prefix ) - ? addslashes( $oTaskData->prefix ) - : '' - ; - - if( empty($sPrefix) ) { - $oReturn->errors[] = array( - 'id' => 'iweditprefix', - 'message' => wfMessage( 'bs-interwikilinks-nopfx' )->plain(), - ); - return $oReturn; - } - - //Make sure we get the db result! - if( !empty($sPrefix) ) { - $sKey = wfMemcKey( 'interwiki', $sPrefix ); - wfGetMainCache()->delete( $sKey ); - } - - if( !$this->interWikiLinkExists( $sPrefix ) ) { - $oReturn->errors[] = array( - 'id' => 'iweditprefix', - 'message' => wfMessage( 'bs-interwikilinks-nooldpfx' )->plain(), - ); - return $oReturn; - } - - $oReturn->success = (bool) $this->getDB()->delete( - 'interwiki', - array( 'iw_prefix' => $sPrefix ), - __METHOD__ - ); - - if( $oReturn->success ) { - $oReturn->message = wfMessage( - 'bs-interwikilinks-link-deleted' - )->plain(); - } - - //Make sure to invalidate as much as possible! - $sKey = wfMemcKey( 'interwiki', $sPrefix ); - wfGetMainCache()->delete( $sKey ); - InterWikiLinks::purgeTitles( $sPrefix ); - - return $oReturn; - } - - protected function interWikiLinkExists( $sPrefix ) { - if ( isset( $this->aIWLexists[$sPrefix] ) ) { - return $this->aIWLexists[$sPrefix]; - } - if ( version_compare( $GLOBALS['wgVersion'], '1.28c', '>' ) ) { - $this->aIWLexists[$sPrefix] = \MediaWiki\MediaWikiServices::getInstance()->getInterwikiLookup()->isValidInterwiki( $sPrefix ); - } else { - $row = $this->getDB()->selectRow( - 'interwiki', - Interwiki::selectFields(), - [ 'iw_prefix' => $sPrefix ], - __METHOD__ - ); - - if( !$row ) { - $this->aIWLexists[$sPrefix] = false; - } else { - $this->aIWLexists[$sPrefix] = true; - } - } - - return $this->aIWLexists[$sPrefix]; - } -} \ No newline at end of file diff --git a/InterWikiLinks/includes/specials/SpecialInterWikiLinks.alias.php b/InterWikiLinks/includes/specials/SpecialInterWikiLinks.alias.php deleted file mode 100644 index dbcfefc..0000000 --- a/InterWikiLinks/includes/specials/SpecialInterWikiLinks.alias.php +++ /dev/null @@ -1,17 +0,0 @@ -<?php - -$specialPageAliases = array(); - -/** English */ -$specialPageAliases[ 'en' ] = array( - 'InterWikiLinks' => array( 'InterWikiLinks', 'InterWiki Links' ), -); - -/** German (Deutsch) */ -$specialPageAliases[ 'de' ] = array( - 'InterWikiLinks' => array( - 'InterWikiLinks', - 'InterWiki Links', - 'Wikiübergreifende Links' - ), -); diff --git a/InterWikiLinks/includes/specials/SpecialInterWikiLinks.class.php b/InterWikiLinks/includes/specials/SpecialInterWikiLinks.class.php deleted file mode 100644 index 62198ce..0000000 --- a/InterWikiLinks/includes/specials/SpecialInterWikiLinks.class.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php - -/** - * Special page for InterWikiLinks for MediaWiki - * - * Part of BlueSpice MediaWiki - * - * @author Leonid Verhovskij <[email protected]> - * @version $Id$ - * @package BlueSpice_InterWikiLinks - * @subpackage InterWikiLinks - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - * @filesource - */ -class SpecialInterWikiLinks extends BsSpecialPage { - - public function __construct() { - parent::__construct( 'InterWikiLinks', 'interwikilinks-viewspecialpage' ); - } - - public function execute( $par ) { - parent::execute( $par ); - $oOutputPage = $this->getOutput(); - - $oOutputPage->addModules( 'bluespice.insertLink.interWikiLinks' ); - - $oOutputPage->addJsConfigVars( 'BSInterWikiPrefixes', InterWikiLinks::getInterWikiLinkPrefixes() ); - - $oOutputPage->addModules( 'ext.bluespice.interWikiLinks' ); - $oOutputPage->addHTML( '<div id="InterWikiLinksGrid" class="bs-manager-container"></div>' ); - } - - protected function getGroupName() { - return 'bluespice'; - } - -} diff --git a/InterWikiLinks/resources/BS.InterWikiLinks/InsertLink/FormPanelInterWiki.js b/InterWikiLinks/resources/BS.InterWikiLinks/InsertLink/FormPanelInterWiki.js deleted file mode 100644 index cbdda2b..0000000 --- a/InterWikiLinks/resources/BS.InterWikiLinks/InsertLink/FormPanelInterWiki.js +++ /dev/null @@ -1,134 +0,0 @@ -/** - * InsertLink interwiki links Panel - * - * Part of BlueSpice MediaWiki - * - * @author Patric Wirth <[email protected]> - * @package Bluespice_Extensions - * @subpackage InsertLink - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - * @filesource - */ - -Ext.define( 'BS.InterWikiLinks.InsertLink.FormPanelInterWiki', { - extend: 'BS.InsertLink.FormPanelBase', - linktype: 'internal_link', - beforeInitComponent: function() { - this.setTitle( mw.message('bs-interwikilinks-insertlink-tabtitle').plain() ); - - this.cbInterWiki = Ext.create( 'Ext.form.field.ComboBox', { - name: 'insertInterWiki', - fieldLabel: mw.message('bs-interwikilinks-insertlink-labelprefix').plain(), - store: this.storeIW, - displayField:'name', - typeAhead: true, - mode: 'local', - triggerAction: 'all', - allowBlank: false, - emptyText: mw.message('bs-interwikilink-select-a-prefix').plain() - }); - - this.tfPageTitle = Ext.create( 'Ext.form.field.Text', { - name: 'inputTargetUrl', - fieldLabel: mw.message('bs-insertlink-label-page').plain(), - emptyText:mw.message('bs-insertlink-select-a-page').plain(), - allowBlank: false - }); - - this.pnlMainConf.items = []; - this.pnlMainConf.items.push(this.cbInterWiki); - this.pnlMainConf.items.push(this.tfPageTitle); - - this.callParent(arguments); - }, - resetData: function() { - this.cbInterWiki.reset(); - this.tfPageTitle.reset(); - - this.callParent(); - }, - setData: function( obj ) { - var bAcitve = false; - var desc = false; - - //overwrites FormPanelWikiPage tab - if( obj.type && obj.type == this.linktype ) { - var link = String(obj.href); - link = link.replace( mw.config.get( "wgServer" ) + "/", "" ); - link = unescape(link); - - if ( link.match( ':' ) ) { - var parts = link.split( ':' ); - if( parts.length == 3 ) parts.shift(); - - var interwiki = $.inArray(parts.shift(), mw.config.get('BSInterWikiPrefixes', [])); - if( interwiki > -1) { - this.cbInterWiki.setValue( mw.config.get('BSInterWikiPrefixes', [])[interwiki] ); - this.tfPageTitle.setValue( parts.join( ':' ) ); - - if( obj.content.match( '|' ) ) { - var content = obj.content.split( '|' ); - if(content.length > 1 ) { - desc = content[1]; - desc = desc.replace( ']]', '' ); - } else if(content[0] != obj.href) { - desc = content[0]; - } - } - bAcitve = true; - } - } - } else if( obj.code !== false ) { - if( obj.code.match(/\[\[[^\]]*\]\]/) ) { - var link = new bs.wikiText.Link(obj.code); - - if( $.inArray(link.getNsText(), mw.config.get('BSInterWikiPrefixes', [])) > -1) { - this.tfPageTitle.setValue( link.getTitle() ); - this.cbInterWiki.setValue( link.getNsText() ); - if( link.getTitle() != link.getDisplayText() ) { - desc = link.getDisplayText(); - } - bAcitve = true; - } - } else { - desc = obj.code; - } - } else if( obj.content && obj.content != '' ) desc = obj.content; - - this.callParent( [{desc: desc}] ); - return bAcitve; - }, - getData: function() { - var title = this.callParent(); - - var desc = ''; - if( title != '' ) { - desc = '|'+title; - } - - var prefix = ''; - if( this.cbInterWiki.getValue() ) { - prefix = this.cbInterWiki.getValue() + ':'; - } - - var page = ''; - if( this.tfPageTitle.getValue() ) { - page = this.tfPageTitle.getValue(); - } - - return { - title: title, - href: prefix+page, - type: this.linktype, - code: '[[' + prefix + page + desc + ']]' - //'class': '' - }; - }, - setDescription: function( desc ) { - this.callParent(arguments); - }, - getDescription: function() { - return this.callParent(); - } -}); \ No newline at end of file diff --git a/InterWikiLinks/resources/BS.InterWikiLinks/InterWikiLinksDialog.js b/InterWikiLinks/resources/BS.InterWikiLinks/InterWikiLinksDialog.js deleted file mode 100644 index c571760..0000000 --- a/InterWikiLinks/resources/BS.InterWikiLinks/InterWikiLinksDialog.js +++ /dev/null @@ -1,60 +0,0 @@ -/** - * UserManager UserDialog - * - * Part of BlueSpice MediaWiki - * - * @author Robert Vogel <[email protected]> - * @author Stephan Muggli <[email protected]> - * @package Bluespice_Extensions - * @subpackage UserManager - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - * @filesource - */ - -Ext.define( 'BS.InterWikiLinks.InterWikiLinksDialog', { - extend: 'BS.Window', - currentData: {}, - selectedData: {}, - afterInitComponent: function() { - this.tfIWLPrefix = Ext.create( 'Ext.form.TextField', { - fieldLabel: mw.message( 'bs-interwikilinks-labelprefix' ).plain(), - labelWidth: 85, - labelAlign: 'right', - name: 'iw_prefix', - allowBlank: false - }); - this.tfIWLUrl = Ext.create( 'Ext.form.TextField', { - fieldLabel: mw.message( 'bs-interwikilinks-labelurl' ).plain(), - labelWidth: 85, - labelAlign: 'right', - name: 'iw_url', - allowBlank: false - }); - - this.items = [ - this.tfIWLPrefix, - this.tfIWLUrl - ]; - - this.callParent( arguments ); - }, - resetData: function() { - this.tfIWLPrefix.reset(); - this.tfIWLUrl.reset(); - - this.callParent(); - }, - setData: function( obj ) { - this.currentData = obj; - this.tfIWLPrefix.setValue( this.currentData.iw_prefix ); - this.tfIWLUrl.setValue( this.currentData.iw_url ); - }, - getData: function() { - this.selectedData.iw_prefix = this.tfIWLPrefix.getValue(); - this.selectedData.iw_url = this.tfIWLUrl.getValue(); - this.selectedData.iw_prefix_old = this.currentData.iw_prefix; - - return this.selectedData; - } -} ); \ No newline at end of file diff --git a/InterWikiLinks/resources/BS.InterWikiLinks/Panel.js b/InterWikiLinks/resources/BS.InterWikiLinks/Panel.js deleted file mode 100644 index 78a1a4a..0000000 --- a/InterWikiLinks/resources/BS.InterWikiLinks/Panel.js +++ /dev/null @@ -1,140 +0,0 @@ -/** - * GroupManager Panel - * - * Part of BlueSpice MediaWiki - * - * @author Robert Vogel <[email protected]> - * @author Stephan Muggli <[email protected]> - * @package Bluespice_Extensions - * @subpackage GroupManager - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - * @filesource - */ - -Ext.define( 'BS.InterWikiLinks.Panel', { - extend: 'BS.CRUDGridPanel', - features: [], - - initComponent: function() { - this.strMain = Ext.create( 'BS.store.BSApi', { - apiAction: 'bs-interwiki-store', - fields: [ 'iw_prefix', 'iw_url' ] - }); - - this.colIWLPrefix = Ext.create( 'Ext.grid.column.Column', { - id: 'iw_prefix', - header: mw.message('bs-interwikilinks-headerprefix').plain(), - sortable: true, - dataIndex: 'iw_prefix', - flex: 1, - filterable: true - } ); - this.colIWLUrl = Ext.create( 'Ext.grid.column.Column', { - id: 'iw_url', - header: mw.message('bs-interwikilinks-headerurl').plain(), - sortable: true, - dataIndex: 'iw_url', - flex: 1, - filterable: true - } ); - - this.colMainConf.columns = [ - this.colIWLPrefix, - this.colIWLUrl - ]; - - this.callParent( arguments ); - }, - onBtnAddClick: function( oButton, oEvent ) { - if ( !this.dlgIWLAdd ) { - this.dlgIWLAdd = Ext.create( 'BS.InterWikiLinks.InterWikiLinksDialog' ); - this.dlgIWLAdd.on( 'ok', this.onDlgIWLAddOk, this ); - } - - this.active = 'add'; - this.dlgIWLAdd.setTitle( mw.message( 'bs-interwikilinks-titleaddinterwikilink' ).plain() ); - this.dlgIWLAdd.show(); - this.callParent( arguments ); - }, - onBtnEditClick: function( oButton, oEvent ) { - if ( !this.dlgIWLEdit ) { - this.dlgIWLEdit = Ext.create( 'BS.InterWikiLinks.InterWikiLinksDialog' ); - this.dlgIWLEdit.on( 'ok', this.onDlgIWLEditOk, this ); - } - - var selectedRow = this.grdMain.getSelectionModel().getSelection(); - this.active = 'edit'; - this.dlgIWLEdit.setTitle( mw.message( 'bs-interwikilinks-titleeditinterwikilink' ).plain() ); - this.dlgIWLEdit.setData( selectedRow[0].getData() ); - this.dlgIWLEdit.show(); - this.callParent( arguments ); - }, - onBtnRemoveClick: function( oButton, oEvent ) { - bs.util.confirm( - 'GMremove', - { - text: mw.message( 'bs-interwikilinks-confirmdeleteinterwikilink' ).plain(), - title: mw.message( 'bs-interwikilinks-titledeleteinterwikilink' ).plain() - }, - { - ok: this.onRemoveIWLOk, - cancel: function() {}, - scope: this - } - ); - }, - onRemoveIWLOk: function() { - var selectedRow = this.grdMain.getSelectionModel().getSelection(); - var iwprefix = selectedRow[0].get( 'iw_prefix' ); - var me = this; - bs.api.tasks.exec( - 'interwikilinks', - 'removeInterWikiLink', - { - prefix: iwprefix - } - ).done( function( response ) { - me.reloadStore(); - }); - }, - onDlgIWLAddOk: function( data, iwl ) { - var me = this; - bs.api.tasks.exec( - 'interwikilinks', - 'editInterWikiLink', - { - prefix: iwl.iw_prefix, - url: iwl.iw_url - } - ).done( function( response ) { - me.dlgIWLAdd.resetData(); - me.reloadStore(); - }); - }, - onDlgIWLEditOk: function( data, iwl ) { - var me = this; - bs.api.tasks.exec( - 'interwikilinks', - 'editInterWikiLink', - { - prefix: iwl.iw_prefix, - url: iwl.iw_url, - oldPrefix: iwl.iw_prefix_old - } - ).done( function( response ) { - me.dlgIWLEdit.resetData(); - me.reloadStore(); - }); - }, - reloadStore: function() { - this.strMain.reload(); - }, - showDlgAgain: function() { - if ( this.active === 'add' ) { - this.dlgIWLAdd.show(); - } else { - this.dlgIWLEdit.show(); - } - } -} ); \ No newline at end of file diff --git a/InterWikiLinks/resources/bluespice.insertLink.interWikiLinks.js b/InterWikiLinks/resources/bluespice.insertLink.interWikiLinks.js deleted file mode 100644 index 4cf3cb8..0000000 --- a/InterWikiLinks/resources/bluespice.insertLink.interWikiLinks.js +++ /dev/null @@ -1,51 +0,0 @@ -/** - * InterLink js for InsertLink extension - * - * @author Patric Wirth <[email protected]> - * @package Bluespice_Extensions - * @subpackage InterWikiLinks - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - * @filesource - */ - -$(document).bind('BSVisualEditorLoadContentBeforeCheckLinks', function(event, editor, internalLinksTitles, internalLinks) { - var interWikiLinks = mw.config.get('BSInterWikiPrefixes', []); - if( interWikiLinks.length < 1 ) { - return; - } - - for( var i = 0; i < internalLinksTitles.length; i++) { - var pref = internalLinksTitles[i].split(':'); - if( pref.length < 2 ) { - continue; - } - pref = pref[0]; - if( $.inArray( pref, interWikiLinks ) === -1 ) { - continue; - } - internalLinksTitles.splice(i, 1); - } -}); - -$(document).bind('BsInsertLinkWindowBeforeAddTabs', function( event, window, items ){ - var storeData = []; - for(var i = 0; i < mw.config.get('BSInterWikiPrefixes', []).length; i++) { - storeData.push({ - name: mw.config.get('BSInterWikiPrefixes', [])[i], - label: mw.config.get('BSInterWikiPrefixes', [])[i] - }); - } - var storeIW = Ext.create('Ext.data.Store', { - fields: [ - 'name', - 'label' - ], - data: storeData, - autoLoad: false - }); - - items.push( - Ext.create( 'BS.InterWikiLinks.InsertLink.FormPanelInterWiki', { storeIW: storeIW } ) - ); -}); \ No newline at end of file diff --git a/InterWikiLinks/resources/bluespice.interWikiLinks.js b/InterWikiLinks/resources/bluespice.interWikiLinks.js deleted file mode 100644 index 46025f8..0000000 --- a/InterWikiLinks/resources/bluespice.interWikiLinks.js +++ /dev/null @@ -1,38 +0,0 @@ -/** - * InterWikiManager extension - * - * @author Stephan Muggli <[email protected]> - * @version 0.1 beta - * @package Bluespice_Extensions - * @subpackage InterWikiLinks - * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved. - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or later - * @filesource - */ - - /* Changelog - * v0.1 - * - initial commit - */ - -Ext.onReady( function(){ - var taskPermissions = mw.config.get( 'bsTaskAPIPermissions' ); - var operationPermissions = { - "create": true, //should be connected to mw.config.get('bsTaskAPIPermissions').extension_xyz.task1 = boolean in derived class - "update": true, //... - "delete": true //... - }; - if ( taskPermissions !== null ) { - if ( typeof taskPermissions.interwikilinks.editInterWikiLink === 'boolean' ) { - operationPermissions.create = taskPermissions.interwikilinks.editInterWikiLink; - operationPermissions.update = taskPermissions.interwikilinks.editInterWikiLink; - } - if ( typeof taskPermissions.interwikilinks.removeInterWikiLink === 'boolean' ) { - operationPermissions.delete = taskPermissions.interwikilinks.removeInterWikiLink; - } - } - Ext.create( 'BS.InterWikiLinks.Panel', { - operationPermissions: operationPermissions, - renderTo: 'InterWikiLinksGrid' - } ); -} ); \ No newline at end of file diff --git a/InterWikiLinks/tests/phpunit/BSApiTasksInterWikiLinksManagerTest.php b/InterWikiLinks/tests/phpunit/BSApiTasksInterWikiLinksManagerTest.php deleted file mode 100644 index 374d599..0000000 --- a/InterWikiLinks/tests/phpunit/BSApiTasksInterWikiLinksManagerTest.php +++ /dev/null @@ -1,78 +0,0 @@ -<?php - -/** - * @group medium - * @group API - * @group BlueSpice - * @group BlueSpiceExtensions - * @group BlueSpiceInterWikiLnksManager - */ -class BSApiTasksInterWikiLinksManagerTest extends BSApiTasksTestBase { - protected function getModuleName( ) { - return 'bs-interwikilinks-tasks'; - } - - public function testEditInterWikiLink() { - $oCreateData = $this->executeTask( - 'editInterWikiLink', - array( - 'prefix' => 'dummylink', - 'url' => 'http://some.wiki.com/$1' - ) - ); - - $this->assertTrue( $oCreateData->success ); - - $this->assertSelect( - 'interwiki', - array( 'iw_prefix', 'iw_url' ), - array( 'iw_prefix' => 'dummylink'), - array( array ( 'dummylink', 'http://some.wiki.com/$1' ) ) - ); - - $oEditData = $this->executeTask( - 'editInterWikiLink', - array( - 'oldPrefix' => 'dummylink', - 'prefix' => 'fauxlink', - 'url' => 'http://some.wiki.com/wiki/$1' - ) - ); - - $this->assertTrue( $oEditData->success ); - - $this->assertTrue( $this->isDeleted( 'dummylink') ); - - $this->assertSelect( - 'interwiki', - array( 'iw_prefix', 'iw_url' ), - array( 'iw_prefix' => 'fauxlink'), - array( array ( 'fauxlink', 'http://some.wiki.com/wiki/$1' ) ) - ); - } - - public function testRemoveInterWikiLink() { - $this->assertFalse( $this->isDeleted( 'fauxlink' ) ); - - $oDeleteData = $this->executeTask( - 'removeInterWikiLink', - array( - 'prefix' => 'fauxlink' - ) - ); - - $this->assertTrue( $oDeleteData->success ); - $this->assertTrue( $this->isDeleted( 'fauxlink' ) ); - } - - protected function isDeleted( $sValue ) { - $db = wfGetDB( DB_REPLICA ); - $res = $db->select( 'interwiki', array( 'iw_prefix' ), array( 'iw_prefix' => $sValue ), wfGetCaller() ); - if( $res->numRows() === 0 ) { - return true; - } - - return false; - } -} - -- To view, visit https://gerrit.wikimedia.org/r/387184 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia0beebbb16e460180ad6fd15d6e23aa343f55319 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions Gerrit-Branch: master Gerrit-Owner: ItSpiderman <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
