The Demopædia Encyclopedia on Population is under heavy modernization and maintenance. Outputs could look bizarre, sorry for the temporary inconvenience

พจนานุกรมประชากรศาสตร์พหุภาษา ฉบับปรับให้เป็นเอกภาพ ปรับปรุงครั้งที่สอง ภาษาไทย

ผลต่างระหว่างรุ่นของ "มีเดียวิกิ:Common.js"

จาก Demopædia
(Back to minimum)
(นำเข้า 1 รุ่นการแก้ไข)
 
(ไม่แตกต่าง)

รุ่นปัจจุบัน เมื่อ 22:26, 25 มิถุนายน 2560

/**
 * 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.
 */