Spage has uploaded a new change for review. https://gerrit.wikimedia.org/r/226262
Change subject: remove BoilerPlate files now in separate extension ...................................................................... remove BoilerPlate files now in separate extension BoilerPlate needs to be a separate top-level extensions/BoilerPlate so it can participate in Continuous Integration. I8f7b7cb021 implements that, making its subdirectory here within extensions/examples obsolete. Bug: T94279 Change-Id: I3be7b845e8c03d03e5f1dc8cb20856c44263aa88 --- D BoilerPlate/.jscsrc D BoilerPlate/.jshintrc D BoilerPlate/BoilerPlate.hooks.php D BoilerPlate/BoilerPlate.i18n.alias.php D BoilerPlate/BoilerPlate.php D BoilerPlate/Gruntfile.js D BoilerPlate/README D BoilerPlate/composer.json D BoilerPlate/i18n/af.json D BoilerPlate/i18n/ast.json D BoilerPlate/i18n/bcl.json D BoilerPlate/i18n/be-tarask.json D BoilerPlate/i18n/br.json D BoilerPlate/i18n/ca.json D BoilerPlate/i18n/ce.json D BoilerPlate/i18n/da.json D BoilerPlate/i18n/de.json D BoilerPlate/i18n/dsb.json D BoilerPlate/i18n/en-gb.json D BoilerPlate/i18n/en.json D BoilerPlate/i18n/eo.json D BoilerPlate/i18n/es.json D BoilerPlate/i18n/fa.json D BoilerPlate/i18n/fi.json D BoilerPlate/i18n/fo.json D BoilerPlate/i18n/fr.json D BoilerPlate/i18n/frp.json D BoilerPlate/i18n/gl.json D BoilerPlate/i18n/he.json D BoilerPlate/i18n/hsb.json D BoilerPlate/i18n/ht.json D BoilerPlate/i18n/hu.json D BoilerPlate/i18n/ia.json D BoilerPlate/i18n/id.json D BoilerPlate/i18n/it.json D BoilerPlate/i18n/ja.json D BoilerPlate/i18n/kn.json D BoilerPlate/i18n/ko.json D BoilerPlate/i18n/ksh.json D BoilerPlate/i18n/lb.json D BoilerPlate/i18n/map-bms.json D BoilerPlate/i18n/mk.json D BoilerPlate/i18n/mr.json D BoilerPlate/i18n/ms.json D BoilerPlate/i18n/mt.json D BoilerPlate/i18n/nb.json D BoilerPlate/i18n/nl.json D BoilerPlate/i18n/oc.json D BoilerPlate/i18n/pl.json D BoilerPlate/i18n/pms.json D BoilerPlate/i18n/ps.json D BoilerPlate/i18n/pt-br.json D BoilerPlate/i18n/pt.json D BoilerPlate/i18n/qqq.json D BoilerPlate/i18n/roa-tara.json D BoilerPlate/i18n/ru.json D BoilerPlate/i18n/si.json D BoilerPlate/i18n/sv.json D BoilerPlate/i18n/ta.json D BoilerPlate/i18n/te.json D BoilerPlate/i18n/tl.json D BoilerPlate/i18n/uk.json D BoilerPlate/i18n/yi.json D BoilerPlate/i18n/zh-hans.json D BoilerPlate/i18n/zh-hant.json D BoilerPlate/modules/ext.BoilerPlate.foo.css D BoilerPlate/modules/ext.BoilerPlate.foo.js D BoilerPlate/modules/ext.BoilerPlate.js D BoilerPlate/package.json D BoilerPlate/specials/SpecialHelloWorld.php M Example/Example.php 71 files changed, 1 insertion(+), 836 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/examples refs/changes/62/226262/1 diff --git a/BoilerPlate/.jscsrc b/BoilerPlate/.jscsrc deleted file mode 100644 index 9d22e3f..0000000 --- a/BoilerPlate/.jscsrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "preset": "wikimedia" -} diff --git a/BoilerPlate/.jshintrc b/BoilerPlate/.jshintrc deleted file mode 100644 index d43c482..0000000 --- a/BoilerPlate/.jshintrc +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Enforcing - "bitwise": true, - "eqeqeq": true, - "es3": true, - "latedef": true, - "noarg": true, - "nonew": true, - "undef": true, - "unused": true, - "strict": false, - - // Environment - "browser": true, - - "globals": { - "mw": false, - "$": false - } -} diff --git a/BoilerPlate/BoilerPlate.hooks.php b/BoilerPlate/BoilerPlate.hooks.php deleted file mode 100644 index e96cba0..0000000 --- a/BoilerPlate/BoilerPlate.hooks.php +++ /dev/null @@ -1,11 +0,0 @@ -<?php -/** - * Hooks for BoilerPlate extension - * - * @file - * @ingroup Extensions - */ - -class BoilerPlateHooks { - -} diff --git a/BoilerPlate/BoilerPlate.i18n.alias.php b/BoilerPlate/BoilerPlate.i18n.alias.php deleted file mode 100644 index 9a0511a..0000000 --- a/BoilerPlate/BoilerPlate.i18n.alias.php +++ /dev/null @@ -1,14 +0,0 @@ -<?php -/** - * Aliases for special pages of the BoilerPlate extension - * - * @file - * @ingroup Extensions - */ - -$specialPageAliases = array(); - -/** English (English) */ -$specialPageAliases['en'] = array( - 'HelloWorld' => array( 'HelloWorld' ), -); diff --git a/BoilerPlate/BoilerPlate.php b/BoilerPlate/BoilerPlate.php deleted file mode 100644 index 822af05..0000000 --- a/BoilerPlate/BoilerPlate.php +++ /dev/null @@ -1,60 +0,0 @@ -<?php -/** - * BoilerPlate extension - the thing that needs you. - * - * For more info see http://mediawiki.org/wiki/Extension:BoilerPlate - * - * @file - * @ingroup Extensions - * @author Your Name, 2015 - */ - -$wgExtensionCredits['other'][] = array( - 'path' => __FILE__, - 'name' => 'BoilerPlate', - 'author' => array( - 'Your Name', - ), - 'version' => '0.0.0', - 'url' => 'https://www.mediawiki.org/wiki/Extension:BoilerPlate', - 'descriptionmsg' => 'boilerplate-desc', - 'license-name' => 'MIT', -); - -/* Setup */ - -// Register files -$wgAutoloadClasses['BoilerPlateHooks'] = __DIR__ . '/BoilerPlate.hooks.php'; -$wgAutoloadClasses['SpecialHelloWorld'] = __DIR__ . '/specials/SpecialHelloWorld.php'; -$wgMessagesDirs['BoilerPlate'] = __DIR__ . '/i18n'; -$wgExtensionMessagesFiles['BoilerPlateAlias'] = __DIR__ . '/BoilerPlate.i18n.alias.php'; - -// Register hooks -#$wgHooks['NameOfHook'][] = 'BoilerPlateHooks::onNameOfHook'; - -// Register special pages -$wgSpecialPages['HelloWorld'] = 'SpecialHelloWorld'; - -// Register modules -$wgResourceModules['ext.boilerPlate.foo'] = array( - 'scripts' => array( - 'modules/ext.boilerPlate.js', - 'modules/ext.boilerPlate.foo.js', - ), - 'styles' => array( - 'modules/ext.boilerPlate.foo.css', - ), - 'messages' => array( - ), - 'dependencies' => array( - ), - - 'localBasePath' => __DIR__, - 'remoteExtPath' => 'examples/BoilerPlate', -); - - -/* Configuration */ - -// Enable Foo -#$wgBoilerPlateEnableFoo = true; diff --git a/BoilerPlate/Gruntfile.js b/BoilerPlate/Gruntfile.js deleted file mode 100644 index f04a4b9..0000000 --- a/BoilerPlate/Gruntfile.js +++ /dev/null @@ -1,28 +0,0 @@ -/*jshint node:true */ -module.exports = function ( grunt ) { - grunt.loadNpmTasks( 'grunt-contrib-jshint' ); - grunt.loadNpmTasks( 'grunt-jscs' ); - grunt.loadNpmTasks( 'grunt-banana-checker' ); - - grunt.initConfig( { - jshint: { - options: { - jshintrc: true - }, - all: [ - '*.js', - 'modules/**/*.js' - ] - }, - jscs: { - src: '<%= jshint.all %>' - }, - banana: { - all: 'i18n/' - } - } ); - - grunt.registerTask( 'lint', [ 'jshint', 'jscs', 'banana' ] ); - grunt.registerTask( 'test', [ 'lint' ] ); - grunt.registerTask( 'default', 'test' ); -}; diff --git a/BoilerPlate/README b/BoilerPlate/README deleted file mode 100644 index b091539..0000000 --- a/BoilerPlate/README +++ /dev/null @@ -1,19 +0,0 @@ -This is a blank extension template. It doesn't really do anything on its own. -It is intended to provide a boiler template for an actual MediaWiki extension. - -If you are checking this out from Git and intend to use it, you may use the -following commands to make a clean directory of just this template without the -Git meta-data and other examples. - - git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/examples.git mw-extensions-example-repo - cp -R mw-extensions-example-repo/BoilerPlate ./MyExtension - -This automates the recommended code checkers for PHP and JavaScript code in Wikimedia projects -(see https://www.mediawiki.org/wiki/Continuous_integration/Test_entry_points). -To take advantage of this automation. - # install nodejs, npm, and PHP composer - # change to the extension's directory - # npm install - # composer install - -Once set up, running `npm test` and `composer test` will run automated code checks. diff --git a/BoilerPlate/composer.json b/BoilerPlate/composer.json deleted file mode 100644 index 754fb71..0000000 --- a/BoilerPlate/composer.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "require-dev": { - "jakub-onderka/php-parallel-lint": "0.8.*", - "mediawiki/mediawiki-codesniffer": "0.2.0" - }, - "scripts": { - "test": [ - "parallel-lint . --exclude vendor", - "phpcs . -p --standard=vendor/mediawiki/mediawiki-codesniffer/MediaWiki --ignore=vendor/*,node_modules/* --extensions=php" - ] - } -} diff --git a/BoilerPlate/i18n/af.json b/BoilerPlate/i18n/af.json deleted file mode 100644 index faf1737..0000000 --- a/BoilerPlate/i18n/af.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Oesjaar" - ] - }, - "helloworld": "Hello wêreld" -} diff --git a/BoilerPlate/i18n/ast.json b/BoilerPlate/i18n/ast.json deleted file mode 100644 index 594ae3e..0000000 --- a/BoilerPlate/i18n/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Xuacu" - ] - }, - "boilerplate-desc": "Esta ye una estensión d'exemplu", - "boilerplate-i18n-welcome": "Bienveníu al ficheru de llocalización de la estensión BoilerPlate.", - "boilerplate-helloworld": "¡Bones, mundu!", - "boilerplate-helloworld-intro": "Bienllegaos a la páxina especial «Bones, mundu» de la estensión BoilerPlate.", - "helloworld": "HolaMundu" -} diff --git a/BoilerPlate/i18n/bcl.json b/BoilerPlate/i18n/bcl.json deleted file mode 100644 index d40e06d..0000000 --- a/BoilerPlate/i18n/bcl.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Geopoet" - ] - }, - "boilerplate-desc": "Ini sarong ehemplo nin ekstensyon", - "boilerplate-i18n-welcome": "Marhayon na pag-abot sa sagunson nin lokalisasyon kan ekstensyon nin GagaangPlato." -} diff --git a/BoilerPlate/i18n/be-tarask.json b/BoilerPlate/i18n/be-tarask.json deleted file mode 100644 index 1b2134d..0000000 --- a/BoilerPlate/i18n/be-tarask.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Wizardist" - ] - }, - "boilerplate-desc": "Гэта прыклад пашырэньня", - "boilerplate-i18n-welcome": "Вітаем у лякалізацыйным файле пашырэньня BoilerPlate." -} diff --git a/BoilerPlate/i18n/br.json b/BoilerPlate/i18n/br.json deleted file mode 100644 index 4984a57..0000000 --- a/BoilerPlate/i18n/br.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Fohanno" - ] - }, - "boilerplate-desc": "Setu amañ ur skouer astenn" -} diff --git a/BoilerPlate/i18n/ca.json b/BoilerPlate/i18n/ca.json deleted file mode 100644 index 1aee39c..0000000 --- a/BoilerPlate/i18n/ca.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Arnaugir" - ] - }, - "boilerplate-desc": "Aquesta és una extensió d'exemple" -} diff --git a/BoilerPlate/i18n/ce.json b/BoilerPlate/i18n/ce.json deleted file mode 100644 index 92e75ee..0000000 --- a/BoilerPlate/i18n/ce.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Умар" - ] - }, - "boilerplate-helloworld": "Маршалла дуьне!", - "helloworld": "Маршалла дуьне" -} diff --git a/BoilerPlate/i18n/da.json b/BoilerPlate/i18n/da.json deleted file mode 100644 index db916dd..0000000 --- a/BoilerPlate/i18n/da.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Hylle" - ] - }, - "boilerplate-desc": "Dette er et eksempel på en udvidelse", - "boilerplate-i18n-welcome": "Velkommen til lokaliseringsdelen af BoilerPlate udvidelsen." -} diff --git a/BoilerPlate/i18n/de.json b/BoilerPlate/i18n/de.json deleted file mode 100644 index 197159d..0000000 --- a/BoilerPlate/i18n/de.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Kghbln", - "Metalhead64" - ] - }, - "boilerplate-desc": "Veranschaulicht beispielhaft eine einfache MediaWiki-Erweiterung", - "boilerplate-i18n-welcome": "Willkommen bei der Lokalisierungs- und Internationalisierungsdatei der Programmerweiterung BoilerPlate.", - "boilerplate-helloworld": "Hallo Welt!", - "boilerplate-helloworld-intro": "Willkommen auf der Spezialseite „Hallo Welt“ der Erweiterung „BoilerPlate“.", - "helloworld": "Hallo Welt" -} diff --git a/BoilerPlate/i18n/dsb.json b/BoilerPlate/i18n/dsb.json deleted file mode 100644 index 1eabed0..0000000 --- a/BoilerPlate/i18n/dsb.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Michawiki" - ] - }, - "boilerplate-desc": "To jo pśikładowe rozšyrjenje", - "boilerplate-i18n-welcome": "Witaj k localizaciskej dataji rozšyrjenja BoilerPlate." -} diff --git a/BoilerPlate/i18n/en-gb.json b/BoilerPlate/i18n/en-gb.json deleted file mode 100644 index 8ccb844..0000000 --- a/BoilerPlate/i18n/en-gb.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Lloffiwr", - "Chase me ladies, I'm the Cavalry" - ] - }, - "boilerplate-desc": "This is an example extension", - "boilerplate-i18n-welcome": "Welcome to the localisation file of the BoilerPlate extension." -} diff --git a/BoilerPlate/i18n/en.json b/BoilerPlate/i18n/en.json deleted file mode 100644 index 44c5641..0000000 --- a/BoilerPlate/i18n/en.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [] - }, - "boilerplate-desc": "This is an example extension", - "boilerplate-i18n-welcome": "Welcome to the localization file of the BoilerPlate extension.", - "boilerplate-helloworld": "Hello world!", - "boilerplate-helloworld-intro": "Welcome to the \"Hello world\" special page of the BoilerPlate extension.", - "helloworld": "Hello world" -} diff --git a/BoilerPlate/i18n/eo.json b/BoilerPlate/i18n/eo.json deleted file mode 100644 index b05c6e0..0000000 --- a/BoilerPlate/i18n/eo.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Yekrats" - ] - }, - "boilerplate-desc": "Jen ekzempla programero" -} diff --git a/BoilerPlate/i18n/es.json b/BoilerPlate/i18n/es.json deleted file mode 100644 index 8c403d7..0000000 --- a/BoilerPlate/i18n/es.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Armando-Martin", - "Macofe" - ] - }, - "boilerplate-desc": "Esta es una extensión de ejemplo", - "boilerplate-i18n-welcome": "Bienvenido al archivo de localización de la extensión de BoilerPlate.", - "boilerplate-helloworld": "Hola mundo", - "boilerplate-helloworld-intro": "Bienvenidos a la página especial \"Hola mundo\" de la extensión BoilerPlate.", - "helloworld": "HolaMundo" -} diff --git a/BoilerPlate/i18n/fa.json b/BoilerPlate/i18n/fa.json deleted file mode 100644 index 93058c3..0000000 --- a/BoilerPlate/i18n/fa.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ebraminio", - "ZxxZxxZ", - "MRG90" - ] - }, - "boilerplate-desc": "این یک افزونهٔ نمونه است", - "boilerplate-i18n-welcome": "به پروندهٔ محلیسازی افزونهٔ بویلرپلیت خوشآمدید.", - "boilerplate-helloworld": "سلام دنیا!", - "helloworld": "سلام دنیا" -} diff --git a/BoilerPlate/i18n/fi.json b/BoilerPlate/i18n/fi.json deleted file mode 100644 index b05218c..0000000 --- a/BoilerPlate/i18n/fi.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Nedergard", - "Nike", - "VezonThunder" - ] - }, - "boilerplate-desc": "Tämä on esimerkkilaajennus", - "boilerplate-i18n-welcome": "Tervetuloa BoilerPlate-laajennuksen lokalisointitiedostoon." -} diff --git a/BoilerPlate/i18n/fo.json b/BoilerPlate/i18n/fo.json deleted file mode 100644 index f991c8a..0000000 --- a/BoilerPlate/i18n/fo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "EileenSanda" - ] - }, - "boilerplate-desc": "Hetta er eitt dømi um eitt ískoyti", - "boilerplate-i18n-welcome": "Vælkomin á staðsetingarfíluna til BoilerPlate ískoytið." -} diff --git a/BoilerPlate/i18n/fr.json b/BoilerPlate/i18n/fr.json deleted file mode 100644 index 637572e..0000000 --- a/BoilerPlate/i18n/fr.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Gomoko", - "TomT0m" - ] - }, - "boilerplate-desc": "Voici un exemple d'extension", - "boilerplate-i18n-welcome": "Bienvenue dans le fichier de localisation de l'extension passepartout.", - "boilerplate-helloworld": "Bonjour, le monde!", - "boilerplate-helloworld-intro": "Bienvenue sur la page spéciale \"Hello world\" de l'extension BoilerPlate.", - "helloworld": "HelloWorld" -} diff --git a/BoilerPlate/i18n/frp.json b/BoilerPlate/i18n/frp.json deleted file mode 100644 index 7434e21..0000000 --- a/BoilerPlate/i18n/frp.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "ChrisPtDe" - ] - }, - "boilerplate-desc": "O est un ègzemplo d’èxtension" -} diff --git a/BoilerPlate/i18n/gl.json b/BoilerPlate/i18n/gl.json deleted file mode 100644 index 03eafe9..0000000 --- a/BoilerPlate/i18n/gl.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Toliño", - "Banjo", - "Elisardojm" - ] - }, - "boilerplate-desc": "Esta é unha extensión de exemplo", - "boilerplate-i18n-welcome": "Dámoslle a benvida ao ficheiro de localización da extensión BoilerPlate.", - "boilerplate-helloworld": "Ola mundo!", - "boilerplate-helloworld-intro": "Benvido á páxina especial \"Ola mundo\" da extensión BoilerPlate.", - "helloworld": "Ola mundo" -} diff --git a/BoilerPlate/i18n/he.json b/BoilerPlate/i18n/he.json deleted file mode 100644 index 03280fe..0000000 --- a/BoilerPlate/i18n/he.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Amire80", - "Inkbug" - ] - }, - "boilerplate-desc": "זאת היא הרחבה לדוגמה", - "boilerplate-i18n-welcome": "ברוכים הבאים לקובץ התרגום של ההרחבה BoilerPlate." -} diff --git a/BoilerPlate/i18n/hsb.json b/BoilerPlate/i18n/hsb.json deleted file mode 100644 index 570b010..0000000 --- a/BoilerPlate/i18n/hsb.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Michawiki" - ] - }, - "boilerplate-desc": "To je přikładowe rozšěrjenje", - "boilerplate-i18n-welcome": "Witaj k localizaciskej dataji rozšěrjenja BoilerPlate." -} diff --git a/BoilerPlate/i18n/ht.json b/BoilerPlate/i18n/ht.json deleted file mode 100644 index fe50238..0000000 --- a/BoilerPlate/i18n/ht.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Bfpage" - ] - }, - "helloworld": "Bonjou mond" -} diff --git a/BoilerPlate/i18n/hu.json b/BoilerPlate/i18n/hu.json deleted file mode 100644 index 6f28289..0000000 --- a/BoilerPlate/i18n/hu.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Dj" - ] - }, - "boilerplate-desc": "Ez egy példa kiterjesztés", - "boilerplate-i18n-welcome": "Üdvözlünk a BoilerPlate kiterjesztés lokalizációs fájljában." -} diff --git a/BoilerPlate/i18n/ia.json b/BoilerPlate/i18n/ia.json deleted file mode 100644 index 31160b8..0000000 --- a/BoilerPlate/i18n/ia.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "McDutchie" - ] - }, - "boilerplate-desc": "Isto es un extension de exemplo", - "boilerplate-i18n-welcome": "Benvenite al file de localisation del extension \"BoilerPlate\" (modello)." -} diff --git a/BoilerPlate/i18n/id.json b/BoilerPlate/i18n/id.json deleted file mode 100644 index 4553aba..0000000 --- a/BoilerPlate/i18n/id.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Farras" - ] - }, - "boilerplate-desc": "Ini adalah contoh ekstensi", - "boilerplate-i18n-welcome": "Selamat datang di berkas lokalisasi ekstensi BoilerPlate." -} diff --git a/BoilerPlate/i18n/it.json b/BoilerPlate/i18n/it.json deleted file mode 100644 index 0646a4e..0000000 --- a/BoilerPlate/i18n/it.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Beta16", - "Alexmar983" - ] - }, - "boilerplate-desc": "Questa è un'estensione di esempio", - "boilerplate-i18n-welcome": "Benvenuti al file di localizzazione dell'estensione BoilerPlate.", - "boilerplate-helloworld": "Salve mondo!", - "helloworld": "HelloWorld" -} diff --git a/BoilerPlate/i18n/ja.json b/BoilerPlate/i18n/ja.json deleted file mode 100644 index bf76e8a..0000000 --- a/BoilerPlate/i18n/ja.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Shirayuki" - ] - }, - "boilerplate-desc": "これは拡張機能の例です", - "boilerplate-i18n-welcome": "BoilerPlate 拡張機能の地域化ファイルにようこそ。" -} diff --git a/BoilerPlate/i18n/kn.json b/BoilerPlate/i18n/kn.json deleted file mode 100644 index 5ebb3be..0000000 --- a/BoilerPlate/i18n/kn.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ananth subray" - ] - }, - "boilerplate-helloworld": "ಹಲೋ ವರ್ಲ್ಡ್!", - "helloworld": "ಹಲೋ ವರ್ಲ್ಡ್" -} diff --git a/BoilerPlate/i18n/ko.json b/BoilerPlate/i18n/ko.json deleted file mode 100644 index 06f47a5..0000000 --- a/BoilerPlate/i18n/ko.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "아라" - ] - }, - "boilerplate-desc": "예제 확장 기능입니다", - "boilerplate-i18n-welcome": "상용구 확장 기능의 지역화 파일에 온 것을 환영합니다." -} diff --git a/BoilerPlate/i18n/ksh.json b/BoilerPlate/i18n/ksh.json deleted file mode 100644 index 7cb59db..0000000 --- a/BoilerPlate/i18n/ksh.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Purodha" - ] - }, - "boilerplate-desc": "Dat heh es e eijfach Beischpell för e Zohsazprojramm.", - "boilerplate-i18n-welcome": "Wellkumme bei de Övversäzonge för dat Beischpell för e Zohsazprojramm heh.", - "boilerplate-helloworld": "Hey Wält!", - "boilerplate-helloworld-intro": "Wellkumme op dä {{intspecialpage}} met „Hey Wält!“ vum Zohsazprojramm „<i lang=\"en\" xml:lang=\"en\" dir=\"ltr\" title=\"„E janz jewöhnlesch Beijschpell“\">BoilerPlate</i>“.", - "helloworld": "HalloWält" -} diff --git a/BoilerPlate/i18n/lb.json b/BoilerPlate/i18n/lb.json deleted file mode 100644 index 7603d94..0000000 --- a/BoilerPlate/i18n/lb.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Robby" - ] - }, - "boilerplate-desc": "Dëst ass e Beispill vun enger Erweiderung", - "boilerplate-i18n-welcome": "Wëllkomm beim Lokalisatiounsfichier vun der BoilerPlate Erweiderung", - "boilerplate-helloworld": "Hallo Welt!", - "helloworld": "HelloWorld" -} diff --git a/BoilerPlate/i18n/map-bms.json b/BoilerPlate/i18n/map-bms.json deleted file mode 100644 index f933092..0000000 --- a/BoilerPlate/i18n/map-bms.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "StefanusRA" - ] - }, - "boilerplate-desc": "Kiye kuwe anu conto ekstensi", - "boilerplate-i18n-welcome": "Sugeng teka ming berkas lokalisasi ekstensi BoilerPlate." -} diff --git a/BoilerPlate/i18n/mk.json b/BoilerPlate/i18n/mk.json deleted file mode 100644 index 7478665..0000000 --- a/BoilerPlate/i18n/mk.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Bjankuloski06" - ] - }, - "boilerplate-desc": "Ововој додаток е урнек", - "boilerplate-i18n-welcome": "Добре дојдовте на податотеката за превод на додатокот ПодготвенТекст (BoilerPlate).", - "boilerplate-helloworld": "Здраво свету!", - "boilerplate-helloworld-intro": "Добре дојдовте на службената страница „Здраво свету“ за додатокот „ПодготвенТекст“.", - "helloworld": "Здраво свету" -} diff --git a/BoilerPlate/i18n/mr.json b/BoilerPlate/i18n/mr.json deleted file mode 100644 index 18ace63..0000000 --- a/BoilerPlate/i18n/mr.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "V.narsikar" - ] - }, - "boilerplate-desc": "हे उदाहरणादाखल असलेले विस्तारक आहे", - "boilerplate-i18n-welcome": "बॉयलरप्लेट विस्तारकाच्या स्थानिकीकरण संचिकेत आपले स्वागत आहे.", - "helloworld": "नमस्कारविश्व" -} diff --git a/BoilerPlate/i18n/ms.json b/BoilerPlate/i18n/ms.json deleted file mode 100644 index 61507b1..0000000 --- a/BoilerPlate/i18n/ms.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Anakmalaysia" - ] - }, - "boilerplate-desc": "Ini ialah sambungan contoh", - "boilerplate-i18n-welcome": "Selamat datang ke fail penyetempatan sambungan BoilerPlate." -} diff --git a/BoilerPlate/i18n/mt.json b/BoilerPlate/i18n/mt.json deleted file mode 100644 index 9cf1c7f..0000000 --- a/BoilerPlate/i18n/mt.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Chrisportelli" - ] - }, - "boilerplate-desc": "Din hija eżempju ta' estensjoni", - "boilerplate-i18n-welcome": "Merħba fil-fajl ta' lokalizzazzjoni tal-estensjoni BoilerPlate." -} diff --git a/BoilerPlate/i18n/nb.json b/BoilerPlate/i18n/nb.json deleted file mode 100644 index d79ef2d..0000000 --- a/BoilerPlate/i18n/nb.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "@metadata": [], - "boilerplate-desc": "Dette er en eksempelutvidelse", - "boilerplate-i18n-welcome": "Velkommen til lokaliseringsfilen for utvidelsen BoilerPlate" -} diff --git a/BoilerPlate/i18n/nl.json b/BoilerPlate/i18n/nl.json deleted file mode 100644 index d0d93c0..0000000 --- a/BoilerPlate/i18n/nl.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "AvatarTeam", - "SPQRobin" - ] - }, - "boilerplate-desc": "Dit is een voorbeeld van de uitbreiding", - "boilerplate-i18n-welcome": "Welkom bij het lokalisatiebestand van de BoilerPlate-uitbreiding." -} diff --git a/BoilerPlate/i18n/oc.json b/BoilerPlate/i18n/oc.json deleted file mode 100644 index 266ded7..0000000 --- a/BoilerPlate/i18n/oc.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Cedric31" - ] - }, - "boilerplate-desc": "Aquí un exemple d'extension" -} diff --git a/BoilerPlate/i18n/pl.json b/BoilerPlate/i18n/pl.json deleted file mode 100644 index 0e7f337..0000000 --- a/BoilerPlate/i18n/pl.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "BeginaFelicysym", - "Chrumps", - "Woytecr" - ] - }, - "boilerplate-desc": "To jest rozszerzenie przykładowe", - "boilerplate-i18n-welcome": "Witamy w lokalizacji pliku rozszerzenia szablonowego BoilerPlate.", - "boilerplate-helloworld": "Witaj świecie!", - "helloworld": "WitajŚwiecie" -} diff --git a/BoilerPlate/i18n/pms.json b/BoilerPlate/i18n/pms.json deleted file mode 100644 index 1087aac..0000000 --- a/BoilerPlate/i18n/pms.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Borichèt", - "Dragonòt" - ] - }, - "boilerplate-desc": "Cost a l'é n'esempi d'estension", - "boilerplate-i18n-welcome": "Bin-ëvnù ant l'archivi ëd localisassion ëd l'estension BoilerPlate." -} diff --git a/BoilerPlate/i18n/ps.json b/BoilerPlate/i18n/ps.json deleted file mode 100644 index 6817e5f..0000000 --- a/BoilerPlate/i18n/ps.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ahmed-Najib-Biabani-Ibrahimkhel" - ] - }, - "boilerplate-helloworld": "سلامونه نړۍ!", - "helloworld": "سلامونه نړۍ" -} diff --git a/BoilerPlate/i18n/pt-br.json b/BoilerPlate/i18n/pt-br.json deleted file mode 100644 index 83d11e9..0000000 --- a/BoilerPlate/i18n/pt-br.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Cainamarques" - ] - }, - "boilerplate-desc": "Esta é uma extensão exemplificativa", - "boilerplate-i18n-welcome": "Bem-vindo(a) ao arquivo de localização da extensão BoilerPlate." -} diff --git a/BoilerPlate/i18n/pt.json b/BoilerPlate/i18n/pt.json deleted file mode 100644 index d589564..0000000 --- a/BoilerPlate/i18n/pt.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Hamilton Abreu", - "Vitorvicentevalente" - ] - }, - "boilerplate-desc": "Esta é uma extensão exemplificativa", - "boilerplate-i18n-welcome": "Bem-vindo(a) ao ficheiro de localização da extensão exemplificativa BoilerPlate.", - "boilerplate-helloworld": "Olá mundo!", - "boilerplate-helloworld-intro": "Bem-vindo(a) à página especial \"Olá mundo\" da extensão BoilerPlate.", - "helloworld": "Olá mundo" -} diff --git a/BoilerPlate/i18n/qqq.json b/BoilerPlate/i18n/qqq.json deleted file mode 100644 index 5a40c26..0000000 --- a/BoilerPlate/i18n/qqq.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Shirayuki", - "Umherirrender", - "Amire80", - "Fhocutt" - ] - }, - "boilerplate-desc": "{{desc|name=Boilerplate|url=https://www.mediawiki.org/wiki/Extension:Boilerplate}}", - "boilerplate-i18n-welcome": "Used to greet the user when reading the i18n/??.json file.", - "boilerplate-helloworld": "Page title of the HelloWorld special page.", - "boilerplate-helloworld-intro": "Text displayed on the HelloWorld SpecialPage.", - "helloworld": "Text of the link to the HelloWorld special page on SpecialPages." -} diff --git a/BoilerPlate/i18n/roa-tara.json b/BoilerPlate/i18n/roa-tara.json deleted file mode 100644 index 22efbd1..0000000 --- a/BoilerPlate/i18n/roa-tara.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Joetaras" - ] - }, - "boilerplate-desc": "Queste jè 'n'estenzione de esembie", - "boilerplate-i18n-welcome": "Bovègne jndr'à 'u file de localizzazzione de l'estenzione BoilerPlate.", - "boilerplate-helloworld": "Cià munne!", - "helloworld": "Cià munne" -} diff --git a/BoilerPlate/i18n/ru.json b/BoilerPlate/i18n/ru.json deleted file mode 100644 index 7c77c4b..0000000 --- a/BoilerPlate/i18n/ru.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "DCamer" - ] - }, - "boilerplate-desc": "Это пример расширения", - "boilerplate-i18n-welcome": "Добро пожаловать в файл локализации расширения BoilerPlate." -} diff --git a/BoilerPlate/i18n/si.json b/BoilerPlate/i18n/si.json deleted file mode 100644 index 9dc7d25..0000000 --- a/BoilerPlate/i18n/si.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "පසිඳු කාවින්ද" - ] - }, - "boilerplate-desc": "මෙය නිදර්ශන විස්තිර්ණයකි" -} diff --git a/BoilerPlate/i18n/sv.json b/BoilerPlate/i18n/sv.json deleted file mode 100644 index d2e6a9f..0000000 --- a/BoilerPlate/i18n/sv.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Jopparn", - "LittleGun", - "Rockyfelle" - ] - }, - "boilerplate-desc": "Detta är ett exempel-tillägg", - "boilerplate-i18n-welcome": "Välkommen till BoilerPlate-tilläggets lokaliseringsfil.", - "boilerplate-helloworld": "Hello world!", - "helloworld": "Hej världen" -} diff --git a/BoilerPlate/i18n/ta.json b/BoilerPlate/i18n/ta.json deleted file mode 100644 index cccf43b..0000000 --- a/BoilerPlate/i18n/ta.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Karthi.dr" - ] - }, - "boilerplate-desc": "இது ஓர் எடுத்துக்காட்டு நீட்சி" -} diff --git a/BoilerPlate/i18n/te.json b/BoilerPlate/i18n/te.json deleted file mode 100644 index 9b91f75..0000000 --- a/BoilerPlate/i18n/te.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Chaduvari", - "Ravichandra" - ] - }, - "boilerplate-desc": "ఇది ఒక నమూనా పొడిగింత", - "boilerplate-i18n-welcome": "బాయిలర్ ప్లేట్ పొడిగింత ప్రాంతీకరణ దస్త్రానికి స్వాగతం." -} diff --git a/BoilerPlate/i18n/tl.json b/BoilerPlate/i18n/tl.json deleted file mode 100644 index c6b06e9..0000000 --- a/BoilerPlate/i18n/tl.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@metadata": { - "authors": [ - "AnakngAraw", - "Jojit fb" - ] - }, - "boilerplate-desc": "Isa itong halimbawang dugtong", - "boilerplate-i18n-welcome": "Maligayang pagdating sa talaksan ng lokalisasyon ng dugtong na Platong Pakuluan.", - "helloworld": "Kumusta ka daigdig" -} diff --git a/BoilerPlate/i18n/uk.json b/BoilerPlate/i18n/uk.json deleted file mode 100644 index 009706c..0000000 --- a/BoilerPlate/i18n/uk.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Base" - ] - }, - "boilerplate-desc": "Це приклад розширення", - "boilerplate-i18n-welcome": "Ласкаво просимо до файлу локалізації розширення BoilerPlate extension." -} diff --git a/BoilerPlate/i18n/yi.json b/BoilerPlate/i18n/yi.json deleted file mode 100644 index 0c03b0c..0000000 --- a/BoilerPlate/i18n/yi.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "פוילישער" - ] - }, - "boilerplate-desc": "דאס איז א ביישפיל פארברייטערונג", - "boilerplate-i18n-welcome": "ברוך הבא צו דער לאקאליזירונג־טעקע פון דער BoilerPlate פארברייטערונג." -} diff --git a/BoilerPlate/i18n/zh-hans.json b/BoilerPlate/i18n/zh-hans.json deleted file mode 100644 index c2ede66..0000000 --- a/BoilerPlate/i18n/zh-hans.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Hydra", - "Hudafu", - "Liuxinyu970226" - ] - }, - "boilerplate-desc": "这是一个示例扩展程序", - "boilerplate-i18n-welcome": "欢迎来到BoilerPlate扩展程序的本地化文件。", - "boilerplate-helloworld": "您好世界!", - "boilerplate-helloworld-intro": "欢迎来到BoilerPlate扩展的“您好世界”特殊页面。", - "helloworld": "您好世界" -} diff --git a/BoilerPlate/i18n/zh-hant.json b/BoilerPlate/i18n/zh-hant.json deleted file mode 100644 index 4b32f2c..0000000 --- a/BoilerPlate/i18n/zh-hant.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Kevinhksouth", - "Simon Shek" - ] - }, - "boilerplate-desc": "這是一個示例擴展", - "boilerplate-i18n-welcome": "歡迎使用 BoilerPlate 擴充套件的本地語系檔案。" -} diff --git a/BoilerPlate/modules/ext.BoilerPlate.foo.css b/BoilerPlate/modules/ext.BoilerPlate.foo.css deleted file mode 100644 index 5c48759..0000000 --- a/BoilerPlate/modules/ext.BoilerPlate.foo.css +++ /dev/null @@ -1,3 +0,0 @@ -.mw-boilerplate-foo { - float: left; -} diff --git a/BoilerPlate/modules/ext.BoilerPlate.foo.js b/BoilerPlate/modules/ext.BoilerPlate.foo.js deleted file mode 100644 index 8081346..0000000 --- a/BoilerPlate/modules/ext.BoilerPlate.foo.js +++ /dev/null @@ -1,37 +0,0 @@ -( function () { - var x; - - function iffify( y ) { - return y + x; - } - - /** - * @class mw.boilerPlate.Foo - * - * @constructor - */ - function Foo() { - } - - /** - * @static - * @param {string} a - * @param {number} b - * @return {boolean} - */ - Foo.create = function ( a, b ) { - return new Foo( iffify( a + b ) ).connect(); - }; - - Foo.prototype = { - - /** - * Establish connection to the server - */ - connect: function () { - } - }; - - mw.boilerPlate.Foo = Foo; - -}() ); diff --git a/BoilerPlate/modules/ext.BoilerPlate.js b/BoilerPlate/modules/ext.BoilerPlate.js deleted file mode 100644 index 40bc4a0..0000000 --- a/BoilerPlate/modules/ext.BoilerPlate.js +++ /dev/null @@ -1,10 +0,0 @@ -( function () { - - /** - * @class mw.boilerPlate - * @singleton - */ - mw.boilerPlate = { - }; - -}() ); diff --git a/BoilerPlate/package.json b/BoilerPlate/package.json deleted file mode 100644 index a1bfe51..0000000 --- a/BoilerPlate/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "boilerplate", - "version": "0.0.0", - "scripts": { - "test": "grunt test" - }, - "devDependencies": { - "grunt": "0.4.5", - "grunt-banana-checker": "0.2.0", - "grunt-contrib-jshint": "0.10.0", - "grunt-jscs": "1.8.0" - } -} diff --git a/BoilerPlate/specials/SpecialHelloWorld.php b/BoilerPlate/specials/SpecialHelloWorld.php deleted file mode 100644 index 304dd90..0000000 --- a/BoilerPlate/specials/SpecialHelloWorld.php +++ /dev/null @@ -1,33 +0,0 @@ -<?php -/** - * HelloWorld SpecialPage for BoilerPlate extension - * - * @file - * @ingroup Extensions - */ - -class SpecialHelloWorld extends SpecialPage { - public function __construct() { - parent::__construct( 'HelloWorld' ); - } - - /** - * Show the page to the user - * - * @param string $sub The subpage string argument (if any). - * [[Special:HelloWorld/subpage]]. - */ - public function execute( $sub ) { - $out = $this->getOutput(); - - $out->setPageTitle( $this->msg( 'boilerplate-helloworld' ) ); - - $out->addHelpLink( 'How to become a MediaWiki hacker' ); - - $out->addWikiMsg( 'boilerplate-helloworld-intro' ); - } - - protected function getGroupName() { - return 'other'; - } -} diff --git a/Example/Example.php b/Example/Example.php index 8dd18f8..4d35a95 100644 --- a/Example/Example.php +++ b/Example/Example.php @@ -1,6 +1,6 @@ <?php /** - * Example extension - based on the BoilerPlate + * Example extension - based on the stripped-down extensions/BoilerPlate * * For more info see mediawiki.org/wiki/Extension:Example * -- To view, visit https://gerrit.wikimedia.org/r/226262 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3be7b845e8c03d03e5f1dc8cb20856c44263aa88 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/examples Gerrit-Branch: master Gerrit-Owner: Spage <sp...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits