User:SQL/refcheck.js
From Wikipedia, the free encyclopedia
< User:SQL
Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. The code will be executed when previewing this page. |
![]() | This script seems to have a documentation page at User:SQL/refcheck. |
//Adds 'Check Refs' to the toolbox, links to http://toolserver.org/~dispenser/cgi-bin/reflinks.py -- Dispenser's reference title fixer.
function refcheck()
{
addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py?page=" + wgPageName + "&citeweb=on", "Check Refs");
}
function linkcheck()
{
addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page=" + wgPageName, "Check Links");
}
if ( wgNamespaceNumber == 0 ) {
addOnloadHook(refcheck);
addOnloadHook(linkcheck);
}