Umherirrender has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/389524 )
Change subject: Archive the WikiShare extension ...................................................................... Archive the WikiShare extension Empty the repo to avoid search results on old code. Bug: T178771 Change-Id: I7bd112f815670f47e6a51e9e4af221b9c5c90eb1 --- A ARCHIVED D CODE_OF_CONDUCT.md D Gruntfile.js D RELEASE NOTES D WikiShare.body.php D WikiShare.i18n.php D WikiShare.php D i18n/ast.json D i18n/be-tarask.json D i18n/bg.json D i18n/bn.json D i18n/de.json D i18n/en.json D i18n/es.json D i18n/eu.json D i18n/fr.json D i18n/gl.json D i18n/id.json D i18n/it.json D i18n/ja.json D i18n/ka.json D i18n/ko.json D i18n/lb.json D i18n/lt.json D i18n/mk.json D i18n/nb.json D i18n/nl.json D i18n/pt.json D i18n/qqq.json D i18n/roa-tara.json D i18n/ru.json D i18n/sd.json D i18n/sr-ec.json D i18n/sv.json D i18n/te.json D i18n/uk.json D i18n/zh-hans.json D i18n/zh-hant.json D package.json D resources/wikiShare.css 40 files changed, 2 insertions(+), 692 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiShare refs/changes/24/389524/1 diff --git a/ARCHIVED b/ARCHIVED new file mode 100644 index 0000000..9e497d9 --- /dev/null +++ b/ARCHIVED @@ -0,0 +1,2 @@ +This extension is unmaintained and has been archived. +See <https://phabricator.wikimedia.org/T178771> for more information. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index d8e5d08..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1 +0,0 @@ -The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Code_of_Conduct). diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index a45071e..0000000 --- a/Gruntfile.js +++ /dev/null @@ -1,21 +0,0 @@ -/*jshint node:true */ -module.exports = function ( grunt ) { - grunt.loadNpmTasks( 'grunt-jsonlint' ); - grunt.loadNpmTasks( 'grunt-banana-checker' ); - - grunt.initConfig( { - banana: { - all: 'i18n/' - }, - jsonlint: { - all: [ - '**/*.json', - '!node_modules/**', - '!vendor/**' - ] - } - } ); - - grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] ); - grunt.registerTask( 'default', 'test' ); -}; diff --git a/RELEASE NOTES b/RELEASE NOTES deleted file mode 100644 index 1cd6abe..0000000 --- a/RELEASE NOTES +++ /dev/null @@ -1,2 +0,0 @@ -For the latest release notes, please see: -https://www.mediawiki.org/wiki/Extension:WikiShare#Release_notes \ No newline at end of file diff --git a/WikiShare.body.php b/WikiShare.body.php deleted file mode 100644 index 7f0daf6..0000000 --- a/WikiShare.body.php +++ /dev/null @@ -1,137 +0,0 @@ -<?php -if (!defined('MEDIAWIKI')) die(); -/** - * Class file for the WikiShare extension - * - * @addtogroup Extensions - * @license GPL - */ -class WikiShare { - - /** - * Register parser hook - * - * @param $parser Parser - * @return bool - */ - public static function WikiShareHeaderTag( &$parser ) { - $parser->setHook( 'wikishare', __CLASS__.'::parserHook' ); - return true; - } - - /** - * Parser hook for the <wikishare /> tag extension. - * - * @param $parser - * @return string - */ - static function parserHook( $parser ) { - global $wgWikiShare, $wgWikiSharepubid, $wgWikiShareHServ, $wgWikiShareBackground, $wgWikiShareBorder; - - # Load css stylesheet - $wgOut->addModuleStyles( 'ext.wikiShare.main' ); - - # Output WikiShare widget - $output ='<!-- WikiShare Button BEGIN --> - <div id="wikisharetoolbar" style="background:'.$wgWikiShareBackground.'; border-color:'.$wgWikiShareBorder.';">'; - - $output .= self::makeLinks( $wgWikiShareHServ ); - - $output .='</div>'; - - return $output; - } - -/** - * Function to setup article URL and title for service URLs - * - * @param $article - * @return bool - */ - - - - /** - * Function for article header toolbar - * - * @param $article Article - * @param $outputDone - * @param $pcache - * @return bool|bool - */ - public static function WikiShareHeader( &$article, &$outputDone, &$pcache ) { - global $wgOut, $wgWikiShare, $wgWikiShareHeader, $wgWikiShareMain, - $wgWikiShareHServ, $wgWikiShareBackground, $wgWikiShareBorder; - - # Check if page is in content namespace and the setting to enable/disable article header tooblar either on the main page or at all - if ( !MWNamespace::isContent( $article->getTitle()->getNamespace() ) - || !$wgWikiShareHeader - || ( $article->getTitle()->equals( Title::newMainPage() ) && !$wgWikiShareMain ) - ) { - return true; - } - - # Load css stylesheet - $wgOut->addModuleStyles( 'ext.wikiShare.main' ); - - # Output WikiShare widget - $wgOut->addHTML('<!-- WikiShare Button BEGIN --> - <div id="wikisharetoolbar" style="background:'.$wgWikiShareBackground.'; border-color:'.$wgWikiShareBorder.';">'); - - $wgOut->addHTML( self::makeLinks( $wgWikiShareHServ ) ); - - $wgOut->addHTML('</div>'); - - return true; - } - - /** - * Function for sidebar portlet - * - * @param $skin - * @param $bar - * @return bool|array|bool - */ - public static function WikiShareSidebar( $skin, &$bar ) { - global $wgOut, $wgWikiShare, $wgWikiShareSidebar, $wgWikiShareSBServ; - - # Check setting to enable/disable sidebar portlet - if ( !$wgWikiShareSidebar ) { - return true; - } - - # Localisation for "Share" - $share = wfMessage( 'wikishare-share' )->escaped(); - - # Load css stylesheet - $wgOut->addModuleStyles( 'ext.wikiShare.main' ); - - # Output WikiShare widget - $bar['wikishare-share'] = '<!-- WikiShare Button BEGIN --> - <div id="wikisharesidebar">'; - - $bar['wikishare-share'] .= self::makeLinks( $wgWikiShareSBServ ); - - $bar['wikishare-share'] .= '</div>'; - - return true; - } - - /** - * Converts an array definition of links into HTML tags - * - * @param $links array - * @return string - */ - protected static function makeLinks( $links ) { - global $wgOut; - $articlefullurl = urlencode( $wgOut->getTitle()->getFullURL() ); - - $html = ''; - foreach ( $links as $link ) { - $html .= '<a class="wikishare_button wikishare_button_' . $link['service'] . '" href="' . $link['url'] . '' . $articlefullurl .'" title="Share on ' . $link['service'] . '"><img alt="Share on ' . $link['service'] . '" src="' . $link['image'] . '"></a>'; - } - - return $html; - } -} \ No newline at end of file diff --git a/WikiShare.i18n.php b/WikiShare.i18n.php deleted file mode 100644 index 944c075..0000000 --- a/WikiShare.i18n.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/** - * This is a backwards-compatibility shim, generated by: - * https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php - * - * Beginning with MediaWiki 1.23, translation strings are stored in json files, - * and the EXTENSION.i18n.php file only exists to provide compatibility with - * older releases of MediaWiki. For more information about this migration, see: - * https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format - * - * This shim maintains compatibility back to MediaWiki 1.17. - */ -$messages = array(); -if ( !function_exists( 'wfJsonI18nShimc20d1ea799f4e473' ) ) { - function wfJsonI18nShimc20d1ea799f4e473( $cache, $code, &$cachedData ) { - $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); - foreach ( $codeSequence as $csCode ) { - $fileName = dirname( __FILE__ ) . "/i18n/$csCode.json"; - if ( is_readable( $fileName ) ) { - $data = FormatJson::decode( file_get_contents( $fileName ), true ); - foreach ( array_keys( $data ) as $key ) { - if ( $key === '' || $key[0] === '@' ) { - unset( $data[$key] ); - } - } - $cachedData['messages'] = array_merge( $data, $cachedData['messages'] ); - } - - $cachedData['deps'][] = new FileDependency( $fileName ); - } - return true; - } - - $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 'wfJsonI18nShimc20d1ea799f4e473'; -} diff --git a/WikiShare.php b/WikiShare.php deleted file mode 100644 index e6aebf5..0000000 --- a/WikiShare.php +++ /dev/null @@ -1,184 +0,0 @@ -<?php -/** - * MediaWiki extension to add customizable social media share links to wiki pages and sidebar. - * Installation instructions can be found on - * https://www.mediawiki.org/wiki/Extension:WikiShare - * - * @addtogroup Extensions - * @author Gregory Varnum (User:Varnent) - * @license GPL - * - * Thank you to everyone who has helped with contributing ideas and cleaning up code. - * - * NOTE: THIS EXTENSION IS STILL IN VERY EARLY STAGES OF DEVELOPMENT AND NOT RECOMMENDED FOR USAGE YET. - * - */ - -/** - * Exit if called outside of MediaWiki - */ -if( !defined( 'MEDIAWIKI' ) ) { - echo( "This file is an extension to the MediaWiki software and cannot be used standalone.\n" ); - die( 1 ); -} - - -/** - * SETTINGS - * -------- - * The following variables may be reset in your LocalSettings.php file. - * - * $wgWikiShareBackground - * - Background color for WikiShare toolbox displayed in article header - * Default is #f6f6f6 - * $wgWikiShareBorder - * - Border color for WikiShare toolbox displayed in article header - * Default is #a7d7f9 - * $wgWikiShareSidebar - * - Display WikiShare widget as sidebar portlet - * Default is true - * $wgWikiShareHeader - * - Display WikiShare widget in article headers - * Default is true - * $wgWikiShareMain - * - Display WikiShare widget on main page - * Default is true - * $wgWikiShareSBServ[0]['service'] - * - Service name - * Default is Facebook - */ - -# Default values for most options -$wgWikiShareBackground = '#f6f6f6'; -$wgWikiShareBorder = '#a7d7f9'; -$wgWikiShareSidebar = true; -$wgWikiShareHeader = true; -$wgWikiShareMain = true; -$wgWikiShare = array( - 'addressbarsharing' => false, -); - -# Sidebar settings -$wgWikiShareSBServ = array( - array( - 'service' => 'Facebook', - 'url' => 'http://www.facebook.com/sharer.php?u=', - 'image' => 'https://upload.wikimedia.org/wikinews/en/5/55/Facebook.png', - ), - array( - 'service' => 'Twitter', - 'url' => 'http://twitter.com/?status=Look%20what%20I%20found:%20', - 'image' => 'https://upload.wikimedia.org/wikinews/en/f/f7/Twitter.png', - ), - array( - 'service' => 'Google+', - 'url' => 'https://plus.google.com/share?url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/4/42/Google%2B_icon_red.png', - ), - array( - 'service' => 'LinkedIn', - 'url' => 'http://www.linkedin.com/shareArticle?mini=true&url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Linkedin.svg/16px-Linkedin.svg.png', - ), - array( - 'service' => 'Digg', - 'url' => 'http://digg.com/submit?url=', - 'image' => 'https://upload.wikimedia.org/wikinews/en/9/95/Digg-icon.png', - ), - array( - 'service' => 'delicious', - 'url' => 'http://delicious.com/post?url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Delicious.svg/16px-Delicious.svg.png', - ), - array( - 'service' => 'reddit', - 'url' => 'http://reddit.com/submit?url=', - 'image' => 'https://upload.wikimedia.org/wikinews/en/1/10/Reddit.png', - ), - array( - 'service' => 'StumbleUpon', - 'url' => 'http://stumbleupon.com/submit?url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/StumbleUpon_logo.png/16px-StumbleUpon_logo.png', - ), -); - -# Toolbar settings -$wgWikiShareHServ = array( - array( - 'service' => 'Facebook', - 'url' => 'http://www.facebook.com/sharer.php?u=', - 'image' => 'https://upload.wikimedia.org/wikinews/en/5/55/Facebook.png', - ), - array( - 'service' => 'Twitter', - 'url' => 'http://twitter.com/?status=Look%20what%20I%20found:%20', - 'image' => 'https://upload.wikimedia.org/wikinews/en/f/f7/Twitter.png', - ), - array( - 'service' => 'Google+', - 'url' => 'https://plus.google.com/share?url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/4/42/Google%2B_icon_red.png', - ), - array( - 'service' => 'LinkedIn', - 'url' => 'http://www.linkedin.com/shareArticle?mini=true&url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Linkedin.svg/16px-Linkedin.svg.png', - ), - array( - 'service' => 'Digg', - 'url' => 'http://digg.com/submit?url=', - 'image' => 'https://upload.wikimedia.org/wikinews/en/9/95/Digg-icon.png', - ), - array( - 'service' => 'delicious', - 'url' => 'http://delicious.com/post?url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Delicious.svg/16px-Delicious.svg.png', - ), - array( - 'service' => 'reddit', - 'url' => 'http://reddit.com/submit?url=', - 'image' => 'https://upload.wikimedia.org/wikinews/en/1/10/Reddit.png', - ), - array( - 'service' => 'StumbleUpon', - 'url' => 'http://stumbleupon.com/submit?url=', - 'image' => 'https://upload.wikimedia.org/wikipedia/commons/thumb/3/34/StumbleUpon_logo.png/16px-StumbleUpon_logo.png', - ), -); - -/** - * Credits - * - */ -$wgExtensionCredits['other'][] = array( - 'path' => __FILE__, - 'name' => 'WikiShare', - 'version' => 'Alpha 0.1a20150624', - 'author' => '[https://www.mediawiki.org/wiki/User:Varnent Gregory Varnum]', - 'descriptionmsg' => 'wikishare-desc', - 'url' => 'https://www.mediawiki.org/wiki/Extension:WikiShare', -); - -/** - * Register class and localisations - * - */ -$dir = dirname(__FILE__) . '/'; -$wgAutoloadClasses['WikiShare'] = $dir . 'WikiShare.body.php'; -$wgMessagesDirs['WikiShare'] = __DIR__ . '/i18n'; -$wgExtensionMessagesFiles['WikiShare'] = $dir . 'WikiShare.i18n.php'; - -$wgResourceModules['ext.wikiShare.main'] = array( - 'localBasePath' => __DIR__, - 'remoteExtPath' => 'WikiShare', - - 'styles' => 'resources/wikiShare.css', -); - -/** - * Hooks - * - */ -$wgHooks['ArticleViewHeader'][] = 'WikiShare::WikiShareHeader'; -$wgHooks['ParserFirstCallInit'][] = 'WikiShare::WikiShareHeaderTag'; -$wgHooks['SkinBuildSidebar'][] = 'WikiShare::WikiShareSidebar'; diff --git a/i18n/ast.json b/i18n/ast.json deleted file mode 100644 index 2f7fce7..0000000 --- a/i18n/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Xuacu" - ] - }, - "wikishare-share": "Compartir", - "wikishare-desc": "Amiesta enllaces personalizables pa compartir en redes sociales a la barra llateral y amuesa una barra de ferramientes nes testeres de les páxines que pueden reproducise'n cualquier sitiu inxertando la etiqueta <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json deleted file mode 100644 index a3704ca..0000000 --- a/i18n/be-tarask.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Red Winged Duck" - ] - }, - "wikishare-share": "Падзяліцца", - "wikishare-desc": "Дадае спасылкі на сацыяльныя мэдыя ў бакавую панэль і паказвае панэль інструмэнтаў у загалоўку старонкі, якая можа быць паўтораная ў любым месцы з дапамогай тэгу <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/bg.json b/i18n/bg.json deleted file mode 100644 index c76aae8..0000000 --- a/i18n/bg.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "StanProg" - ] - }, - "wikishare-share": "Споделяне" -} diff --git a/i18n/bn.json b/i18n/bn.json deleted file mode 100644 index a0022e6..0000000 --- a/i18n/bn.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Elias Ahmmad" - ] - }, - "wikishare-share": "শেয়ার" -} diff --git a/i18n/de.json b/i18n/de.json deleted file mode 100644 index 73e78b7..0000000 --- a/i18n/de.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Metalhead64" - ] - }, - "wikishare-share": "Teilen", - "wikishare-desc": "Ergänzt anpassbare Teilen-Links für soziale Medien auf der Seitenleiste und zeigt im Kopfbereich von Seiten eine Werkzeugleiste an, die überall durch das Einfügen des Tags <nowiki><wikishare /></nowiki> reproduziert werden kann." -} diff --git a/i18n/en.json b/i18n/en.json deleted file mode 100644 index 205a1b3..0000000 --- a/i18n/en.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Gregory Varnum" - ] - }, - "wikishare-share": "Share", - "wikishare-desc": "Adds customizable social media share links to the sidebar and displays a toolbar on page headers which can be reproduced anywhere by inserting the <nowiki><wikishare /></nowiki> tag" -} \ No newline at end of file diff --git a/i18n/es.json b/i18n/es.json deleted file mode 100644 index 7fc9ccc..0000000 --- a/i18n/es.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Macofe" - ] - }, - "wikishare-share": "Compartir" -} diff --git a/i18n/eu.json b/i18n/eu.json deleted file mode 100644 index d199b10..0000000 --- a/i18n/eu.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Subi" - ] - }, - "wikishare-share": "Partekatu" -} diff --git a/i18n/fr.json b/i18n/fr.json deleted file mode 100644 index 64030c6..0000000 --- a/i18n/fr.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Gomoko" - ] - }, - "wikishare-share": "Partager", - "wikishare-desc": "Ajoute des liens de partage de média sociaux personnalisables à la barre latérale et affiche une barre d’outil dans les entêtes de la page, qui peut être reproduite n’importe où en insérant la balise <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/gl.json b/i18n/gl.json deleted file mode 100644 index 4170e43..0000000 --- a/i18n/gl.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Banjo" - ] - }, - "wikishare-share": "Compartir" -} diff --git a/i18n/id.json b/i18n/id.json deleted file mode 100644 index 2d487f2..0000000 --- a/i18n/id.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Hidayatsrf" - ] - }, - "wikishare-share": "Bagikan" -} diff --git a/i18n/it.json b/i18n/it.json deleted file mode 100644 index 87b5696..0000000 --- a/i18n/it.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Beta16" - ] - }, - "wikishare-share": "Condividi" -} diff --git a/i18n/ja.json b/i18n/ja.json deleted file mode 100644 index df0de33..0000000 --- a/i18n/ja.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Otokoume" - ] - }, - "wikishare-share": "共有", - "wikishare-desc": "サイドバーにカスタマイズ可能なソーシャルメディアの共有リンクを追加する。<nowiki><wikishare /></nowiki> タグを使うことで、ページヘッダーにツールバーを表示させることができる" -} diff --git a/i18n/ka.json b/i18n/ka.json deleted file mode 100644 index cd50d87..0000000 --- a/i18n/ka.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "MIKHEIL" - ] - }, - "wikishare-share": "გაზიარება" -} diff --git a/i18n/ko.json b/i18n/ko.json deleted file mode 100644 index 0cce18c..0000000 --- a/i18n/ko.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Kwj2772" - ] - }, - "wikishare-share": "공유" -} diff --git a/i18n/lb.json b/i18n/lb.json deleted file mode 100644 index 957a90e..0000000 --- a/i18n/lb.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Robby" - ] - }, - "wikishare-share": "Deelen" -} diff --git a/i18n/lt.json b/i18n/lt.json deleted file mode 100644 index 8408137..0000000 --- a/i18n/lt.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Eitvys200" - ] - }, - "wikishare-share": "Dalintis" -} diff --git a/i18n/mk.json b/i18n/mk.json deleted file mode 100644 index 48212b7..0000000 --- a/i18n/mk.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Bjankuloski06" - ] - }, - "wikishare-share": "Сподели", - "wikishare-desc": "Во страничникот додава прилагодливи врски за споделување на друштвените мрежи и прикажува алатник во заглавието на страниците што може секаде да се повтори со вметнување на ознаката <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/nb.json b/i18n/nb.json deleted file mode 100644 index c890d6c..0000000 --- a/i18n/nb.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Jon Harald Søby" - ] - }, - "wikishare-share": "Del", - "wikishare-desc": "Legger til definerbare delingslenker for sosiale medier i sidemenyen og viser en verktøylinje ved sidetitler som kan reproduseres hvor som helst med taggen <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/nl.json b/i18n/nl.json deleted file mode 100644 index 910272b..0000000 --- a/i18n/nl.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Mainframe98" - ] - }, - "wikishare-share": "Delen" -} diff --git a/i18n/pt.json b/i18n/pt.json deleted file mode 100644 index 4934904..0000000 --- a/i18n/pt.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Hamilton Abreu" - ] - }, - "wikishare-share": "Partilhar", - "wikishare-desc": "Adiciona à barra lateral hiperligações personalizáveis de partilha das redes sociais e mostra uma barra de ferramentas nos cabeçalhos de página que pode ser reproduzida em qualquer lugar inserindo a etiqueta <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/qqq.json b/i18n/qqq.json deleted file mode 100644 index 7db2633..0000000 --- a/i18n/qqq.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Liuxinyu970226" - ] - }, - "wikishare-share": "Link text\n{{Identical|Share}}", - "wikishare-desc": "{{desc|name=WikiShare|url=https://www.mediawiki.org/wiki/Extension:WikiShare}}" -} diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json deleted file mode 100644 index 490d927..0000000 --- a/i18n/roa-tara.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Joetaras" - ] - }, - "wikishare-share": "Condivide", - "wikishare-desc": "Aggiunge le collegaminde a condivisione de le media suggiale personalizzabbile jndr'à barre laterale e face 'ndrucà 'a barre de le struminde sus a le testate d'a pàgene le quale ponne essere reprodotte a ogne vanne sckaffanne 'u tag <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/ru.json b/i18n/ru.json deleted file mode 100644 index 8eb1f44..0000000 --- a/i18n/ru.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Redredsonia" - ] - }, - "wikishare-share": "Поделиться", - "wikishare-desc": "Добавляет настраиваемые ссылки на социальные сети на боковую панель, а также показывает панель инструментов в заголовке статьи. Ее также можно добавить в любое другое место с помощью тега <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/sd.json b/i18n/sd.json deleted file mode 100644 index e556fb2..0000000 --- a/i18n/sd.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Indus Asia" - ] - }, - "wikishare-share": "ونڊيو" -} diff --git a/i18n/sr-ec.json b/i18n/sr-ec.json deleted file mode 100644 index 2fd3019..0000000 --- a/i18n/sr-ec.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Obsuser" - ] - }, - "wikishare-share": "Дели", - "wikishare-desc": "Додавање прилагодљивих веза у сајдбар за дељење на друштвеним мрежама и приказ алатне траке при врху заглавља која се могу репродуцирати било где убацивањем тага <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/sv.json b/i18n/sv.json deleted file mode 100644 index 29ec76f..0000000 --- a/i18n/sv.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "WikiPhoenix" - ] - }, - "wikishare-share": "Dela" -} diff --git a/i18n/te.json b/i18n/te.json deleted file mode 100644 index 184528f..0000000 --- a/i18n/te.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Veeven" - ] - }, - "wikishare-share": "పంచుకోండి" -} diff --git a/i18n/uk.json b/i18n/uk.json deleted file mode 100644 index 3404e80..0000000 --- a/i18n/uk.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Piramidion" - ] - }, - "wikishare-share": "Поділитися", - "wikishare-desc": "Додає на бічну панель налаштовувані посилання для поширення в соцмережах, і відтворює панель інструментів на заголовках сторінок, які можна відтворити будь-те, вставивши тег <nowiki><wikishare /></nowiki>" -} diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json deleted file mode 100644 index b18c320..0000000 --- a/i18n/zh-hans.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Liuxinyu970226" - ] - }, - "wikishare-share": "分享", - "wikishare-desc": "添加定制社交媒体分享链接到侧边栏,并在页眉处显示工具栏,可在任何地方通过插入<nowiki><wikishare /></nowiki>标签来复制" -} diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json deleted file mode 100644 index 12b00d0..0000000 --- a/i18n/zh-hant.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "烈羽" - ] - }, - "wikishare-share": "分享" -} diff --git a/package.json b/package.json deleted file mode 100644 index bcf5b13..0000000 --- a/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "private": true, - "scripts": { - "test": "grunt test" - }, - "devDependencies": { - "grunt": "1.0.1", - "grunt-banana-checker": "0.5.0", - "grunt-jsonlint": "1.1.0" - } -} diff --git a/resources/wikiShare.css b/resources/wikiShare.css deleted file mode 100644 index fd9cbe2..0000000 --- a/resources/wikiShare.css +++ /dev/null @@ -1,38 +0,0 @@ -/** -* Stylesheet for WikiShare extension. -* -* You may modify the CSS code on the MediaWiki:Common.css -* page to adjust padding, alignment, etc. -* -* @addtogroup Extensions -* @license GPL -*/ - -#wikisharetoolbar { - float:right; - padding:5px; - #padding-top:10px; - margin-left:10px; - margin-bottom:10px; - border-style:solid; - border-width:1px; -} - -#wikishareheader { - float:right; - padding:5px; - #padding-top:10px; - margin-left:10px; - margin-bottom:10px; - border-style:solid; - border-width:1px; -} - -.wikishare_button { - padding:3px; -} - -#wikisharesidebar .wikishare_button { - padding:2px; - line-height:25px; -} \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/389524 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7bd112f815670f47e6a51e9e4af221b9c5c90eb1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikiShare Gerrit-Branch: master Gerrit-Owner: Umherirrender <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
