「MediaWiki:Gadget-tradsim-trad2simcore.js」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要
imported>=海豚= 無編輯摘要 |
imported>=海豚= 無編輯摘要 |
||
| 第9,492行: | 第9,492行: | ||
"`劳拉":"@勞拉", | "`劳拉":"@勞拉", | ||
}; | }; | ||
str=str.replace(/([^\u0000-\u1f00])/g,"`$1"); | str=str.replace(/([^\u0000-\u1f00])/g,"`$1"); | ||
str=str.replace(/`[^\u0000-\u1f00]/g, function repTable(s){return (zh2hansTable[s] || s);}); | str=str.replace(/`[^\u0000-\u1f00]/g, function repTable(s){return (zh2hansTable[s] || s);}); | ||
str=str.replace(/[@`]([^\u0000-\u1f00])/g,"$1"); | str=str.replace(/[@`]([^\u0000-\u1f00])/g,"$1"); | ||
str=str.replace(/\<div id="wikiPreview\[\s\S]\*\<\/textarea/g,"$1"); | |||
return str; | return str; | ||
}; | }; | ||