diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /extensions/Vector | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'extensions/Vector')
22 files changed, 3193 insertions, 0 deletions
diff --git a/extensions/Vector/README b/extensions/Vector/README new file mode 100644 index 00000000..7394ff47 --- /dev/null +++ b/extensions/Vector/README @@ -0,0 +1,21 @@ +# Vector provides enhancements to the Vector skin + +# This extension requires MediaWiki 1.17+ because it makes use of ResourceLoader. + +# Example LocalSettings.php additions + +require_once( "$IP/extensions/Vector/Vector.php" ); + +# Before configuring this extension, see Vector.php and become familiar with the initial state and structure of the +# $wgVectorFeatures configuration variable. Essentially it's an array of arrays, keyed by feature name, each containing +# global and user keys with boolean values. "global" indicates that it should be turned on for everyone always, while +# user indicates that users should be allowed to turn it on or off in their user preferences. + +# To enable a preference by default but still allow users to disable it in preferences, use something like... + +$wgDefaultUserOptions['vector-collapsiblenav'] = 1; + +# By default, the Vector skin does not use the simplified search box. To take advantage of the simplesearch feature you +# must add this to your LocalSettings.php file. + +$wgVectorUseSimpleSearch = true; diff --git a/extensions/Vector/Vector.hooks.php b/extensions/Vector/Vector.hooks.php new file mode 100644 index 00000000..51d387b9 --- /dev/null +++ b/extensions/Vector/Vector.hooks.php @@ -0,0 +1,192 @@ +<?php +/** + * Hooks for Vector extension + * + * @file + * @ingroup Extensions + */ + +class VectorHooks { + + /* Protected Static Members */ + + protected static $features = array( + 'collapsiblenav' => array( + 'preferences' => array( + 'vector-collapsiblenav' => array( + 'type' => 'toggle', + 'label-message' => 'vector-collapsiblenav-preference', + 'section' => 'rendering/advancedrendering', + ), + ), + 'requirements' => array( + 'vector-collapsiblenav' => true, + ), + 'configurations' => array( + 'wgCollapsibleNavBucketTest', + 'wgCollapsibleNavForceNewVersion', + ), + 'modules' => array( 'ext.vector.collapsibleNav' ), + ), + 'collapsibletabs' => array( + 'modules' => array( 'ext.vector.collapsibleTabs' ), + ), + 'editwarning' => array( + 'preferences' => array( + // Ideally this would be 'vector-editwarning' + 'useeditwarning' => array( + 'type' => 'toggle', + 'label-message' => 'vector-editwarning-preference', + 'section' => 'editing/advancedediting', + ), + ), + 'requirements' => array( + 'useeditwarning' => true, + ), + 'modules' => array( 'ext.vector.editWarning' ), + ), + 'expandablesearch' => array( + 'requirements' => array( 'vector-simplesearch' => true ), + 'modules' => array( 'ext.vector.expandableSearch' ), + ), + 'footercleanup' => array( + 'modules' => array( 'ext.vector.footerCleanup' ), + ), + 'sectioneditlinks' => array( + 'modules' => array( 'ext.vector.sectionEditLinks' ), + 'configurations' => array( + 'wgVectorSectionEditLinksBucketTest', + 'wgVectorSectionEditLinksLotteryOdds', + 'wgVectorSectionEditLinksExperiment', + ), + 'requirements' => array( + 'vector-noexperiments' => false, + ), + ), + 'simplesearch' => array( + 'requirements' => array( 'vector-simplesearch' => true, 'disablesuggest' => false ), + 'modules' => array( 'ext.vector.simpleSearch' ), + ), + 'experiments' => array( + 'preferences' => array( + 'vector-noexperiments' => array( + 'type' => 'toggle', + 'label-message' => 'vector-noexperiments-preference', + 'section' => 'rendering/advancedrendering', + ), + ), + ), + ); + + /* Protected Static Methods */ + + protected static function isEnabled( $name ) { + global $wgVectorFeatures, $wgUser; + + // Features with global set to true are always enabled + if ( !isset( $wgVectorFeatures[$name] ) || $wgVectorFeatures[$name]['global'] ) { + return true; + } + // Features with user preference control can have any number of preferences to be specific values to be enabled + if ( $wgVectorFeatures[$name]['user'] ) { + if ( isset( self::$features[$name]['requirements'] ) ) { + foreach ( self::$features[$name]['requirements'] as $requirement => $value ) { + // Important! We really do want fuzzy evaluation here + if ( $wgUser->getOption( $requirement ) != $value ) { + return false; + } + } + } + return true; + } + // Features controlled by $wgVectorFeatures with both global and user set to false are awlways disabled + return false; + } + + /* Static Methods */ + + /** + * BeforePageDisplay hook + * + * Adds the modules to the page + * + * @param $out OutputPage output page + * @param $skin Skin current skin + */ + public static function beforePageDisplay( $out, $skin ) { + if ( $skin instanceof SkinVector ) { + // Add modules for enabled features + foreach ( self::$features as $name => $feature ) { + if ( isset( $feature['modules'] ) && self::isEnabled( $name ) ) { + $out->addModules( $feature['modules'] ); + } + } + } + return true; + } + + /** + * GetPreferences hook + * + * Adds Vector-releated items to the preferences + * + * @param $user User current user + * @param $defaultPreferences array list of default user preference controls + */ + public static function getPreferences( $user, &$defaultPreferences ) { + global $wgVectorFeatures; + + foreach ( self::$features as $name => $feature ) { + if ( + isset( $feature['preferences'] ) && + ( !isset( $wgVectorFeatures[$name] ) || $wgVectorFeatures[$name]['user'] ) + ) { + foreach ( $feature['preferences'] as $key => $options ) { + $defaultPreferences[$key] = $options; + } + } + } + return true; + } + + /** + * ResourceLoaderGetConfigVars hook + * + * Adds enabled/disabled switches for Vector modules + */ + public static function resourceLoaderGetConfigVars( &$vars ) { + global $wgVectorFeatures; + + $configurations = array(); + foreach ( self::$features as $name => $feature ) { + if ( + isset( $feature['configurations'] ) && + ( !isset( $wgVectorFeatures[$name] ) || self::isEnabled( $name ) ) + ) { + foreach ( $feature['configurations'] as $configuration ) { + global $$configuration; + $configurations[$configuration] = $$configuration; + } + } + } + if ( count( $configurations ) ) { + $vars = array_merge( $vars, $configurations ); + } + return true; + } + + /** + * @param $vars array + * @return bool + */ + public static function makeGlobalVariablesScript( &$vars ) { + // Build and export old-style wgVectorEnabledModules object for back compat + $enabledModules = array(); + foreach ( self::$features as $name => $feature ) { + $enabledModules[$name] = self::isEnabled( $name ); + } + + $vars['wgVectorEnabledModules'] = $enabledModules; + return true; + } +} diff --git a/extensions/Vector/Vector.i18n.php b/extensions/Vector/Vector.i18n.php new file mode 100644 index 00000000..409d065a --- /dev/null +++ b/extensions/Vector/Vector.i18n.php @@ -0,0 +1,1854 @@ +<?php +/** + * Internationalisation for Vector extension + * + * @file + * @ingroup Extensions + */ + +$messages = array(); + +/** English + * @author Trevor Parscal + */ +$messages['en'] = array( + 'vector' => 'UI improvements for Vector', + 'vector-desc' => 'Improves on the user interface elements of the Vector skin.', + 'vector-collapsiblenav-preference' => 'Enable collapsing of items in the navigation menu in Vector skin', + 'vector-collapsiblenav-more' => 'More languages', + 'vector-editwarning-warning' => 'Leaving this page may cause you to lose any changes you have made. +If you are logged in, you can disable this warning in the "Editing" section of your preferences.', + 'vector-editwarning-preference' => 'Warn me when I leave an edit page with unsaved changes', + 'vector-simplesearch-search' => 'Search', + 'vector-simplesearch-containing' => 'containing...', + 'vector-noexperiments-preference' => 'Exclude me from feature experiments', +); + +/** Message documentation (Message documentation) + * @author Fryed-peach + * @author Lloffiwr + * @author Umherirrender + */ +$messages['qqq'] = array( + 'vector' => 'UI means User Interface. Vector is the name of an interface skin.', + 'vector-desc' => '{{desc}}', + 'vector-editwarning-warning' => "{{doc-important|Do ''not'' use <nowiki>{{int:prefs-editing}}</nowiki> for \"Editing\". It is forbidden in this message, see [[mwr:68405]].}}", + 'vector-simplesearch-search' => 'Greyed out default text in the simple search box in the Vector skin. (It disappears and lets the user enter the requested search terms when the search box receives focus.) + +{{Identical|Search}}', + 'vector-simplesearch-containing' => 'Label used in the special item of the search suggestions list which gives the user an option to perform a full text search for the term.', + 'vector-noexperiments-preference' => 'An option in [[Special:Preferences]]', +); + +/** Afrikaans (Afrikaans) + * @author Adriaan + * @author Naudefj + */ +$messages['af'] = array( + 'vector' => 'Gebruikerskoppelvlak-verbeteringe vir Vektor', + 'vector-desc' => 'Verbeter die gebruikerskoppelvlak-elemente van die Vektor omslag (skin).', + 'vector-collapsiblenav-preference' => 'Inklapbare navigasiespyskaart by die gebruik van Vector toelaat', + 'vector-collapsiblenav-more' => 'Meer tale', + 'vector-editwarning-warning' => 'As u hierdie bladsy verlaat, verloor u moontlik die wysigings wat u aangebring het. +Indien u aangemeld is, kan u hierdie waarskuwing in die {{int:prefs-editing}}"-afdeling van u voorkeure afskakel.', + 'vector-editwarning-preference' => "Waarsku my as ek 'n gewysigde bladsy verlaat alvorens dit gestoor is", + 'vector-simplesearch-search' => 'Soek', + 'vector-simplesearch-containing' => 'bevat...', +); + +/** Gheg Albanian (Gegë) + * @author Mdupont + */ +$messages['aln'] = array( + 'vector' => 'përmirësime UI për Vektor', + 'vector-desc' => 'Në elementet përmirëson ndërfaqen e përdoruesit të lëkurës Vektor.', + 'vector-collapsiblenav-preference' => 'Aktivizo paloset la navigacion menu', + 'vector-editwarning-warning' => 'Duke e lënë këtë faqe mund të bëjë që ju të humbni ndonjë ndryshim që keni bërë. Nëse ju jeni regjistruar, ju mund ta çaktivizoni këtë paralajmërim në "Tue redaktue" seksionin e preferencave tuaja.', + 'vector-editwarning-preference' => 'Paralajmëron mua kur unë të lë një redakto faqe me ndryshimet e para shpëtimit', + 'vector-simplesearch-search' => 'Kërkim', + 'vector-simplesearch-containing' => 'përmban ...', +); + +/** Amharic (አማርኛ) + * @author Codex Sinaiticus + */ +$messages['am'] = array( + 'vector-simplesearch-search' => 'ፈልግ', + 'vector-simplesearch-containing' => 'በመጣጥፎች ይዘት ለመፈልግ...', +); + +/** Aragonese (Aragonés) + * @author Juanpabl + */ +$messages['an'] = array( + 'vector' => "Milloras d'a interficie ta Vector", + 'vector-desc' => "Milloras en os elementos d'interficie d'usuario de l'aparencia Vector.", + 'vector-collapsiblenav-preference' => "Activar a opción de plegar os menús de navegación en l'aparencia Vector", + 'vector-collapsiblenav-more' => 'Más luengas', + 'vector-editwarning-warning' => "Si sale d'ista pachina perderá totz os cambios que haiga feito. Si tiene una cuenta d'usuario, puet eliminar ista alvertencia en a sección «Caixa d'edición» d'as suyas preferencies.", + 'vector-editwarning-preference' => "Alvertir-me quan salga d'una pachina d'edición sin alzar os cambios", + 'vector-simplesearch-search' => 'Mirar', + 'vector-simplesearch-containing' => 'que contién...', +); + +/** Arabic (العربية) + * @author Aiman titi + * @author Meno25 + * @author OsamaK + */ +$messages['ar'] = array( + 'vector' => 'تحسينات واجهة المستخدم لفكتور', + 'vector-desc' => 'تحسينات في عناصر واجهة المستخدم لواجهة فكتور.', + 'vector-collapsiblenav-preference' => 'مكّن طي العناصر في قائمة التصفح في واجهة فكتور', + 'vector-collapsiblenav-more' => 'لغات أخرى', + 'vector-editwarning-warning' => 'قد تتسبب مغادرة هذه الصفحة بخسارتك لأي تغييرات قمت بها. +يمكنك تعطيل هذا التحذير إذا كنت والجلًا في قسم "التحرير" في تفضيلاتك.', + 'vector-editwarning-preference' => 'حذّرني عندما أغادر تحرير صفحة ذات تغييرات غير محفوظة', + 'vector-simplesearch-search' => 'ابحث', + 'vector-simplesearch-containing' => 'يحتوي...', + 'vector-noexperiments-preference' => 'استبعادي من إستخدام الميزة', +); + +/** Aramaic (ܐܪܡܝܐ) + * @author Basharh + */ +$messages['arc'] = array( + 'vector-simplesearch-search' => 'ܒܨܝ', + 'vector-simplesearch-containing' => 'ܚܒܫ ܥܠ...', +); + +/** Egyptian Spoken Arabic (مصرى) + * @author Dudi + * @author Meno25 + */ +$messages['arz'] = array( + 'vector' => 'تحسينات واجهه المستخدم لفكتور', + 'vector-desc' => 'تحسينات فى عناصر واجهه المستخدم لواجهه فكتور.', + 'vector-collapsiblenav-preference' => 'خلّى الليستات بتاعة مينيو الاستكشاف تبان مقفوله فى Vector skin', + 'vector-collapsiblenav-more' => 'لغات اكتر', + 'vector-editwarning-warning' => 'لو سيبت الصفحه دى ممكن يخلّيك تضيّع اى تغييرات عملتها. +لو انت مسجّل دخولك, ممكن تعطّل التحذير ده من الجزء بتاع "تعديل" فى تفضيلاتك.', + 'vector-editwarning-preference' => 'حذّرنى لما اسيب صفحة تعديل فيها تغييرات مش متسييڤه', + 'vector-simplesearch-search' => 'تدوير', + 'vector-simplesearch-containing' => 'جوّاه...', +); + +/** Azerbaijani (Azərbaycanca) + * @author PPerviz + */ +$messages['az'] = array( + 'vector-simplesearch-search' => 'Axtar', +); + +/** Bashkir (Башҡортса) + * @author Assele + */ +$messages['ba'] = array( + 'vector' => '"Векторлы" күренешен яҡшыртыуҙар', + 'vector-desc' => '"Векторлы" күренешенең ҡулланыусы интерфейсында яҡшыртыуҙар.', + 'vector-collapsiblenav-preference' => '"Векторлы" күренешендә һул яҡ менюла блоктарҙы төрөргә рөхсәт итергә', + 'vector-collapsiblenav-more' => 'Күберәк телдәр', + 'vector-editwarning-warning' => 'Икенсе биткә күсеү һеҙ индергән үҙгәрештәрҙең юғалыуына килтереүе мөмкин. +Әгәр системала танылыу үтһәгеҙ, көйләүҙәрегеҙ битенең "Мөхәррирләү" бүлегендә был киҫәтеүҙе һүндерә алаһығыҙ.', + 'vector-editwarning-preference' => 'Мөхәррирләү битенән үҙгәртеүҙәрҙе һаҡламайынса сыҡҡан ваҡытта мине киҫәтергә', + 'vector-simplesearch-search' => 'Эҙләү', + 'vector-simplesearch-containing' => 'эстәлегендә...', + 'vector-noexperiments-preference' => 'Һынау өсөн мөмкинлектәр тәҡдим итмәҫкә', +); + +/** Bavarian (Boarisch) + * @author Mucalexx + * @author ✓ + */ +$messages['bar'] = array( + 'vector' => "Vabesserrungen fyr d' Vector-Benutzerowerflächen", + 'vector-desc' => 'Vabesserrungen an da Vektor-Benutzerowerflächen', + 'vector-collapsiblenav-preference' => 'Zåmmkloppm vo Elemente im Navigazionsmenü vo da Benutzerowerflächen Vector aktivirn', + 'vector-collapsiblenav-more' => 'Weiderne Sproochen', + 'vector-editwarning-warning' => "'s Valossen vo derer Seiten kå dodazua fyrn, daas d' Änderrungen valurn geengan. +Ois ågmödter Benutzer kå's Åzoang vo derer Warnung im \"Beorweiten\"-Bereich vo de Eistellungen obgschoiden wern.", + 'vector-editwarning-preference' => ' A Warung geem, sofern a zur da Beorweitung geffnate Seiten valossen werd, de ned gspeicherde Änderrungen enthoit.', + 'vector-simplesearch-search' => 'Suach', + 'vector-simplesearch-containing' => 'Voitextsuach noch ...', + 'vector-noexperiments-preference' => 'Ned an Funkzions-Experimenten teilnemmer', +); + +/** Belarusian (Беларуская) + * @author Maksim L. + */ +$messages['be'] = array( + 'vector' => 'Паляпшае інтэрфэйс для кажуха Vector', + 'vector-desc' => 'Паляпшае элементы інтэрфэйсу ўдзельніка для кажуха Vector', + 'vector-collapsiblenav-preference' => 'Уключыць згортванне блокаў у навігацыйным меню для кажуха Vector', + 'vector-collapsiblenav-more' => 'Болей моваў', + 'vector-editwarning-warning' => 'Выхад з гэтай старонкі прывядзе да страты правак, якія вы зрабілі. +Калі Вы зарэгістраваныя ў сістэме, Вы можаце адключыць гэта папярэджанне ў закладцы "Праца" Вашых настаўленняў.', + 'vector-editwarning-preference' => 'Папярэдзіць мяне, калі я пакідаю старонку з незахаванымі праўкамі', + 'vector-simplesearch-search' => 'Знайсці', + 'vector-simplesearch-containing' => 'змяшчае...', +); + +/** Belarusian (Taraškievica orthography) (Беларуская (тарашкевіца)) + * @author EugeneZelenko + * @author Jim-by + * @author Wizardist + * @author Zedlik + */ +$messages['be-tarask'] = array( + 'vector' => 'Паляпшэньні інтэрфэйсу для афармленьня «Вэктар»', + 'vector-desc' => 'Паляпшае элемэнты інтэрфэйсу карыстальніка для афармленьня «Вэктар».', + 'vector-collapsiblenav-preference' => 'Дазволіць згортваньне блёкаў у навігацыйным мэню для афармленьня «Вэктар»', + 'vector-collapsiblenav-more' => 'Болей моваў', + 'vector-editwarning-warning' => 'Усе зробленыя Вамі зьмены могуць быць страчаныя, калі Вы пакінеце гэтую старонку. +Калі Вы ўвайшлі ў сыстэму, Вы можаце адключыць гэтае папярэджаньне у сэкцыі «Рэдагаваньне» Вашых наладаў.', + 'vector-editwarning-preference' => 'Папярэджваць мяне, калі я буду пакідаць старонку рэдагаваньня зь незахаванымі зьменамі', + 'vector-simplesearch-search' => 'Пошук', + 'vector-simplesearch-containing' => 'утрымлівае...', + 'vector-noexperiments-preference' => 'Не прапаноўваць экспэрымэнтальныя магчымасьці', +); + +/** Bulgarian (Български) + * @author DCLXVI + * @author Spiritia + * @author Turin + */ +$messages['bg'] = array( + 'vector' => 'Подобрения на потребителския интерфейс за облик Вектор', + 'vector-desc' => 'Подобрява елементите от потребителския интерфейс на облик Вектор.', + 'vector-collapsiblenav-preference' => 'Включване на сгъваемо/разгъваемо меню за навигация в облика Vector', + 'vector-collapsiblenav-more' => 'Още езици', + 'vector-editwarning-warning' => 'Ако излезете от тази страница, може да загубите всички незапазени промени, които сте направили. +Ако сте влезли в системата, можете да изключите това предупреждение през меню "Редактиране" във вашите лични настройки.', + 'vector-editwarning-preference' => 'Предупреждаване при опит за напускане на страница, отворена в режим на редактиране, без да са запазени промените', + 'vector-simplesearch-search' => 'Търсене', + 'vector-noexperiments-preference' => 'Не желая да участвам в бъдещи експерименти', +); + +/** Bahasa Banjar (Bahasa Banjar) + * @author Ezagren + */ +$messages['bjn'] = array( + 'vector-collapsiblenav-more' => 'Labih banyak bahasa', + 'vector-editwarning-preference' => 'Ingatakan ulun pabila maninggalakan tungkaran pambabakan sabalum manyimpan parubahan', + 'vector-simplesearch-search' => 'Gagai', + 'vector-simplesearch-containing' => 'isian ...', +); + +/** Bengali (বাংলা) + * @author Bellayet + * @author Wikitanvir + */ +$messages['bn'] = array( + 'vector' => 'ভেক্টরের জন্য ব্যবহারকারী ইন্টারফেসের উন্নতি সাধন', + 'vector-desc' => 'ভেক্টর স্কিনের ইন্টারফেস উপাদানের উন্নতি সাধন', + 'vector-collapsiblenav-preference' => 'ভেক্টর স্কিনে ভাঁজযোগ্য নেভিগেশন মেনু সক্রিয় করো', + 'vector-collapsiblenav-more' => 'আরও ভাষা', + 'vector-editwarning-warning' => 'এই পাতাটি ত্যাগ করলে আপনার আপনার করা পরিবর্তনগুলো হারিয়ে যেতে পারে। +আপনি যদি লগইন করা থাকেন, আপনি এই সতর্কীকরণ বার্তাটি আপনার পছন্দের "সমপাদনা" অনুচ্ছেদ থেকে নিস্ক্রিয় করতে পারেন।', + 'vector-editwarning-preference' => 'অসংরক্ষিত পরিবর্তন সহ কোনো পাতা ত্যাগের সময় সাবধান করো', + 'vector-simplesearch-search' => 'অনুসন্ধান', + 'vector-simplesearch-containing' => 'যা আছে...', +); + +/** Bishnupria Manipuri (ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী) + * @author Usingha + */ +$messages['bpy'] = array( + 'vector' => 'ভেক্টরর কা আতাকুরার ইন্টারফেসহার উন্নতি করানিহান', + 'vector-desc' => 'ভেক্টর স্কিনর ইন্টারফেস মাথেলর উন্নতি করানি।', + 'vector-collapsiblenav-preference' => 'ভেক্টর স্কিনহানার থিপকরানি একরব নেভিগেশন মেনু থা কর', + 'vector-collapsiblenav-more' => 'আরাকউ ঠার', + 'vector-editwarning-warning' => 'পাতা এহান বেলিয়া গেলেগা তি সিলকরিসত অতা মাঙুইতে পারে। +তি লগইন করিসতগ ইলে, এরে সিঙকরানির পৌ এহান তর "পতানি" থাকেত্ত আরুম করানি পারর।', + 'vector-editwarning-preference' => 'পতানির সময় ইতু নাকরিয়া বেলিয়া গেলেগা মরে সিঙকরেদিস', + 'vector-simplesearch-search' => 'বিসারা', + 'vector-simplesearch-containing' => 'আসেতা...', +); + +/** Breton (Brezhoneg) + * @author Fulup + * @author Y-M D + */ +$messages['br'] = array( + 'vector' => 'Gwellaennoù IU evit Vector', + 'vector-desc' => 'Gwellaat a ra elfennoù eus ar gwiskadur Vector war an etrefas implijer.', + 'vector-collapsiblenav-preference' => 'Aotren al lañser merdeiñ pak-dispak a-gleiz gant an neuz Vector', + 'vector-collapsiblenav-more' => "Muioc'h a yezhoù", + 'vector-editwarning-warning' => "Mar kuitait ar bajenn-mañ e c'hallit koll ar c'hemmoù degaset ganeoc'h. +Ma'z oc'h kevreet e c'hallit diweredekaat ar c'hemenn-diwall-mañ e rann \"Prenestr skridaozañ\" ho penndibaboù.", + 'vector-editwarning-preference' => 'Kas keloù din pa guitaan ur bajenn degaset kemmoù enni hep enrollañ', + 'vector-simplesearch-search' => 'Klask', + 'vector-simplesearch-containing' => 'ennañ...', + 'vector-noexperiments-preference' => "Lezit-me er-maez eus al labour amprouiñ an arc'hwelioù nevez", +); + +/** Bosnian (Bosanski) + * @author CERminator + */ +$messages['bs'] = array( + 'vector' => 'UI poboljšanja za Vector', + 'vector-desc' => 'Poboljšava elemente korisničkog interfejsa u koži Vector.', + 'vector-collapsiblenav-preference' => 'Omogući skrivanje stavki u navigacionom meniju u koži Vector', + 'vector-collapsiblenav-more' => 'Više jezika', + 'vector-editwarning-warning' => 'Napuštanje ove stranice može dovesti do gubitka svih promjena koje ste načinili. +Ako ste prijavljeni, možete isključiti ovo upozorenje u "Veličine tekstualnog polja" dijelu vaših opcija.', + 'vector-editwarning-preference' => 'Upozori me kada napustim stranicu za izmjene bez spašenih promjena', + 'vector-simplesearch-search' => 'Traži', + 'vector-simplesearch-containing' => 'sadrži...', + 'vector-noexperiments-preference' => 'Isključi me iz funkcijskih probi', +); + +/** Catalan (Català) + * @author Paucabot + * @author SMP + * @author Vriullop + */ +$messages['ca'] = array( + 'vector' => 'Millores de la interfície per a Vector', + 'vector-desc' => "Millores en els elements d'interfície d'usuari de l'aparença Vector.", + 'vector-collapsiblenav-preference' => "Activa l'opció de plegar els menús de navegació en l'aparença Vector", + 'vector-collapsiblenav-more' => 'Més llengües', + 'vector-editwarning-warning' => "Si sortiu d'aquesta pàgina perdreu tots els canvis que hàgiu fet. +Si teniu un compte d'usuari, podeu eliminar aquest avís a la secció «Caixa d'edició» de les vostres preferències.", + 'vector-editwarning-preference' => "Avisa'm quan surti d'una pàgina d'edició amb canvis sense desar", + 'vector-simplesearch-search' => 'Cerca', + 'vector-simplesearch-containing' => 'que conté ...', + 'vector-noexperiments-preference' => 'Exclou-me dels experiments de funcionalitats', +); + +/** Chechen (Нохчийн) + * @author Sasan700 + */ +$messages['ce'] = array( + 'vector-simplesearch-search' => 'Лаха', +); + +/** Sorani (کوردی) + * @author Asoxor + * @author Marmzok + */ +$messages['ckb'] = array( + 'vector-collapsiblenav-preference' => 'ڕێگە بدە بە کرانەوەی بڕگەکانی پێرستی ڕێدۆزی لە بەرگی ڤێکتۆردا.', + 'vector-collapsiblenav-more' => 'زمانەکانی دیکە', + 'vector-editwarning-warning' => 'بەجێهێشتنی ئەم لاپەڕەیە دەبێتە هۆی لەدەست چوونی هەموو ئەو گۆڕانکاریانەی کردووتە. +ئەگەر لەژوورەوەی، دەتوانی ئەم ئاگادارییە لە بەشی "دەستکاریی" لە ھەڵبژاردەکانی، لەکاربخەی.', + 'vector-editwarning-preference' => 'ھۆشیارم بکەوە کاتێک لە پەڕەیەکی دەستکاری بە گۆڕانکاریی پاشەکەوتنەکراو دەردەچم', + 'vector-simplesearch-search' => 'گەڕان', + 'vector-simplesearch-containing' => 'بە لەبەرگرتنەوەی ...', +); + +/** Crimean Turkish (Latin) (Qırımtatarca (Latin)) + * @author Don Alessandro + */ +$messages['crh-latn'] = array( + 'vector-simplesearch-search' => 'Qıdır', + 'vector-simplesearch-containing' => 'içinde bu olğan...', +); + +/** Crimean Turkish (Cyrillic) (Qırımtatarca (Cyrillic)) + * @author Don Alessandro + */ +$messages['crh-cyrl'] = array( + 'vector-simplesearch-search' => 'Къыдыр', + 'vector-simplesearch-containing' => 'ичинде бу олгъан...', +); + +/** Czech (Česky) + * @author Mormegil + */ +$messages['cs'] = array( + 'vector' => 'Vylepšení uživatelského rozhraní pro Vektor', + 'vector-desc' => 'Vylepšuje prvky uživatelského rozhraní vzhledu Vektor.', + 'vector-collapsiblenav-preference' => 'Povolit sbalování položek v navigačním menu ve vzhledu Vektor', + 'vector-collapsiblenav-more' => 'Další jazyky', + 'vector-editwarning-warning' => 'Opuštěním této stránky se mohou veškeré provedené změny ztratit. +Pokud jste přihlášeni, můžete si toto varování vypnout na záložce „Editace“ v uživatelském nastavení.', + 'vector-editwarning-preference' => 'Upozornit, když budu opouštět editaci bez uložení změn', + 'vector-simplesearch-search' => 'Hledat', + 'vector-simplesearch-containing' => 'obsahující…', + 'vector-noexperiments-preference' => 'Neúčastnit se experimentů s novými funkcemi', +); + +/** Kashubian (Kaszëbsczi) + * @author Kuvaly + */ +$messages['csb'] = array( + 'vector-simplesearch-search' => 'Szëkba', +); + +/** Church Slavic (Словѣ́ньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ) + * @author ОйЛ + */ +$messages['cu'] = array( + 'vector-collapsiblenav-more' => 'дроуꙃи ѩꙁꙑци', + 'vector-simplesearch-search' => 'исканиѥ', + 'vector-simplesearch-containing' => 'сѥ дрьжащи···', +); + +/** Chuvash (Чӑвашла) + * @author FLAGELLVM DEI + */ +$messages['cv'] = array( + 'vector-simplesearch-search' => 'Шырав', +); + +/** Welsh (Cymraeg) + * @author Lloffiwr + */ +$messages['cy'] = array( + 'vector' => "Gwelliannau i'r rhyngwyneb ar gyfer Vector", + 'vector-desc' => 'Yn gwella ar y rhyngwyneb yn y wedd Vector.', + 'vector-collapsiblenav-preference' => "Galluogi crebachu'r ddewislen lywio yn y wedd Vector", + 'vector-collapsiblenav-more' => 'Rhagor o ieithoedd', + 'vector-editwarning-warning' => 'Os y gadewch y dudalen hon mae\'n bosib y collwch eich newidiadau iddi. +Gallwch ddiddymu\'r rhybudd hwn yn yr adran "Golygu" yn eich dewisiadau.', + 'vector-editwarning-preference' => "Tynnwch fy sylw pan wyf ar fin gadael tudalen olygu heb roi'r newidiadau ar gadw", + 'vector-simplesearch-search' => 'Chwilio', + 'vector-simplesearch-containing' => 'yn cynnwys...', + 'vector-noexperiments-preference' => "Peidio â'm cynnwys mewn arbrofion ar y nodweddion", +); + +/** Danish (Dansk) + * @author Froztbyte + * @author Peter Alberti + * @author Sarrus + * @author Sir48 + */ +$messages['da'] = array( + 'vector' => 'Forbedringer af brugerinterfacet til Vector', + 'vector-desc' => 'Forbedrer dele af brugerinterfacet til Vector-skinnet', + 'vector-collapsiblenav-preference' => 'Aktiver sammenklapning i navigationsmenuen i Vector-skinnet', + 'vector-collapsiblenav-more' => 'Flere sprog', + 'vector-editwarning-warning' => 'Hvis du forlader siden nu, risikerer du at miste alle ændringer som du har lavet. +Denne advarsel kan slås fra under Redigering i dine indstillinger.', + 'vector-editwarning-preference' => 'Advar mig hvis jeg forlader en redigeringsside med ikke gemte ændringer.', + 'vector-simplesearch-search' => 'Søg', + 'vector-simplesearch-containing' => 'indeholder...', + 'vector-noexperiments-preference' => 'Udeluk mig fra funktionseksperimenter', +); + +/** German (Deutsch) + * @author Church of emacs + * @author Kghbln + * @author SVG + * @author The Evil IP address + * @author Tischbeinahe + * @author ✓ + */ +$messages['de'] = array( + 'vector' => 'Verbesserungen für die Vector-Benutzeroberfläche', + 'vector-desc' => 'Stellt Verbesserungen für die Benutzeroberfläche „Vector“ zur Verfügung', + 'vector-collapsiblenav-preference' => 'Zusammenklappen von Elementen im Navigationsmenü der Benutzeroberfläche Vector aktivieren', + 'vector-collapsiblenav-more' => 'Weitere Sprachen', + 'vector-editwarning-warning' => 'Das Verlassen dieser Seite kann dazu führen, dass die Änderungen verloren gehen. +Als angemeldeter Benutzer kann das Anzeigen dieser Warnung im „Bearbeiten“-Bereich der Einstellungen abgeschaltet werden.', + 'vector-editwarning-preference' => 'Warnen, sofern eine zur Bearbeitung geöffnete Seite verlassen wird, die nicht gespeicherte Änderungen enthält', + 'vector-simplesearch-search' => 'Suche', + 'vector-simplesearch-containing' => 'Volltextsuche nach …', + 'vector-noexperiments-preference' => 'Nicht an Funktionsexperimenten teilnehmen', +); + +/** German (formal address) (Deutsch (Sie-Form)) */ +$messages['de-formal'] = array( + 'vector-editwarning-warning' => 'Das Verlassen dieser Seite kann dazu führen, dass Ihre Änderungen verloren gehen. +Wenn Sie angemeldet sind, können Sie das Anzeigen dieser Warnung im „Bearbeiten“-Bereich Ihrer Einstellungen abschalten.', +); + +/** Zazaki (Zazaki) + * @author Mirzali + * @author Xoser + */ +$messages['diq'] = array( + 'vector' => 'Ser vectori UI hacetanê hewli', + 'vector-desc' => 'Ena ser Vector skin, interface hewl keno.', + 'vector-collapsiblenav-preference' => 'Eyarê qic kerdisê ke hecatan menuyê navigasyon ke Vector de inan a bike', + 'vector-collapsiblenav-more' => 'Ziwananê binan', + 'vector-editwarning-warning' => 'ihtimal o ke wexta şıma peli ra bıveci, vurnayiş o ke şıma kerdo, hewna şiyêro . +eke şıma kewtê hesabê xo, no hişyari tercihanê xo ra şıma eşkeni "Ho vurnayeno" bıvındarnî .', + 'vector-editwarning-preference' => 'wexta ke ez pelo nêqeydbiyaye ra veciyaya mı hişyar bıker', + 'vector-simplesearch-search' => 'Cıgeyre', + 'vector-simplesearch-containing' => 'tedeestey...', +); + +/** Lower Sorbian (Dolnoserbski) + * @author Michawiki + */ +$messages['dsb'] = array( + 'vector' => 'Pólěpšenja wužywarskego pówjercha za Vector', + 'vector-desc' => 'Pólěpša elementy wužywarskego pówjercha za suknju Vector.', + 'vector-collapsiblenav-preference' => 'Fałdujobny lěwy nawgiaciski meni w sukni Vector zmóžniś', + 'vector-collapsiblenav-more' => 'Dalšne rěcy', + 'vector-editwarning-warning' => 'Gaž toś ten bok se spušća, mógu se změny zgubiś, kótarež sy pśewjadł. Jolic sy pśizjawjeny, móžoš toś to warnowanje we wótrězku Wobźěłaś swójich nastajenjow znjemóžniś.', + 'vector-editwarning-preference' => 'Warnowaś, gaž bok spušća se z njeskłaźonymi změnami', + 'vector-simplesearch-search' => 'Pytaś', + 'vector-simplesearch-containing' => 'wopśimujo...', +); + +/** Greek (Ελληνικά) + * @author Dead3y3 + * @author Geraki + * @author Glavkos + * @author Απεργός + */ +$messages['el'] = array( + 'vector' => 'βελτιώσεις στο UI για το Vector', + 'vector-desc' => 'Παρέχει βελτίωση στα στοιχεία διεπαφής χρήστη του skin Vector.', + 'vector-collapsiblenav-preference' => 'Ενεργοποίηση πτυσσόμενων ενοτήτων στο μενού πλοήγησης με το θέμα Vector', + 'vector-collapsiblenav-more' => 'Περισσότερες γλώσσες', + 'vector-editwarning-warning' => 'Αφήνοντας αυτή τη σελίδα μπορεί να σας κάνει να χάσετε κάποιες αλλαγές που έχετε κάνει. +Αν έχετε συνδεθεί, μπορείτε να απενεργοποιήσετε αυτή την προειδοποίηση στο τμήμα "Επεξεργασία" των προτιμήσεών σας.', + 'vector-editwarning-preference' => 'Προειδοποίηση όταν εγκαταλείπω μία σελίδα επεξεργασίας χωρίς να έχω πρώτα αποθηκεύσει τις αλλαγές', + 'vector-simplesearch-search' => 'Αναζήτηση', + 'vector-simplesearch-containing' => 'περιέχει...', + 'vector-noexperiments-preference' => 'Εξαιρέστε με από την λειτουργία πειραμάτων', +); + +/** Esperanto (Esperanto) + * @author AVRS + * @author Maximillion Pegasus + * @author Yekrats + */ +$messages['eo'] = array( + 'vector' => 'Plibonigado de grafika interfaco por Vector', + 'vector-desc' => 'Plibonigas la elementojn de la uzula interfaco de la Vector-etoso.', + 'vector-collapsiblenav-preference' => 'Ŝalti kaŝebladon de aĵoj en la dekstra navigmenuo kun etoso Vector', + 'vector-collapsiblenav-more' => 'Pli lingvoj', + 'vector-editwarning-warning' => 'Forlasante ĉi tiun paĝon kaŭzos al vi perdi iun ajn ŝanĝojn kiujn vi faris. +Se vi ensalutas, vi povas malŝalti ĉi tiun averton en la sekcio "Grandeco de redakta tekstujo" de viaj preferoj.', + 'vector-editwarning-preference' => 'Avertu min kiam mi forlasas redaktan paĝon kun nekonservitaj ŝanĝoj', + 'vector-simplesearch-search' => 'Serĉi', + 'vector-simplesearch-containing' => 'enhavas...', + 'vector-noexperiments-preference' => 'Ekskluzivu min de estontecaj testoj', +); + +/** Spanish (Español) + * @author Crazymadlover + * @author Drini + * @author Fitoschido + * @author Locos epraix + * @author Translationista + */ +$messages['es'] = array( + 'vector' => 'Mejoras de interfaz de usuario para Vector', + 'vector-desc' => 'Mejora los elementos de la interfaz de usuario del skin Vector.', + 'vector-collapsiblenav-preference' => 'Activar el menú de navegación izquierda plegable en la piel Vector', + 'vector-collapsiblenav-more' => 'Más idiomas', + 'vector-editwarning-warning' => 'Dejar esta página le causará la pérdida de cualquier cambio que haya hecho. +Si está "logueado", puede deshabilitar esta advertencia en la sección "Edición" de sus preferencias.', + 'vector-editwarning-preference' => 'Advertirme cuando abandone una página editada con cambios sin grabar', + 'vector-simplesearch-search' => 'Búsqueda', + 'vector-simplesearch-containing' => 'conteniendo...', + 'vector-noexperiments-preference' => 'Excluirme de características experimentales', +); + +/** Estonian (Eesti) + * @author Pikne + */ +$messages['et'] = array( + 'vector-collapsiblenav-preference' => 'Luba Vektori-kujundusega navigeerimismenüü üksusi peita', + 'vector-editwarning-warning' => 'Sellelt leheküljelt lahkumise tõttu võivad tehtud muudatused kaotsi minna. +Kui oled sisse loginud, saad selle hoiatuse eelistuste alaosas "Toimetamine" keelata.', + 'vector-editwarning-preference' => 'Hoiata mind, kui lahkun redigeerimisleheküljelt muudatusi salvestamata', + 'vector-simplesearch-search' => 'Otsi', + 'vector-simplesearch-containing' => 'sisalduv...', + 'vector-noexperiments-preference' => 'Jäta mind funktsioonide katsetamisest kõrvale', +); + +/** Basque (Euskara) + * @author An13sa + */ +$messages['eu'] = array( + 'vector' => 'EI hobekuntzak Vector-entzat', + 'vector-desc' => 'Vector skin-eko lankidearen interfazeko elementuak hobetzen ditu.', + 'vector-collapsiblenav-preference' => 'Vector skin-ean ezkerreko nabigazio menua irekigarri bihurtzen du', + 'vector-collapsiblenav-more' => 'Hizkuntza gehiago', + 'vector-editwarning-warning' => 'Orrialde honetatik irteten bazara, egindako aldaketak galdu egingo dira. +Saioa hasi baduzu, mezu hau kendu dezakezu zure hobespenen orrialdeko "Aldatzen" atalean.', + 'vector-editwarning-preference' => 'Abisa nazazu gorde gabeko aldaketak eginez orrialde bat uzten dudanean', + 'vector-simplesearch-search' => 'Bilatu', + 'vector-simplesearch-containing' => 'edukian...', +); + +/** Persian (فارسی) + * @author Ebraminio + * @author Huji + * @author Ladsgroup + * @author Sahim + */ +$messages['fa'] = array( + 'vector' => 'بهبودهای رابط کاربر برای پوستهٔ برداری', + 'vector-desc' => 'بهبود در عناصر رابط کاربری از طریق پوسته وکتور', + 'vector-collapsiblenav-preference' => 'فعالکردن منوی تاشوی ناوبری در پوسته وکتور', + 'vector-collapsiblenav-more' => 'زبانهای بیشتر', + 'vector-editwarning-warning' => 'خروج از این صفحه ممکن است باعث از دست رفتن هرچه نوشتهاید شود. +اگر شما با نام کاربری وارد شدهاید میتوانید این هشدار را در بخش «در حال ویرایش» ترجیحاتتان بیابید.', + 'vector-editwarning-preference' => 'زمان خروج از صفحهٔ ویرایش در صورت داشتن ویرایشهای ذخیرهنشده به من هشدار بده', + 'vector-simplesearch-search' => 'جستجو', + 'vector-simplesearch-containing' => 'صفحههای دربردارنده...', + 'vector-noexperiments-preference' => 'من را از ویژگیهای آزمایشی مستثنی کن', +); + +/** Finnish (Suomi) + * @author Crt + * @author Nike + * @author Str4nd + */ +$messages['fi'] = array( + 'vector' => 'Käyttöliittymän parannukset Vectorille', + 'vector-desc' => 'Parantaa käyttöliittymän osia Vector-ulkoasusta.', + 'vector-collapsiblenav-preference' => 'Ota käyttöön sivupalkin kohteiden piilottaminen Vector-ulkoasussa', + 'vector-collapsiblenav-more' => 'Muilla kielillä', + 'vector-editwarning-warning' => 'Tältä sivulta poistuminen saattaa aiheuttaa kaikkien tekemiesi muutosten katoamisen. +Jos olet kirjautuneena sisään, voit poistaa tämän varoituksen käytöstä asetuksissa ”Muokkaus”-osiossa.', + 'vector-editwarning-preference' => 'Varoita minua, kun poistun muokkaussivulta tallentamatta muutoksia', + 'vector-simplesearch-search' => 'Etsi', + 'vector-simplesearch-containing' => 'sisältää...', +); + +/** French (Français) + * @author IAlex + * @author Jean-Frédéric + * @author PieRRoMaN + * @author Sherbrooke + * @author Urhixidur + */ +$messages['fr'] = array( + 'vector' => 'Améliorations IU pour Vector', + 'vector-desc' => 'Améliorations des éléments de l’interface utilisateur de l’habillage Vector.', + 'vector-collapsiblenav-preference' => "Activer le menu de navigation à gauche repliable avec l'habillage vector", + 'vector-collapsiblenav-more' => 'Plus de langues', + 'vector-editwarning-warning' => 'Quitter cette page vous fera perdre toutes les modifications que vous avez faites. +Si vous êtes connecté avec votre compte, vous pouvez retirer cet avertissement dans la section « Fenêtre de modification » de vos préférences.', + 'vector-editwarning-preference' => 'M’avertir quand je quitte une page de modification sans publier les changements', + 'vector-simplesearch-search' => 'Rechercher', + 'vector-simplesearch-containing' => 'contenant...', + 'vector-noexperiments-preference' => "M'exclure des expériences de nouvelles fonctionnalités", +); + +/** Franco-Provençal (Arpetan) + * @author ChrisPtDe + */ +$messages['frp'] = array( + 'vector' => 'Mèlyoracions EU por « Vèctor »', + 'vector-desc' => 'Mèlyoracions des èlèments de l’entèrface utilisator de l’habelyâjo « Vèctor ».', + 'vector-collapsiblenav-preference' => 'Activar lo menu de navigacion repleyâblo avouéc l’habelyâjo « Vèctor »', + 'vector-collapsiblenav-more' => 'Més de lengoues', + 'vector-editwarning-warning' => 'Quitar ceta pâge vos farat pèrdre tôs los changements que vos éd fêts. +Se vos éte branchiê, vos pouede enlevar ceti avèrtissement dens la sèccion « Fenétra d’èdicion » de voutres prèferences.', + 'vector-editwarning-preference' => 'M’avèrtir quand quito una pâge de changement sen sôvar los changements', + 'vector-simplesearch-search' => 'Rechèrchiér', + 'vector-simplesearch-containing' => 'que contint...', +); + +/** Friulian (Furlan) + * @author Klenje + */ +$messages['fur'] = array( + 'vector-collapsiblenav-more' => 'Altris lenghis', + 'vector-editwarning-preference' => 'Visimi cuant che o stoi par lassâ une pagjine dulà che a son cambiaments no salvâts', + 'vector-simplesearch-search' => 'Ricercje', + 'vector-simplesearch-containing' => 'che al à dentri...', +); + +/** Traditional Gan script (贛語(繁體)) + * @author Symane + */ +$messages['gan-hant'] = array( + 'vector-simplesearch-search' => '尋吖', +); + +/** Scottish Gaelic (Gàidhlig) + * @author Akerbeltz + */ +$messages['gd'] = array( + 'vector' => 'Leasachaidhean an UI airson Vector', + 'vector-desc' => 'Cuiridh seo piseach air eileamaidean eadar-aghaidh nan cleachdaichean san chraiceann Vector.', + 'vector-collapsiblenav-preference' => 'Cuir an comas dùmhlachadh nan rudan san chlàr-taice seòlaidh san chraiceann Vector', + 'vector-collapsiblenav-more' => 'Barrachd chànan', + 'vector-editwarning-warning' => 'Ma dh\'fhàgas tu an duilleag seo, faodaidh gun caill thu mùthadh sam bith a rinn thu. +Ma tha thu air logadh a-steach, \'s urrainn dhut an rabhadh seo a chur dheth san roinn "Deasachadh" sna roghainnean agad.', + 'vector-editwarning-preference' => 'Thoir rabhadh dhomh ma bhios mi an impis duilleag deasachaidh fhàgail mus do shàbhail mi na mùthaidhean agam', + 'vector-simplesearch-search' => 'Lorg', + 'vector-simplesearch-containing' => 'anns a bheil...', +); + +/** Galician (Galego) + * @author Toliño + */ +$messages['gl'] = array( + 'vector' => 'Melloras na interface de usuario para a aparencia Vector', + 'vector-desc' => 'Mellora os elementos da interface de usuario da aparencia Vector.', + 'vector-collapsiblenav-preference' => 'Activar o menú de navegación despregable á esquerda na aparencia vector', + 'vector-collapsiblenav-more' => 'Máis linguas', + 'vector-editwarning-warning' => 'Deixar esta páxina pode causar a perda de calquera cambio feito. +Se accedeu ao sistema, pode desactivar esta mensaxe de advertencia na sección "Edición" das súas preferencias.', + 'vector-editwarning-preference' => 'Avisádeme cando deixe unha páxina de edición cos cambios sen gardar', + 'vector-simplesearch-search' => 'Procurar', + 'vector-simplesearch-containing' => 'que conteña...', + 'vector-noexperiments-preference' => 'Excluídeme das novas características', +); + +/** Ancient Greek (Ἀρχαία ἑλληνικὴ) */ +$messages['grc'] = array( + 'vector-simplesearch-search' => 'Ζητεῖν', + 'vector-simplesearch-containing' => 'περιέχον...', +); + +/** Swiss German (Alemannisch) + * @author Als-Holder + */ +$messages['gsw'] = array( + 'vector' => 'BI-Verbesserige fir Vektor', + 'vector-desc' => 'Verbesserige an dr Elemänt vu dr Benutzeroberflechi bim Vector-skin', + 'vector-collapsiblenav-preference' => 'Yyklappbar Navgationsmenü yyschalte bi dr Verwändig vu Vector', + 'vector-collapsiblenav-more' => 'Meh Sproche', + 'vector-editwarning-warning' => 'Wänn Du die Syte verlosch, cha s syy, ass Du alli Bearbeitige verliersch, wu Du do dra gmacht hesch. +Wänn Du aagmäldet bisch, chasch s Anzeige vu däre Warnig im „Tekscht-Ygab“-Beryych vu Dyyne Yystelligen abstelle.', + 'vector-editwarning-preference' => 'Warn mi, wänn I ne Syte verloss mit Bearbeitige, wu nonig gspycheret sin', + 'vector-simplesearch-search' => 'Suechi', + 'vector-simplesearch-containing' => 'din het s …', + 'vector-noexperiments-preference' => 'Mi uusschließe vu dr Dailnahm Feature-Experimänt', +); + +/** Manx (Gaelg) + * @author Shimmin Beg + */ +$messages['gv'] = array( + 'vector-collapsiblenav-more' => 'Tooilley çhengaghyn', + 'vector-editwarning-warning' => "My faagys oo y duillag, hed caghlaaghyn erbee er coayl, foddee. +My t'ou uss loggalt stiagh, foddee oo lhiettal y raaue shoh 'sy tosheeaghtyn ayd, 'sy rheynn \"Reaghey\".", + 'vector-editwarning-preference' => 'Cur raaue dou my ta mee faagail duillag reaghey gyn sauail yn obbyr jeant aym', + 'vector-simplesearch-search' => 'Ronsaghey', + 'vector-simplesearch-containing' => 'goaill stiagh...', +); + +/** Hebrew (עברית) + * @author Amire80 + * @author Rotemliss + * @author YaronSh + * @author Yonidebest + */ +$messages['he'] = array( + 'vector' => 'שיפורי מנשק משתמש עבור וקטור', + 'vector-desc' => 'משפר את פריטי מנשק המשתמש של ערכת התצוגה וקטור.', + 'vector-collapsiblenav-preference' => 'הפעלת קיפול פריטים בתפריט הניווט בעיצוב וקטור', + 'vector-collapsiblenav-more' => 'דף זה בשפות אחרות', + 'vector-editwarning-warning' => 'עזיבת דף זה עשויה לגרום לאובדן כל השינויים שביצעתם. +אם אתם מחוברים לחשבון, תוכלו לבטל אזהרה זו בחלק "עריכה" שבהעדפות שלכם.', + 'vector-editwarning-preference' => 'הצגת אזהרה אם אני עומד לעזוב דף עריכה עם שינויים שטרם נשמרו', + 'vector-simplesearch-search' => 'חיפוש', + 'vector-simplesearch-containing' => 'כולל...', + 'vector-noexperiments-preference' => 'אל תכללו אותי בניסויים בעתיד', +); + +/** Croatian (Hrvatski) + * @author Anton008 + * @author Excaliboor + * @author SpeedyGonsales + */ +$messages['hr'] = array( + 'vector' => 'Poboljšanja sučelja stila Vektor', + 'vector-desc' => 'Poboljšava elemente korisničkog sučelja stila Vector.', + 'vector-collapsiblenav-preference' => 'Omogući sklopivi lijevi navigacijski izbornik za Vektor stil', + 'vector-collapsiblenav-more' => 'Više jezika', + 'vector-editwarning-warning' => 'Napuštanje ove stranice može uzrokovati gubitak svake izmjene koju ste napravili. +Možete onemogućiti ovo upozorenje u odjeljku "Širina okvira za uređivanje" Vaših postavki.', + 'vector-editwarning-preference' => 'Upozori me kad napuštam stranicu za uređivanje bez spremanja izmjena', + 'vector-simplesearch-search' => 'Traži', + 'vector-simplesearch-containing' => 'sadrži....', + 'vector-noexperiments-preference' => 'Isključi me iz daljnjih eksperimentiranja', +); + +/** Upper Sorbian (Hornjoserbsce) + * @author Michawiki + */ +$messages['hsb'] = array( + 'vector' => 'Polěpšenja wužiwarskeho powjercha za Vector', + 'vector-desc' => 'Polěpša elementy wužiwarskeho powjercha šata Vector', + 'vector-collapsiblenav-preference' => 'Pokazowanje zapiskow w nawigaciskim meniju w šaće Vector zmóžnić', + 'vector-collapsiblenav-more' => 'Dalše rěče', + 'vector-editwarning-warning' => 'Hdyž so strona wopušća, móžeja so změny zhubić, kotrež sy přewjedł. Jeli sy přizjewjeny, móžeš tute warnowanje we wotrězku Wobdźěłowanje swojich nastajenjow znjemóžnić.', + 'vector-editwarning-preference' => 'Warnować, hdyž so wobdźěłowanska strona z njeskładowanymi změnami wopušća', + 'vector-simplesearch-search' => 'Pytać', + 'vector-simplesearch-containing' => 'wobsahuje...', + 'vector-noexperiments-preference' => 'Mje z funkciskich eksperimentow wuzamknyć', +); + +/** Hungarian (Magyar) + * @author Dani + * @author Hunyadym + * @author Tgr + */ +$messages['hu'] = array( + 'vector' => 'Fejlesztések a Vector felhasználói felületén', + 'vector-desc' => 'Fejlesztések a Vector felület felhasználói felületének elemein.', + 'vector-collapsiblenav-preference' => 'Összecsukható navigációs menü engedélyezése a Vector felületen', + 'vector-collapsiblenav-more' => 'Más nyelveken', + 'vector-editwarning-warning' => 'A lap elhagyásával az összes itt végzett változtatás elveszhet. +Ha be vagy jelentkezve letilthatod ezt a figyelmeztetést a beállításaid „Szerkesztés” szakaszában.', + 'vector-editwarning-preference' => 'Figyelmeztessen, ha szerkesztéskor a módosítások mentése nélkül akarom elhagyni a lapot', + 'vector-simplesearch-search' => 'Keresés', + 'vector-simplesearch-containing' => 'tartalmazza…', + 'vector-noexperiments-preference' => 'Nem akarok kísérleti funkciókat használni', +); + +/** Armenian (Հայերեն) + * @author Xelgen + */ +$messages['hy'] = array( + 'vector-editwarning-warning' => 'Այս էջը լքելով դուք կարող եք կորցնել ձեր կատարած փոփոխությունները։ +Եթե դուք գրանցված եք համակարգում, կարող եք անջատել այս նախազգուշացումը ձեր նախընրությունների «Խմբագրում» բաժնում։', + 'vector-editwarning-preference' => 'Զգուշացնել ինձ, երբ ես լքում եմ խմբագրման էջը առանց կատարած փոփոխությունները հիշելու։', + 'vector-simplesearch-search' => 'Որոնել', +); + +/** Interlingua (Interlingua) + * @author McDutchie + */ +$messages['ia'] = array( + 'vector' => 'Meliorationes del interfacie de usator pro Vector', + 'vector-desc' => 'Meliora le elementos del interfacie de usator del apparentia Vector.', + 'vector-collapsiblenav-preference' => 'Render plicabile le elementos in le menu de navigation in le apparentia Vector', + 'vector-collapsiblenav-more' => 'Plus linguas', + 'vector-editwarning-warning' => 'Quitar iste pagina pote causar le perdita de omne modificationes que tu ha facite. +Si tu ha aperite un session, tu pote disactivar iste aviso in le section "Modification" de tu preferentias.', + 'vector-editwarning-preference' => 'Advertir me quando io quita un pagina de modification sin publicar le cambiamentos', + 'vector-simplesearch-search' => 'Cercar', + 'vector-simplesearch-containing' => 'continente...', + 'vector-noexperiments-preference' => 'Excluder me de functionalitate experimental', +); + +/** Indonesian (Bahasa Indonesia) + * @author Farras + * @author Irwangatot + * @author IvanLanin + * @author Kenrick95 + */ +$messages['id'] = array( + 'vector' => 'Meningkatkan UI untuk Vector', + 'vector-desc' => 'Meningkatkan elemen pada antarmuka penguna dari kulit Vector.', + 'vector-collapsiblenav-preference' => 'Aktifkan fungsi menu navigasi kiri yang dapat ditampilkan pada kulit Vektor', + 'vector-collapsiblenav-more' => 'Lebih banyak bahasa', + 'vector-editwarning-warning' => 'Meninggalkan halaman ini dapat menyebabkan semua perubahan yang belum tersimpan hilang. +Jika Anda telah masuk log, Anda dapat mematikan peringatan ini lewat "Penyuntingan" pada halaman preferensi Anda.', + 'vector-editwarning-preference' => 'Ingatkan saya bila meninggalkan halaman penyuntingan sebelum menyimpan perubahan', + 'vector-simplesearch-search' => 'Cari', + 'vector-simplesearch-containing' => 'isian ...', + 'vector-noexperiments-preference' => 'Kecualikan saya dari percobaan fitur', +); + +/** Igbo (Igbo) + * @author Ukabia + */ +$messages['ig'] = array( + 'vector-simplesearch-search' => 'Chöwá', +); + +/** Ido (Ido) + * @author Malafaya + */ +$messages['io'] = array( + 'vector-collapsiblenav-more' => 'Plusa lingui', + 'vector-simplesearch-search' => 'Serchez', + 'vector-simplesearch-containing' => 'quan kontenas...', +); + +/** Icelandic (Íslenska) + * @author Krun + * @author Ævar Arnfjörð Bjarmason + */ +$messages['is'] = array( + 'vector-collapsiblenav-more' => 'Fleiri tungumál', + 'vector-simplesearch-search' => 'Leita', + 'vector-simplesearch-containing' => 'sem innihalda ...', +); + +/** Italian (Italiano) + * @author Beta16 + * @author Una giornata uggiosa '94 + */ +$messages['it'] = array( + 'vector' => "Miglioramenti all'interfaccia utente per Vector", + 'vector-desc' => "Migliora gli elementi dell'interfaccia utente della skin Vector.", + 'vector-collapsiblenav-preference' => 'Abilita menù di navigazione nascondibile per la skin Vector', + 'vector-collapsiblenav-more' => 'Più lingue', + 'vector-editwarning-warning' => 'Lasciare questa pagina potrebbe costarti la perdita di tutti i cambiamenti effettuati. +Se sei loggato, puoi disattivare questo avviso nella sezione "Casella di modifica" delle tue preferenze.', + 'vector-editwarning-preference' => 'Avvisa quando lascio una pagina di modifica con modifiche non salvate', + 'vector-simplesearch-search' => 'Ricerca', + 'vector-simplesearch-containing' => 'contenente...', + 'vector-noexperiments-preference' => 'Escludimi dalle funzionalità sperimentali', +); + +/** Japanese (日本語) + * @author Fryed-peach + * @author Whym + * @author 青子守歌 + */ +$messages['ja'] = array( + 'vector' => 'ベクター用ユーザーインターフェイス改良', + 'vector-desc' => 'ベクター・スキンのユーザーインターフェイス要素を改良する。', + 'vector-collapsiblenav-preference' => 'ベクター外装のナビゲーションで、項目の折り畳みを有効化する', + 'vector-collapsiblenav-more' => '他の言語', + 'vector-editwarning-warning' => 'このページを離れると、あなたが行った変更はすべて失われてしまうかもしれません。ログインしている場合、個人設定の「編集」タブでこの警告を表示しないようにすることができます。', + 'vector-editwarning-preference' => '変更を保存せずに編集画面から離れようとした際に警告する', + 'vector-simplesearch-search' => '検索', + 'vector-simplesearch-containing' => 'この語句を全文検索', + 'vector-noexperiments-preference' => '機能についての実験から自分を除外する', +); + +/** Javanese (Basa Jawa) */ +$messages['jv'] = array( + 'vector-simplesearch-search' => 'Golèk', +); + +/** Georgian (ქართული) + * @author BRUTE + * @author გიორგიმელა + */ +$messages['ka'] = array( + 'vector' => 'ვექტორული თემის ინტერფეისის გაუმჯობესება', + 'vector-desc' => 'ვექტორული თემის სამომხმარებლო ინტერფეისის გაუმჯობესება', + 'vector-collapsiblenav-preference' => 'დართეთ მარცხნივ "ვექტორ" დიზაინში ბლოკების ჩაკეცვა', + 'vector-collapsiblenav-more' => 'დამატებითი ენები', + 'vector-editwarning-warning' => 'სხვა გვერდზე გადასვლა გამოიწვევს ცვლილებების დაკარგვას.', + 'vector-editwarning-preference' => 'გამაფრთხილე, როდესაც დავტოვებ რედაქტირებად გვერდს, დაუმახსოვრებელი ცვლილებებით', + 'vector-simplesearch-search' => 'ძიება', + 'vector-simplesearch-containing' => 'შეიცავს...', +); + +/** Kalaallisut (Kalaallisut) + * @author Qaqqalik + */ +$messages['kl'] = array( + 'vector-simplesearch-search' => 'Ujarlerit', +); + +/** Khmer (ភាសាខ្មែរ) + * @author គីមស៊្រុន + */ +$messages['km'] = array( + 'vector-collapsiblenav-more' => 'ភាសាផ្សេងទៀត', + 'vector-editwarning-warning' => 'ចាកចេញពីទំព័រនេះ នឹងធ្វើឲ្យអ្នកបាត់បង់កំណែប្រែដែលអ្នកបានធ្វើ។ +ប្រសិនបើអ្នកបានកត់ឈ្មោះរួចហើយ អ្នកអាចបិទបម្រាមនេះនៅក្នុងផ្នែក "កំណែប្រែ" នៃចំណូលចិត្តរបស់អ្នក។', + 'vector-editwarning-preference' => 'សូមព្រមានខ្ញុំ ពេលដែលខ្ញុំចាកចេញពីទំព័រកែប្រែដោយមិនបានរក្សាទុកបំលាស់ប្ដូរនានា', + 'vector-simplesearch-search' => 'ស្វែងរក', + 'vector-simplesearch-containing' => 'ដែលមានពាក្យ...', +); + +/** Korean (한국어) + * @author Albamhandae + * @author IRTC1015 + * @author Kwj2772 + */ +$messages['ko'] = array( + 'vector' => '벡터 스킨의 인터페이스 향상', + 'vector-desc' => '벡터 스킨의 사용자 인터페이스를 향상', + 'vector-collapsiblenav-preference' => '왼쪽 사이드바 메뉴 접기(벡터 스킨 전용)', + 'vector-collapsiblenav-more' => '기타 언어', + 'vector-editwarning-warning' => '이 창에서 벗어나면 저장하지 않은 편집이 모두 사라집니다. +로그인한 경우, 환경 설정 ‘편집상자’란에서 이 경고창을 띄우지 않도록 설정할 수 있습니다.', + 'vector-editwarning-preference' => '수정한 내용을 저장하지 않고 편집 양식을 닫거나 다른 페이지로 이동할 때 알림', + 'vector-simplesearch-search' => '검색', + 'vector-simplesearch-containing' => '다음의 어구가 들어간 문서 찾기', + 'vector-noexperiments-preference' => '새 기능 실험에서 나를 제외합니다.', +); + +/** Karachay-Balkar (Къарачай-Малкъар) + * @author Iltever + */ +$messages['krc'] = array( + 'vector' => '«Вектор» темагъа интерфейсни игилендириу', + 'vector-desc' => '«Вектор» темагъа къошулуучу интерфейсни игилендириулери', + 'vector-collapsiblenav-preference' => 'Сол менюда «Вектор» темада блокла джашырыу амалны джандыр', + 'vector-collapsiblenav-more' => 'Дагъыда тилле', + 'vector-editwarning-warning' => 'Башха бетге кёчсегиз, этген тюрлениулеригиз тас болургъа боллукъдула. +Системада регистрацияны ётген эсегиз, бу билдириуню джарашдырыуларыгъызны «Тюрлендириу» деген бёлюмюнде джукълатыргъа боллукъсуз.', + 'vector-editwarning-preference' => 'Тюрлендириулени сакълатмай редакторлау бетден кетген сагъатымда билдир', + 'vector-simplesearch-search' => 'Излеу', + 'vector-simplesearch-containing' => 'ичиндегиси…', +); + +/** Colognian (Ripoarisch) + * @author Purodha + */ +$messages['ksh'] = array( + 'vector' => 'Verbäßert Schnettschtäll för Minsche en dä Vektor Bovverfläsch.', + 'vector-desc' => 'Verbäßert Schnettschtäll för Minsche en dä Vektor Bovverfläsch.', + 'vector-collapsiblenav-preference' => 'Donn zohlohße, Ußwahle em Ußsinn „Vektor“ zoh_ze_klappe', + 'vector-collapsiblenav-more' => 'Mieh Shprooche', + 'vector-editwarning-warning' => 'Wann de vun hee dä Sigg fott jeihß, doh künnte all Ding Änderunge aan dä Sigg verschött jonn. +Do kanns heh di Warnung affschallde, wann de aanjemelldt un enjelogg bes, dann kriß de se nieh mieh wider. Jangk doför en dä Affschnett „Beim Bearbeide“ en Dinge Enshtellunge.', + 'vector-editwarning-preference' => 'Donn mesch warne, wann esch vun en Sigg fott jonn, ih dat esch all ming Änderunge avjeschpeischert hann.', + 'vector-simplesearch-search' => 'Söhke', + 'vector-simplesearch-containing' => 'dren änthallde…', + 'vector-noexperiments-preference' => 'Donn mesch nit met neue Saache zom Ußprobeere behällijje', +); + +/** Kurdish (Latin) (Kurdî (Latin)) + * @author Erdal Ronahi + */ +$messages['ku-latn'] = array( + 'vector-collapsiblenav-more' => 'Zêdetir ziman', + 'vector-simplesearch-search' => 'Lêgerîn', + 'vector-simplesearch-containing' => 'dihundirîne...', +); + +/** Cornish (Kernowek) + * @author Kw-Moon + */ +$messages['kw'] = array( + 'vector-collapsiblenav-more' => 'Moy a yethow', + 'vector-editwarning-warning' => 'Mar qwrewgh whi gara an folen-ma, whi a alja kelly chanjyow eus gwres genowgh. +Mars owgh whi omgelmys, whi a ell dialosegy an gwarnyans-ma en trogh "Chanjya" agas dowisyanjow.', + 'vector-editwarning-preference' => 'Gwra ow gwarnya pan von gara folen chanjya gen chanjyow nag eus gwithys', + 'vector-simplesearch-search' => 'Whilas', + 'vector-simplesearch-containing' => 'ow senjy...', +); + +/** Latin (Latina) */ +$messages['la'] = array( + 'vector-simplesearch-search' => 'Quaerere', +); + +/** Luxembourgish (Lëtzebuergesch) + * @author Robby + */ +$messages['lb'] = array( + 'vector' => 'Verbesserunge vum Benotzer-IInterface (UI) fir Vector', + 'vector-desc' => "Verbessert am Benotzer-Interface Elementer vum Ausgesinn ''Vector''.", + 'vector-collapsiblenav-preference' => 'Zesummeklappe vun Objeten am Navigatiounsmenü am Vector-Ausgesinn aschalten', + 'vector-collapsiblenav-more' => 'Méi Sproochen', + 'vector-editwarning-warning' => 'Wann Dir dës Säit verloosst kann dat dozou féieren datt Dir all Ännerungen, déi Dir gemaach hutt, verléiert. +Wann Dir ageloggt sidd, kënnt Dir dës Warnung an der Sektioun "Änneren" vun Ären Astellungen ausschalten.', + 'vector-editwarning-preference' => "Mech warne wann ech d'Ännerung vun enger Säit verloosen, ouni Ännerunge gespäichert ze hunn", + 'vector-simplesearch-search' => 'Sichen', + 'vector-simplesearch-containing' => 'mat ...', + 'vector-noexperiments-preference' => 'Mech vun Experimenter mat neie Fonctiounen eraushuelen', +); + +/** Ganda (Luganda) + * @author Kizito + */ +$messages['lg'] = array( + 'vector-editwarning-warning' => 'Bw\'ova ku lupapula luno kiyinza okuleetera enkyukakyuka z\'olukozeko okuvawo.<br /> +Bw\'oba nga okola oyingidde mu sisitemu, okulabula kuno oyinza okukusirisa nga weyambisa<br /> +ebiri mu kitundu ekya "Kukyusa" eky\'omu "Nteekateeka yange".', +); + +/** Limburgish (Limburgs) + * @author Ooswesthoesbes + */ +$messages['li'] = array( + 'vector' => 'Vectorgebroekersinterfaceverbaeteringe', + 'vector-desc' => 'Verbaetertj de vectorgebroekersinterface-illemente', + 'vector-collapsiblenav-preference' => 'Zèt inklapbaar navigatiemenu in bie vectorgebroek', + 'vector-collapsiblenav-more' => 'Mieë spräök', + 'vector-editwarning-warning' => "Es se dees pagina verleets verluus se meugelik wieziginge die se haes gemaak. +Es se bös aangemeld, kins se dees waorsjoewing oetzètten in 't bewerkingstabblaad in dien veurkäöre.", + 'vector-editwarning-preference' => "Waorssjoew mich es ich 'n bewerkdje pagina die nag neet is opgeslage wil verlaote", + 'vector-simplesearch-search' => 'Zeuke', + 'vector-simplesearch-containing' => 'bevat...', +); + +/** Lithuanian (Lietuvių) + * @author Garas + * @author Matasg + */ +$messages['lt'] = array( + 'vector' => '„Vektorinės“ vartotojo sąsajos patobulinimai', + 'vector-collapsiblenav-more' => 'Daugiau kalbų', + 'vector-editwarning-warning' => 'Palikdamas šį puslapį jūs prarasite visus padarytus pakeitimus.', + 'vector-editwarning-preference' => 'Perspėti mane, kai palieku redagavimo puslapį, o jame yra neišsaugotų pakeitimų', + 'vector-simplesearch-search' => 'Ieškoti', +); + +/** Latvian (Latviešu) + * @author GreenZeb + * @author Xil + */ +$messages['lv'] = array( + 'vector' => 'Vector lietotāja saskarsnes uzlabojumi', + 'vector-desc' => 'Uzlabo lietotāja saskarsnes elementus Vector apdarē.', + 'vector-collapsiblenav-more' => 'Vairāk valodu', + 'vector-editwarning-warning' => 'Atstājot šo lapu tu zaudēsi izdarītās izmaiņas. +Ja esi pieteicies, jūs vari atspējot šo brīdinājumu savās izvēlēs sadaļā "rediģēšana"', + 'vector-editwarning-preference' => 'Brīdināt mani, kad es atstāju lapas rediģēšanu nesaglabājot izmaiņas', + 'vector-simplesearch-search' => 'Meklēt', + 'vector-simplesearch-containing' => 'Meklējamā frāze:', +); + +/** Minangkabau (Baso Minangkabau) + * @author VoteITP + */ +$messages['min'] = array( + 'vector' => 'Membaiki UI untuak Vektor', + 'vector-desc' => 'Membaiki elemen pado antamuka pangguno dari kulit Vektor', + 'vector-collapsiblenav-preference' => 'Aktifkan fungsi menu navigasi yang dapek ditampilkan pado kulit Vektor', + 'vector-collapsiblenav-more' => 'Labiah banyak baso', + 'vector-editwarning-warning' => 'Maninggakan laman ko dapek maakibatkan parubahan yang awak buek hilang. Jiko awak lah masuak log, awak dapek maabaikan maklumat ko malalui "Suntingan" pado laman preferensi awak.', + 'vector-editwarning-preference' => 'Ingekkan denai katiko denai maninggakan laman suntiang sabalun menyimpan parubahan', + 'vector-simplesearch-search' => 'Cari', + 'vector-simplesearch-containing' => 'Barisi...', +); + +/** Macedonian (Македонски) + * @author Bjankuloski06 + */ +$messages['mk'] = array( + 'vector' => 'Подобрувања на посредникот за изгледот „Векторски“', + 'vector-desc' => 'Ги подобрува елементите на корисничкиот посредник на изгледот „Векторски“.', + 'vector-collapsiblenav-preference' => 'Овозможи расклопување на елементи во навигационо мени во рувото „Векторско“', + 'vector-collapsiblenav-more' => 'Повеќе јазици', + 'vector-editwarning-warning' => 'Ако ја напуштите страницата ќе ги изгубите сите промени кои сте ги направиле. +Ако сте најавени, можете да го исклучите ова предупредување во одделот „Уредување“ во вашите нагодувања.', + 'vector-editwarning-preference' => 'Предупреди ме кога сакам да напуштам страница за уредување без да ги имам зачувано промените', + 'vector-simplesearch-search' => 'Пребарување', + 'vector-simplesearch-containing' => 'содржи...', + 'vector-noexperiments-preference' => 'Изземиме од експерименти so функции', +); + +/** Malayalam (മലയാളം) + * @author Junaidpv + * @author Praveenp + */ +$messages['ml'] = array( + 'vector' => 'വെക്റ്റർ ദൃശ്യരൂപത്തിന്റെ സമ്പർക്കമുഖ മെച്ചപ്പെടുത്തലുകൾ', + 'vector-desc' => 'വെക്റ്റർ ദൃശ്യരൂപത്തിൽ ഉപയോക്തൃ സമ്പർക്കമുഖ ഘടകങ്ങളിലെ മെച്ചപ്പെടുത്തലുകൾ.', + 'vector-collapsiblenav-preference' => 'വെക്റ്റർ ദൃശ്യരൂപത്തിൽ ഇടതുവശത്തെ വഴികാട്ടി മെനു ചുരുക്കാവുന്നതാക്കി സജ്ജീകരിക്കുക', + 'vector-collapsiblenav-more' => 'ഇതര ഭാഷകളിൽ', + 'vector-editwarning-warning' => 'ഈ താളിൽ നിന്നും പോകുന്നത് താങ്കൾ വരുത്തിയ മാറ്റങ്ങൾ നഷ്ടപ്പെടാൻ ഇടയാക്കും. +താങ്കൾ ലോഗിൻ ചെയ്തിട്ടുണ്ടെങ്കിൽ, താങ്കളുടെ ക്രമീകരണങ്ങളിൽ "തിരുത്തൽ" എന്ന ഭാഗത്ത് ചെന്ന് ഈ അറിയിപ്പ് പ്രദർശിപ്പിക്കുന്നത് ഒഴിവാക്കാവുന്നതാണ്.', + 'vector-editwarning-preference' => 'സേവ് ചെയ്യാത്ത മാറ്റങ്ങളോടു കൂടിയ തിരുത്തൽ താളിൽ നിന്നും പോകുമ്പോൾ എന്നെ അറിയിക്കുക', + 'vector-simplesearch-search' => 'തിരയുക', + 'vector-simplesearch-containing' => 'ഉൾപ്പെടുത്തുന്നു...', + 'vector-noexperiments-preference' => 'സവിശേഷഗുണങ്ങൾ പരീക്ഷിക്കുന്നതിൽ നിന്നും എന്നെ ഒഴിവാക്കുക', +); + +/** Mongolian (Монгол) */ +$messages['mn'] = array( + 'vector-simplesearch-search' => 'Хайх', +); + +/** Marathi (मराठी) + * @author Mahitgar + * @author V.narsikar + */ +$messages['mr'] = array( + 'vector' => 'समदिश परिधानाच्या उपयोगकर्ता-आंतरपृष्ठातील(UI) सुधारणा', + 'vector-desc' => 'समदिश परिधान (व्हेक्टर) त्वचेच्या उपयोगकर्ता-आंतरपृष्ठ (इंटरफेस) घटकांमध्ये सुधारणा करते', + 'vector-collapsiblenav-preference' => 'समदिश परिधानाच्या सुचालनानुक्रमातील घटकांची घडीक्षमता सक्षम करा.', + 'vector-collapsiblenav-more' => 'इतर भाषा दाखवा', + 'vector-editwarning-warning' => "या पानावरुन दुसर्या पानावर गेल्यास, तुम्ही येथे केलेले बदल जतन होणार नाहीत. +ही सूचना घालवण्यासाठी ''माझ्या पसंती'' मधील संपादनपसंतीत बदल करा.", + 'vector-editwarning-preference' => 'जर मी संपादित करीत असलेल्या पानावरील माझे संपादिलेले बदल जतन न केल्यास मला इशारा द्या', + 'vector-simplesearch-search' => 'शोधा', + 'vector-simplesearch-containing' => '.......हे असलेले', +); + +/** Malay (Bahasa Melayu) + * @author Anakmalaysia + * @author Aurora + * @author Diagramma Della Verita + */ +$messages['ms'] = array( + 'vector' => 'pembaikian untuk Vector', + 'vector-desc' => 'Meningkatkan tetapan pengguna pada halaman Vector', + 'vector-collapsiblenav-preference' => 'Aktifkan menu navigasi pada laman', + 'vector-collapsiblenav-more' => 'Bahasa lain', + 'vector-editwarning-warning' => 'Meninggalkan laman ini mungkin akan menyebabkan anda kehilangan sebarang perubahan yang telah anda lakukan. +Anda boleh melumpuhkan amaran in di bahagian "Menyunting" dalam keutamaan anda.', + 'vector-editwarning-preference' => 'Beri saya amaran apabila saya meninggalkan sesebuah laman penyuntingan tanpa menyimpan perubahan.', + 'vector-simplesearch-search' => 'Cari', + 'vector-simplesearch-containing' => 'mengandungi...', + 'vector-noexperiments-preference' => 'Kecualikan saya dari uji kaji ciri', +); + +/** Maltese (Malti) + * @author Chrisportelli + */ +$messages['mt'] = array( + 'vector' => 'Titjib tal-interfaċċa tal-utent għal Vector', + 'vector-desc' => 'Ittejjeb l-elementi tal-interfaċċa tal-utent tal-aspett grafiku Vector.', + 'vector-collapsiblenav-preference' => "Ippermetti ''menus'' tan-navigazzjoni li jistew jinħbew fl-aspett grafiku Vector", + 'vector-collapsiblenav-more' => 'Aktar lingwi', + 'vector-editwarning-warning' => 'Jekk tħalli din il-paġna jista\' jwassal sabiex titlef kwalunkwe tibdil li tkun għamilt. Jekk int tinsab fil-kont tiegħek, tista\' tneħħi dan l-avviż fis-sezzjoni "Modifiki" tal-preferenzi tiegħek.', + 'vector-editwarning-preference' => "Avżani kull meta nħalli paġna ta' modifika b'modifiki li għadhom ma ġewx salvati", + 'vector-simplesearch-search' => 'Fittex', + 'vector-simplesearch-containing' => 'li tinkludi...', +); + +/** Nahuatl (Nāhuatl) + * @author Ricardo gs + * @author Teòtlalili + */ +$messages['nah'] = array( + 'vector-collapsiblenav-more' => 'Okseki tlâtòltìn', + 'vector-simplesearch-search' => 'Tlatēmoliztli', +); + +/** Nedersaksisch (Nedersaksisch) + * @author Servien + */ +$messages['nds-nl'] = array( + 'vector-collapsiblenav-preference' => "Inklapbaor navigasiemenu inschakelen bie 't gebruuk van Vector", + 'vector-collapsiblenav-more' => 'Meer talen', + 'vector-editwarning-warning' => 'A-j disse pagina ofsluten dan kan \'t ween dat der wieziging dee-j emaak hemmen kwiet raken. +A-j an-emeld bin, dan ku-j disse waorschuwing uutzetten in \'t tabblad "Bewarken" in joew veurkeuren.', + 'vector-editwarning-preference' => 'Waorschuw mien a-k een bewörken pagina of wil sluten dee-j nog neet op-esleugen is', + 'vector-simplesearch-search' => 'Zeuken', + 'vector-simplesearch-containing' => 'bevat...', +); + +/** Dutch (Nederlands) + * @author Siebrand + */ +$messages['nl'] = array( + 'vector' => 'Gebruikersinterfaceverbeteringen voor Vector', + 'vector-desc' => 'Verbetert de gebruikersinterfaceelementen van het uiterlijk Vector', + 'vector-collapsiblenav-preference' => 'Inklapbaar navigatiemenu inschakelen bij gebruik van Vector', + 'vector-collapsiblenav-more' => 'Meer talen', + 'vector-editwarning-warning' => 'Als u deze pagina verlaat verliest u mogelijk wijzigingen die u hebt gemaakt. +Als u bent aangemeld, kunt u deze waarschuwing uitschakelen in het tabblad "Bewerken" in uw voorkeuren.', + 'vector-editwarning-preference' => 'Waarschuw mij als ik een bewerkte pagina die nog niet is opgeslagen wil verlaten', + 'vector-simplesearch-search' => 'Zoeken', + 'vector-simplesearch-containing' => 'bevat...', + 'vector-noexperiments-preference' => 'Mij in de toekomst niet laten deelnemen aan experimenten', +); + +/** Norwegian Nynorsk (Norsk (nynorsk)) + * @author Gunnernett + */ +$messages['nn'] = array( + 'vector-collapsiblenav-more' => 'Fleire språk', + 'vector-editwarning-warning' => 'Gjennom å navigera vekk frå denne sida vil du mista alle endringane du måtte ha gjort. +Denne åtvaringa kan slåast av under Endring i instillingane dine.', + 'vector-editwarning-preference' => 'Gje ei åtvaring om eg går ut av ei redigeringsside og ikkje alle endringar er lagra', + 'vector-simplesearch-search' => 'Søk', + 'vector-simplesearch-containing' => 'inneheld ...', +); + +/** Norwegian (bokmål) (Norsk (bokmål)) + * @author Jon Harald Søby + * @author Laaknor + * @author Nghtwlkr + */ +$messages['no'] = array( + 'vector' => 'Brukergrensesnittsforbedringer for Vector', + 'vector-desc' => 'Forbedrer elementer i brukergrensesnittet for Vector-utseendet.', + 'vector-collapsiblenav-preference' => 'Aktiver sammenlegging av element i navigeringsmenyen i drakten Vector', + 'vector-collapsiblenav-more' => 'Flere språk', + 'vector-editwarning-warning' => 'Ved å forlate siden vil du miste alle endringer du har utført. +Denne advarselen kan slås av under Redigering i instillingene dine.', + 'vector-editwarning-preference' => 'Si ifra dersom jeg forlater en side jeg har gjort redigeringer på men ikke har lagret siden.', + 'vector-simplesearch-search' => 'Søk', + 'vector-simplesearch-containing' => 'inneholder …', + 'vector-noexperiments-preference' => 'Eksluder meg fra funksjonseksperimenter', +); + +/** Occitan (Occitan) + * @author Cedric31 + */ +$messages['oc'] = array( + 'vector' => 'Melhoraments IU per Vector', + 'vector-desc' => "Melhoraments dels elements de l'interfàcia d'utilizaire de l'abilhatge Vector.", + 'vector-collapsiblenav-preference' => "Activar lo menut de navigacion d'esquèrra replegable", + 'vector-editwarning-warning' => "Quitar aquesta pagina vos farà pèrdre totas las modificacions qu'avètz fachas. +Se sètz connectat amb vòstre compte, podètz levar aqueste avertiment dins la seccion Fenèstra de modificacion de vòstras preferéncias.", + 'vector-editwarning-preference' => 'M’avisar quand quiti una pagina de modificacion sens publicar los cambiaments', + 'vector-simplesearch-search' => 'Recercar', + 'vector-simplesearch-containing' => 'que conten...', +); + +/** Deitsch (Deitsch) + * @author Xqt + */ +$messages['pdc'] = array( + 'vector-collapsiblenav-more' => 'Weidere Schprooche', + 'vector-simplesearch-search' => 'Uffgucke', +); + +/** Polish (Polski) + * @author Sp5uhe + */ +$messages['pl'] = array( + 'vector' => 'Ulepszenia interfejsu użytkownika dla skórki Wektor', + 'vector-desc' => 'Poprawia elementy interfejsu użytkownika skórki Wektor.', + 'vector-collapsiblenav-preference' => 'Włącz po lewej rozwijalne menu nawigacyjne w skórce Wektor', + 'vector-collapsiblenav-more' => 'Inne języki', + 'vector-editwarning-warning' => 'Opuszczenie tej strony może spowodować utratę wprowadzonych przez Ciebie zmian. +Jeśli jesteś zalogowany możesz wyłączyć wyświetlanie tego ostrzeżenia w zakładce Edycja w swoich preferencjach.', + 'vector-editwarning-preference' => 'Ostrzegaj mnie, gdy opuszczam stronę edycji bez zapisania zmian', + 'vector-simplesearch-search' => 'Szukaj', + 'vector-simplesearch-containing' => 'zawierające...', + 'vector-noexperiments-preference' => 'Nie chcę w przyszłości brać udziału w testach', +); + +/** Piedmontese (Piemontèis) + * @author Borichèt + * @author Dragonòt + */ +$messages['pms'] = array( + 'vector' => 'Ameliorament UI për Vector', + 'vector-desc' => "Ameliorament ëd j'element dl'antërfacia utent dla pel Vector.", + 'vector-collapsiblenav-preference' => "Abilité a stërmé j'element ant la bara ëd navigassion ant ël livel Vector", + 'vector-collapsiblenav-more' => "Pì 'd lenghe", + 'vector-editwarning-warning' => "Lassé sta pàgina-sì a peul fé an manera che it perde tute le modìfiche ch'it l'has fàit. +S'it ses logà, it peule disabilité st'avis-sì ant la session \"Quàder ëd modìfica dël test\" dij tò gust.", + 'vector-editwarning-preference' => 'Avisme quand che i lasso na pàgina ëd modìfiche con modìfiche nen salvà', + 'vector-simplesearch-search' => 'Arserca', + 'vector-simplesearch-containing' => 'contenent ...', + 'vector-noexperiments-preference' => "Gav-me da j'esperiment ëd le funsion", +); + +/** Pontic (Ποντιακά) */ +$messages['pnt'] = array( + 'vector-simplesearch-search' => 'Αράεμαν', +); + +/** Pashto (پښتو) + * @author Ahmed-Najib-Biabani-Ibrahimkhel + */ +$messages['ps'] = array( + 'vector-collapsiblenav-more' => 'نورې ژبې', + 'vector-simplesearch-search' => 'پلټل', +); + +/** Portuguese (Português) + * @author Hamilton Abreu + * @author Helder.wiki + */ +$messages['pt'] = array( + 'vector' => 'Melhorias da interface do tema Vector', + 'vector-desc' => 'Melhora os elementos da interface do utilizador para o tema Vector', + 'vector-collapsiblenav-preference' => 'Permitir o ocultamento dos elementos do menu de navegação no tema Vector', + 'vector-collapsiblenav-more' => 'Mais línguas', + 'vector-editwarning-warning' => 'Abandonar esta página pode fazer com que perca todas as suas alterações. +Se estiver autenticado, pode desactivar este aviso na secção "Edição" das preferências.', + 'vector-editwarning-preference' => 'Avisar-me ao abandonar uma página editada sem gravar as alterações.', + 'vector-simplesearch-search' => 'Pesquisa', + 'vector-simplesearch-containing' => 'contendo...', + 'vector-noexperiments-preference' => 'Excluir-me da experimentação de funcionalidades', +); + +/** Brazilian Portuguese (Português do Brasil) + * @author Daemorris + * @author Everton137 + * @author Giro720 + * @author Helder.wiki + */ +$messages['pt-br'] = array( + 'vector' => 'Melhorias da IU do Vector', + 'vector-desc' => 'Melhora a interface do usuário do tema Vector', + 'vector-collapsiblenav-preference' => 'Ativar o ocultamento de itens no menu de navegação no tema Vector', + 'vector-collapsiblenav-more' => 'Mais idiomas', + 'vector-editwarning-warning' => 'Abandonar esta página pode fazer com que você perca todas as alterações que fez. +Se você estiver autenticado, você pode desabilitar este aviso na seção "Opções de edição" de suas preferências.', + 'vector-editwarning-preference' => 'Avisar-me quando eu deixar uma janela de edição sem ter salvo as alterações', + 'vector-simplesearch-search' => 'Pesquisa', + 'vector-simplesearch-containing' => 'contendo...', + 'vector-noexperiments-preference' => 'Excluir-me da experimentação de funcionalidades', +); + +/** Quechua (Runa Simi) + * @author AlimanRuna + */ +$messages['qu'] = array( + 'vector' => 'Ruraqpaq uyapurapi Vector nisqapaq allinchasqakuna', + 'vector-desc' => 'Ruraqpaq uyapurapi Vector qarap qallawankunata allinchan.', + 'vector-collapsiblenav-preference' => "Vector qarap wamp'unanpi qallawa pakana llamk'anata atichiy", + 'vector-collapsiblenav-more' => 'Aswan rimaykuna', + 'vector-editwarning-warning' => "Kay p'anqata saqispaykiqa lliw rurarqusqayki hukchasqakunatachá chinkachiykiman. +Yaykusqa kaspaykiqa, kay yuyampayta hark'ayta atinki allinkachinaykikunapi \"Llamk'apusqa\" rakipi.", + 'vector-editwarning-preference' => "Yuyampaway p'anqata saqiptiy manaraq rurarqusqay hukchasqakunata waqaychaspay.", + 'vector-simplesearch-search' => 'Maskay', + 'vector-simplesearch-containing' => 'kaykunayuq: ...', + 'vector-noexperiments-preference' => 'Ñuqawan ama lliplli llanchikukunata ruraychu', +); + +/** Romanian (Română) + * @author AdiJapan + * @author Minisarm + */ +$messages['ro'] = array( + 'vector' => 'Îmbunătățiri la nivelul interfeței Vector', + 'vector-desc' => 'Îmbunătățiri ale elementelor interfeței Vector.', + 'vector-collapsiblenav-preference' => 'Activează ascunderea elementelor meniului de navigare în interfața Vector', + 'vector-collapsiblenav-more' => 'Mai multe limbi', + 'vector-editwarning-warning' => 'Părăsind această pagină, există riscul pierderii modificărilor efectuate. +Dacă sunteți autentificat, puteți dezactiva această avertizare în secțiunea „Modificare” a preferințelor dumneavoastră.', + 'vector-editwarning-preference' => 'Avertizează-mă când părăsesc o pagină fără a salva modificările', + 'vector-simplesearch-search' => 'Căutare', + 'vector-simplesearch-containing' => 'conținând...', + 'vector-noexperiments-preference' => 'Nu mai vreau să iau parte la experimente viitoare', +); + +/** Tarandíne (Tarandíne) + * @author Joetaras + */ +$messages['roa-tara'] = array( + 'vector' => 'Miglioramende UI pe Vector', + 'vector-desc' => "Migliore l'elemende de l'inderfacce utende d'a schermate Vector.", + 'vector-collapsiblenav-preference' => "Abbilete 'a chiusure de le artichele jndr'à 'u menu de navigazione sus a 'u skin Vector", + 'vector-collapsiblenav-more' => 'Cchiù linguagge', + 'vector-editwarning-warning' => 'Assenne da sta pàgene tu puè perdè tutte le date ca è cangiate. +Ce tu è trasute, tu puè disabbilità st\'avvertimende jndr\'à sezione "Cangiaminde..." de le preferenze tune.', + 'vector-editwarning-preference' => "Avvisave quanne jie lasse 'na pàgene cangiate senze ca agghie sarvate le cangiaminde", + 'vector-simplesearch-search' => 'Cirche', + 'vector-simplesearch-containing' => 'tène...', + 'vector-noexperiments-preference' => 'Escludeme da le funziune sperimendale', +); + +/** Russian (Русский) + * @author G0rn + * @author MaxSem + * @author Александр Сигачёв + */ +$messages['ru'] = array( + 'vector' => 'Улучшения интерфейса для темы «Векторное»', + 'vector-desc' => 'Улучшения пользовательского интерфейса для темы оформления «Векторное»', + 'vector-collapsiblenav-preference' => 'Разрешить сворачивать блоки в левом меню в теме «Векторное»', + 'vector-collapsiblenav-more' => 'Больше языков', + 'vector-editwarning-warning' => 'Переход на другую страницу может привести к потере сделанных вами изменений. +Если вы зарегистрированы в системе, то вы можете отключить это предупреждение в разделе «Редактирование» ваших настроек.', + 'vector-editwarning-preference' => 'Предупреждать, когда я покидаю страницу с несохранёнными изменениями', + 'vector-simplesearch-search' => 'Поиск', + 'vector-simplesearch-containing' => 'содержащие…', + 'vector-noexperiments-preference' => 'Не предлагать экспериментальные возможности', +); + +/** Rusyn (Русиньскый) + * @author Gazeb + */ +$messages['rue'] = array( + 'vector' => 'Здоконалїня хосновательского інтерфейсу про Вектор', + 'vector-desc' => 'Здоконалює елементы хосновательского інтерфейсу Вектор.', + 'vector-collapsiblenav-preference' => 'Поволити згортати положкы навіґачного меню во взглядї «Векторне»', + 'vector-collapsiblenav-more' => 'Іншы языкы', + 'vector-editwarning-warning' => 'Переход на іншу сторінку запричінить страту вашых змін. +Покы сьте {{GENDER:|приголошеный|приголошена|приголошены}}, можете собі тото варованя выпнути на заложцї „Едітованя“ в хосновательскім наставлїню.', + 'vector-editwarning-preference' => 'Упозорнити ня, кідь буду опущати сторінку без уложіня змін', + 'vector-simplesearch-search' => 'Глядати', + 'vector-simplesearch-containing' => 'обсягуючій...', +); + +/** Yakut (Саха тыла) + * @author HalanTul + */ +$messages['sah'] = array( + 'vector' => '"Вектор" диэн тиэмэни тупсарар', + 'vector-desc' => 'Вектор диэн тиэмэ туттар интерфейсын тупсарыы', + 'vector-collapsiblenav-preference' => 'Вектор тиэмэ хаҥас менютугар блоктары куччатары (сворачивание) көҥүллүүргэ', + 'vector-collapsiblenav-more' => 'Өссө тыллар', + 'vector-editwarning-warning' => 'Атын сирэйгэ көстөххүнэ билигин оҥорбут уларытыыларыҥ барыта сүтэн хаалыахтара. +Бэлиэтэммит буоллаҕына, бу сэрэтиини туруорууларыҥ «Уларытыы» сирэйигэр араарыаххын сөп.', + 'vector-editwarning-preference' => 'Эрэдээксийэлиир сирэйтэн уларытыыларбын бигэргэппэккэ тахсаары гыннахпына сэрэтээр', + 'vector-simplesearch-search' => 'Көрдөөһүн', + 'vector-simplesearch-containing' => 'тыл баар ыстатыйалара...', + 'vector-noexperiments-preference' => 'Эспэримиэн быһыытынан бэриллэр кыахтары туһаммат гын', +); + +/** Sardinian (Sardu) + * @author Andria + */ +$messages['sc'] = array( + 'vector-simplesearch-search' => 'Chirca', +); + +/** Sicilian (Sicilianu) */ +$messages['scn'] = array( + 'vector-simplesearch-search' => 'Ricerca', +); + +/** Sinhala (සිංහල) + * @author Budhajeewa + * @author Calcey + * @author තඹරු විජේසේකර + * @author බිඟුවා + */ +$messages['si'] = array( + 'vector' => 'දෛශික සඳහා UI දියුණු කිරීම්', + 'vector-desc' => 'දෛශික පෘෂ්ඨයේ පරිශීලක අතුරු මුහුණත් මූලිකාංග මත දියුණු කරයි', + 'vector-collapsiblenav-preference' => 'Vector ඡවියේ ගමන්කෙරුම් මෙනුවේ අංග හැකිළුම සක්රීය කරයි', + 'vector-collapsiblenav-more' => 'තවත් භාෂාවන්', + 'vector-editwarning-warning' => 'අවධානයට: මෙම පිටුවෙන් නික්ම යාම ඔබ සිදු කළ වෙනස්කම් නැතිවී යෑමට හේතු විය හැක. +ඔබ ප්රවිෂ්ටවී ඇත්නම්, ඔබගේ වරණයන්වල "සංසකරණය කිරීම්" කොටසේ ඇති මෙම අනතුරු ඇඟවීම අක්රීය කළ හැක.', + 'vector-editwarning-preference' => 'මා සංස්කරණ පිටුවක් සුරකිනු නොලැබූ වෙනස්කිරීම් සමඟ අතහැර යන විට අවවාද කරන්න', + 'vector-simplesearch-search' => 'ගවේශණය කරන්න', + 'vector-simplesearch-containing' => 'ඇතුළත් වෙමින් පවතී...', +); + +/** Slovak (Slovenčina) + * @author Helix84 + */ +$messages['sk'] = array( + 'vector' => 'Vylepšenia použ. rozhrania Vector', + 'vector-desc' => 'Vylepšuje prvky používateľského rozhrania témy vzhľady Vector', + 'vector-collapsiblenav-preference' => 'Povoliť zbaľovanie položiek v navigačnom menu v téme vzhľadu Vector', + 'vector-collapsiblenav-more' => 'Ďalšie jazyky', + 'vector-editwarning-warning' => 'Ak opustíte túto stránku, môžete tým stratiť všetky vykonané zmeny. +Ak ste prihlásený, toto upozornenie môžete vypnúť v sekcii „Úpravy“ svojich nastavení.', + 'vector-editwarning-preference' => 'Upozorniť ma, keď opúšťam upravovaciu stránku s neuloženými zmenami', + 'vector-simplesearch-search' => 'Hľadať', + 'vector-simplesearch-containing' => 'obsahuje...', + 'vector-noexperiments-preference' => 'Vylúčiť ma z budúcich experimentov', +); + +/** Slovenian (Slovenščina) + * @author Dbc334 + */ +$messages['sl'] = array( + 'vector' => 'Izboljšave uporabniškega vmesnika za Vector', + 'vector-desc' => 'Izboljšave elementov uporabniškega vmesnika kože Vector.', + 'vector-collapsiblenav-preference' => 'Omogoči zlaganje vnosov v navigacijskem meniju v koži Vector', + 'vector-collapsiblenav-more' => 'Več jezikov', + 'vector-editwarning-warning' => 'Zapuščanje te strani lahko povzroči izgubo vseh sprememb, ki ste jih naredili. +To opozorilo lahko onemogočite v razdelku »Urejanje« svojih nastavitev.', + 'vector-editwarning-preference' => 'Opozori me, ko skušam zapreti urejevalno polje z neshranjenimi spremembami', + 'vector-simplesearch-search' => 'Iskanje', + 'vector-simplesearch-containing' => 'vsebujoč ...', + 'vector-noexperiments-preference' => 'Izključi me iz prihodnjih preizkusov', +); + +/** Somali (Soomaaliga) + * @author Maax + */ +$messages['so'] = array( + 'vector-simplesearch-search' => 'Raadi', +); + +/** Albanian (Shqip) + * @author Mikullovci11 + * @author Olsi + */ +$messages['sq'] = array( + 'vector' => 'Përmirësime UI për Vector', + 'vector-desc' => 'Përmirësime në elementet e ndërfaqes së përdoruesit të pamjes Vector.', + 'vector-collapsiblenav-preference' => 'Aktivizoni mbylljen e artikujve në menunë e navigimit në pamjen Vector', + 'vector-collapsiblenav-more' => 'Gjuhët tjera', + 'vector-editwarning-warning' => 'Lënia e kësaj faqeje mund t\'ju shkaktojë humbjen e çdo ndryshimi që keni bërë. +Nëse keni hyrë brenda, ju mund ta hiqni këtë paralajmërim në seksionin "Redaktimi" tek preferencat tuaja.', + 'vector-editwarning-preference' => 'Më paralajmëro kur unë lë një redaktim faqeje me ndryshime të paruajtura', + 'vector-simplesearch-search' => 'Kërko', + 'vector-simplesearch-containing' => 'përmban ...', +); + +/** Serbian Cyrillic ekavian (Српски (ћирилица)) + * @author Helios13 + * @author Rancher + * @author Жељко Тодоровић + */ +$messages['sr-ec'] = array( + 'vector' => 'Побољшања корисничког интерфејса за вектор', + 'vector-desc' => 'Побољшава корисничке елементе сучеља за пресвлаку Вектор.', + 'vector-collapsiblenav-preference' => 'Скупљање ставки навигационог менија у Vector пресвлаци', + 'vector-collapsiblenav-more' => 'Још језика:', + 'vector-editwarning-warning' => 'Ако напустите ову страницу, изгубићете све измене које сте направили. +Ако сте пријављени, можете онемогућити ово упозорење у својим подешавањима, у одељку „Уређивање“.', + 'vector-editwarning-preference' => 'Упозори ме када напустим страницу која није сачувана', + 'vector-simplesearch-search' => 'Претрага', + 'vector-simplesearch-containing' => 'садржи...', +); + +/** Serbian Latin ekavian (Srpski (latinica)) + * @author Liangent + */ +$messages['sr-el'] = array( + 'vector-collapsiblenav-more' => 'Još jezika:', + 'vector-editwarning-preference' => 'Upozori me kada napustim stranicu sa nesačuvanim promenama', + 'vector-simplesearch-search' => 'Pretraga', + 'vector-simplesearch-containing' => 'sadrži...', +); + +/** Sundanese (Basa Sunda) + * @author Kandar + */ +$messages['su'] = array( + 'vector-collapsiblenav-more' => 'Basa lianna', + 'vector-editwarning-preference' => 'Béjaan kuring lamun ninggalkeun kaca édit anu parobahanana can disimpen', + 'vector-simplesearch-search' => 'Sungsi', + 'vector-simplesearch-containing' => 'ngandung...', +); + +/** Swedish (Svenska) + * @author Ainali + * @author Boivie + * @author MagnusA + */ +$messages['sv'] = array( + 'vector' => 'Användargränssnittsförbättringar för Vector', + 'vector-desc' => 'Förbättrar element i användargränssnittet för Vector-utseendet.', + 'vector-collapsiblenav-preference' => 'Aktivera hopfällning av poster i navigeringsmenyn i Vector-utseendet', + 'vector-collapsiblenav-more' => 'Fler språk', + 'vector-editwarning-warning' => 'Om du lämnar den här sidan kommer du att förlora alla ändringar du har gjort. +Om du är inloggad kan du slå av den här varningen under "Redigering" i dina inställningar.', + 'vector-editwarning-preference' => 'Varna mig om jag lämnar en redigeringssida där jag gjort ändringar men inte sparat.', + 'vector-simplesearch-search' => 'Sök', + 'vector-simplesearch-containing' => 'innehåller...', + 'vector-noexperiments-preference' => 'Uteslut mig från funktionsexperiment', +); + +/** Swahili (Kiswahili) + * @author Lloffiwr + * @author Muddyb Blast Producer + */ +$messages['sw'] = array( + 'vector' => 'Mabadiliko ya kuendeleza kusano ya Vector', + 'vector-desc' => 'Inaboresha kusano kwa ajili ya watumiaji wa umbo la Vector.', + 'vector-collapsiblenav-preference' => 'Kuwezesha vitu vikunjike katika orodha ya urambazaji, katika umbo la Vector', + 'vector-collapsiblenav-more' => 'Lugha zingine', + 'vector-editwarning-warning' => 'Ukitoka kwenye ukurasa huu labda utapoteza madabiliko uliyoyafanya. +Unaweza kuondoa ilani hii ukienda kwenye sehemu ya "Kuhariri" kwenye mapendekezo yako.', + 'vector-editwarning-preference' => 'Unionyeshe ilani ninapotaka kutoka kwenye ukurasa ninouhariri, bila kuhifadhi mabadiliko', + 'vector-simplesearch-search' => 'Kutafuta', + 'vector-simplesearch-containing' => 'ya maneno...', +); + +/** Tamil (தமிழ்) + * @author Sodabottle + * @author TRYPPN + */ +$messages['ta'] = array( + 'vector-collapsiblenav-more' => 'மேலும் அதிகமான மொழிகள்', + 'vector-editwarning-preference' => 'தொகுத்துக் கொண்டிருக்கும் பக்கத்தை சேமிக்காமல் வெளியேறினால் எனக்கு எச்சரிக்கை செய்', + 'vector-simplesearch-search' => 'தேடு', +); + +/** Telugu (తెలుగు) + * @author Veeven + */ +$messages['te'] = array( + 'vector' => 'వెక్టర్ కొరకు ముఖాంతరపు మెరుగులు', + 'vector-collapsiblenav-more' => 'మరిన్ని భాషలు', + 'vector-editwarning-warning' => 'ఈ పేజీని వదిలివెళ్ళడం వల్ల మీరు చేసిన మార్పులను కోల్పోయే అవకాశం ఉంది. +మీరు ప్రవేశించివుంటే, ఈ హెచ్చరికని మీ అభిరుచులలో "మరపులు" అనే విభాగంలో అచేతనం చేసుకోవచ్చు.', + 'vector-editwarning-preference' => 'ఏదైనా పేజీని నేను వదిలివెళ్తున్నప్పుడు దానిలో భద్రపరచని మార్పులు ఉంటే నన్ను హెచ్చరించు', + 'vector-simplesearch-search' => 'వెతుకు', +); + +/** Thai (ไทย) + * @author Horus + * @author Octahedron80 + * @author Woraponboonkerd + */ +$messages['th'] = array( + 'vector-desc' => 'ข้อปรับปรุงองค์ประกอบอินเตอร์เฟซผู้ใช้ของสกินเวกเตอร์', + 'vector-collapsiblenav-preference' => 'ใช้งานการย่อรายการของเมนูนำทางในสกินเวกเตอร์', + 'vector-collapsiblenav-more' => 'ภาษาอื่นๆ', + 'vector-editwarning-warning' => 'การออกจากหน้านี้อาจทำให้ความเปลี่ยนแปลงที่คุณกระทำสูญหาย +ถ้าคุณล็อกอินแล้ว คุณสามารถปิดคำเตือนนี้ได้ที่ส่วน "การแก้ไข" ในการตั้งค่าของคุณ', + 'vector-editwarning-preference' => 'เตือนฉัน เมื่อฉันกำลังจะออกจากหน้าแก้ไขโดยมีข้อมูลที่ยังไม่ได้บันทึก', + 'vector-simplesearch-search' => 'ค้นหา', + 'vector-simplesearch-containing' => 'ประกอบไปด้วย...', +); + +/** Turkmen (Türkmençe) + * @author Hanberke + */ +$messages['tk'] = array( + 'vector' => 'Vector üçin interfeýs gowulandyrmalary', + 'vector-collapsiblenav-more' => 'Has köp dil', + 'vector-simplesearch-search' => 'Gözleg', + 'vector-simplesearch-containing' => 'öz içine alýar...', +); + +/** Tagalog (Tagalog) + * @author AnakngAraw + */ +$messages['tl'] = array( + 'vector' => 'Mga pagpapainam na UI para sa Vector', + 'vector-desc' => 'Nagpapainam sa mga sangkap ng dugtungang-mukha na pangtatagamit ng pabalat ng Vector.', + 'vector-collapsiblenav-preference' => 'Paganahin ang pagkanatitiklop ng mga bagay na nasa loob ng talaang panglibot sa loob ng pabalat na Vector', + 'vector-collapsiblenav-more' => 'Iba pang mga wika', + 'vector-editwarning-warning' => 'Ang paglisan mula sa pahinang ito ay maaaring makasanhi sa iyo ng pagkawala ng anumang mga pagbabagong ginawa mo. +Kung nakalagda ka, maaari mong huwag paganahin ang babalang ito sa loob ng seksyong "May binabago" ng mga nais mo.', + 'vector-editwarning-preference' => 'Magbabala sa akin kapag umalis ako sa isang pahina ng pampatnugot na hindi pa nasasagip ang mga pagbabago', + 'vector-simplesearch-search' => 'Maghanap', + 'vector-simplesearch-containing' => 'naglalaman ng ...', + 'vector-noexperiments-preference' => 'Huwag akong isali sa tampok na mga eksperimento', +); + +/** Turkish (Türkçe) + * @author Karduelis + * @author Srhat + * @author Vito Genovese + */ +$messages['tr'] = array( + 'vector' => 'Vector için kullanıcı arabirimi iyileştirmeleri', + 'vector-desc' => 'Vector görünümünün kullanıcı arayüzü bileşenlerini iyileştirir', + 'vector-collapsiblenav-preference' => 'Vector temasında dolaşım menüsündeki ögelerin daraltılmasını etkinleştir', + 'vector-collapsiblenav-more' => 'Daha fazla dil', + 'vector-editwarning-warning' => 'Bu sayfadan ayrılmak yaptığınız herhangi bir değişikliği kaybetmenize sebep olabilir. +Eğer giriş yaptıysanız, bu uyarıyı, tercihlerinizin "Sayfa yazma alanı" bölümünde devre dışı bırakabilirsiniz.', + 'vector-editwarning-preference' => 'Kaydedilmemiş değişikliğe sahip bir değişiklik sayfasından çıkarken beni uyar', + 'vector-simplesearch-search' => 'Ara', + 'vector-simplesearch-containing' => 'içeren...', +); + +/** Tatar (Cyrillic) (Татарча/Tatarça (Cyrillic)) + * @author Ильнар + */ +$messages['tt-cyrl'] = array( + 'vector' => '«Сызымлы» бизәлеше өчен яңартулар', + 'vector-collapsiblenav-preference' => '«Сызымлы» бизәлеше өчен сул менюдагы блокларны ябарга рөхсәт итү', + 'vector-collapsiblenav-more' => 'Башка телләр', + 'vector-editwarning-warning' => 'Башка биткә күчү вакытында бу мәкаләгә керткән үзгәрешләр югалырга мөмкин. +Әгәрдә сез теркәлгән булсагыз, бу искәрмәне сез «Көйләнмәләрем» өлешендә үзгәртә аласыз.', + 'vector-editwarning-preference' => 'Битне сакламыйча китү вакытында мине кисәтергә', + 'vector-simplesearch-search' => 'Эзләү', + 'vector-simplesearch-containing' => 'эчтәлек...', +); + +/** Ukrainian (Українська) + * @author AS + * @author Microcell + * @author Prima klasy4na + */ +$messages['uk'] = array( + 'vector' => 'Удосконалення інтерфейсу користувача за допомогою «векторного» оформлення', + 'vector-desc' => 'Покращує елементи інтерфейсу користувача за допомогою «векторного» оформлення.', + 'vector-collapsiblenav-preference' => 'Дозволити згортати блоки навігаційного меню в оформленні «Векторне»', + 'vector-collapsiblenav-more' => 'Інші мови', + 'vector-editwarning-warning' => 'Перехід на іншу сторінку призведе до втрати ваших змін. +Якщо ви ввійшли до системи, то ви можете відключити це попередження в розділі «Редагування» ваших налаштувань.', + 'vector-editwarning-preference' => 'Попереджати мене, коли я покидаю сторінку редагування з незбереженими змінами', + 'vector-simplesearch-search' => 'Пошук', + 'vector-simplesearch-containing' => 'що містять...', + 'vector-noexperiments-preference' => 'Відмовитись від випробування технічних експериментів', +); + +/** Vèneto (Vèneto) + * @author Candalua + * @author Vajotwo + */ +$messages['vec'] = array( + 'vector' => 'Mejoramenti de interfacia utente (UI) par el Vector.', + 'vector-desc' => "Mejora l'interfacia utente del tema Vector.", + 'vector-collapsiblenav-preference' => 'Abiłita menù de navigaxion nascondibiłe par ła skin Vector', + 'vector-collapsiblenav-more' => 'Pì łengue', + 'vector-editwarning-warning' => 'Se te vè via da sta pagina te podaressi pèrdar tute le modìfeghe che te ghè fato. +Se te sì loggà, te poli disabilitar sto aviso in te la sezion "Dimension de la casela de modifica" de le to preferense.', + 'vector-editwarning-preference' => 'Dime se sto lassando na pagina de modifica sensa aver salvà', + 'vector-simplesearch-search' => 'Serca', + 'vector-simplesearch-containing' => 'che contien...', +); + +/** Veps (Vepsan kel') */ +$messages['vep'] = array( + 'vector-simplesearch-search' => 'Ectä', + 'vector-simplesearch-containing' => 'mülütajad...', +); + +/** Vietnamese (Tiếng Việt) + * @author Minh Nguyen + * @author Vinhtantran + */ +$messages['vi'] = array( + 'vector' => 'Giao diện tích hợp với Vectơ', + 'vector-desc' => 'Hoàn thiện các phần giao diện để tích hợp với hình dạng Vectơ', + 'vector-collapsiblenav-preference' => 'Bật trình đơn chuyển hướng gấp lại được ở bên phải trong bề ngoài Vectơ', + 'vector-collapsiblenav-more' => 'Thêm ngôn ngữ khác', + 'vector-editwarning-warning' => 'Rời khỏi trang này sẽ khiến bạn mất các sửa đổi đã thực hiện. +Nếu đã đăng nhập, bạn có thể tắt cảnh báo này tại mục “Sửa đổi” trong tùy chọn cá nhân.', + 'vector-editwarning-preference' => 'Cảnh báo khi tôi thoát trang sửa đổi mà chưa lưu trang', + 'vector-simplesearch-search' => 'Tìm kiếm', + 'vector-simplesearch-containing' => 'có chứa…', + 'vector-noexperiments-preference' => 'Loại trừ tôi khỏi các thí nghiệm tính năng', +); + +/** Volapük (Volapük) + * @author Malafaya + */ +$messages['vo'] = array( + 'vector-collapsiblenav-more' => 'Püks pluik', + 'vector-simplesearch-search' => 'Suk', + 'vector-simplesearch-containing' => 'ninädöl...', +); + +/** Mingrelian (მარგალური) */ +$messages['xmf'] = array( + 'vector-simplesearch-search' => 'გორუა', +); + +/** Yiddish (ייִדיש) + * @author פוילישער + */ +$messages['yi'] = array( + 'vector' => 'באַניצער־אויבערפֿלאַך פֿאַרבעסערונגען פֿאַר וועקטאר', + 'vector-desc' => 'פֿאַרבעסערט דעם באניצער אויבערפֿלאַך פֿאַר דער וועקטאר ווײַזונג.', + 'vector-collapsiblenav-preference' => 'אַקטיווירן צונויפֿלייגן איינהייטן אינעם נאַוויגאַציע מעניו אין דעם וועקטאר געשטעל', + 'vector-collapsiblenav-more' => 'נאך שפראַכן', + 'vector-editwarning-warning' => 'איבערלאזן דעם בלאט קען גורם זײַן פֿארלירן אײַערע ענדערונגען. +אויב איר זענט ארײַנלאגירט, קענט איר מבטל זײַן די דאזיגע ווארענונג אין דער "באארבעטן" אפטיילונג פון אײַערע פרעפערענצן.', + 'vector-editwarning-preference' => 'שטעלן א ווארענונג ווען איך לאז איבער א רעדאקטירונג בלאט מיט נישט אויפגעהיטענע ענדערונגען', + 'vector-simplesearch-search' => 'זוכן', + 'vector-simplesearch-containing' => 'כולל…', +); + +/** Yoruba (Yorùbá) + * @author Demmy + */ +$messages['yo'] = array( + 'vector' => 'Àwọn ìmúdára UI fún Vector', + 'vector-collapsiblenav-more' => 'Àwọn èdè lẹ́kùúnrẹ́rẹ́', + 'vector-editwarning-warning' => 'Kíkúrò ní ojúewé yìí yíò jẹ́ kí ẹ pòfo àwọn àtúnṣe tí ẹ ti ṣe. +Tó bá jẹ́ pé ẹ ti wọlé, ẹ lè dẹ́kun ìkìlọ̀ yìí nínù abala "Àtúnṣe ṣíṣe" ti àwọn ìfẹ́ràn yín.', + 'vector-editwarning-preference' => 'Kìlọ̀ fún mi tí mo bá únkúrò ní ojúewé àtúnṣe láì tíì mupamọ́', + 'vector-simplesearch-search' => 'Ṣàwárí', + 'vector-simplesearch-containing' => 'tó ní...', +); + +/** Cantonese (粵語) + * @author Horacewai2 + * @author Waihorace + */ +$messages['yue'] = array( + 'vector' => '對於Vector嘅界面改進', + 'vector-desc' => '改進Vector畫面嘅界面元素。', + 'vector-collapsiblenav-preference' => '用可折疊導航列', + 'vector-collapsiblenav-more' => '更多語言', + 'vector-editwarning-warning' => '離開呢一版會令到你嘅修改唔見咗。 +你可以響你嘅喜好設定嘅"編輯中"小節度停用呢個警告。', + 'vector-editwarning-preference' => '當我離開未保存好嘅修改嗰陣警告我', + 'vector-simplesearch-search' => '搵嘢', + 'vector-simplesearch-containing' => '名單傳送緊...', +); + +/** Simplified Chinese (中文(简体)) + * @author Bencmq + * @author Liangent + * @author Onecountry + * @author 阿pp + */ +$messages['zh-hans'] = array( + 'vector' => 'Vector用户界面改进', + 'vector-desc' => '改进Vector皮肤中的用户界面元素。', + 'vector-collapsiblenav-preference' => '在Vector皮肤的导航菜单中折叠项目', + 'vector-collapsiblenav-more' => '更多语言', + 'vector-editwarning-warning' => '离开这个页面可能会令您失去之前的所有更改。 +若您已经登入,您可在您参数设置的“{{int:prefs-editing}}”节中关闭此警告。', + 'vector-editwarning-preference' => '如在更改未保存时离开页面,则发出警告', + 'vector-simplesearch-search' => '搜索', + 'vector-simplesearch-containing' => '含有...', + 'vector-noexperiments-preference' => '功能实验中排除我', +); + +/** Traditional Chinese (中文(繁體)) + * @author Gaoxuewei + * @author Liangent + * @author Mark85296341 + * @author Wrightbus + */ +$messages['zh-hant'] = array( + 'vector' => 'Vector 使用者介面改進', + 'vector-desc' => '改進 Vector 外觀中的使用者介面元素。', + 'vector-collapsiblenav-preference' => '在 Vector 外觀的導覽選單中摺疊項目', + 'vector-collapsiblenav-more' => '更多語言', + 'vector-editwarning-warning' => '離開這個頁面可能會令您失去之前的所有更改。 +若您已經登入,您可在您偏好設定的「編輯」節中關閉此警告。', + 'vector-editwarning-preference' => '當我在更改未儲存時離開頁面時警告我', + 'vector-simplesearch-search' => '搜尋', + 'vector-simplesearch-containing' => '包含...', + 'vector-noexperiments-preference' => '我不參與功能實險', +); + diff --git a/extensions/Vector/Vector.php b/extensions/Vector/Vector.php new file mode 100644 index 00000000..1d7eefdf --- /dev/null +++ b/extensions/Vector/Vector.php @@ -0,0 +1,131 @@ +<?php +/** + * Vector extension + * + * @file + * @ingroup Extensions + * + * @author Trevor Parscal <trevor@wikimedia.org> + * @author Roan Kattouw <roan.kattouw@gmail.com> + * @author Nimish Gautam <nimish@wikimedia.org> + * @author Adam Miller <amiller@wikimedia.org> + * @license GPL v2 or later + * @version 0.3.0 + */ + +/* Configuration */ + +// Each module may be configured individually to be globally on/off or user preference based +$wgVectorFeatures = array( + 'collapsiblenav' => array( 'global' => true, 'user' => true ), + 'collapsibletabs' => array( 'global' => true, 'user' => false ), + 'editwarning' => array( 'global' => false, 'user' => true ), + 'simplesearch' => array( 'global' => false, 'user' => true ), + // The follwing are experimental and likely unstable - use at your own risk + 'expandablesearch' => array( 'global' => false, 'user' => false ), + 'footercleanup' => array( 'global' => false, 'user' => false ), + 'sectioneditlinks' => array( 'global' => false, 'user' => false ), +); + +// The Vector skin has a basic version of simple search, which is a prerequisite for the enhanced one +$wgDefaultUserOptions['vector-simplesearch'] = 1; + +// Enable bucket testing for new version of collapsible nav +$wgCollapsibleNavBucketTest = false; +// Force the new version +$wgCollapsibleNavForceNewVersion = false; + +// Enable bucket testing for new version of section edit links +$wgVectorSectionEditLinksBucketTest = false; +// Percentage of users who's use of section edit links will be tracked - half of which will see the +// new section edit links - default 5% +$wgVectorSectionEditLinksLotteryOdds = 5; +// Version number of the current experiment - Buckets from previous experiments will be overwritten +// with new values when this is incremented, so as to allow accurate re-distribution. When changing +// the lottery odds, this needs to change too, or you will have inaccurate data. +$wgVectorSectionEditLinksExperiment = 0; + +/* Setup */ + +$wgExtensionCredits['other'][] = array( + 'path' => __FILE__, + 'name' => 'Vector', + 'author' => array( 'Trevor Parscal', 'Roan Kattouw', 'Nimish Gautam', 'Adam Miller' ), + 'version' => '0.3.0', + 'url' => 'http://www.mediawiki.org/wiki/Extension:Vector', + 'descriptionmsg' => 'vector-desc', +); +$wgAutoloadClasses['VectorHooks'] = dirname( __FILE__ ) . '/Vector.hooks.php'; +$wgExtensionMessagesFiles['Vector'] = dirname( __FILE__ ) . '/Vector.i18n.php'; +$wgHooks['BeforePageDisplay'][] = 'VectorHooks::beforePageDisplay'; +$wgHooks['GetPreferences'][] = 'VectorHooks::getPreferences'; +$wgHooks['ResourceLoaderGetConfigVars'][] = 'VectorHooks::resourceLoaderGetConfigVars'; +$wgHooks['MakeGlobalVariablesScript'][] = 'VectorHooks::makeGlobalVariablesScript'; + +$vectorResourceTemplate = array( + 'localBasePath' => dirname( __FILE__ ) . '/modules', + 'remoteExtPath' => 'Vector/modules', + 'group' => 'ext.vector', +); +$wgResourceModules += array( + 'ext.vector.collapsibleNav' => $vectorResourceTemplate + array( + 'scripts' => 'ext.vector.collapsibleNav.js', + 'styles' => 'ext.vector.collapsibleNav.css', + 'messages' => array( + 'vector-collapsiblenav-more', + ), + 'dependencies' => array( + 'jquery.client', + 'jquery.cookie', + 'jquery.tabIndex', + ), + ), + 'ext.vector.collapsibleTabs' => $vectorResourceTemplate + array( + 'scripts' => 'ext.vector.collapsibleTabs.js', + 'dependencies' => array( + 'jquery.collapsibleTabs', + 'jquery.delayedBind', + ), + ), + 'ext.vector.editWarning' => $vectorResourceTemplate + array( + 'scripts' => 'ext.vector.editWarning.js', + 'messages' => array( + 'vector-editwarning-warning', + ), + ), + 'ext.vector.expandableSearch' => $vectorResourceTemplate + array( + 'scripts' => 'ext.vector.expandableSearch.js', + 'styles' => 'ext.vector.expandableSearch.css', + 'dependencies' => array( + 'jquery.client', + 'jquery.expandableField', + 'jquery.delayedBind', + ), + ), + 'ext.vector.footerCleanup' => $vectorResourceTemplate + array( + 'scripts' => 'ext.vector.footerCleanup.js', + 'styles' => 'ext.vector.footerCleanup.css', + ), + 'ext.vector.sectionEditLinks' => $vectorResourceTemplate + array( + 'scripts' => 'ext.vector.sectionEditLinks.js', + 'styles' => 'ext.vector.sectionEditLinks.css', + 'dependencies' => array( + 'jquery.cookie', + 'jquery.clickTracking', + ), + ), + 'ext.vector.simpleSearch' => $vectorResourceTemplate + array( + 'scripts' => 'ext.vector.simpleSearch.js', + 'messages' => array( + 'vector-simplesearch-search', + 'vector-simplesearch-containing', + ), + 'dependencies' => array( + 'jquery.client', + 'jquery.suggestions', + 'jquery.autoEllipsis', + 'jquery.placeholder', + ), + ), +); + diff --git a/extensions/Vector/modules/ext.vector.collapsibleNav.css b/extensions/Vector/modules/ext.vector.collapsibleNav.css new file mode 100644 index 00000000..f11046c9 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.collapsibleNav.css @@ -0,0 +1,56 @@ +/* Prototype code to show collapsing left nav options */ +#mw-panel.collapsible-nav div.portal { + /* @embed */ + background-image:url(images/portal-break.png); + background-position:left top; + background-repeat:no-repeat; + padding: 0.25em 0 !important; + margin: -11px 9px 10px 11px; +} +#mw-panel.collapsible-nav div.portal h5 { + color: #4D4D4D; + font-weight: normal; + /* @embed */ + background: url(images/open.png) left center no-repeat; + padding: 4px 0 3px 1.5em; + margin-bottom: 0px; +} +#mw-panel.collapsible-nav div.collapsed h5 { + color: #0645AD; + /* @embed */ + background: url(images/closed-ltr.png) left center no-repeat; + margin-bottom: 0px; +} +#mw-panel.collapsible-nav div h5:hover { + cursor: pointer; + text-decoration: none; +} +#mw-panel.collapsible-nav div.collapsed h5:hover { + text-decoration: underline; +} +#mw-panel.collapsible-nav div.portal div.body { + background: none !important; + padding-top: 0px; + display: none; +} +#mw-panel.collapsible-nav div.persistent div.body { + display: block; +} +#mw-panel.collapsible-nav div.first h5 { + display: none; +} +#mw-panel.collapsible-nav div.persistent h5 { + background: none !important; + padding-left: 0.7em; + cursor: default; +} +#mw-panel.collapsible-nav div.portal div.body ul li { + padding: 0.25em 0; +} +#mw-panel.collapsible-nav div.first { + background-image: none; + margin-top: 0px; +} +#mw-panel.collapsible-nav div.persistent div.body { + margin-left: 0.5em; +}
\ No newline at end of file diff --git a/extensions/Vector/modules/ext.vector.collapsibleNav.js b/extensions/Vector/modules/ext.vector.collapsibleNav.js new file mode 100644 index 00000000..9a9b77f7 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.collapsibleNav.js @@ -0,0 +1,228 @@ +/* + * Collapisble navigation for Vector + */ +( function( $ ) { + + /* Browser Support */ + + var map = { + // Left-to-right languages + 'ltr': { + // Collapsible Nav is broken in Opera < 9.6 and Konqueror < 4 + 'msie': [['>=', 7]], + 'opera': [['>=', 9.6]], + 'konqueror': [['>=', 4.0]], + 'blackberry': false, + 'ipod': false, + 'iphone': false, + 'ps3': false + }, + // Right-to-left languages + 'rtl': { + 'msie': [['>=', 7]], + 'opera': [['>=', 9.6]], + 'konqueror': [['>=', 4.0]], + 'blackberry': false, + 'ipod': false, + 'iphone': false, + 'ps3': false + } + }; + if ( !$.client.test( map ) ) { + return true; + } + + /* Bucket Testing */ + + // Fallback to old version + var version = 1; + // Allow new version override + if ( mediaWiki.config.get( 'wgCollapsibleNavForceNewVersion' ) ) { + version = 2; + } else { + // Make bucket testing optional + if ( mediaWiki.config.get( 'wgCollapsibleNavBucketTest' ) ) { + // This is be determined randomly, and then stored in a cookie + version = $.cookie( 'vector-nav-pref-version' ); + // If the cookie didn't exist, or the value is out of range, generate a new one and save it + if ( version == null ) { + // 50% of the people will get the new version + version = Math.round( Math.random() + 1 ); + $.cookie( 'vector-nav-pref-version', version, { 'expires': 30, 'path': '/' } ); + } + } + } + + /* Special Language Portal Handling */ + + // Language portal splitting feature (if it's turned on) + if ( version == 2 ) { + // How many links to show in the primary languages portal + var limit = 5; + // How many links there must be in the secondary portal to justify having a secondary portal + var threshold = 3; + // Make the interwiki language links list a secondary list, and create a new list before it as primary list + $( '#p-lang ul' ).addClass( 'secondary' ).before( '<ul class="primary"></ul>' ); + // This is a list of languages in order of Wikipedia project size. This is the lowest fallback for choosing + // which links to show in the primary list. Ideally the browser's accept-language headers should steer this + // list, and we should fallback on a site configured (MediaWiki:Common.js) list of prefered languages. + var languages = [ + 'en', 'fr', 'de', 'es', 'pt', 'it', 'ru', 'ja', 'nl', 'pl', 'zh', 'sv', 'ar', 'tr', 'uk', 'fi', 'no', 'ca', + 'ro', 'hu', 'ksh', 'id', 'he', 'cs', 'vi', 'ko', 'sr', 'fa', 'da', 'eo', 'sk', 'th', 'lt', 'vo', 'bg', + 'sl', 'hr', 'hi', 'et', 'mk', 'simple', 'new', 'ms', 'nn', 'gl', 'el', 'eu', 'ka', 'tl', 'bn', 'lv', 'ml', + 'bs', 'te', 'la', 'az', 'sh', 'war', 'br', 'is', 'mr', 'be-x-old', 'sq', 'cy', 'lb', 'ta', 'zh-classical', + 'an', 'jv', 'ht', 'oc', 'bpy', 'ceb', 'ur', 'zh-yue', 'pms', 'scn', 'be', 'roa-rup', 'qu', 'af', 'sw', + 'nds', 'fy', 'lmo', 'wa', 'ku', 'hy', 'su', 'yi', 'io', 'os', 'ga', 'ast', 'nap', 'vec', 'gu', 'cv', + 'bat-smg', 'kn', 'uz', 'zh-min-nan', 'si', 'als', 'yo', 'li', 'gan', 'arz', 'sah', 'tt', 'bar', 'gd', 'tg', + 'kk', 'pam', 'hsb', 'roa-tara', 'nah', 'mn', 'vls', 'gv', 'mi', 'am', 'ia', 'co', 'ne', 'fo', 'nds-nl', + 'glk', 'mt', 'ang', 'wuu', 'dv', 'km', 'sco', 'bcl', 'mg', 'my', 'diq', 'tk', 'szl', 'ug', 'fiu-vro', 'sc', + 'rm', 'nrm', 'ps', 'nv', 'hif', 'bo', 'se', 'sa', 'pnb', 'map-bms', 'lad', 'lij', 'crh', 'fur', 'kw', 'to', + 'pa', 'jbo', 'ba', 'ilo', 'csb', 'wo', 'xal', 'krc', 'ckb', 'pag', 'ln', 'frp', 'mzn', 'ce', 'nov', 'kv', + 'eml', 'gn', 'ky', 'pdc', 'lo', 'haw', 'mhr', 'dsb', 'stq', 'tpi', 'arc', 'hak', 'ie', 'so', 'bh', 'ext', + 'mwl', 'sd', 'ig', 'myv', 'ay', 'iu', 'na', 'cu', 'pi', 'kl', 'ty', 'lbe', 'ab', 'got', 'sm', 'as', 'mo', + 'ee', 'zea', 'av', 'ace', 'kg', 'bm', 'cdo', 'cbk-zam', 'kab', 'om', 'chr', 'pap', 'udm', 'ks', 'zu', 'rmy', + 'cr', 'ch', 'st', 'ik', 'mdf', 'kaa', 'aa', 'fj', 'srn', 'tet', 'or', 'pnt', 'bug', 'ss', 'ts', 'pcd', + 'pih', 'za', 'sg', 'lg', 'bxr', 'xh', 'ak', 'ha', 'bi', 've', 'tn', 'ff', 'dz', 'ti', 'ki', 'ny', 'rw', + 'chy', 'tw', 'sn', 'tum', 'ng', 'rn', 'mh', 'ii', 'cho', 'hz', 'kr', 'ho', 'mus', 'kj' + ]; + // If the user has an Accept-Language cookie, use it. Otherwise, set it asynchronously but keep the default + // behavior for this page view. + var acceptLangCookie = $.cookie( 'accept-language' ); + if ( acceptLangCookie != null ) { + // Put the user's accepted languages before the list ordered by wiki size + if ( acceptLangCookie != '' ) { + languages = acceptLangCookie.split( ',' ).concat( languages ); + } + } else { + $.getJSON( + wgScriptPath + '/api.php?action=query&meta=userinfo&uiprop=acceptlang&format=json', + function( data ) { + var langs = []; + if ( + typeof data.query != 'undefined' && + typeof data.query.userinfo != 'undefined' && + typeof data.query.userinfo.acceptlang != 'undefined' + ) { + for ( var j = 0; j < data.query.userinfo.acceptlang.length; j++ ) { + if ( data.query.userinfo.acceptlang[j].q != 0 ) { + langs.push( data.query.userinfo.acceptlang[j]['*'] ); + } + } + } + $.cookie( 'accept-language', langs.join( ',' ), { 'path': '/', 'expires': 30 } ); + } + ); + } + // Shortcuts to the two lists + var $primary = $( '#p-lang ul.primary' ); + var $secondary = $( '#p-lang ul.secondary' ); + // Adjust the limit based on the threshold + if ( $secondary.children().length < limit + threshold ) { + limit += threshold; + } + // Move up to 5 of the links into the primary list, based on the priorities set forth in the languages list + var count = 0; + for ( var i = 0; i < languages.length; i++ ) { + var $link = $secondary.find( '.interwiki-' + languages[i] ); + if ( $link.length ) { + if ( count++ < limit ) { + $link.appendTo( $primary ); + } else { + break; + } + } + } + // If there's still links in the secondary list and we havn't filled the primary list to it's limit yet, move + // links into the primary list in order of appearance + if ( count < limit ) { + $secondary.children().each( function() { + if ( count++ < limit ) { + $(this).appendTo( $primary ); + } else { + return false; + } + } ); + } + // Hide the more portal if it's now empty, otherwise make the list into it's very own portal + if ( $secondary.children().length == 0 ) { + $secondary.remove(); + } else { + $( '#p-lang' ).after( '<div id="p-lang-more" class="portal"><h5></h5><div class="body"></div></div>' ); + $( '#p-lang-more h5' ).text( mw.usability.getMsg( 'vector-collapsiblenav-more' ) ); + $secondary.appendTo( $( '#p-lang-more div.body' ) ); + } + // Always show the primary interwiki language portal + $( '#p-lang' ).addClass( 'persistent' ); + } + + /* General Portal Modification */ + + // Always show the first portal + $( '#mw-panel > div.portal:first' ).addClass( 'first persistent' ); + // Apply a class to the entire panel to activate styles + $( '#mw-panel' ).addClass( 'collapsible-nav' ); + // Use cookie data to restore preferences of what to show and hide + $( '#mw-panel > div.portal:not(.persistent)' ) + .each( function( i ) { + var id = $(this).attr( 'id' ); + var state = $.cookie( 'vector-nav-' + id ); + // In the case that we are not showing the new version, let's show the languages by default + if ( + state == 'true' || + ( state == null && i < 1 ) || + ( state == null && version == 1 && id == 'p-lang' ) + ) { + $(this) + .addClass( 'expanded' ) + .find( 'div.body' ) + .show(); + } else { + $(this).addClass( 'collapsed' ); + } + // Re-save cookie + if ( state != null ) { + $.cookie( 'vector-nav-' + $(this).attr( 'id' ), state, { 'expires': 30, 'path': '/' } ); + } + } ); + // Use the same function for all navigation headings - don't repeat yourself + function toggle( $element ) { + $.cookie( + 'vector-nav-' + $element.parent().attr( 'id' ), + $element.parent().is( '.collapsed' ), + { 'expires': 30, 'path': '/' } + ); + $element + .parent() + .toggleClass( 'expanded' ) + .toggleClass( 'collapsed' ) + .find( 'div.body' ) + .slideToggle( 'fast' ); + } + + /* Tab Indexing */ + + var $headings = $( '#mw-panel > div.portal:not(.persistent) > h5' ); + // Get the highest tab index + var tabIndex = $( document ).lastTabIndex() + 1; + // Fix the search not having a tabindex + $( '#searchInput' ).attr( 'tabindex', tabIndex++ ); + // Make it keyboard accessible + $headings.each( function() { + $(this).attr( 'tabindex', tabIndex++ ); + } ); + // Toggle the selected menu's class and expand or collapse the menu + $( '#mw-panel' ) + .delegate( 'div.portal:not(.persistent) > h5', 'keydown', function( event ) { + // Make the space and enter keys act as a click + if ( event.which == 13 /* Enter */ || event.which == 32 /* Space */ ) { + toggle( $(this) ); + } + } ) + .delegate( 'div.portal:not(.persistent) > h5', 'mousedown', function( event ) { + if ( event.which != 3 ) { // Right mouse click + toggle( $(this) ); + $(this).blur(); + } + return false; + } ); +} )( jQuery ); diff --git a/extensions/Vector/modules/ext.vector.collapsibleTabs.js b/extensions/Vector/modules/ext.vector.collapsibleTabs.js new file mode 100644 index 00000000..fb0681e7 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.collapsibleTabs.js @@ -0,0 +1,123 @@ +/* + * Collapsible tabs for Vector + */ +jQuery(function( $ ) { + var rtl = $( 'body' ).is( '.rtl' ); + + // Overloading the moveToCollapsed function to animate the transition + $.collapsibleTabs.moveToCollapsed = function( ele ) { + var $moving = $( ele ); + + //$.collapsibleTabs.getSettings( $( $.collapsibleTabs.getSettings( $moving ).expandedContainer ) ).shifting = true; + // Do the above, except with guards for JS errors + var data = $.collapsibleTabs.getSettings( $moving ); + if ( !data ) { + return; + } + var expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); + if ( !expContainerSettings ) { + return; + } + expContainerSettings.shifting = true; + + // Remove the element from where it's at and put it in the dropdown menu + var target = data.collapsedContainer; + $moving.css( "position", "relative" ) + .css( ( rtl ? 'left' : 'right' ), 0 ) + .animate( { width: '1px' }, "normal", function() { + $( this ).hide(); + // add the placeholder + $( '<span class="placeholder" style="display:none;"></span>' ).insertAfter( this ); + $( this ).detach().prependTo( target ).data( 'collapsibleTabsSettings', data ); + $( this ).attr( 'style', 'display:list-item;' ); + //$.collapsibleTabs.getSettings( $( $.collapsibleTabs.getSettings( $( ele ) ).expandedContainer ) ) + // .shifting = false; + // Do the above, except with guards for JS errors + var data = $.collapsibleTabs.getSettings( $( ele ) ); + if ( !data ) { + return; + } + var expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); + if ( !expContainerSettings ) { + return; + } + expContainerSettings.shifting = false; + $.collapsibleTabs.handleResize(); + } ); + }; + + // Overloading the moveToExpanded function to animate the transition + $.collapsibleTabs.moveToExpanded = function( ele ) { + var $moving = $( ele ); + //$.collapsibleTabs.getSettings( $( $.collapsibleTabs.getSettings( $moving ).expandedContainer ) ).shifting = true; + // Do the above, except with guards for JS errors + var data = $.collapsibleTabs.getSettings( $moving ); + if ( !data ) { + return; + } + var expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); + if ( !expContainerSettings ) { + return; + } + expContainerSettings.shifting = true; + + // grab the next appearing placeholder so we can use it for replacing + var $target = $( data.expandedContainer ).find( 'span.placeholder:first' ); + var expandedWidth = data.expandedWidth; + $moving.css( "position", "relative" ).css( ( rtl ? 'right' : 'left' ), 0 ).css( 'width', '1px' ); + $target.replaceWith( $moving.detach().css( 'width', '1px' ).data( 'collapsibleTabsSettings', data ) + .animate( { width: expandedWidth+"px" }, "normal", function( ) { + $( this ).attr( 'style', 'display:block;' ); + //$.collapsibleTabs.getSettings( $( $.collapsibleTabs.getSettings( $( ele ) ).expandedContainer ) ) + // .shifting = false; + // Do the above, except with guards for JS errors + var data = $.collapsibleTabs.getSettings( $( this ) ); + if ( !data ) { + return; + } + var expContainerSettings = $.collapsibleTabs.getSettings( $( data.expandedContainer ) ); + if ( !expContainerSettings ) { + return; + } + expContainerSettings.shifting = false; + $.collapsibleTabs.handleResize(); + } ) ); + }; + + // Bind callback functions to animate our drop down menu in and out + // and then call the collapsibleTabs function on the menu + $( '#p-views ul' ).bind( 'beforeTabCollapse', function() { + if ( $( '#p-cactions' ).css( 'display' ) == 'none' ) { + $( '#p-cactions' ) + .addClass( 'filledPortlet' ).removeClass( 'emptyPortlet' ) + .find( 'h5' ) + .css( 'width','1px' ).animate( { 'width':'26px' }, 390 ); + } + } ).bind( 'beforeTabExpand', function() { + if ( $( '#p-cactions li' ).length == 1 ) { + $( '#p-cactions h5' ).animate( { 'width':'1px' }, 370, function() { + $( this ).attr( 'style', '' ) + .parent().addClass( 'emptyPortlet' ).removeClass( 'filledPortlet' ); + }); + } + } ).collapsibleTabs( { + expandCondition: function( eleWidth ) { + if( rtl ){ + return ( $( '#right-navigation' ).position().left + $( '#right-navigation' ).width() + 1 ) + < ( $( '#left-navigation' ).position().left - eleWidth ); + } else { + return ( $( '#left-navigation' ).position().left + $( '#left-navigation' ).width() + 1 ) + < ( $( '#right-navigation' ).position().left - eleWidth ); + } + }, + collapseCondition: function() { + if( rtl ) { + return ( $( '#right-navigation' ).position().left + $( '#right-navigation' ).width() ) + > $( '#left-navigation' ).position().left; + } else { + return ( $( '#left-navigation' ).position().left + $( '#left-navigation' ).width() ) + > $( '#right-navigation' ).position().left; + } + } + } ); +} ); diff --git a/extensions/Vector/modules/ext.vector.editWarning.js b/extensions/Vector/modules/ext.vector.editWarning.js new file mode 100644 index 00000000..d7494c70 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.editWarning.js @@ -0,0 +1,71 @@ +/* + * Edit warning for Vector + */ +(function( $ ) { + $(document).ready( function() { + // Check if EditWarning is enabled and if we need it + if ( $( '#wpTextbox1' ).size() == 0 ) { + return true; + } + // Get the original values of some form elements + $( '#wpTextbox1, #wpSummary' ).each( function() { + $(this).data( 'origtext', $(this).val() ); + }); + // Attach our own handler for onbeforeunload which respects the current one + var fallbackWindowOnBeforeUnload = window.onbeforeunload; + var ourWindowOnBeforeUnload = function() { + var fallbackResult = undefined; + var retval = undefined; + var thisFunc = arguments.callee; + // Check if someone already set on onbeforeunload hook + if ( fallbackWindowOnBeforeUnload ) { + // Get the result of their onbeforeunload hook + fallbackResult = fallbackWindowOnBeforeUnload(); + } + // Check if their onbeforeunload hook returned something + if ( fallbackResult !== undefined ) { + // Exit here, returning their message + retval = fallbackResult; + } else { + // Check if the current values of some form elements are the same as + // the original values + if ( + wgAction == 'submit' || + $( '#wpTextbox1' ).data( 'origtext' ) != $( '#wpTextbox1' ).val() || + $( '#wpSummary' ).data( 'origtext' ) != $( '#wpSummary' ).val() + ) { + // Return our message + retval = mediaWiki.msg( 'vector-editwarning-warning' ); + } + } + + // Unset the onbeforeunload handler so we don't break page caching in Firefox + window.onbeforeunload = null; + if ( retval !== undefined ) { + // ...but if the user chooses not to leave the page, we need to rebind it + setTimeout( function() { + window.onbeforeunload = thisFunc; + } ); + return retval; + } + }; + var pageShowHandler = function() { + // Re-add onbeforeunload handler + window.onbeforeunload = ourWindowOnBeforeUnload; + }; + pageShowHandler(); + if ( window.addEventListener ) { + window.addEventListener('pageshow', pageShowHandler, false); + } else if ( window.attachEvent ) { + window.attachEvent( 'pageshow', pageShowHandler ); + } + + // Add form submission handler + $( 'form' ).submit( function() { + // Restore whatever previous onbeforeload hook existed + window.onbeforeunload = fallbackWindowOnBeforeUnload; + }); + }); + //Global storage of fallback for onbeforeunload hook + var fallbackWindowOnBeforeUnload = null; +})( jQuery ); diff --git a/extensions/Vector/modules/ext.vector.expandableSearch.css b/extensions/Vector/modules/ext.vector.expandableSearch.css new file mode 100644 index 00000000..be679b4c --- /dev/null +++ b/extensions/Vector/modules/ext.vector.expandableSearch.css @@ -0,0 +1,9 @@ +.expandableField { + display: block; +} +#simpleSearch { + overflow: auto; +} +#searchButton { + margin-top: 0.2em !important; +}
\ No newline at end of file diff --git a/extensions/Vector/modules/ext.vector.expandableSearch.js b/extensions/Vector/modules/ext.vector.expandableSearch.js new file mode 100644 index 00000000..850ff74f --- /dev/null +++ b/extensions/Vector/modules/ext.vector.expandableSearch.js @@ -0,0 +1,70 @@ +/* + * Expandable search for Vector + */ +$( document ).ready( function() { + + /* Browser Support */ + + var map = { + // Left-to-right languages + 'ltr': { + // Collapsible Nav is broken in Opera < 9.6 and Konqueror < 4 + 'msie': [['>=', 8]], + 'blackberry': false, + 'ipod': false, + 'iphone': false, + 'ps3': false + }, + // Right-to-left languages + 'rtl': { + 'msie': [['>=', 8]], + 'blackberry': false, + 'ipod': false, + 'iphone': false, + 'ps3': false + } + }; + if ( !$.client.test( map ) ) { + return true; + } + + $( '#searchInput' ) + .expandableField( { + 'beforeExpand': function( context ) { + // animate the containers border + $( this ) + .parent() + .animate( { + 'borderTopColor': '#a0d8ff', + 'borderLeftColor': '#a0d8ff', + 'borderRightColor': '#a0d8ff', + 'borderBottomColor': '#a0d8ff' }, 'fast' ); + }, + 'beforeCondense': function( context ) { + // animate the containers border + $( this ) + .parent() + .animate( { + 'borderTopColor': '#aaaaaa', + 'borderLeftColor': '#aaaaaa', + 'borderRightColor': '#aaaaaa', + 'borderBottomColor': '#aaaaaa' }, 'fast' ); + }, + 'afterExpand': function( context ) { + //trigger the collapsible tabs resize handler + if ( typeof $.collapsibleTabs != 'undefined' ){ + $.collapsibleTabs.handleResize(); + } + }, + 'afterCondense': function( context ) { + //trigger the collapsible tabs resize handler + if ( typeof $.collapsibleTabs != 'undefined' ){ + $.collapsibleTabs.handleResize(); + } + }, + 'expandToLeft': ! $( 'body' ).is( '.rtl' ) + } ) + .css( 'float', $( 'body' ).is( '.rtl' ) ? 'right' : 'left' ) + .siblings( 'button' ) + .css( 'float', $( 'body' ).is( '.rtl' ) ? 'right' : 'left' ); +} ); diff --git a/extensions/Vector/modules/ext.vector.footerCleanup.css b/extensions/Vector/modules/ext.vector.footerCleanup.css new file mode 100644 index 00000000..ab951df6 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.footerCleanup.css @@ -0,0 +1,87 @@ +/* Prototype code to show collapsing left nav options */ +#editpage-bottom { + background-color: #F3F3F3; + border: 1px solid silver; + border-top: none; + padding: 20px 170px 20px 170px; + margin-right: -2px; +} + +#editpage-bottom input.inline-hint { + color: #999999; + font-style: italic; +} +.collapsible-list { + border-top: 1px solid silver; + border-bottom: 1px solid silver; +} +.collapsible-list { + border-top: 1px solid silver; + border-bottom: 1px solid silver; + padding: 3px 2px; +} +.collapsible-list ul { + display: block; + padding: 0 0 0 14px; +} +.collapsible-list.collapsed label { + /* @embed */ + background: url(../images/vector/collapsibleNav/arrow-down.png?1) 0 50% no-repeat; + padding: 4px 0 3px 1.5em; + margin-bottom: 0px; +} +.collapsible-list.expanded label { + /* @embed */ + background: url(../images/vector/collapsibleNav/arrow-right.png?1) 0 50% no-repeat; + padding: 4px 0 3px 1.5em; + margin-bottom: 0px; +} + +#editpage-bottom .editOptions { + width: 100%; +} +#editpage-bottom #wpSummaryLabel, +#editpage-bottom #editpage-summary-fields, +#editpage-bottom .editButtons { + float: left; +} +#editpage-bottom #wpSummaryLabel{ + width: 150px; + margin-left: -150px; + position: relative; +} +#editpage-bottom #editpage-summary-fields { + width: 100%; + margin-right: -100%; +} +#editpage-bottom #editpage-summary-fields input.mw-summary { + width: 95%; +} +#editpage-bottom .editButtons { + width: 150px; + margin-right: -150px; + float: right; + position: relative; +} +#editpage-bottom #editpage-copywarn { + margin-left: -150px; + margin-right: 10px; +} +/* Why don't we use self clearing floats anywhere? */ + +#editpage-bottom .editOptions:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} +#editpage-bottom .editOptions { + display: inline-block; +} +* html #editpage-bottom .editOptions { + height: 1%; +} +#editpage-bottom .editOptions { + display:block; +}
\ No newline at end of file diff --git a/extensions/Vector/modules/ext.vector.footerCleanup.js b/extensions/Vector/modules/ext.vector.footerCleanup.js new file mode 100644 index 00000000..eb9b3dd2 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.footerCleanup.js @@ -0,0 +1,68 @@ +/* + * Footer cleanup for Vector + */ +$( document ).ready( function() { + $( '#editpage-copywarn' ) + .add( '.editOptions' ) + .wrapAll( '<div id="editpage-bottom"></div>' ); + $( '#wpSummary' ) + .data( 'hint', + $( '#wpSummaryLabel span small' ) + .remove() + .text() + // FIXME - Not a long-term solution. This change should be done in the message itself + .replace( /\)|\(/g, '' ) + ) + .change( function() { + if ( $( this ).val().length == 0 ) { + $( this ) + .addClass( 'inline-hint' ) + .val( $( this ).data( 'hint' ) ); + } else { + $( this ).removeClass( 'inline-hint' ); + } + } ) + .focus( function() { + if ( $( this ).val() == $( this ).data( 'hint' ) ) { + $( this ) + .removeClass( 'inline-hint' ) + .val( "" ); + } + }) + .blur( function() { $( this ).trigger( 'change' ); } ) + .trigger( 'change' ); + $( '#wpSummary' ) + .add( '.editCheckboxes' ) + .wrapAll( '<div id="editpage-summary-fields"></div>' ); + + $( '#editpage-specialchars' ).remove(); + + // transclusions + // FIXME - bad CSS styling here with double class selectors. Should address here. + var transclusionCount = $( '.templatesUsed ul li' ).size(); + $( '.templatesUsed ul' ) + .wrap( '<div id="transclusions-list" class="collapsible-list collapsed"></div>' ) + .parent() + // FIXME: i18n, remove link from message and let community add link to transclusion page if it exists + .prepend( '<label>This page contains <a href="http://en.wikipedia.org/wiki/transclusion">transclusions</a> of <strong>' + + transclusionCount + + '</strong> other pages.</label>' ); + $( '.mw-templatesUsedExplanation' ).remove(); + + $( '.collapsible-list label' ) + .click( function() { + $( this ) + .parent() + .toggleClass( 'expanded' ) + .toggleClass( 'collapsed' ) + .find( 'ul' ) + .slideToggle( 'fast' ); + return false; + }) + .trigger( 'click' ); + $( '#wpPreview, #wpDiff, .editHelp, #editpage-specialchars' ) + .remove(); + $( '#mw-editform-cancel' ) + .remove() + .appendTo( '.editButtons' ); +} ); diff --git a/extensions/Vector/modules/ext.vector.sectionEditLinks.css b/extensions/Vector/modules/ext.vector.sectionEditLinks.css new file mode 100644 index 00000000..6c864001 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.sectionEditLinks.css @@ -0,0 +1,15 @@ +span.vector-editLink { + float: none; + display: inline-block; +} +span.vector-editLink a { + padding-left: 18px; + /* @embed */ + background-image: url(images/edit-faded.png); + background-position: left top; + background-repeat: no-repeat; +} +span.vector-editLink a:hover { + /* @embed */ + background-image: url(images/edit.png); +} diff --git a/extensions/Vector/modules/ext.vector.sectionEditLinks.js b/extensions/Vector/modules/ext.vector.sectionEditLinks.js new file mode 100644 index 00000000..94a154e9 --- /dev/null +++ b/extensions/Vector/modules/ext.vector.sectionEditLinks.js @@ -0,0 +1,75 @@ +/* + * Section Edit Links for Vector + */ +( function( $, mw ) { + +var eventBase = 'ext.vector.sectionEditLinks-bucket:'; +var cookieBase = 'ext.vector.sectionEditLinks-'; + +if ( mw.config.get( 'wgVectorSectionEditLinksBucketTest', false ) ) { + // If the version in the client's cookie doesn't match wgVectorSectionEditLinksExperiment, then + // we need to disregard the bucket they may already be in to ensure accurate redistribution + var currentExperiment = $.cookie( cookieBase + 'experiment' ); + var experiment = Number( mw.config.get( 'wgVectorSectionEditLinksExperiment', 0 ) ); + var bucket = null; + if ( currentExperiment === null || Number( currentExperiment ) != experiment ) { + $.cookie( cookieBase + 'experiment', experiment ); + } else { + bucket = $.cookie( cookieBase + 'bucket' ); + } + if ( bucket === null ) { + // Percentage chance of being tracked + var odds = Math.min( 100, Math.max( 0, + Number( mw.config.get( 'wgVectorSectionEditLinksLotteryOdds', 0 ) ) + ) ); + // 0 = not tracked, 1 = tracked with old version, 2 = tracked with new version + bucket = ( Math.random() * 100 ) < odds ? Number( Math.random() < 0.5 ) + 1 : 0; + $.cookie( cookieBase + 'bucket', bucket, { 'path': '/', 'expires': 30 } ); + // If we are going to track this person from now on, let's also track which bucket we put + // them into and when + if ( bucket > 0 && 'trackAction' in $ ) { + $.trackAction( eventBase + bucket + '@' + experiment ); + } + } +} +if ( bucket > 0 ) { + // Transform the targets of section edit links to route through the click tracking API + var session = $.cookie( 'clicktracking-session' ); + $( 'span.editsection a, #ca-edit a' ).each( function() { + var event = eventBase + bucket + '@' + experiment; + if ( $(this).is( '#ca-edit a' ) ) { + event += '-tab'; + } + var href = $( this ).attr( 'href' ); + var editUrl = href + ( href.indexOf( '?' ) >= 0 ? '&' : '?' ) + $.param( { + 'clicktrackingsession': session, + 'clicktrackingevent': event + '-save' + } ); + $(this).attr( 'href', $.trackActionURL( editUrl, event + '-click' ) ); + } ); + if ( bucket == 2 ) { + // Move the link over to be next to the heading text and style it with an icon + $( 'span.mw-headline' ).each( function() { + $(this) + .after( + $( '<span class="editsection vector-editLink"></span>' ) + .append( + $(this) + .prev( 'span.editsection' ) + .find( 'a' ) + .each( function() { + var text = $(this).text(); + $(this).text( + text.substr( 0, 1 ).toUpperCase() + text.substr( 1 ) + ); + } ) + .detach() + ) + ) + .prev( 'span.editsection' ) + .remove(); + } ); + } +} + +} )( jQuery, mediaWiki ); diff --git a/extensions/Vector/modules/ext.vector.simpleSearch.js b/extensions/Vector/modules/ext.vector.simpleSearch.js new file mode 100644 index 00000000..01ef14ea --- /dev/null +++ b/extensions/Vector/modules/ext.vector.simpleSearch.js @@ -0,0 +1,130 @@ +/* JavaScript for SimpleSearch extension */ + +jQuery( document ).ready( function( $ ) { + + // Compatibility map + var map = { + 'browsers': { + // Left-to-right languages + 'ltr': { + // SimpleSearch is broken in Opera < 9.6 + 'opera': [['>=', 9.6]], + 'docomo': false, + 'blackberry': false, + 'ipod': false, + 'iphone': false + }, + // Right-to-left languages + 'rtl': { + 'opera': [['>=', 9.6]], + 'docomo': false, + 'blackberry': false, + 'ipod': false, + 'iphone': false + } + } + }; + if ( !$.client.test( map ) ) { + return true; + } + + // Disable MWSuggest if loaded + if ( window.os_MWSuggestDisable ) { + window.os_MWSuggestDisable(); + } + + // Placeholder text for SimpleSearch box + $( '#simpleSearch > input#searchInput' ) + .attr( 'placeholder', mw.msg( 'vector-simplesearch-search' ) ) + .placeholder(); + + // General suggestions functionality for all search boxes + $( '#searchInput, #searchInput2, #powerSearchText, #searchText' ) + .suggestions( { + fetch: function( query ) { + var $this = $(this); + if ( query.length !== 0 ) { + var request = $.ajax( { + url: mw.util.wikiScript( 'api' ), + data: { + action: 'opensearch', + search: query, + namespace: 0, + suggest: '' + }, + dataType: 'json', + success: function( data ) { + if ( $.isArray( data ) && 1 in data ) { + $this.suggestions( 'suggestions', data[1] ); + } + } + }); + $this.data( 'request', request ); + } + }, + cancel: function() { + var request = $(this).data( 'request' ); + // If the delay setting has caused the fetch to have not even happend yet, the request object will + // have never been set + if ( request && $.isFunction( request.abort ) ) { + request.abort(); + $(this).removeData( 'request' ); + } + }, + result: { + select: function( $input ) { + $input.closest( 'form' ).submit(); + } + }, + delay: 120, + positionFromLeft: $( 'body' ).hasClass( 'rtl' ), + highlightInput: true + } ) + .bind( 'paste cut drop', function( e ) { + // make sure paste and cut events from the mouse and drag&drop events + // trigger the keypress handler and cause the suggestions to update + $( this ).trigger( 'keypress' ); + } ); + // Special suggestions functionality for skin-provided search box + $( '#searchInput' ).suggestions( { + result: { + select: function( $input ) { + $input.closest( 'form' ).submit(); + } + }, + special: { + render: function( query ) { + if ( $(this).children().length === 0 ) { + $(this).show(); + var $label = $( '<div></div>', { + 'class': 'special-label', + text: mw.msg( 'vector-simplesearch-containing' ) + }) + .appendTo( $(this) ); + var $query = $( '<div></div>', { + 'class': 'special-query', + text: query + }) + .appendTo( $(this) ); + $query.autoEllipsis(); + } else { + $(this).find( '.special-query' ) + .empty() + .text( query ) + .autoEllipsis(); + } + }, + select: function( $input ) { + $input.closest( 'form' ).append( + $( '<input>', { + type: 'hidden', + name: 'fulltext', + val: '1' + }) + ); + $input.closest( 'form' ).submit(); + } + }, + $region: $( '#simpleSearch' ) + } ); +});
\ No newline at end of file diff --git a/extensions/Vector/modules/images/closed-ltr.png b/extensions/Vector/modules/images/closed-ltr.png Binary files differnew file mode 100644 index 00000000..c27c9636 --- /dev/null +++ b/extensions/Vector/modules/images/closed-ltr.png diff --git a/extensions/Vector/modules/images/closed-rtl.png b/extensions/Vector/modules/images/closed-rtl.png Binary files differnew file mode 100644 index 00000000..be968a4a --- /dev/null +++ b/extensions/Vector/modules/images/closed-rtl.png diff --git a/extensions/Vector/modules/images/edit-faded.png b/extensions/Vector/modules/images/edit-faded.png Binary files differnew file mode 100644 index 00000000..0f622e12 --- /dev/null +++ b/extensions/Vector/modules/images/edit-faded.png diff --git a/extensions/Vector/modules/images/edit.png b/extensions/Vector/modules/images/edit.png Binary files differnew file mode 100644 index 00000000..ec02a986 --- /dev/null +++ b/extensions/Vector/modules/images/edit.png diff --git a/extensions/Vector/modules/images/open.png b/extensions/Vector/modules/images/open.png Binary files differnew file mode 100644 index 00000000..bf2d4fb4 --- /dev/null +++ b/extensions/Vector/modules/images/open.png diff --git a/extensions/Vector/modules/images/portal-break.png b/extensions/Vector/modules/images/portal-break.png Binary files differnew file mode 100644 index 00000000..e81b5597 --- /dev/null +++ b/extensions/Vector/modules/images/portal-break.png diff --git a/extensions/Vector/switchExperimentPrefs.php b/extensions/Vector/switchExperimentPrefs.php new file mode 100644 index 00000000..82ddd868 --- /dev/null +++ b/extensions/Vector/switchExperimentPrefs.php @@ -0,0 +1,63 @@ +<?php + +$path = '../..'; + +if ( getenv( 'MW_INSTALL_PATH' ) !== false ) { + $path = getenv( 'MW_INSTALL_PATH' ); +} + +require_once( $path . '/maintenance/Maintenance.php' ); + +class SwitchExperimentPrefs extends Maintenance { + function __construct() { + parent::__construct(); + $this->addOption( 'pref', 'Preference to set', true, true ); + $this->addOption( 'value', 'Value to set the preference to', true, true ); + $this->mDescription = 'Set a preference for all users that have the vector-noexperiments preference enabled.'; + } + + function execute() { + $dbw = wfGetDB( DB_MASTER ); + + $batchSize = 100; + $total = 0; + $lastUserID = 0; + while ( true ) { + $res = $dbw->select( 'user_properties', array( 'up_user' ), + array( 'up_property' => 'vector-noexperiments', "up_user > $lastUserID" ), + __METHOD__, + array( 'LIMIT' => $batchSize ) ); + if ( !$res->numRows() ) { + $dbw->commit(); + break; + } + $total += $res->numRows(); + + $ids = array(); + foreach ( $res as $row ) { + $ids[] = $row->up_user; + } + $lastUserID = max( $ids ); + + + foreach ( $ids as $id ) { + $user = User::newFromId( $id ); + if ( !$user->isLoggedIn() ) + continue; + $user->setOption( $this->getOption( 'pref' ), $this->getOption( 'value' ) ); + $user->saveSettings(); + } + + echo "$total\n"; + + wfWaitForSlaves(); // Must be wfWaitForSlaves_masterPos(); on 1.17wmf1 + } + echo "Done\n"; + + } +} + +$maintClass = 'SwitchExperimentPrefs'; +require_once( RUN_MAINTENANCE_IF_MAIN ); + + |