「MediaWiki:Gadget-tradsim-trad2simcore.js」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要
imported>=海豚= 無編輯摘要 |
imported>=海豚= 無編輯摘要 |
||
| (未顯示同一使用者於中間所作的 2 次修訂) | |||
| 第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(/\<gallery>.*\<\/gallery>/g,"`$1"); | |||
return str; | return str; | ||
}; | }; | ||