MediaWiki:Edittool-cite.js
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
//<source lang="javascript">
var menu=mwCustomEditButtons.articleEdit;
if(menu){
menu.add(wgULS('引用杂志','引用雜誌'),'citeJournal','<ref',' name=""','>{\{cite journal | language = | author = | title = | url = | journal = | volume = | issue = | pages = | year = | id = }\}<\/ref>');
menu.add(wgULS('引用网页','引用網頁'),'citeWeb','<ref',' name=""','>{\{cite web | language = | publisher = | title = | url = | author = | date = | accessdate = }\}<\/ref>');
menu.add(wgULS('引用书籍','引用書籍'),'citeBook','<ref',' name=""','>{\{cite book | language = | author = | coauthors = | title = | url = | date = | location = | publisher = | id = | isbn = | pages = }\}<\/ref>');
menu.add(wgULS('引用新闻','引用新聞'),'citeNews','<ref',' name=""','>{\{cite news | language = | author = | coauthors = | url = | title = | work = | publisher = | pages = | date = | accessdate = }\}<\/ref>');
}
//</source>