无编辑摘要
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
第1行: | 第1行: | ||
if (mw.config.values.wgAction == "view" || mw.config.values.wgAction == "history"){ | if (mw.config.values.wgAction == "view" || mw.config.values.wgAction == "history"){ | ||
document.getElementById(" | document.getElementById("mw-panel").innerHTML=window.newtrad2simcore(" "+document.getElementById("bodyContent").innerHTML).substr(1); | ||
window.origHeadElem.innerHTML=window.newtrad2simcore(" "+window.origHeadElem.innerHTML).substr(1); | window.origHeadElem.innerHTML=window.newtrad2simcore(" "+window.origHeadElem.innerHTML).substr(1); | ||
var convtag=document.getElementById("ca-conv-text"); | var convtag=document.getElementById("ca-conv-text"); | ||
convtag.parentElement.innerHTML="<a href=\"javascript:window.simrestorem()\" title=\"復原\" id=\"ca-conv-text\">港台繁體<\/a>"; | convtag.parentElement.innerHTML="<a href=\"javascript:window.simrestorem()\" title=\"復原\" id=\"ca-conv-text\">港台繁體<\/a>"; | ||
} | } |