r82826 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82825‎ | r82826 | r82827 >
Date:02:20, 26 February 2011
Author:kaldari
Status:deferred
Tags:
Comment:
new help system - Bug 24691
Modified paths:
  • /trunk/extensions/UploadWizard/UploadWizard.i18n.php (modified) (history)
  • /trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.css (modified) (history)
  • /trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.js (modified) (history)
  • /trunk/extensions/UploadWizard/resources/jquery/jquery.tipsyPlus.js (modified) (history)
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizard.js (modified) (history)
  • /trunk/extensions/UploadWizard/resources/uploadWizard.css (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/UploadWizard.i18n.php
@@ -106,7 +106,7 @@
107107 'mwe-upwiz-source-custom' => 'Provide copyright information for each file individually on the next page.',
108108 'mwe-upwiz-more-options' => 'more options...',
109109 'mwe-upwiz-fewer-options' => 'fewer options...',
110 - 'mwe-upwiz-desc' => 'Description in',
 110+ 'mwe-upwiz-desc' => 'Description',
111111 'mwe-upwiz-desc-add-n' => 'add a description in another language',
112112 'mwe-upwiz-desc-add-0' => 'add a description',
113113 'mwe-upwiz-title' => 'Title',
@@ -160,13 +160,12 @@
161161 'mwe-upwiz-tooltip-source' => 'Where this digital file came from -- could be a URL, or a book or publication',
162162 'mwe-upwiz-tooltip-sign' => 'You can use your wiki user name or your real name.
163163 In both cases, this will be linked to your wiki user page',
164 - 'mwe-upwiz-tooltip-title' => 'A short title for the file.
165 -You may use plain language with spaces, but no line breaks.
166 -This title must be unlike all other titles in this wiki.',
 164+ 'mwe-upwiz-tooltip-title' => 'A short unique title for the file. You may use plain language with spaces. Do not include the file extension. <a target="_blank" onclick="$titleDialog.dialog(\'open\');return false;" href="#">Learn more</a>.',
 165+ 'mwe-upwiz-dialog-title' => 'Files can be uploaded with names in any language in any script (coded as UTF-8). Titles of media files should be meaningful and helpful in the language chosen.',
167166 'mwe-upwiz-tooltip-description' => 'Briefly describe everything notable about the work.
168 -For a photo, mention the main things that are depicted, the occasion or the place.',
169 - 'mwe-upwiz-tooltip-other' => 'Any other information you want to include about this work.
170 -You may use wikitext code.',
 167+For a photo, mention the main things that are depicted, the occasion, or the place.',
 168+ 'mwe-upwiz-tooltip-categories' => 'Add <a target="_blank" href="http://commons.wikimedia.org/wiki/Commons:Categories">categories</a> to your file to make it easier to find.',
 169+ 'mwe-upwiz-tooltip-other' => 'Any other information you want to include about this work. Place <a target="_blank" href="http://commons.wikimedia.org/wiki/Commons:Geocoding">geocoding</a> templates here.',
171170 'mwe-upwiz-tooltip-more-info' => 'Learn more.',
172171 'mwe-upwiz-file-need-file' => 'Please add an upload first.',
173172 'mwe-upwiz-file-need-start' => 'Please press this button to start your uploads.',
@@ -650,17 +649,17 @@
651650 'mwe-upwiz-step-deeds' => 'Grataat gwirioù',
652651 'mwe-upwiz-step-details' => 'Deskrivañ',
653652 'mwe-upwiz-step-thanks' => 'Implijout',
654 - 'mwe-upwiz-api-error-http' => "Fazi diabarzh : dibosupl kevreañ d'ar servijer.",
655 - 'mwe-upwiz-api-error-ok-but-empty' => 'Fazi diabarzh : respont ebet a-berzh ar servijer.',
656 - 'mwe-upwiz-api-error-unknown-code' => 'Fazi dianav : "$1"',
 653+ 'mwe-upwiz-api-error-http' => "Ur gudenn a zo bet pa veze kevreet d'ar servij.",
 654+ 'mwe-upwiz-api-error-ok-but-empty' => "N'eo ket bet adkaset titouroù diwar-benn an enporzh gant ar servijer.",
 655+ 'mwe-upwiz-api-error-unknown-code' => 'Adkaset en deus ar servijer ur fazi ha ne gomprenomp ket : "$1"',
657656 'mwe-upwiz-api-error-uploaddisabled' => 'Diweredekaat eo an enporzh war ar wiki-mañ.',
658 - 'mwe-upwiz-api-error-nomodule' => 'Fazi diabarzh : tamm modulenn enporzhiañ ebet.',
 657+ 'mwe-upwiz-api-error-nomodule' => "N'en deus ket gouezet ar wiki penaos krouiñ an enporzh-se.",
659658 'mwe-upwiz-api-error-mustbeposted' => 'Un draen a zo er poellad-mañ ; ne implij ket an hentenn HTTP ret.',
660 - 'mwe-upwiz-api-error-badaccess-groups' => "N'oc'h ket aotreet da enporzhiañ restroù war ar wiki-mañ.",
661 - 'mwe-upwiz-api-error-stashfailed' => "Fazi diabarzh : dibosupl d'ar servijer enrollañ ar restr padennek.",
662 - 'mwe-upwiz-api-error-missingresult' => 'Fazi diabarzh : dibosupl termeniñ hag eilet eo bet an traoù ervat.',
663 - 'mwe-upwiz-api-error-missingparam' => 'Fazi diabarzh : Arventennoù a vank er reked.',
664 - 'mwe-upwiz-api-error-invalid-session-key' => "Fazi diabarzh : n'eo ket bet kavet ar restr er stokañ da c'hortoz.",
 659+ 'mwe-upwiz-api-error-badaccess-groups' => "N'oc'h ket aotreet da enporzhiañ restroù war ar wiki-mañ. Mar plij gwiriekait e peseurt strolladoù ez oc'h.",
 660+ 'mwe-upwiz-api-error-stashfailed' => "N'en deus ket gellet ar wiki enrollañ ar restr",
 661+ 'mwe-upwiz-api-error-missingresult' => "N'on eus ket gellet tremeniñ ha mat e oa bet an eilañ pe get.",
 662+ 'mwe-upwiz-api-error-missingparam' => "N'en doa ket an enporzh an holl ditouroù ret (moarvat un drein er poellad-mañ).",
 663+ 'mwe-upwiz-api-error-invalid-session-key' => "N'en deus ket gellet ar servijer kavout ar restr-mañ en ho restroù enporzhiet.",
665664 'mwe-upwiz-api-error-copyuploaddisabled' => 'Diweredekaet eo an enporzhioù dre eilañ.',
666665 'mwe-upwiz-api-error-mustbeloggedin' => "N'oc'h ket kevreet en un doare reizh.",
667666 'mwe-upwiz-api-error-empty-file' => "Ar restr hoc'h eus roet a oa goullo.",
@@ -670,7 +669,7 @@
671670 'mwe-upwiz-api-error-filename-tooshort' => 'Re verr eo anv ar restr.',
672671 'mwe-upwiz-api-error-illegal-filename' => "N'eo ket aotreet anv ar restr.",
673672 'mwe-upwiz-api-error-verification-error' => 'Pe eo brein ar restr pe eo fall an astenn anezhi.',
674 - 'mwe-upwiz-api-error-hookaborted' => "Ar c'hemm hoc'h eus klasket degas zo bet harzet gant ur c'hrog astenn.",
 673+ 'mwe-upwiz-api-error-hookaborted' => "Ar c'hemm hoc'h eus klasket ober a zo bet paouezet gant ur sonnell astenn.",
675674 'mwe-upwiz-api-error-unknown-error' => "Un dra (n'ouzomp ket petra) 'zo aet da fall pa oac'h o klask enporzhiañ ho restr.",
676675 'mwe-upwiz-api-error-internal-error' => 'Un dra bennak a zo aet a dreuz pa veze tretet ho enporzh war ar wiki.',
677676 'mwe-upwiz-api-error-overwrite' => "N'eo ket aotreet frikañ ur restr zo anezhi c'hoazh.",
@@ -833,19 +832,19 @@
834833 'mwe-upwiz-step-deeds' => 'Prava izdavanja',
835834 'mwe-upwiz-step-details' => 'Opiši',
836835 'mwe-upwiz-step-thanks' => 'Koristi',
837 - 'mwe-upwiz-api-error-http' => 'Unutrašnja greška: ne može se spojiti na server.',
838 - 'mwe-upwiz-api-error-ok-but-empty' => 'Unutrašnja greška: nema odgovora od servera.',
839 - 'mwe-upwiz-api-error-unknown-code' => 'Nepoznata greška: "$1"',
 836+ 'mwe-upwiz-api-error-http' => 'Nastao je problem pri spajanju na uslugu.',
 837+ 'mwe-upwiz-api-error-ok-but-empty' => 'Server nije vratio nijedan podatak o postavljanju.',
 838+ 'mwe-upwiz-api-error-unknown-code' => 'Server je vratio grešku koju nismo mogli razumjeti: "$1"',
840839 'mwe-upwiz-api-error-uploaddisabled' => 'Postavljanje je onemogućeno na ovoj wiki.',
841 - 'mwe-upwiz-api-error-nomodule' => 'Unutrašnja greška: nije postavljen modul za postavljanje.',
 840+ 'mwe-upwiz-api-error-nomodule' => 'Wiki nije znala kako da obradi ovo postavljanje.',
842841 'mwe-upwiz-api-error-mustbeposted' => 'Postoji greška u ovom softverz; ne koristi pravilan HTTP metod.',
843 - 'mwe-upwiz-api-error-badaccess-groups' => 'Nemate ovlasti da postavljate datoteke na ovoj wiki.',
844 - 'mwe-upwiz-api-error-stashfailed' => 'Unutrašnja greška: server nije mogao da spremi privremenu datoteku.',
845 - 'mwe-upwiz-api-error-missingresult' => 'Unutrašnja greška: ne može se otkriti da li je kopiranje uspjelo.',
846 - 'mwe-upwiz-api-error-missingparam' => 'Unutrašnja greška: nedostaju parametri u zahtjevu.',
847 - 'mwe-upwiz-api-error-invalid-session-key' => 'Unutrašnja greška: datoteka nije pronađena u privremenom skladištu.',
848 - 'mwe-upwiz-api-error-copyuploaddisabled' => 'Postavljanja putem URL-a su onemogućena na ovom serveru.',
849 - 'mwe-upwiz-api-error-mustbeloggedin' => 'Morate biti prijavljeni da biste postavljali datoteke.',
 842+ 'mwe-upwiz-api-error-badaccess-groups' => 'Nemate ovlasti da postavljate datoteke na ovoj wiki. Provjerite kojoj grupi pristupa pripadate.',
 843+ 'mwe-upwiz-api-error-stashfailed' => 'Wiki nije mogao da spremi datoteku.',
 844+ 'mwe-upwiz-api-error-missingresult' => 'Nismo mogli da otkrijemo da li je kopiranje uspjelo.',
 845+ 'mwe-upwiz-api-error-missingparam' => 'Postavljanje nije imalo sve neophodne podatke (možda je greška u ovom postavljaču.)',
 846+ 'mwe-upwiz-api-error-invalid-session-key' => 'Server nije mogao naći tu datoteku u vašim postavljenim datotekama.',
 847+ 'mwe-upwiz-api-error-copyuploaddisabled' => 'Postavljanja putem kopiranja su onemogućena.',
 848+ 'mwe-upwiz-api-error-mustbeloggedin' => 'Niste pravilno prijavljeni.',
850849 'mwe-upwiz-api-error-empty-file' => 'Datoteka koju ste poslali je bila prazna.',
851850 'mwe-upwiz-api-error-file-too-large' => 'Datoteka koju ste poslali je bila prevelika.',
852851 'mwe-upwiz-api-error-filetype-missing' => 'Datoteci nedostaje nastavak.',
@@ -854,11 +853,11 @@
855854 'mwe-upwiz-api-error-illegal-filename' => 'Ime datoteke nije dopušteno.',
856855 'mwe-upwiz-api-error-verification-error' => 'Ova datoteka je možda oštećenja ili ima pogrešan nastavak.',
857856 'mwe-upwiz-api-error-hookaborted' => 'Izmjena koji ste pokušali načiniti je obustavljena preko kuke proširenja.',
858 - 'mwe-upwiz-api-error-unknown-error' => 'Unutrašnja greška: desila se neka greška pri pokušaju postavljanja vaše datoteke.',
859 - 'mwe-upwiz-api-error-internal-error' => 'Unutrašnja greška: pojavio se neki problem sa obradom vašeg postavljanja na wiki.',
 857+ 'mwe-upwiz-api-error-unknown-error' => 'Desila se neka greška pri pokušaju postavljanja vaše datoteke.',
 858+ 'mwe-upwiz-api-error-internal-error' => 'Pojavio se neki problem sa obradom vašeg postavljanja na wiki.',
860859 'mwe-upwiz-api-error-overwrite' => 'Pisanje preko postojeće datoteke nije dopušteno.',
861 - 'mwe-upwiz-api-error-badtoken' => 'Unutrašnja greška: token nije ispravan.',
862 - 'mwe-upwiz-api-error-fetchfileerror' => 'Unutrašnja greška: pojavio se neki problem pri dobijanju podataka o datoteci.',
 860+ 'mwe-upwiz-api-error-badtoken' => "''Token'' koji smo koristili za vašu identifikaciju na ovaj server nije bio ispravan.",
 861+ 'mwe-upwiz-api-error-fetchfileerror' => 'Pojavio se neki problem pri dobijanju podataka o datoteci.',
863862 'mwe-upwiz-api-warning-duplicate' => 'Već postoji jedna datoteka na ovoj wiki sa istim sadržajem',
864863 'mwe-upwiz-api-warning-exists' => 'Već postoji jedna datoteka na ovoj wiki sa istim imenom',
865864 'mwe-upwiz-tutorial-error-localized-file-missing' => 'Žao nam je, nismo mogli naći uputstvo na vašem jeziku. Može se prikazati samo engleska verzija.',
@@ -2219,34 +2218,14 @@
22202219 'mwe-upwiz-step-deeds' => 'Dereitos de liberación',
22212220 'mwe-upwiz-step-details' => 'Describir',
22222221 'mwe-upwiz-step-thanks' => 'Usar',
2223 - 'mwe-upwiz-api-error-http' => 'Erro interno: Non se puido conectar co servidor.',
2224 - 'mwe-upwiz-api-error-ok-but-empty' => 'Erro interno: Non hai resposta do servidor.',
2225 - 'mwe-upwiz-api-error-unknown-code' => 'Erro descoñecido: "$1"',
2226 - 'mwe-upwiz-api-error-uploaddisabled' => 'As cargas están desactivadas neste wiki.',
2227 - 'mwe-upwiz-api-error-nomodule' => 'Erro interno: Non hai ningún módulo de cargas.',
2228 - 'mwe-upwiz-api-error-mustbeposted' => 'Erro interno: A solicitude necesita HTTP POST.',
2229 - 'mwe-upwiz-api-error-badaccess-groups' => 'Non ten os permisos necesarios para cargar ficheiros neste wiki.',
2230 - 'mwe-upwiz-api-error-stashfailed' => 'Erro interno: O servidor non puido almacenar os ficheiros temporais.',
2231 - 'mwe-upwiz-api-error-missingresult' => 'Erro interno: Non se puido determinar se a copia saíu ben.',
2232 - 'mwe-upwiz-api-error-missingparam' => 'Erro interno: Faltan parámetros na solicitude.',
2233 - 'mwe-upwiz-api-error-invalid-session-key' => 'Erro interno: Non se atopou o ficheiro no depósito temporal.',
2234 - 'mwe-upwiz-api-error-copyuploaddisabled' => 'As cargas mediante URL están desactivadas neste servidor.',
2235 - 'mwe-upwiz-api-error-mustbeloggedin' => 'Debe acceder ao sistema para cargar ficheiros.',
22362222 'mwe-upwiz-api-error-empty-file' => 'O ficheiro que enviou estaba baleiro.',
22372223 'mwe-upwiz-api-error-file-too-large' => 'O ficheiro que enviou era grande de máis.',
22382224 'mwe-upwiz-api-error-filetype-missing' => 'Fáltalle a extensión ao ficheiro.',
22392225 'mwe-upwiz-api-error-filetype-banned' => 'Este tipo de ficheiro está prohibido.',
22402226 'mwe-upwiz-api-error-filename-tooshort' => 'O nome do ficheiro é curto de máis.',
22412227 'mwe-upwiz-api-error-illegal-filename' => 'O nome do ficheiro non está permitido.',
2242 - 'mwe-upwiz-api-error-verification-error' => 'Este ficheiro podería estar corrupto ou ter unha extensión incorrecta.',
22432228 'mwe-upwiz-api-error-hookaborted' => 'O asociador da extensión cancelou a modificación que intentou realizar.',
2244 - 'mwe-upwiz-api-error-unknown-error' => 'Erro interno: Houbo un problema ao intentar cargar o ficheiro.',
2245 - 'mwe-upwiz-api-error-internal-error' => 'Erro interno: Houbo un problema ao procesar a súa carga no wiki.',
22462229 'mwe-upwiz-api-error-overwrite' => 'Non está permitido sobrescribir un ficheiro existente.',
2247 - 'mwe-upwiz-api-error-badtoken' => 'Erro interno: Pase incorrecto.',
2248 - 'mwe-upwiz-api-error-fetchfileerror' => 'Erro interno: Houbo un problema ao buscar o ficheiro.',
2249 - 'mwe-upwiz-api-warning-duplicate' => 'Xa hai un ficheiro no wiki co mesmo contido',
2250 - 'mwe-upwiz-api-warning-exists' => 'Xa hai un ficheiro no wiki co mesmo nome',
22512230 'mwe-upwiz-tutorial-error-localized-file-missing' => 'Sentímolo, non contamos cunha guía na súa lingua. En vez diso, móstrase a guía en inglés.',
22522231 'mwe-upwiz-tutorial-error-file-missing' => 'Sentímolo, non atopamos os ficheiros da guía que deberían ir aquí. Póñase en contacto cos administradores do sistema.',
22532232 'mwe-upwiz-tutorial-error-cannot-transform' => 'Sentímolo, non podemos obter unha imaxe a escala da guía que caiba nesta pantalla. Pódese tratar dun problema temporal da Wikimedia Commons; inténteo de novo máis tarde.',
@@ -2259,7 +2238,6 @@
22602239 'mwe-upwiz-uploading' => 'subindo...',
22612240 'mwe-upwiz-transported' => 'Aceptar',
22622241 'mwe-upwiz-stashed-upload' => 'Aceptar',
2263 - 'mwe-upwiz-getting-metadata' => 'Obtendo a información do ficheiro e as vistas previas...',
22642242 'mwe-upwiz-failed' => 'Erro.',
22652243 'mwe-upwiz-click-here' => 'Prema aquí para escoller un ficheiro',
22662244 'mwe-upwiz-editing' => 'editando...',
@@ -2267,11 +2245,7 @@
22682246 'mwe-upwiz-remove-upload' => 'Quitar este ficheiro da lista de ficheiros a subir',
22692247 'mwe-upwiz-remove-description' => 'Borrar esta descrición',
22702248 'mwe-upwiz-upload' => 'Subir',
2271 - 'mwe-upwiz-file-all-ok' => 'Todas as cargas completáronse correctamente!',
2272 - 'mwe-upwiz-file-some-failed' => 'Algunhas cargas fallaron.',
2273 - 'mwe-upwiz-file-retry' => 'Repetir as cargas erróneas',
22742249 'mwe-upwiz-next-file-despite-failures' => 'Continuar de calquera xeito',
2275 - 'mwe-upwiz-file-all-failed' => 'Non se completou ningunha das cargas.',
22762250 'mwe-upwiz-upload-count' => '$1 {{PLURAL:$1|ficheiro|ficheiros}} de $2 {{PLURAL:$1|subido|subidos}}',
22772251 'mwe-upwiz-progressbar-uploading' => 'subindo',
22782252 'mwe-upwiz-finished' => 'Feito!',
@@ -2281,7 +2255,6 @@
22822256 'mwe-upwiz-deeds-macro-prompt' => '{{SITENAME}} necesita que proporcione a información de dereitos de autor {{PLURAL:$1|desta obra|destas obras}}, para asegurar que calquera pode {{PLURAL:$1|reusala|reusalas}}.',
22832257 'mwe-upwiz-deeds-custom-prompt' => 'Ou:',
22842258 'mwe-upwiz-source-ownwork' => '{{PLURAL:$1|Este ficheiro é|Estes ficheiros son}} obra miña.',
2285 - 'mwe-upwiz-source-ownwork-assert-any-license' => 'Eu, $2, como posuidor dos dereitos de autor {{PLURAL:$1|desta obra|destas obras}}, concedo a calquera o dereito de empregar, modificar e redistribuír {{PLURAL:$1|esta obra|estas obras}} para o propósito que considere oportuno, e polo tanto {{PLURAL:$1|queda publicada|quedan publicadas}} baixo os seguintes termos:',
22862259 'mwe-upwiz-source-ownwork-assert' => 'Eu, $2, en posesión dos dereitos de autor {{PLURAL:$1|desta obra|destas obras}}, concedo de forma irrevogable a calquera o dereito a usar {{PLURAL:$1|esta obra|estas obras}} para calquera propósito, sempre e cando se recoñeza a súa autoría e as obras derivadas se compartan baixo as mesmas condicións.',
22872260 'mwe-upwiz-source-ownwork-assert-custom' => 'Eu, $2, posuidor dos dereitos de autor {{PLURAL:$1|desta obra|destas obras}}, {{PLURAL:$1|publícoa|publícoas}} baixo a seguinte licenza ou licenzas:',
22882261 'mwe-upwiz-source-ownwork-assert-note' => 'Isto significa que publica a súa obra baixo a licenza Creative Commons recoñecemento compartir igual.',
@@ -4191,7 +4164,6 @@
41924165 'mwe-upwiz-api-error-unknown-error' => 'Interne Feeler: beim Versuch fir Äre Fichier eropzelueden ass eppes schif gaang',
41934166 'mwe-upwiz-api-error-internal-error' => 'Interne Feeler: Et ass eppes schif gaang beim Verschaffe vum eropgeluedene Fichier op der Wiki.',
41944167 'mwe-upwiz-api-error-overwrite' => "D'Iwwerschreiwe vun engem Fichier ass net erlaabt.",
4195 - 'mwe-upwiz-api-error-badtoken' => 'Interne Feeler: falschen Token.',
41964168 'mwe-upwiz-api-error-fetchfileerror' => 'Interne Feeler: beim Opruffe vum Fichier huet eppes net fonctionnéiert.',
41974169 'mwe-upwiz-api-warning-duplicate' => 'Et gëtt schonn en anere Fichier op dem selwechten Inhalt op der Wiki',
41984170 'mwe-upwiz-api-warning-exists' => 'Et gëtt op der Wiki schonn e Fichier mat dem selwechten Numm',
@@ -5640,15 +5612,15 @@
56415613 'mwe-upwiz-api-error-ok-but-empty' => 'Erro interno: não há resposta do servidor.',
56425614 'mwe-upwiz-api-error-unknown-code' => 'Erro desconhecido: "$1"',
56435615 'mwe-upwiz-api-error-uploaddisabled' => 'Não são permitidos carregamentos nesta wiki.',
5644 - 'mwe-upwiz-api-error-nomodule' => 'Erro interno: módulo de upload não está definido.',
 5616+ 'mwe-upwiz-api-error-nomodule' => 'A wiki não sabe como lidar com este carregamento.',
56455617 'mwe-upwiz-api-error-mustbeposted' => 'Este software tem um problema; não está usando o método HTTP correto.',
5646 - 'mwe-upwiz-api-error-badaccess-groups' => 'Você não tem permissão para enviar arquivos para esta wiki.',
5647 - 'mwe-upwiz-api-error-stashfailed' => 'Erro interno: o servidor não conseguiu armazenar o arquivo temporário.',
5648 - 'mwe-upwiz-api-error-missingresult' => 'Erro interno: não foi possível determinar se a cópia foi feita.',
5649 - 'mwe-upwiz-api-error-missingparam' => 'Erro interno: parâmetros em falta no pedido.',
5650 - 'mwe-upwiz-api-error-invalid-session-key' => 'Erro interno: o arquivo não foi encontrado no armazenamento temporário.',
5651 - 'mwe-upwiz-api-error-copyuploaddisabled' => 'O upload por URL está desativado neste servidor.',
5652 - 'mwe-upwiz-api-error-mustbeloggedin' => 'Você precisa estar autenticado para enviar arquivos.',
 5618+ 'mwe-upwiz-api-error-badaccess-groups' => 'Você não tem permissão para carregar arquivos nesta wiki. Verifique a que grupos de acesso você pertence.',
 5619+ 'mwe-upwiz-api-error-stashfailed' => 'A wiki não conseguiu armazenar o arquivo.',
 5620+ 'mwe-upwiz-api-error-missingresult' => 'Não foi possível determinar se a cópia ocorreu com sucesso.',
 5621+ 'mwe-upwiz-api-error-missingparam' => 'O carregamento não continha toda a informação necessária (provavelmente devido a um problema neste assistente).',
 5622+ 'mwe-upwiz-api-error-invalid-session-key' => 'O servidor não conseguiu encontrar esse arquivo entre seus arquivos carregados.',
 5623+ 'mwe-upwiz-api-error-copyuploaddisabled' => 'Os carregamentos por cópia estão desativados.',
 5624+ 'mwe-upwiz-api-error-mustbeloggedin' => 'Você não está devidamente autenticado.',
56535625 'mwe-upwiz-api-error-empty-file' => 'O arquivo que você enviou está vazio.',
56545626 'mwe-upwiz-api-error-file-too-large' => 'O arquivo que você enviou era demasiado grande.',
56555627 'mwe-upwiz-api-error-filetype-missing' => 'Falta a extensão do arquivo.',
@@ -5657,11 +5629,11 @@
56585630 'mwe-upwiz-api-error-illegal-filename' => 'O nome do arquivo não é permitido.',
56595631 'mwe-upwiz-api-error-verification-error' => 'Este arquivo pode estar corrompido ou ter a extensão errada.',
56605632 'mwe-upwiz-api-error-hookaborted' => 'A modificação que você tentou realizar foi abortada pelo hook de uma extensão.',
5661 - 'mwe-upwiz-api-error-unknown-error' => 'Erro interno: ocorreu um erro indeterminado ao tentar enviar o arquivo.',
5662 - 'mwe-upwiz-api-error-internal-error' => 'Erro interno: ocorreu um erro indeterminado na wiki ao processar o arquivo que você enviou.',
 5633+ 'mwe-upwiz-api-error-unknown-error' => 'Ocorreu um erro (indeterminado) ao tentar carregar seu arquivo.',
 5634+ 'mwe-upwiz-api-error-internal-error' => 'Ocorreu um erro de processamento do seu carregamento na wiki.',
56635635 'mwe-upwiz-api-error-overwrite' => 'Não é permitido sobrescrever um arquivo já existente.',
5664 - 'mwe-upwiz-api-error-badtoken' => 'Erro interno: token inválido.',
5665 - 'mwe-upwiz-api-error-fetchfileerror' => 'Erro interno: Ocorreu um problema indeterminado ao aceder ao arquivo.',
 5636+ 'mwe-upwiz-api-error-badtoken' => 'A "chave" usada para identificá-lo no servidor era incorreta.',
 5637+ 'mwe-upwiz-api-error-fetchfileerror' => 'Ocorreu um problema indeterminado ao aceder ao arquivo.',
56665638 'mwe-upwiz-api-warning-duplicate' => 'Já existe outro arquivo na wiki com o mesmo conteúdo',
56675639 'mwe-upwiz-api-warning-exists' => 'Já existe outro arquivo na wiki com o mesmo nome',
56685640 'mwe-upwiz-tutorial-error-localized-file-missing' => 'Não foi encontrado um tutorial em sua língua. Ao invés disso, será usado tutorial em língua inglesa.',
Index: trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.js
@@ -1,21 +1,16 @@
22 // tipsy, facebook style tooltips for jquery
3 -// version 1.0.0a
 3+// version 1.0.0a+
44 // (c) 2008-2010 jason frame [jason@onehackoranother.com]
5 -// releated under the MIT license
 5+// released under the MIT license
66
77 (function($) {
88
9 - function fixTitle($ele) {
10 - if ($ele.attr('title') || typeof($ele.attr('original-title')) != 'string') {
11 - $ele.attr('original-title', $ele.attr('title') || '').removeAttr('title');
12 - }
13 - }
14 -
159 function Tipsy(element, options) {
1610 this.$element = $(element);
1711 this.options = options;
1812 this.enabled = true;
19 - fixTitle(this.$element);
 13+ this.displayed = false;
 14+ this.fixTitle();
2015 }
2116
2217 Tipsy.prototype = {
@@ -23,11 +18,10 @@
2419 var title = this.getTitle();
2520 if (title && this.enabled) {
2621 var $tip = this.tip();
 22+
2723 $tip.find('.tipsy-inner')[this.options.html ? 'html' : 'text'](title);
28 - // $tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity
29 - // the remove strips events
30 - //$tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).appendTo(document.body);
31 - $tip.css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).appendTo(document.body);
 24+ $tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity
 25+ $tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).appendTo(document.body);
3226
3327 var pos = $.extend({}, this.$element.offset(), {
3428 width: this.$element[0].offsetWidth,
@@ -70,44 +64,61 @@
7165 } else {
7266 $tip.css({visibility: 'visible', opacity: this.options.opacity});
7367 }
 68+
 69+ this.displayed = true;
7470 }
7571 },
76 -
 72+
7773 hide: function() {
78 - if (!this.sticky) {
79 - if (this.options.fade) {
80 - this.tip().stop().fadeOut(function() { $(this).hide(); });
81 - } else {
82 - this.tip().hide();
83 - }
 74+ if (this.options.fade) {
 75+ this.tip().stop().fadeOut(function() { $(this).remove(); });
 76+ } else {
 77+ this.tip().remove();
8478 }
 79+ this.displayed = false;
8580 },
8681
 82+ toggle: function() {
 83+ if ( this.displayed ) {
 84+ this.hide();
 85+ } else {
 86+ this.show();
 87+ }
 88+ },
 89+
 90+ fixTitle: function() {
 91+ var $e = this.$element;
 92+ if ($e.attr('title') || typeof($e.attr('original-title')) != 'string') {
 93+ $e.attr('original-title', $e.attr('title') || '').removeAttr('title');
 94+ }
 95+ },
 96+
8797 getTitle: function() {
8898 var title, $e = this.$element, o = this.options;
89 - fixTitle($e);
 99+ this.fixTitle();
90100 var title, o = this.options;
91101 if (typeof o.title == 'string') {
92102 title = $e.attr(o.title == 'title' ? 'original-title' : o.title);
93 - title = ('' + title).replace(/(^\s*|\s*$)/, "");
94103 } else if (typeof o.title == 'function') {
95104 title = o.title.call($e[0]);
96105 }
 106+ title = ('' + title).replace(/(^\s*|\s*$)/, "");
97107 return title || o.fallback;
98108 },
99109
100110 tip: function() {
101 - var type = 'tipsy-' + this.options.type;
102 - var shadow = this.options.shadow ? 'shadow' : '';
103111 if (!this.$tip) {
104 - this.$tip = $('<div class="tipsy ' + type + '"></div>')
105 - .html('<div class="tipsy-arrow"></div><div class="tipsy-inner ' + shadow + '"/></div>');
 112+ this.$tip = $('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>');
106113 }
107114 return this.$tip;
108115 },
109116
110117 validate: function() {
111 - if (!this.$element[0].parentNode) this.hide();
 118+ if (!this.$element[0].parentNode) {
 119+ this.hide();
 120+ this.$element = null;
 121+ this.options = null;
 122+ }
112123 },
113124
114125 enable: function() { this.enabled = true; },
@@ -120,7 +131,9 @@
121132 if (options === true) {
122133 return this.data('tipsy');
123134 } else if (typeof options == 'string') {
124 - return this.data('tipsy')[options]();
 135+ var tipsy = this.data('tipsy');
 136+ if (tipsy) tipsy[options]();
 137+ return this;
125138 }
126139
127140 options = $.extend({}, $.fn.tipsy.defaults, options);
@@ -140,10 +153,11 @@
141154 if (options.delayIn == 0) {
142155 tipsy.show();
143156 } else {
 157+ tipsy.fixTitle();
144158 setTimeout(function() { if (tipsy.hoverState == 'in') tipsy.show(); }, options.delayIn);
145159 }
146160 };
147 -
 161+
148162 function leave() {
149163 var tipsy = get(this);
150164 tipsy.hoverState = 'out';
@@ -176,10 +190,9 @@
177191 html: false,
178192 live: false,
179193 offset: 0,
180 - opacity: 1.0,
 194+ opacity: 0.8,
181195 title: 'title',
182 - trigger: 'hover',
183 - type: 'help'
 196+ trigger: 'hover'
184197 };
185198
186199 // Overwrite this method to provide options on a per-element basis.
Index: trunk/extensions/UploadWizard/resources/jquery/jquery.tipsyPlus.js
@@ -18,7 +18,7 @@
1919 $j( this ).attr( 'original-title' ),
2020 $j( '<a class="mwe-upwiz-tooltip-link"/>' )
2121 .attr( 'href', '#' )
22 - .append( gM( 'mwe-upwiz-tooltip-more-info' ) )
 22+ .append( ' ' + gM( 'mwe-upwiz-tooltip-more-info' ) )
2323 .mouseenter( function() {
2424 el.data('tipsy').sticky = true;
2525 } )
Index: trunk/extensions/UploadWizard/resources/jquery/jquery.tipsy.css
@@ -1,7 +1,7 @@
22 .tipsy { padding: 5px; font-size: small; position: absolute; z-index: 100000; }
3 - .tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; }
 3+ .tipsy-inner { padding: 5px 8px 4px 8px; background-color:#96d8d9; color: black; max-width: 200px; text-align: center; }
44 .tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; }
5 - .tipsy-arrow { position: absolute; background: url('jquery.tipsy.gif') no-repeat top left; width: 9px; height: 5px; }
 5+ .tipsy-arrow { position: absolute; background: url('jquery.tipsy.help.gif') no-repeat top left; width: 9px; height: 5px; }
66 .tipsy-n .tipsy-arrow { top: 0; left: 50%; margin-left: -4px; }
77 .tipsy-nw .tipsy-arrow { top: 0; left: 10px; }
88 .tipsy-ne .tipsy-arrow { top: 0; right: 10px; }
@@ -10,21 +10,3 @@
1111 .tipsy-se .tipsy-arrow { bottom: 0; right: 10px; background-position: bottom left; }
1212 .tipsy-e .tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px; height: 9px; background-position: top right; }
1313 .tipsy-w .tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px; height: 9px; }
14 -
15 -
16 -.tipsy-help .tipsy-inner { background-color: #96d8d9; color: black; }
17 -.tipsy-help .tipsy-arrow { background: url('jquery.tipsy.help.gif') }
18 -
19 -.tipsy-error .tipsy-inner { background-color: #f89c90; color: black; }
20 -.tipsy-error .tipsy-arrow { background: url('jquery.tipsy.error.gif') }
21 -
22 -.shadow {
23 - /* offset left, top, thickness, color with alpha */
24 - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
25 - -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
26 - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
27 - /* IE */
28 - filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray');
29 - /* slightly different syntax for IE8 */
30 - -ms-filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=5, OffY=5, Color='gray')";
31 -}
Index: trunk/extensions/UploadWizard/resources/uploadWizard.css
@@ -415,15 +415,8 @@
416416 margin-bottom: 1em;
417417 }
418418
419 -.mwe-upwiz-details-input {
420 - width: 33em;
421 - float: left;
422 -}
423 -
424419 .mwe-upwiz-details-fieldname {
425 - width: 10em;
426420 padding-top: 0.3em;
427 - float: left;
428421 }
429422
430423 .mwe-upwiz-details-input-error {
@@ -444,13 +437,13 @@
445438
446439
447440 .mwe-upwiz-desc-lang-select {
448 - width: 11em;
 441+ width: 11.5em;
449442 font-family: sans-serif;
450443 font-size: small;
451444 }
452445
453446 .mwe-upwiz-desc-lang-text {
454 - width: 20em;
 447+ width: 33em;
455448 overflow: hidden;
456449 font-family: sans-serif; /* XXX is this right? */
457450 font-size: small;
@@ -470,10 +463,6 @@
471464 font-size: small;
472465 }
473466
474 -.mwe-long-textarea {
475 - width: 31em;
476 -}
477 -
478467 fieldset .mwe-long-textarea {
479468 width: 17em;
480469 }
@@ -605,7 +594,7 @@
606595 }
607596
608597 .mwe-upwiz-required-marker {
609 - color: #0099cc;
 598+ color: #ff0000;
610599 }
611600
612601 .mwe-readonly {
@@ -621,6 +610,17 @@
622611 background: #ffff99;
623612 }
624613
 614+.mwe-upwiz-hint {
 615+ background: url('question.png') no-repeat;
 616+ display: inline-block;
 617+ height: 11px;
 618+ width: 11px;
 619+ margin-left: 4px;
 620+}
 621+.mwe-upwiz-hint:hover {
 622+ background: url('question-hover.png') no-repeat;
 623+}
 624+
625625 #upload-wizard .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; }
626626 #upload-wizard .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; }
627627 #upload-wizard .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; }
Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
@@ -650,7 +650,7 @@
651651
652652 var fieldnameDiv = $j( '<div class="mwe-upwiz-details-fieldname" />' );
653653 if ( required ) {
654 - fieldnameDiv.append( gM( 'mwe-upwiz-desc' ) ).requiredFieldLabel();
 654+ fieldnameDiv.requiredFieldLabel().append( gM( 'mwe-upwiz-desc' ) ).addHint( 'description' );
655655 }
656656
657657
@@ -668,8 +668,7 @@
669669
670670 _this.input = $j( '<textarea name="' + _this.id + '" rows="2" cols="36" class="mwe-upwiz-desc-lang-text"></textarea>' )
671671 .attr( 'title', gM( 'mwe-upwiz-tooltip-description' ) )
672 - .growTextArea()
673 - .tipsyPlus( { plus: 'even more stuff' } );
 672+ .growTextArea();
674673
675674 // descriptions
676675 _this.div = $j('<div class="mwe-upwiz-details-descriptions-container ui-helper-clearfix"></div>' )
@@ -768,13 +767,10 @@
769768 // XXX make sure they can't use ctrl characters or returns or any other bad stuff.
770769 _this.titleId = "title" + _this.upload.index;
771770 _this.titleInput = $j( '<textarea type="text" id="' + _this.titleId + '" name="' + _this.titleId + '" rows="1" class="mwe-title mwe-long-textarea"></textarea>' )
772 - .attr( 'title', gM( 'mwe-upwiz-tooltip-title' ) )
773 - .tipsyPlus()
774771 .keyup( function() {
775772 _this.upload.title.setNameText( _this.titleInput.value );
776773 // TODO update a display of filename
777774 } )
778 - .growTextArea()
779775 .destinationChecked( {
780776 api: _this.upload.api,
781777 spinner: function(bool) { _this.toggleDestinationBusy(bool); },
@@ -792,7 +788,9 @@
793789 _this.titleErrorDiv,
794790 $j( '<div class="mwe-upwiz-details-fieldname"></div>' )
795791 .requiredFieldLabel()
796 - .append( gM( 'mwe-upwiz-title' ) ),
 792+ .append( gM( 'mwe-upwiz-title' ) )
 793+ .addHint( 'title' ),
 794+
797795 $j( '<div class="mwe-upwiz-details-input"></div>' ).append( _this.titleInput )
798796 );
799797
@@ -809,7 +807,7 @@
810808 + '<div class="mwe-upwiz-details-fieldname"></div>'
811809 + '<div class="mwe-upwiz-details-input"></div>'
812810 + '</div>' );
813 - $categoriesDiv.find( '.mwe-upwiz-details-fieldname' ).append( gM( 'mwe-upwiz-categories' ) );
 811+ $categoriesDiv.find( '.mwe-upwiz-details-fieldname' ).append( gM( 'mwe-upwiz-categories' ) ).addHint( 'categories' );
814812 var categoriesId = 'categories' + _this.upload.index;
815813 $categoriesDiv.find( '.mwe-upwiz-details-input' )
816814 .append( $j( '<input/>' ).attr( { id: categoriesId,
@@ -843,21 +841,31 @@
844842
845843 var otherInformationId = "otherInformation" + _this.upload.index;
846844 _this.otherInformationInput = $j( '<textarea id="' + otherInformationId + '" name="' + otherInformationId + '" class="mwe-upwiz-other-textarea"></textarea>' )
847 - .growTextArea()
848 - .attr( 'title', gM( 'mwe-upwiz-tooltip-other' ) )
849 - .tipsyPlus();
 845+ .growTextArea();
850846
851847 var otherInformationDiv = $j('<div></div>')
852 - .append( $j( '<div class="mwe-upwiz-details-more-label">' ).append( gM( 'mwe-upwiz-other' ) ) )
 848+ .append( $j( '<div class="mwe-upwiz-details-more-label">' ).append( gM( 'mwe-upwiz-other' ) ).addHint( 'other' ) )
853849 .append( _this.otherInformationInput );
854 -
855850
856851 $j( moreDetailsDiv ).append(
857852 dateInputDiv,
858853 // location goes here
859854 otherInformationDiv
860855 );
861 -
 856+
 857+ $titleDialog = $('<div>')
 858+ .html( gM( 'mwe-upwiz-dialog-title' ) )
 859+ .dialog({
 860+ width: 500,
 861+ zIndex: 200000,
 862+ autoOpen: false,
 863+ title: 'Help: Title',
 864+ modal: true
 865+ })
 866+ .bind( "dialogclose", function(event, ui) {
 867+ $("#mwe-upwiz-title-hint").tipsy("hide");
 868+ });
 869+
862870 /* Build the form for the file upload */
863871 _this.$form = $j( '<form></form>' );
864872 _this.$form.append(
@@ -1611,7 +1619,7 @@
16121620 }, 300 );
16131621 } );
16141622 } );
1615 -
 1623+
16161624 $j( '#mwe-upwiz-add-file' ).button();
16171625
16181626 $j( '#mwe-upwiz-upload-ctrl' )
@@ -2340,8 +2348,17 @@
23412349 this.addClass( 'mwe-upwiz-required-field' );
23422350 return this.prepend( $j( '<span/>' ).append( '*' ).addClass( 'mwe-upwiz-required-marker' ) );
23432351 };
 2352+
 2353+ /**
 2354+ * Adds a tipsy pop-up icon to the field.
 2355+ * @param name The short name of the field, for example, 'title'. This should correspond with a
 2356+ * message key of the form 'mwe-upwiz-tooltip-<name>'.
 2357+ */
 2358+ $j.fn.addHint = function( name ) {
 2359+ return this.append( $j( '<span class="mwe-upwiz-hint" id="mwe-upwiz-'+name+'-hint" onclick=\"$(this).tipsy(\'toggle\');return false;\">' )
 2360+ .attr( 'title', gM( 'mwe-upwiz-tooltip-'+name ) ).tipsy( {html: true, opacity: 0.9, gravity: 'sw', trigger: 'manual'} ) );
 2361+ };
23442362
2345 -
23462363 /**
23472364 * jQuery extension. Makes a textarea automatically grow if you enter overflow
23482365 * (This feature was in the old Commons interface with a confusing arrow icon; it's nicer to make it automatic.)

Follow-up revisions

RevisionCommit summaryAuthorDate
r82834Partly revert r82826 for messing with translations.raymond07:45, 26 February 2011

Status & tagging log