Jump to content

MediaWiki:Common.js: Difference between revisions

disabling XEB while I test new version
(adding autosort feature and touching up existing code style)
(disabling XEB while I test new version)
Line 27: Line 27:


/* Import more specific scripts if necessary */
/* Import more specific scripts if necessary */
if (wgAction == "edit" || wgAction == "submit" || wgPageName == "Special:Upload") // load script specific to editing and upload pages
/*if (wgAction == "edit" || wgAction == "submit" || wgPageName == "Special:Upload") // load script specific to editing and upload pages
{
{
     importScript("MediaWiki:Common.js/edit.js")
     importScript("MediaWiki:Common.js/edit.js")
}
}
else if (wgPageName == "Special:Search") // load script for augmenting search page
else*/ if (wgPageName == "Special:Search") // load script for augmenting search page
{
{
     importScript("MediaWiki:Common.js/search.js")
     importScript("MediaWiki:Common.js/search.js")