User:Guywan/Scripts/InsertShortcuts.js: Difference between revisions

Content deleted Content added
mNo edit summary
mNo edit summary
Line 39:
{
// Remove escaped newlines. Escape 'comments'. Split into tags.
this.inserts = wikitext.replace(/\\\n/g, "").replace(/^\/\//gm, "").split("\n");
}, null, null, `https://${project}.org/w/api.php`);
Line 46:
{
// Remove escaped newlines. Escape 'comments'. Split into tags.
this.inserts = wikitext.replace(/\\\n/g, "").replace(/^\/\//gm, "").split("\n");
}
}, null, null, loadFrom);