Content deleted Content added
mw.util.addportletlink |
Right, this uses globals, will have to fix it more thoroughly |
||
Line 5:
//To use this function add {{subst:js|User:Dr pda/persondata.js}} to your monobook.js
//
function format_name(x){
NAME = x.substr(x.indexOf('=')+1);
Line 187 ⟶ 185:
if(!document.forms.editform){
if (document.getElementById('persondata') != null){
}
}
else{
if (wgNamespaceNumber == 0 && document.getElementById('wpTextbox1').value.match(/persondata/i) == null){
}
}
});
//</pre>
|