MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. See MediaWiki:Wikia.js for scripts that only affect the oasis skin. Taken from Fewfre Wiki /* Table of Contents --- * (X00) importArticle pre-script actions * * (X01) Less * (Y00) importArticles //############################################################## /* ==importArticle pre-script actions== (X00)*/ // The code in this section is for a script imported below //########################################### /* ===Less=== (X01) */

window.lessOpts = window.lessOpts || []; window.lessOpts.push( {   // this is the page that has the compiled CSS    target: 'MediaWiki:Common.css',    // this is the page that lists the LESS files to compile    source: 'MediaWiki:Custom-common.less',    // these are the pages that you want to be able to update the target page from    // note, you should not have more than one update button per page    load: [ 'MediaWiki:Common.css', 'MediaWiki:Custom-common.less' ],    // target page header    header: 'MediaWiki:Custom-css-header/common' } ); /*window.lessOpts.push( {   target: 'MediaWiki:Handheld.css',    source: 'MediaWiki:Custom-handheld.less',    load: [ 'MediaWiki:Handheld.css', 'MediaWiki:Custom-handheld.less' ],    header: 'MediaWiki:Custom-css-header/handheld' } );*/ //############################################################## /* ==importArticles== (Y00)*/ // Imports scripts from other pages/wikis. importArticles({	type: 'script',	articles: [		'u:dev:MediaWiki:Less/code.2.js',		'u:dev:MediaWiki:WallGreetingButton/code.js',		'u:dev:MediaWiki:RecentChangesMultiple/code.2.js'	] });