User:Beleg Âlt/common.js

// Add tabs to Pagespace linking to transcluded pages in Mainspace mw.loader.load('https://wikisource.org/wiki/MediaWiki:TranscludedIn.js&action=raw&ctype=text/javascript');

// Some kind of LINT checker I guess? mw.loader.load('//en.wikisource.org/w/index.php?title=User:Samwilson/LinkedLintErrors.js&action=raw&ctype=text/javascript');

// Mass move tool from Wikipedia mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Plastikspork/massmove.js&action=raw&ctype=text/javascript' ); //User:Plastikspork/massmove.js mw.util.addPortletLink("p-tb", "//en.wikisource.org/wiki/Special:Massmove", "Mass move", "p-massmove", "Mass move");

/** TemplateScript: Add several tools useful when proofreading pages in the Page: namespace. *  @see https://en.wikisource.org/wiki/Wikisource:TemplateScript */ // TemplateScript base tools mw.loader.load('//en.wikisource.org/w/index.php?title=MediaWiki:TemplateScript/proofreading.js&action=raw&ctype=text/javascript');

// TemplateScript for various specific works // mw.loader.load('//en.wikisource.org/w/index.php?title=User:Beleg Tâl/Sonnets.js&action=raw&ctype=text/javascript');

// TemplateScript for typing Greek using Beta code mw.loader.load('//en.wikisource.org/w/index.php?title=User:Beleg Tâl/Beta.js&action=raw&ctype=text/javascript');

// TemplateScript for typing 'â' and 'š' in the inscription of Behistun mw.loader.load('//en.wikisource.org/w/index.php?title=User:Beleg Tâl/Behistun.js&action=raw&ctype=text/javascript');

// TemplateScript to add line breaks at end of each line (good for poetry books) $.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function {	pathoschild.TemplateScript.add({ name: 'Add line breaks', category: 'Page tools', script: function(editor) { editor .replace(/\n/g, ' \n') .replace(/ \n( \n)+/g, '\n\n') }	}); });

// DATAFY mw.loader.load('//en.wikisource.org/w/index.php?title=User:Beleg Tâl/Datafy.js&action=raw&ctype=text/javascript');