User:Iritscen/vector.js: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Iritscen moved page User:Iritscen/common.js to User:Iritscen/vector.js without leaving a redirect: Hmm, maybe it does belong here....)
(adding instruction to load TestSpace.js if I am on TestSpace)
Line 10: Line 10:
   importScript('MediaWiki:Common.js/edit.js');
   importScript('MediaWiki:Common.js/edit.js');
}//</pre></onlyinclude>
}//</pre></onlyinclude>
if (wgPageName == "User:Iritscen/TestSpace")
{
    importScript("User:Iritscen/TestSpace.js")
}

Revision as of 23:10, 15 November 2012

// Load XEB to augment the editing toolbar; see [[XEB]] for documentation
// The onlyinclude and pre tags below allow me to transclude the enclosed code onto the XEB docs page
//<onlyinclude><pre>
if (wgAction == "edit" || wgAction == "submit" || wgPageName == "Special:Upload")
{
   XEBOrder="0,1,U,S,F,I1,I2,J1,J2,D,C,D1,4,A,R1,R2,2,3,K,T,Y1,Y2,Z,E,5,AI,G,8,P,T1,O,H,FS,9,V,N,B";

   //myButtons=[];

   importScript('MediaWiki:Common.js/edit.js');
}//</pre></onlyinclude>

if (wgPageName == "User:Iritscen/TestSpace")
{
    importScript("User:Iritscen/TestSpace.js")
}