LangSwitch
< LangSwitch | es
Description
Agrega un enlace a Mis herramientas para cambiar rápidamente de idioma.
Updated
February 12, 2025
English (en) العربية (ar) беларуская (be) català (ca) Deutsch (de) Ελληνικά (el) emiliàn e rumagnòl (eml) español (es) eesti (et) suomi (fi) français (fr) हिन्दी (hi) hrvatski (hr) Bahasa Indonesia (id) italiano (it) 日本語 (ja) ქართული (ka) 한국어 (ko) latviešu (lv) Napulitano (nap) Nederlands (nl) polski (pl) português do Brasil (pt-br) русский (ru) српски (ћирилица) (sr-ec) srpski (latinica) (sr-el) Türkçe (tr) українська (uk) 中文(简体) (zh-hans) 中文(繁體) (zh-hant) 中文(香港) (zh-hk) 中文(臺灣) (zh-tw) Translate! [
View ]
LangSwitch agrega un enlace al menú Mis herramientas que, cuando se
clickea , despliega el menú para cambiar rápidamente de idioma. Si el texto introducido se inicia con una
/ se recargará en una subpágina (
Foo a
Foo/bar y
Foo/bar a
Foo/foo).
Installation
Add this to MediaWiki:ImportJS :
dev:LangSwitch.js
importArticles:
Add this JavaScript on your wiki (or add the highlighted text to your existing import statement):
importArticles ({ type : 'script' , articles : [ 'u:dev:MediaWiki:LangSwitch.js' , ] });
Local:
Special:MyPage/common.js
Importing multiple scripts? This quick guide shows how to combine the imports. For personal use, note that personal JS must be enabled for your account. If the script requires configuration through MediaWiki:Common.js for sitewide use, don't forget to contact Fandom Staff to get it enabled on your wiki, if it isn't already enabled.
Personalización
El idioma predeterminado es qqx. Para cambiar esto, añada window.LangSwitchDefault = 'yourlanguage'; encima de la importación.
See also
Registro de cambios