Legoktm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371998 )

Change subject: Archive repositoryy
......................................................................

Archive repositoryy

Change-Id: I23617849bc79fd1af5846e946c9419051e629840
---
D Hooks.php
A OBSOLETE
D README.md
D composer.json
D extension.json
D i18n/de.json
D i18n/en.json
D i18n/es.json
D i18n/fr.json
D i18n/it.json
D i18n/ko.json
D i18n/lb.json
D i18n/mk.json
D i18n/pl.json
D i18n/qqq.json
D i18n/ru.json
D i18n/sv.json
D i18n/zh-hans.json
D phpcs.xml
19 files changed, 1 insertion(+), 238 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MoveToCommonsClient 
refs/changes/98/371998/1

diff --git a/Hooks.php b/Hooks.php
deleted file mode 100644
index 2bfc1e9..0000000
--- a/Hooks.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-namespace MoveToCommonsClient;
-
-use Message;
-use SkinTemplate;
-
-/**
- * @author Addshore
- */
-class MoveToCommonsClientHooks {
-
-       public static function onSkinTemplateNavigation( SkinTemplate 
&$sktemplate, array &$links ) {
-               global $wgMoveToCommonsClientTarget;
-
-               if ( $sktemplate->getTitle()->getNamespace() !== NS_FILE ) {
-                       return;
-               }
-
-               $links['actions']['moveToCommons'] = [
-                       'class' => '',
-                       'text' => Message::newFromKey( 
'movetocommonsclient-text' )->plain(),
-                       'href' => $wgMoveToCommonsClientTarget .
-                               '?clientUrl=' .
-                               urlencode( 
$sktemplate->getRequest()->getFullRequestURL() ),
-               ];
-       }
-
-}
diff --git a/OBSOLETE b/OBSOLETE
new file mode 100644
index 0000000..27130d0
--- /dev/null
+++ b/OBSOLETE
@@ -0,0 +1 @@
+Replaced by the "FileExport" extension.
diff --git a/README.md b/README.md
deleted file mode 100644
index 1e12332..0000000
--- a/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# MoveToCommonsClient extension
diff --git a/composer.json b/composer.json
deleted file mode 100644
index 0107a29..0000000
--- a/composer.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-  "require-dev": {
-    "jakub-onderka/php-parallel-lint": "0.9.2",
-    "mediawiki/mediawiki-codesniffer": "0.7.2"
-  },
-  "scripts": {
-    "test": [
-      "parallel-lint . --exclude vendor",
-      "phpcs -p -s"
-    ]
-  }
-}
\ No newline at end of file
diff --git a/extension.json b/extension.json
deleted file mode 100644
index 13ad102..0000000
--- a/extension.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
-  "name": "MoveToCommonsClient",
-  "version": "0.0.1",
-  "author": [
-    "Addshore"
-  ],
-  "url": "https://www.mediawiki.org/wiki/Extension:MoveToCommonsClient";,
-  "namemsg": "movetocommonsclient",
-  "descriptionmsg": "movetocommonsclient-desc",
-  "license-name": "GPL-2.0+",
-  "type": "other",
-  "manifest_version": 1,
-  "MessagesDirs": {
-    "MoveToCommonsClient": [
-      "i18n"
-    ]
-  },
-  "config" : {
-    "MoveToCommonsClientTarget" : 
"https://commons.wikimedia.org/wiki/Special:MoveToCommons";
-  },
-  "Hooks": {
-    "SkinTemplateNavigation": [
-      "MoveToCommonsClient\\MoveToCommonsClientHooks::onSkinTemplateNavigation"
-    ]
-  },
-  "AutoloadClasses": {
-    "MoveToCommonsClient\\MoveToCommonsClientHooks": "Hooks.php"
-  }
-}
\ No newline at end of file
diff --git a/i18n/de.json b/i18n/de.json
deleted file mode 100644
index 73af4f5..0000000
--- a/i18n/de.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Metalhead64"
-               ]
-       },
-       "movetocommonsclient": "MoveToCommonsClient",
-       "movetocommonsclient-desc": "Einfaches Verschieben von Dateien nach 
Wikimedia Commons",
-       "movetocommonsclient-text": "Nach Wikimedia Commons verschieben"
-}
diff --git a/i18n/en.json b/i18n/en.json
deleted file mode 100644
index 9e75810..0000000
--- a/i18n/en.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-  "@metadata": {
-    "authors": [
-      "WMDE"
-    ]
-  },
-  "movetocommonsclient": "MoveToCommonsClient",
-  "movetocommonsclient-desc": "Easy moving of files to Wikimedia Commons",
-  "movetocommonsclient-text": "Move to Wikimedia Commons"
-}
\ No newline at end of file
diff --git a/i18n/es.json b/i18n/es.json
deleted file mode 100644
index 87560a6..0000000
--- a/i18n/es.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Macofe"
-               ]
-       },
-       "movetocommonsclient-desc": "Trasladar fácilmente archivos a Wikimedia 
Commons",
-       "movetocommonsclient-text": "Trasladar a Wikimedia Commons"
-}
diff --git a/i18n/fr.json b/i18n/fr.json
deleted file mode 100644
index 5d8e9a9..0000000
--- a/i18n/fr.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Gomoko"
-               ]
-       },
-       "movetocommonsclient": "MoveToCommonsClient",
-       "movetocommonsclient-desc": "Déplacement facile de fichiers vers 
Wikimédia Communs",
-       "movetocommonsclient-text": "Déplacer vers Wikimédia Communs"
-}
diff --git a/i18n/it.json b/i18n/it.json
deleted file mode 100644
index 9cb184d..0000000
--- a/i18n/it.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Beta16"
-               ]
-       },
-       "movetocommonsclient-text": "Sposta su Wikimedia Commons"
-}
diff --git a/i18n/ko.json b/i18n/ko.json
deleted file mode 100644
index 0123b64..0000000
--- a/i18n/ko.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Ykhwong"
-               ]
-       },
-       "movetocommonsclient": "MoveToCommonsClient",
-       "movetocommonsclient-text": "위키미디어 공용으로 이동"
-}
diff --git a/i18n/lb.json b/i18n/lb.json
deleted file mode 100644
index 2b4401a..0000000
--- a/i18n/lb.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Robby"
-               ]
-       },
-       "movetocommonsclient-text": "Op Wikimedia Commons réckelen"
-}
diff --git a/i18n/mk.json b/i18n/mk.json
deleted file mode 100644
index cc66a5b..0000000
--- a/i18n/mk.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Bjankuloski06"
-               ]
-       },
-       "movetocommonsclient": "Клиент за преместување на Ризницата",
-       "movetocommonsclient-desc": "Лесно преместување на податотеки на 
Ризницата",
-       "movetocommonsclient-text": "Премести на Ризницата"
-}
diff --git a/i18n/pl.json b/i18n/pl.json
deleted file mode 100644
index ace210f..0000000
--- a/i18n/pl.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Chrumps"
-               ]
-       },
-       "movetocommonsclient-text": "Przenieś do Wikimedia Commons"
-}
diff --git a/i18n/qqq.json b/i18n/qqq.json
deleted file mode 100644
index 4810b9c..0000000
--- a/i18n/qqq.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "WMDE"
-               ]
-       },
-       "movetocommonsclient": "MoveToCommonsClient",
-       "movetocommonsclient-desc": 
"{{desc|name=MoveToCommonsClient|url=https://www.mediawiki.org/wiki/Extension:MoveToCommonsClient}}";,
-       "movetocommonsclient-text": "Text to be displayed on a button on a File 
page which will take the user to the page to move a file to Wikimedia Commons."
-}
diff --git a/i18n/ru.json b/i18n/ru.json
deleted file mode 100644
index 24362ed..0000000
--- a/i18n/ru.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Kareyac"
-               ]
-       },
-       "movetocommonsclient-desc": "Простое перемещение файлов на Викисклад"
-}
diff --git a/i18n/sv.json b/i18n/sv.json
deleted file mode 100644
index b521802..0000000
--- a/i18n/sv.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "WikiPhoenix"
-               ]
-       },
-       "movetocommonsclient": "FlyttaTillCommonsklient",
-       "movetocommonsclient-desc": "Flyttar filer till Wikimedia Commons på 
ett enkelt sätt",
-       "movetocommonsclient-text": "Flytta till Wikimedia Commons"
-}
diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json
deleted file mode 100644
index 7876193..0000000
--- a/i18n/zh-hans.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Liuxinyu970226"
-               ]
-       },
-       "movetocommonsclient": "移动到共享资源客户端",
-       "movetocommonsclient-desc": "轻松移动文件到维基共享资源",
-       "movetocommonsclient-text": "移动到维基共享资源"
-}
diff --git a/phpcs.xml b/phpcs.xml
deleted file mode 100644
index 54bacc6..0000000
--- a/phpcs.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0"?>
-<ruleset name="MoveToCommons">
-    <!-- See 
https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/MediaWiki/ruleset.xml
 -->
-    <rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
-        <exclude 
name="MediaWiki.ControlStructures.AssignmentInControlStructures" />
-        <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment" />
-    </rule>
-
-    <rule ref="Generic.Files.InlineHTML" />
-    <rule ref="Generic.Files.OneInterfacePerFile" />
-    <rule ref="Generic.Files.OneTraitPerFile" />
-    <rule ref="Generic.Metrics.CyclomaticComplexity" />
-    <rule ref="Generic.Metrics.NestingLevel" />
-    <rule ref="Generic.PHP.CharacterBeforePHPOpeningTag" />
-
-    <rule ref="PSR1">
-        <exclude name="PSR1.Files.SideEffects" />
-    </rule>
-    <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
-        <!-- Exclude test methods like 
"testGivenInvalidInput_methodThrowsException". -->
-        <exclude-pattern>/tests/phpunit/*Test\.php</exclude-pattern>
-    </rule>
-
-    <rule ref="PSR2.Files" />
-
-    <rule ref="Squiz.Classes.DuplicateProperty" />
-    <rule ref="Squiz.Classes.SelfMemberReference" />
-    <rule ref="Squiz.ControlStructures.ControlSignature" />
-    <rule ref="Squiz.Functions.FunctionDuplicateArgument" />
-    <rule ref="Squiz.Functions.GlobalFunction" />
-    <rule ref="Squiz.Scope" />
-    <rule ref="Squiz.WhiteSpace.FunctionSpacing">
-        <properties>
-            <property name="spacing" value="1" />
-        </properties>
-    </rule>
-    <rule ref="Squiz.WhiteSpace.OperatorSpacing">
-        <properties>
-            <property name="ignoreNewlines" value="true" />
-        </properties>
-    </rule>
-
-    <file>.</file>
-    <arg name="extensions" value="php" />
-    <arg name="encoding" value="utf8" />
-    <exclude-pattern>vendor</exclude-pattern>
-</ruleset>
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/371998
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I23617849bc79fd1af5846e946c9419051e629840
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MoveToCommonsClient
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to