MediaWiki Discussió:Gadgets-definition

El contingut de la pàgina no s'admet en altres llengües.
De la Viquipèdia, l'enciclopèdia lliure

Els popups es carreguen després del (-navpop.css) i les traduccions (-popups-strings-ca.js) per poder previsualitzar el contingut de l'article. A hores d'ara hem de tenir el nostre mòdul dels popups per poder veure als canvis recents les contribucions d'un usuari anònim. S'ha comunicat al Lupin la necessitat d'introduir un canvi al seu codi, però encara no ha donat cap resposta ni ha implementat la suggerència. (La diff del missatge a 27 nov 07.) –Pasqual · discussió 16:24, 14 gen 2008 (CET)[respon]

Dear friends; please look also at the links at commons:user:i18n#useful links. Thanks in advance! Best regards
‫·‏לערי ריינהארט‏·‏T‏·‏m‏:‏Th‏·‏T‏·‏email me‏·‏‬ 19:20, 7 feb 2008 (CET)[respon]

Proposal for GoogleTrans gadget[modifica]

Hi there,

Sorry about the English.

I have made a GoogleTrans gadget which has been on the enwiki for around a year now. It is also on 10 other wikipedias including the Spanish (an early version) and the Portuguese.

It functions like the Google toolbar translation feature. When you position the cursor over a word in a webpage and hit the SHIFT key, the Google translation of that word (or of selected text < 500 characters) appears in a popup below the cursor.

The help page for the gadget is at:

http://en.wikipedia.org/wiki/User:Endo999/GoogleTrans

(This has instructions on how to port over to other wikis).

and the code for it is at:

http://en.wikipedia.org/wiki/User:Endo999/GoogleTrans.js

It really works well for people who have intermediate Catalan as they can easily look up a word they don't know (every 2 or 3 sentences). This is how I use the tool to read French and Spanish webpages. However, the person who knows no Catalan (like me) can simply select a sentence or two and have it translated as well. In each popup there is a link to Google Translation Services. If you click on this link then the whole page is translated.

Good luck with your wiki, and congratulations on the revival of the Catalan tongue.

Endo999 (disc.) 00:46, 29 set 2010 (CEST)[respon]

type=general[modifica]

{{Modificació protegida}} Hola admins, D'acord amb phab:T42284 s'hauria d'afegir type=general a la descripció de DetectaDesambiguacions ReferenceTooltips Cat-a-lot i DocTabs. Per tant les seves definiciopns quedarien:

  • DetectaDesambiguacions[ResourceLoader|dependencies=mediawiki.util,jquery.mwExtension|type=general]|bkl-check.js|bkl-check.css
  • ReferenceTooltips[ResourceLoader|default|type=general]|ReferenceTooltips.js|ReferenceTooltips.css
  • Cat-a-lot[ResourceLoader|dependencies=jquery.ui.dialog,jquery.ui.autocomplete,mediawiki.util|rights=autopatrol|type=general]|Cat-a-lot.js|Cat-a-lot.css
  • DocTabs[ResourceLoader|default|dependencies=site,mediawiki.api|type=general]|DocTabs.js|DocTabs.css

Moltes gràcies, gerardduenascontacta'm 14:25, 1 nov 2016 (CET)[respon]

Fet Fet! Gràcies a tu. --V.Riullop (parlem-ne) 18:23, 1 nov 2016 (CET)[respon]

ReferenceTooltips dependencies outdated[modifica]

Apologies for writing in English. Please can you update the dependencies for this module to match enwiki to avoid it throwing bugs?

Current: ReferenceTooltips[default|ResourceLoader|type=general]|ReferenceTooltips.css|ReferenceTooltips.js

Per enwiki: ReferenceTooltips[ResourceLoader|default|type=general|dependencies=mediawiki.cookie,jquery.client]|ReferenceTooltips.js|ReferenceTooltips

See also: en:MediaWiki_talk:Gadget-popups.js#JS_error:_"TypeError:_$.inArray_is_not_a_function" Jdlrobson (disc.) 05:18, 2 ago 2020 (CEST)[respon]

@Jdlrobson: In which page do we have to change this? Pau Cabot · Discussió 17:50, 12 ago 2020 (CEST)[respon]
MediaWiki:Gadgets-definition Jdlrobson (disc.) 18:49, 12 ago 2020 (CEST)[respon]
@Jdlrobson: Done. Also dependencies added for popups but the error persists. --V.Riullop (parlem-ne) 20:57, 12 ago 2020 (CEST)[respon]
It looks like there is a new version of ReferenceTooltips so maybe its time to upgrade? en:MediaWiki:Gadget-ReferenceTooltips.js => MediaWiki:Gadget-ReferenceTooltips.js Jdlrobson (disc.) 01:38, 13 ago 2020 (CEST)[respon]

Adaptació UKBot[modifica]

Hola, amb en Joutbis hem adaptat l'UKBot (aquí es diu Threepbot) per la Viquipèdia en català. Es tracta d'un bot que permet organitzar concursos fàcilment, i que tenim hostejat a Toolforge. El darrer pas per acabar de facilitar la participació a aquests concursos és afegir un botó que permet inscriure's al concurs amb un sol clic (exemple a la Viquipèdia en basc). Per acabar-ho d'instal·lar aquí, caldria que un administrador de la interfície (@KRLS, Vriullop, SMP, Arnaugir:) fes el següent:

Algú ens pot donar un cop de mà? Gràcies! --Townie (discussió) 23:02, 24 nov 2020 (CET)[respon]

Fet Fet!. Pel que entenc només funcionarà en subpàgines de Viquiprojecte:Concursos que ara mateix ni tan sols existeix, de manera que quan un altre viquiprojecte vulgui fer un concurs hi haurà de crear una subpàgina? En qualsevol cas si s'han de fer modificacions a algun dels dos fitxers javascript, demaneu-ho a la pàgina de discussió corresponent. --SMP​ (+ disc. xat) 14:24, 25 nov 2020 (CET)[respon]
@SMP: Moltes gràcies! Exacte, és com comentes, però no cal que la pàgina de concursos estigui creada. En tot cas, suposo que l'acabarem aviat més aviat que tard. --Townie (discussió) 14:55, 25 nov 2020 (CET)[respon]