User:Bbb23/vector.js: Difference between revisions
Appearance
Content deleted Content added
importing culoghelper script per DoRD's suggestion |
edit toolbar button script for user space |
||
Line 14: | Line 14: | ||
importScript('User:Writ Keeper/Scripts/massRollback.js'); // mass rollback |
importScript('User:Writ Keeper/Scripts/massRollback.js'); // mass rollback |
||
importScript('User:Amalthea/culoghelper.js'); |
importScript('User:Amalthea/culoghelper.js'); |
||
jQuery( document ).ready( function ( $ ) { |
|||
if ( !$.fn.wikiEditor ) { |
|||
return; |
|||
} |
|||
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
section: 'main', |
|||
group: 'insert', |
|||
tools: { |
|||
'signature-ns2': { |
|||
labelMsg: 'wikieditor-toolbar-tool-signature', |
|||
filters: [ 'body.ns-2' ], |
|||
type: 'button', |
|||
offset: [2, -1872], |
|||
icon: 'insert-signature.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: '--~~' + '~~' |
|||
} |
|||
} |
|||
} |
|||
} |
|||
}); |
|||
} ); |
Revision as of 02:50, 25 August 2016
importScript('User:Gracenotes/rollback.js');
rollbackSummaryDefault = "[[WP:RBK|Reverted]] edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last version by $1";
importScript('User:Ohconfucius/script/MOSNUM dates.js'); //[[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Equazcion/NoEditSandbox.js');
importStylesheet('User:Equazcion/RemoveRecentUpdateMarkers.css');
importScript('User:Rami_R/rfppClerk.js');
importScript('User:Alex Smotrov/histcomb.js');
importScript('User:Dr_pda/prosesize.js'); //adds link to Toolbox for page sizes
importScript('User:Mr.Z-man/hideClosedAFD.js'); //[[User:Mr.Z-man/hideClosedAFD]]
importScriptURI('https://ru.wikipedia.org/enwiki/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
// SPI tools
importScript('User:Timotheus Canens/spihelper.js');
// personal toplinks
importScript('User:Writ Keeper/Scripts/massRollback.js'); // mass rollback
importScript('User:Amalthea/culoghelper.js');
jQuery( document ).ready( function ( $ ) {
if ( !$.fn.wikiEditor ) {
return;
}
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'main',
group: 'insert',
tools: {
'signature-ns2': {
labelMsg: 'wikieditor-toolbar-tool-signature',
filters: [ 'body.ns-2' ],
type: 'button',
offset: [2, -1872],
icon: 'insert-signature.png',
action: {
type: 'encapsulate',
options: {
pre: '--~~' + '~~'
}
}
}
}
});
} );