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

Content deleted Content added
mNo edit summary
maintenance: more info Uncaught TypeError: Cannot read property '0' of undefined
Line 98:
for(var id in data.query.pages)
{
wikitext.push(var revisions = data.query.pages[id].revisions || [0].slots.main['*']);
if(revisions.length) wikitext.push(revisions[0].slots.main['*']);
}