Widget:CurrentWBRQ: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 19: | Line 19: | ||
alert(curr.toString()); | alert(curr.toString()); | ||
document.getElementById('queslink').innerHTML = "<a href='http://www.wikidoc.org/index.php/Special:FormEdit/WBRQuestion/WBR'+curr.toString()+'>Linky!</a>'"; | document.getElementById('queslink').innerHTML = "<a href='http://www.wikidoc.org/index.php/Special:FormEdit/WBRQuestion/WBR'+curr.toString()+'>Linky!</a>'"; | ||
addNewSection( "WBRCurrentQuestion", | addNewSection( "WBRCurrentQuestion",curr.toString(),mw.user.tokens.get( 'editToken' )); | ||
} | } | ||
}); | }); |