Momentálně se pracuje na harmonizaci obsahu českých stránek

Čeština - druhé vydání 2005

MediaWiki:Common.js: Porovnání verzí

Z Demopædia
Přejít na: navigace, hledání
(empty because of syntax error)
m (naimportována 1 revize)
 
(Není zobrazeno 13 mezilehlých verzí od 3 dalších uživatelů.)
Řádka 1: Řádka 1:
/* Zde uvedený JavaScript bude použit pro všechny uživatele při načtení každé stránky.  */
+
/**
 +
* Keep code in MediaWiki:Common.js to a minimum as it is unconditionally
 +
* loaded for all users on every wiki page. If possible create a gadget that is
 +
* enabled by default instead of adding it here (since gadgets are fully
 +
* optimized ResourceLoader modules with possibility to add dependencies etc.)
 +
*
 +
* Since Common.js isn't a gadget, there is no place to declare its
 +
* dependencies, so we have to lazy load them with mw.loader.using on demand and
 +
* then execute the rest in the callback. In most cases these dependencies will
 +
* be loaded (or loading) already and the callback will not be delayed. In case a
 +
* dependency hasn't arrived yet it'll make sure those are loaded before this.
 +
  */

Aktuální verze z 25. 6. 2017, 22:18

/**
 * Keep code in MediaWiki:Common.js to a minimum as it is unconditionally
 * loaded for all users on every wiki page. If possible create a gadget that is
 * enabled by default instead of adding it here (since gadgets are fully
 * optimized ResourceLoader modules with possibility to add dependencies etc.)
 *
 * Since Common.js isn't a gadget, there is no place to declare its
 * dependencies, so we have to lazy load them with mw.loader.using on demand and
 * then execute the rest in the callback. In most cases these dependencies will
 * be loaded (or loading) already and the callback will not be delayed. In case a
 * dependency hasn't arrived yet it'll make sure those are loaded before this.
 */