MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
// <syntax type="javascript"> | // <syntax type="javascript"> | ||
Line 32: | Line 24: | ||
addOnloadHook (preloadUploadDesc) | addOnloadHook (preloadUploadDesc) | ||
importArticle({type:'script', article:'w:c:dev:DisplayClock/code.js'}); | /* importArticle({type:'script', article:'w:c:dev:DisplayClock/code.js'}); */ | ||
/* Replaces {{Visitor}} with the name of the user browsing the page. | /* Replaces {{Visitor}} with the name of the user browsing the page. | ||
Line 45: | Line 37: | ||
/* End of the {{Visitor}} replacement */ | /* End of the {{Visitor}} replacement */ | ||
importArticles({ | /* importArticles({ | ||
type: 'script', | type: 'script', | ||
articles: [ | articles: [ | ||
Line 54: | Line 46: | ||
// ... | // ... | ||
] | ] | ||
}); | }); */ | ||
/***User Tags***/ | /***User Tags***/ |