importScript("User:UBX/LiveEditCounter.js");
importScript('User:VarunFEB2003/hideBeta.js'); // Backlink:[[User:VarunFEB2003/hideBeta]]
importScript('User:VarunFEB2003/textFormatter.js'); // Backlink:[[User:VarunFEB2003/textFormatter]]
console.log("common.js: Starting");
// Make sure the utilities module is loaded (will only load if not already)
mw.loader.using( 'mediawiki.util', function () {
console.log("common.js: Modules loaded");
// Wait for the page to be parsed
$( document ).ready( function () {
console.log("common.js: Document ready");
// Start of your code that manipulates the page
var element = document.getElementById('pt-betafeatures');
if (element) {
element.remove();
}
// End of your code that manipulates the page
console.log("common.js: Complete");
} ); // document ready
} ); // modules loaded
importScript("User:Another_Article/workflowstudyclient.js");
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
"Change Status" // link label
)});
/**
* Extra buttons in toolbar
* @stats [[File:Krinkle_InsertWikiEditorButton.js]]
*/
$.ajax({
url: 'https://meta.wikimedia.org/w/index.php?title=User:Krinkle/Scripts/InsertWikiEditorButton.js&action=raw&ctype=text/javascript',
dataType: 'script',
cache: true
}).done(function () {
// Happy face
krInsertWikiEditorButton({
id: "mw-customeditbutton-myspecialbutton",
icon: "https://upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png",
label: 'Insert Redirect',
insertBefore: '#REDIRECT',
insertAfter: ' ',
sampleText: ' [[User talk:VarunFEB2003]]'
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/8/82/Nowiki_icon.png',
label: 'Nowiki',
insertBefore: '<nowiki>',
insertAfter: '</nowiki>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/en/e/ea/Button_align_left.png',
label: 'Left align',
insertBefore: '<div style="text-align: left; direction: ltr; margin-left: 1em;">',
insertAfter: '</div>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/5/5f/Button_center.png',
label: 'Center align',
insertBefore: '<div style="text-align: center;">',
insertAfter: '</div>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/a/a5/Button_align_right.png',
label: 'Right align',
insertBefore: '<div style="text-align: right; direction: ltr; margin-left: 1em;">',
insertAfter: '</div>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/en/d/d7/Font_button.png',
label: 'Right align',
insertBefore: '<span style="color: Red">',
insertAfter: '</span>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/b/b6/Button_code1.png',
label: 'Code',
insertBefore: '<code> <nowiki>',
insertAfter: '</nowiki> </code>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/c/ce/Button_no_include.png',
label: 'Noinclude',
insertBefore: '<noinclude>',
insertAfter: '</noinclude>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/7/79/Button_include.png',
label: 'Includeonly',
insertBefore: '<includeonly>',
insertAfter: '</includeonly>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/9/9e/Btn_toolbar_gallery.png',
label: 'Box',
insertBefore: '<div style="align: center; padding: 1em; border: solid 2px black; background-color: yellow;"> <center> ',
insertAfter: '</center></div <br clear="all">',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/1/17/Button_indevelopment.png',
label: 'Plainlink',
insertBefore: '<span class="plainlinks">',
insertAfter: '</span>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/9/98/Button_oppose.png',
label: 'Oppose',
insertBefore: '[[File:Symbol oppose vote.svg|15px]] Oppose - ',
insertAfter: ' ',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/6/6d/Button_exclamation_1.png',
label: 'Wait',
insertBefore: '[[File:Symbol wait vote.svg|15px]] Wait - ',
insertAfter: ' ',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/en/c/c0/Button_link.png',
label: 'Hovertext',
insertBefore: '<span style="color:#002BB8; cursor:plain; vertical-align:super;" title=" ">',
insertAfter: '</span>',
sampleText: ' '
});
// Monkey
krInsertWikiEditorButton({
id: 'mw-customeditbutton-anotherspecialbutton',
icon: 'https://upload.wikimedia.org/wikipedia/commons/4/4e/Button_romain.png',
label: 'abbr',
insertBefore: '{{abbr| | ',
insertAfter: '}}',
sampleText: ' '
});
});
|