CopyCodeButton
< CopyCodeButton | es
Description
Añade un botón a las áreas resaltadas de la sintaxis para copiar el código rápidamente.
English (en) العربية (ar) беларуская (be) български (bg) brezhoneg (br) bosanski (bs) català (ca) Deutsch (de) Ελληνικά (el) Esperanto (eo) español (es) suomi (fi) français (fr) Gaeilge (ga) Gàidhlig (gd) galego (gl) हिन्दी (hi) hrvatski (hr) italiano (it) 日本語 (ja) ქართული (ka) ಕನ್ನಡ (kn) 한국어 (ko) latviešu (lv) македонски (mk) молдовеняскэ (mo) norsk (no) occitan (oc) polski (pl) português (pt) português do Brasil (pt-br) română (ro) русский (ru) српски (ћирилица) (sr-ec) srpski (latinica) (sr-el) Türkçe (tr) українська (uk) val 中文(简体) (zh-hans) 中文(繁體) (zh-hant) 中文(香港) (zh-hk) 中文(臺灣) (zh-tw) Translate! [
View ]
CopyCodeButton es un script cuyo propósito es añadir un botón de copia a un área resaltada de la sintaxis. Actualmente, funciona solo con ciertas áreas resaltadas. JavaScript en Fandom Developers Wiki . En el futuro, también se planea agregar soporte para otros idiomas.
Installation [ ]
Add this to MediaWiki:ImportJS :
dev:CopyCodeButton.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:CopyCodeButton.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.
Registro de cambios [ ]
Version
Date
Description
Author
1.0.0
August 9, 2018
Initial version.
Lady Furude
1.1.0
August 17, 2018
Support of i18n and configuration variables for using the script on other wikis.
Lady Furude