jenkins-bot has submitted this change and it was merged. Change subject: Empty repository, leave stub file (merged into core) ......................................................................
Empty repository, leave stub file (merged into core) This extension is obsolete! It has been replaced by core functionality in the MediaWiki software (which was added in version 1.22). The specific commit is: https://gerrit.wikimedia.org/r/#/c/66137/ Change-Id: Id121fd82c7200e01523673e1a0a6fbc658ce247d --- D PostEdit.i18n.php M PostEdit.php D README D i18n/ast.json D i18n/az.json D i18n/be-tarask.json D i18n/be.json D i18n/bg.json D i18n/bn.json D i18n/br.json D i18n/ca.json D i18n/cs.json D i18n/de-formal.json D i18n/de.json D i18n/dsb.json D i18n/en.json D i18n/eo.json D i18n/es.json D i18n/et.json D i18n/fi.json D i18n/fr.json D i18n/gl.json D i18n/he.json D i18n/hsb.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/mk.json D i18n/ml.json D i18n/ms.json D i18n/nl.json D i18n/pl.json D i18n/pms.json D i18n/pt-br.json D i18n/pt.json D i18n/qqq.json D i18n/roa-tara.json D i18n/si.json D i18n/sv.json D i18n/te.json D i18n/tr.json D i18n/uk.json D i18n/ur.json D i18n/vi.json D i18n/zh-hans.json D i18n/zh-hant.json D resources/ext.postEdit.css D resources/ext.postEdit.js D resources/ext.postEdit.monobook.css D resources/images/gray-bg.png D resources/images/green-checkmark.png 54 files changed, 4 insertions(+), 644 deletions(-) Approvals: Addshore: Looks good to me, approved jenkins-bot: Verified diff --git a/PostEdit.i18n.php b/PostEdit.i18n.php deleted file mode 100644 index bb4d8dc..0000000 --- a/PostEdit.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( 'wfJsonI18nShimf7db671e11aff8a1' ) ) { - function wfJsonI18nShimf7db671e11aff8a1( $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'][] = 'wfJsonI18nShimf7db671e11aff8a1'; -} diff --git a/PostEdit.php b/PostEdit.php index 4bff289..faa0f00 100644 --- a/PostEdit.php +++ b/PostEdit.php @@ -1,50 +1,5 @@ <?php -/** - * PostEdit Extension for MediaWiki. - * - * @file - * @ingroup Extensions - * - * @license GPL v2 or later - */ - -$wgExtensionCredits[ 'other' ][] = array( - 'path' => __FILE__, - 'name' => 'PostEdit', - 'version' => '0.5.0', - 'url' => 'https://www.mediawiki.org/wiki/Extension:PostEdit', - 'author' => array( - 'Munaf Assaf', - 'Ori Livneh', - ), - 'descriptionmsg' => 'postedit-desc' -); - -/* Setup */ - -// Register files -$wgMessagesDirs['PostEdit'] = __DIR__ . '/i18n'; -$wgExtensionMessagesFiles[ 'PostEdit' ] = __DIR__ . '/PostEdit.i18n.php'; - -// Register modules -$wgResourceModules[ 'ext.postEdit' ] = array( - 'scripts' => 'resources/ext.postEdit.js', - 'styles' => 'resources/ext.postEdit.css', - 'skinStyles' => array( - 'monobook' => 'resources/ext.postEdit.monobook.css', - ), - 'dependencies' => 'mediawiki.action.view.postEdit', - 'messages' => array( - 'postedit-confirmation', - ), - 'position' => 'top', - 'localBasePath' => __DIR__, - 'remoteExtPath' => 'PostEdit', -); - -$wgHooks[ 'BeforePageDisplay' ][] = function ( $out ) { - if ( Action::getActionName( $out ) === 'view' ) { - $out->addModules( 'ext.postEdit' ); - } - return true; -}; +// The PostEdit extension has been discontinued and its +// functionality was moved into MediaWiki core in version 1.22. If you +// see this file, you should remove the extension from your MediaWiki +// installation. diff --git a/README b/README deleted file mode 100644 index 3434fb7..0000000 --- a/README +++ /dev/null @@ -1,11 +0,0 @@ -PostEdit -======== - -MediaWiki extension to display a confirmation message upon -successful edit. You can view a mock-up of the UI here: - - https://commons.wikimedia.org/wiki/File:PEF-1-Cropped.png - -To install, add the following to `LocalSettings.php`: - - require_once( "$IP/extensions/PostEdit/PostEdit.php" ); diff --git a/i18n/ast.json b/i18n/ast.json deleted file mode 100644 index 9cd5c54..0000000 --- a/i18n/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Xuacu" - ] - }, - "postedit-desc": "Amuesa una confirmación d'edición correuta", - "postedit-confirmation": "Guardose la edición." -} diff --git a/i18n/az.json b/i18n/az.json deleted file mode 100644 index 31c9aa5..0000000 --- a/i18n/az.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Emperyan" - ] - }, - "postedit-confirmation": "Redaktəniz qeyd edildi." -} diff --git a/i18n/be-tarask.json b/i18n/be-tarask.json deleted file mode 100644 index deed4fd..0000000 --- a/i18n/be-tarask.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Wizardist" - ] - }, - "postedit-desc": "Паказвае пацьвярджэньне па пасьпяховым захаваньні зьменаў", - "postedit-confirmation": "Вашая праўка была захаваная." -} diff --git a/i18n/be.json b/i18n/be.json deleted file mode 100644 index 545b849..0000000 --- a/i18n/be.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Wizardist" - ] - }, - "postedit-desc": "Паказвае пацвярджэнне па паспяховым захаванні зменаў", - "postedit-confirmation": "Вашая праўка была захаваная." -} diff --git a/i18n/bg.json b/i18n/bg.json deleted file mode 100644 index 6a32bf6..0000000 --- a/i18n/bg.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Simona" - ] - }, - "postedit-desc": "Показва потвърждение при успешна редакция", - "postedit-confirmation": "Вашата редакция беше съхранена" -} diff --git a/i18n/bn.json b/i18n/bn.json deleted file mode 100644 index 4108e65..0000000 --- a/i18n/bn.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Leemon2010" - ] - }, - "postedit-confirmation": "আপনার সম্পাদনা সংরক্ষিত হয়েছে।" -} diff --git a/i18n/br.json b/i18n/br.json deleted file mode 100644 index cb6a4f8..0000000 --- a/i18n/br.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Fohanno" - ] - }, - "postedit-confirmation": "Enrollet eo bet ho kemmoù." -} diff --git a/i18n/ca.json b/i18n/ca.json deleted file mode 100644 index aa63dd6..0000000 --- a/i18n/ca.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Vriullop" - ] - }, - "postedit-desc": "Mostra una confirmació de la modificació desada", - "postedit-confirmation": "La modificació ha estat desada." -} diff --git a/i18n/cs.json b/i18n/cs.json deleted file mode 100644 index d219865..0000000 --- a/i18n/cs.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Mormegil" - ] - }, - "postedit-desc": "Po úspěšné editaci zobrazuje potvrzení", - "postedit-confirmation": "Vaše změny byly uloženy." -} diff --git a/i18n/de-formal.json b/i18n/de-formal.json deleted file mode 100644 index e9d6ad7..0000000 --- a/i18n/de-formal.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Kghbln" - ] - }, - "postedit-confirmation": "Ihre Bearbeitung wurde gespeichert." -} diff --git a/i18n/de.json b/i18n/de.json deleted file mode 100644 index e5c7aa8..0000000 --- a/i18n/de.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Kghbln", - "Metalhead64" - ] - }, - "postedit-desc": "Ermöglicht die Anzeige einer Bestätigung nach erfolgreicher Bearbeitung", - "postedit-confirmation": "Deine Bearbeitung wurde gespeichert." -} diff --git a/i18n/dsb.json b/i18n/dsb.json deleted file mode 100644 index c8382df..0000000 --- a/i18n/dsb.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Michawiki" - ] - }, - "postedit-desc": "Wobkšuśenje za wuspěšnu změnu pokazaś", - "postedit-confirmation": "Twója změna jo se składła." -} diff --git a/i18n/en.json b/i18n/en.json deleted file mode 100644 index 3fdb890..0000000 --- a/i18n/en.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ori.livneh" - ] - }, - "postedit-desc": "Shows confirmation on successful edit", - "postedit-confirmation": "Your edit was saved." -} diff --git a/i18n/eo.json b/i18n/eo.json deleted file mode 100644 index 6a8a3d2..0000000 --- a/i18n/eo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Yekrats" - ] - }, - "postedit-desc": "Indikas konfirmadon de sukcesa redakto.", - "postedit-confirmation": "Via redakto estis konservita." -} diff --git a/i18n/es.json b/i18n/es.json deleted file mode 100644 index 32a5f3f..0000000 --- a/i18n/es.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Armando-Martin", - "Vivaelcelta" - ] - }, - "postedit-desc": "Mostrar confirmación de edición exitosa", - "postedit-confirmation": "Se ha guardado tu edición." -} diff --git a/i18n/et.json b/i18n/et.json deleted file mode 100644 index fe5f48d..0000000 --- a/i18n/et.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Avjoska", - "Pikne" - ] - }, - "postedit-desc": "Näitab eduka redigeerimise järel kinnitust.", - "postedit-confirmation": "Sinu muudatus on salvestatud." -} diff --git a/i18n/fi.json b/i18n/fi.json deleted file mode 100644 index 82f538e..0000000 --- a/i18n/fi.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Nike" - ] - }, - "postedit-desc": "Näyttää ilmoituksen muokkauksen jälkeen", - "postedit-confirmation": "Muokkauksesi on tallennettu." -} diff --git a/i18n/fr.json b/i18n/fr.json deleted file mode 100644 index 9a56d5a..0000000 --- a/i18n/fr.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Gomoko", - "Hello71" - ] - }, - "postedit-desc": "Indique de la confirmation de la modification qui a du succès", - "postedit-confirmation": "Votre modification a été sauvegardée." -} diff --git a/i18n/gl.json b/i18n/gl.json deleted file mode 100644 index 7f984a5..0000000 --- a/i18n/gl.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Toliño", - "Vivaelcelta" - ] - }, - "postedit-desc": "Mostra unha confirmación de que se gardou a edición", - "postedit-confirmation": "Gardouse a súa edición." -} diff --git a/i18n/he.json b/i18n/he.json deleted file mode 100644 index c1928e4..0000000 --- a/i18n/he.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Amire80", - "פדיחה" - ] - }, - "postedit-desc": "הצגת הודעה לאישור עריכה מוצלחת", - "postedit-confirmation": "עריכתך נשמרה." -} diff --git a/i18n/hsb.json b/i18n/hsb.json deleted file mode 100644 index 24190b4..0000000 --- a/i18n/hsb.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Michawiki" - ] - }, - "postedit-desc": "Wobkrućenje za wuspěšnu změnu pokazać", - "postedit-confirmation": "Twoja změna je so składowała." -} diff --git a/i18n/id.json b/i18n/id.json deleted file mode 100644 index ca61d35..0000000 --- a/i18n/id.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Anakmalaysia" - ] - }, - "postedit-desc": "Tampilkan konfirmasi sukses suntingan", - "postedit-confirmation": "Suntingan Anda tersimpan." -} diff --git a/i18n/it.json b/i18n/it.json deleted file mode 100644 index bc99233..0000000 --- a/i18n/it.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Beta16" - ] - }, - "postedit-desc": "Mostra una conferma quando modifica è salvata correttamente", - "postedit-confirmation": "La modifica è stata salvata." -} diff --git a/i18n/ja.json b/i18n/ja.json deleted file mode 100644 index 7765242..0000000 --- a/i18n/ja.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Penn Station", - "Shirayuki" - ] - }, - "postedit-desc": "編集の保存に成功したら確認メッセージを表示する", - "postedit-confirmation": "編集を保存しました。" -} diff --git a/i18n/ka.json b/i18n/ka.json deleted file mode 100644 index 6ebf743..0000000 --- a/i18n/ka.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "David1010" - ] - }, - "postedit-confirmation": "თქვენი რედაქტირება შენახულია." -} diff --git a/i18n/ko.json b/i18n/ko.json deleted file mode 100644 index 5f452dd..0000000 --- a/i18n/ko.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "아라" - ] - }, - "postedit-desc": "성공적인 편집에 확인 보기", - "postedit-confirmation": "편집을 저장했습니다." -} diff --git a/i18n/lb.json b/i18n/lb.json deleted file mode 100644 index 2b3fbf1..0000000 --- a/i18n/lb.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Robby" - ] - }, - "postedit-desc": "Confirmatioun weise wann d'Ännerung geklappt huet", - "postedit-confirmation": "Är Ännerung gouf gespäichert." -} diff --git a/i18n/mk.json b/i18n/mk.json deleted file mode 100644 index 5d202f7..0000000 --- a/i18n/mk.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Bjankuloski06" - ] - }, - "postedit-desc": "Прикажува потврда при успешна измена", - "postedit-confirmation": "Вашето уредување е зачувано." -} diff --git a/i18n/ml.json b/i18n/ml.json deleted file mode 100644 index a39eff2..0000000 --- a/i18n/ml.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Vssun" - ] - }, - "postedit-desc": "വിജയകരമായ തിരുത്തുകൾക്ക് സ്ഥിരീകരണം നൽകുന്നു.", - "postedit-confirmation": "താങ്കളുടെ തിരുത്ത് സേവ് ചെയ്തിരിക്കുന്നു." -} diff --git a/i18n/ms.json b/i18n/ms.json deleted file mode 100644 index 7c8cd10..0000000 --- a/i18n/ms.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Anakmalaysia" - ] - }, - "postedit-desc": "Tunjukkan pengesahan apabila suntingan berjaya", - "postedit-confirmation": "Suntingan anda telah disimpan." -} diff --git a/i18n/nl.json b/i18n/nl.json deleted file mode 100644 index a752aa7..0000000 --- a/i18n/nl.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Siebrand" - ] - }, - "postedit-desc": "Geeft bevestiging van een bewerking", - "postedit-confirmation": "Uw bewerking is opgeslagen" -} diff --git a/i18n/pl.json b/i18n/pl.json deleted file mode 100644 index d06850d..0000000 --- a/i18n/pl.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "BeginaFelicysym", - "Matma Rex" - ] - }, - "postedit-desc": "Wyświetla potwierdzenie dokonania edycji", - "postedit-confirmation": "Twoja edycja została zapisana." -} diff --git a/i18n/pms.json b/i18n/pms.json deleted file mode 100644 index a53ed1b..0000000 --- a/i18n/pms.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Borichèt", - "Dragonòt" - ] - }, - "postedit-desc": "A mostra la conferma ëd la modìfica andàita bin", - "postedit-confirmation": "Soa modìfica a l'é stàita salvà!" -} diff --git a/i18n/pt-br.json b/i18n/pt-br.json deleted file mode 100644 index bdf5a07..0000000 --- a/i18n/pt-br.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "555" - ] - }, - "postedit-desc": "Mostra uma mensagem de confirmação em edições bem-sucedidas.", - "postedit-confirmation": "Sua edição foi salva" -} diff --git a/i18n/pt.json b/i18n/pt.json deleted file mode 100644 index a5489b2..0000000 --- a/i18n/pt.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "555" - ] - }, - "postedit-desc": "Mostra uma mensagem de confirmação em edições bem-sucedidas.", - "postedit-confirmation": "Sua edição foi gravada" -} diff --git a/i18n/qqq.json b/i18n/qqq.json deleted file mode 100644 index d7ef4da..0000000 --- a/i18n/qqq.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ori.livneh" - ] - }, - "postedit-desc": "{{desc|name=PostEdit|url=http://www.mediawiki.org/wiki/Extension:PostEdit}}", - "postedit-confirmation": "Confirmation message that is displayed upon successful edit. Parameter $1 is the current user, for GENDER support." -} diff --git a/i18n/roa-tara.json b/i18n/roa-tara.json deleted file mode 100644 index 45eca00..0000000 --- a/i18n/roa-tara.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Joetaras" - ] - }, - "postedit-desc": "Fà vedè 'a conferme de cangiamende sciute bbuène", - "postedit-confirmation": "'U cangiamende tune ha state reggistrate." -} diff --git a/i18n/si.json b/i18n/si.json deleted file mode 100644 index 6d9112f..0000000 --- a/i18n/si.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "පසිඳු කාවින්ද" - ] - }, - "postedit-confirmation": "ඔබගේ සංස්කරණය සුරකින ලදී." -} diff --git a/i18n/sv.json b/i18n/sv.json deleted file mode 100644 index 595bf0c..0000000 --- a/i18n/sv.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Ainali" - ] - }, - "postedit-desc": "Visar bekräftelse på framgångsrik redigering", - "postedit-confirmation": "Din redigering sparades." -} diff --git a/i18n/te.json b/i18n/te.json deleted file mode 100644 index f28ed69..0000000 --- a/i18n/te.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Veeven" - ] - }, - "postedit-confirmation": "మీ మార్పు భద్రమయ్యింది." -} diff --git a/i18n/tr.json b/i18n/tr.json deleted file mode 100644 index ca61e8c..0000000 --- a/i18n/tr.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Emperyan" - ] - }, - "postedit-confirmation": "Değişikliğiniz kaydedildi." -} diff --git a/i18n/uk.json b/i18n/uk.json deleted file mode 100644 index 5f07ad7..0000000 --- a/i18n/uk.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Aced", - "Olvin", - "RLuts", - "Steve.rusyn" - ] - }, - "postedit-desc": "Показує підтвердження успішного редагування", - "postedit-confirmation": "Ваше редагування збережено" -} diff --git a/i18n/ur.json b/i18n/ur.json deleted file mode 100644 index c3c0ba4..0000000 --- a/i18n/ur.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Muhammad Shuaib" - ] - }, - "postedit-desc": "کامیاب ترمیم پر تصدیق دکھائیں", - "postedit-confirmation": "آپ کی ترمیم محفوظ ہوگئی۔" -} diff --git a/i18n/vi.json b/i18n/vi.json deleted file mode 100644 index b790c8c..0000000 --- a/i18n/vi.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Minh Nguyen" - ] - }, - "postedit-desc": "Trình bày lời xác nhận sau khi sửa đổi thành công", - "postedit-confirmation": "Sửa đổi của bạn đã được lưu." -} diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json deleted file mode 100644 index dd3c556..0000000 --- a/i18n/zh-hans.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Hydra", - "Shizhao" - ] - }, - "postedit-desc": "编辑成功时显示确认。", - "postedit-confirmation": "您的编辑已保存。" -} diff --git a/i18n/zh-hant.json b/i18n/zh-hant.json deleted file mode 100644 index caf771c..0000000 --- a/i18n/zh-hant.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@metadata": { - "authors": [ - "Shizhao", - "Simon Shek", - "Waihorace" - ] - }, - "postedit-desc": "編輯成功時顯示確認", - "postedit-confirmation": "您的編輯已儲存。" -} diff --git a/resources/ext.postEdit.css b/resources/ext.postEdit.css deleted file mode 100644 index d035c1e..0000000 --- a/resources/ext.postEdit.css +++ /dev/null @@ -1,77 +0,0 @@ -.postedit-container { - margin: 0 auto; - position: fixed; - top: 0; - height: 0; - left: 50%; - z-index: 1000; -} - -.postedit { - position: relative; - top: 0.6em; - left: -50%; - padding: .6em 3.6em .6em 1.1em; - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; - font-size: 0.8em; - line-height: 1.5625em; - color: #626465; - /* @embed */ - background: #eee url(images/gray-bg.png) repeat-x; - border: 1px solid #dcd9d9; - -webkit-text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5); - -moz-text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5); - text-shadow: 0 0.0625em 0 rgba(255, 255, 255, 0.5); - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: 0 2px 5px 0 #ccc; - -moz-box-shadow: 0 2px 5px 0 #ccc; - box-shadow: 0 2px 5px 0 #ccc; - -webkit-transition: all 0.25s ease-in-out; - -moz-transition: all 0.25s ease-in-out; - -ms-transition: all 0.25s ease-in-out; - -o-transition: all 0.25s ease-in-out; - transition: all 0.25s ease-in-out; -} - -.postedit-faded { - opacity: 0; -} - -.postedit-icon { - padding-left: 41px; /* 25 + 8 + 8 */ - /* like min-height, but old IE compatible and keeps text vertically aligned, too */ - line-height: 25px; - background-repeat: no-repeat; - background-position: 8px 50%; -} - -.postedit-icon-checkmark { - /* @embed */ - background-image: url(images/green-checkmark.png); - background-position: left; -} - -.postedit-close { - position: absolute; - padding: 0 .8em; - right: 0; - top: 0; - font-size: 1.25em; - font-weight: bold; - line-height: 2.3em; - color: black; - text-shadow: 0 0.0625em 0 white; - text-decoration: none; - opacity: 0.2; - filter: alpha(opacity=20); -} - -.postedit-close:hover { - color: black; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} diff --git a/resources/ext.postEdit.js b/resources/ext.postEdit.js deleted file mode 100644 index f366724..0000000 --- a/resources/ext.postEdit.js +++ /dev/null @@ -1,46 +0,0 @@ -/*jshint browser: true */ -/*global mediaWiki, jQuery */ -( function ( mw, $ ) { - 'use strict'; - - var div; - - /** - * @param {jQuery.Event|undefined} e - */ - function removeConfirmation( e ) { - // Triggers CSS3 transition (250ms duration) - div.firstChild.className = 'postedit postedit-faded'; - - setTimeout( function () { - $( div ).remove(); - mw.hook( 'postEdit.afterRemoval' ).fire(); - }, 500 ); - - // Firefox 13 and under pass lateness as the first parameter to a - // setTimeout callback. - if ( e && e.preventDefault ) { - e.preventDefault(); - } - } - - if ( mw.config.get( 'wgPostEdit' ) ) { - div = document.createElement( 'div' ); - div.className = 'postedit-container'; - div.innerHTML = - '<div class="postedit">' + - '<div class="postedit-icon postedit-icon-checkmark">' + - mw.message( 'postedit-confirmation', mw.user ).escaped() + - '</div>' + - // TODO: Perhaps add a title attribute for accessibility - '<a href="#" class="postedit-close">×</a>' + - '</div>'; - - $( document ).ready( function () { - $( div ).find( '.postedit-close' ).click( removeConfirmation ); - $( 'body' ).prepend( div ); - setTimeout( removeConfirmation, 3000 ); - } ); - } - -}( mediaWiki, jQuery ) ); diff --git a/resources/ext.postEdit.monobook.css b/resources/ext.postEdit.monobook.css deleted file mode 100644 index 0d5a0b0..0000000 --- a/resources/ext.postEdit.monobook.css +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Fix for bug 41240: Popup covers up monobook tabs - * https://bugzilla.wikimedia.org/show_bug.cgi?id=41240#c14 - */ -.postedit { top: 3em !important; } diff --git a/resources/images/gray-bg.png b/resources/images/gray-bg.png deleted file mode 100644 index 6eedbf7..0000000 --- a/resources/images/gray-bg.png +++ /dev/null Binary files differ diff --git a/resources/images/green-checkmark.png b/resources/images/green-checkmark.png deleted file mode 100644 index 8ec604e..0000000 --- a/resources/images/green-checkmark.png +++ /dev/null Binary files differ -- To view, visit https://gerrit.wikimedia.org/r/157205 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id121fd82c7200e01523673e1a0a6fbc658ce247d Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/PostEdit Gerrit-Branch: master Gerrit-Owner: Legoktm <[email protected]> Gerrit-Reviewer: Addshore <[email protected]> Gerrit-Reviewer: Siebrand <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
