User:Willy1018/redirect.js
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
addDropdownMenu("redirect","重定向",[
{
id : "notMandarin",
text : "非中文重定向",
tagOpen : "\n{\{非中文重定向}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "japanese",
text : "日文重定向",
tagOpen : "\n{\{日文重定向}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "simpTrad",
text : wgULS("简繁重定向","簡繁重定向"),
summary : wgULS("简繁重定向","簡繁重定向"),
tagOpen : "\n{\{wgULS("简繁重定向","簡繁重定向")}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "template",
text : "模板重定向",
tagOpen : "\n{\{模板重定向}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "alterName",
text : "別名重定向",
tagOpen : "\n{\{別名重定向}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "abbreviation",
text : wgULS("缩写重定向","縮寫重定向"),
summary : wgULS("缩写重定向","縮寫重定向"),
tagOpen : "\n{\{wgULS("缩写重定向","縮寫重定向")}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "alterSpelling",
text : wgULS("拼写重定向","拼寫重定向"),
summary : wgULS("拼写重定向","拼寫重定向"),
tagOpen : "\n{\{wgULS("拼写重定向","拼寫重定向")}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "misspelling",
text : wgULS("错字重定向","錯字重定向"),
summary : wgULS("错字重定向","錯字重定向"),
tagOpen : "\n{\{wgULS("错字重定向","錯字重定向")}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "fullName",
text : "全名重定向",
tagOpen : "\n{\{模板重定向}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "shortName",
text : "短名重定向",
tagOpen : "\n{\{短名重定向}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "surname",
text : "姓氏重定向",
tagOpen : "\n{\{姓氏重定向" ,
sampleText : "" ,
tagClose : "}\}"
},
{
id : "givenName",
text : "人名重定向",
tagOpen : "\n{\{人名重定向" ,
sampleText : "" ,
tagClose : "}\}"
},
{
id : "givenName",
text : "角色重定向",
tagOpen : "\n{\{角色重定向" ,
sampleText : "" ,
tagClose : "}\}"
},
{
id : "section",
text : wgULS("章节重定向","章節重定向"),
summary : wgULS("章节重定向","章節重定向"),
tagOpen : "\n{\{wgULS("章节重定向","章節重定向")#" ,
sampleText : wgULS("章节名称","章節名稱"),
tagClose : "}\}"
},
{
id : "list",
text : "列表重定向",
tagOpen : "\n{\{列表重定向" ,
sampleText : "" ,
tagClose : "}\}"
},
{
id : "possibility",
text : "可能性重定向",
tagOpen : "\n{\{可能性重定向}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "relatedWord",
text : wgULS("关联字重定向","關聯字重定向"),
summary : wgULS("关联字重定向","關聯字重定向"),
tagOpen : "\n{\{wgULS("关联字重定向","關聯字重定向")}\}" ,
sampleText : "" ,
tagClose : ""
},
{
id : "shortcut",
text : wgULS("捷径重定向","捷徑重定向"),
summary : wgULS("捷径重定向","捷徑重定向"),
tagOpen : "\n{\{wgULS("捷径重定向","捷徑重定向")}\}" ,
sampleText : "" ,
tagClose : ""
},
]);