|
|
| (11 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| // 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 (mw.config.get('wgAction') === 'edit' || mw.config.get('wgAction') === 'submit' || mw.config.get('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,E1,5,AI,G,8,P,T1,O,H,FS,9,V,N,B,BF,BV";
| |
|
| |
| //myButtons=[];
| |
| }//</pre></onlyinclude>
| |
|
| |
| // Use test JS if we're on a test page | | // Use test JS if we're on a test page |
| if (mw.config.get('wgPageName') === 'User:Iritscen/TestSpace' || mw.config.get('wgPageName') === 'User:Iritscen/TestSpace2') | | if (mw.config.get('wgPageName') === 'User:Iritscen/TestSpace' || mw.config.get('wgPageName') === 'User:Iritscen/TestSpace2') |
| Line 15: |
Line 5: |
| } | | } |
|
| |
|
| // Alter the sidebar to include any handy links that only we want to see | | /*[[Category:Userspace]]*/ |
| // This code is disabled but left in place since it is referred to on [[MediaWiki:Common]]
| |
| /*$(function()
| |
| {
| |
| ModifySidebar("sep", "navigation", "", "");
| |
| ModifySidebar("add", "navigation", "Slaves of War", "http://wiki.oni2.net/Oni2:Slaves_of_War");
| |
| });*/
| |