User:Erutuon/scripts/footnoteCleanup.js: Difference between revisions

Content deleted Content added
attempt to create a cleanup footnotes button
undefined variable
Line 1:
var namespaceNumber = mw.config.values.wgNamespaceNumber;
 
if ( namespaceNumber === 1 )
{
Line 6 ⟶ 8:
function cleanupFootnotes()
{
var namespaceNumber = mw.config.values.wgNamespaceNumber;
var textbox = $("#wpTextbox1");