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

Content deleted Content added
maintenance: more info Uncaught TypeError: Cannot read property '0' of undefined
maintenance: more info Uncaught TypeError: wikitext.startsWith is not a function
Line 33:
this.getWikitext(page, wikitext =>
{
if(wikitext && wikitext.startsWith("!!REDIRECT"))
{
project = wikitext.split(" ")[1];