User:Pabix/monobook.js: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
/*<source lang="javascript">*/ |
|||
/*<pre><nowiki>*/ |
|||
/** |
/** |
||
* LiveRC |
* LiveRC |
||
Line 14: | Line 14: | ||
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); */ |
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); */ |
||
/** |
|||
* Twinkle |
|||
*/ |
|||
importScript('User:AzaToth/twinkle.js'); |
|||
TwinkleConfig = { |
|||
revertMaxRevisions : 50, |
|||
userTalkPageMode : 'window', |
|||
showSharedIPNotice : true, |
|||
openTalkPage : [ 'agf', 'norm', 'vand' ], |
|||
openTalkPageOnAutoRevert : false, |
|||
openAOLAnonTalkPage : false, |
|||
summaryAd : " using [[WP:TWINKLE|TW]]", |
|||
deletionSummaryAd : " using [[WP:TWINKLE|TW]]", |
|||
protectionSummaryAd : " using [[WP:TWINKLE|TW]]", |
|||
watchSpeedyPages : [ 'g3', 'g5', 'g10', 'g11', 'g12' ], |
|||
watchProdPages : true, |
|||
openUserTalkPageOnSpeedyDelete : [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ], |
|||
watchRevertedPages : [ 'agf', 'norm', 'vand', 'torev' ], |
|||
markRevertedPagesAsMinor : [ 'agf', 'norm', 'vand', 'torev' ], |
|||
deleteTalkPageOnDelete : false, |
|||
markWarningsAsMinor : true, |
|||
markAIVReportAsMinor : true, |
|||
markSpeedyPagesAsMinor : true, |
|||
markProdPagesAsMinor : true, |
|||
confirmUsernameToAIV : true, |
|||
toolboxButtons : [ ] |
|||
}; |
|||
Line 68: | Line 41: | ||
/*</ |
/*</source>*/ |
Revision as of 08:15, 24 May 2007
/*<source lang="javascript">*/
/**
* LiveRC
*/
importScript('User:EDUCA33E/LiveRC.js');
importScript("User:Pabix/LRC.js");
/**
* Navigation Pop-ups *
*/
/*document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); */
// Other stuff
function CSSJS_Shortcut(){
var rp=document.getElementById("n-randompage");
var line=document.createElement("li");
with(line) {
innerHTML="<a href='http://en.wikipedia.org/wiki/Special:Mypage/monobook.css'>CSS</a><a href='http://en.wikipedia.org/wiki/Special:Mypage/monobook.js'>JS</a>";
}
rp.parentNode.appendChild(line);
}
addOnloadHook(CSSJS_Shortcut);
function OngletPurge() {
var a = document.getElementById("p-cactions");
if (a) {
var pageName = document.title.replace(" - Wikipedia", "");
b = a.getElementsByTagName("ul");
if(b.length > 0) {
b[0].innerHTML = b[0].innerHTML + '<li id="ca-nstab-user">' + '<a href="/w/index.php?action=purge&title=' + pageName + '">purger</a>' + '</li>';
}
}
}
addOnloadHook(OngletPurge);
/*</source>*/