个人工具
登录
查看源代码 - Meshal Lite
信息
讨论
查看源代码
历史
Search
导航
首页
游戏手册
资料库
角色卡
站点动态
当前事件
最近更改
随机页面
帮助
帮助索引
语法库
模板库
样本库
工具箱
链入页面
链出更改
特殊页面
查看源代码
出自Meshal Lite
对
MediaWiki:Editpage.js
的源代码
跳转到:
导航
,
搜索
根据以下的原因,您无权限进行编辑这个页面操作:
您刚才请求的操作只有以下用户组中的用户才能使用:
管理员
、
行政员
、MeshalDesigner、NecrozMember、Contributor、Player
该页提供了软件的界面文本,它已被保护以防止随意的修改。
您可以查看并复制此页面的源代码:
// <nowiki> // dynamically load Commons-style Edittools function createEdittoolsLink(){ // get div.mw-editTools var box = document.getElementById('wpTextbox1'); while( box && box.className != 'mw-editTools' ) box = box.nextSibling; if( !box ) return; // create a link var lnk = document.createElement('a'); lnk.href = 'javascript:loadCommonsTools()'; lnk.title = 'Load Commons-style Edittools'; lnk.id = 'loadCommonsEdittoos'; lnk.appendChild(document.createTextNode('[load edittools]')); lnk.style.cssText = 'float:right'; box.appendChild(lnk); } function loadCommonsTools(){ importScript('MediaWiki:Scripts/Edittools1.js'); var lnk = document.getElementById('loadCommonsEdittoos'); if( lnk ) lnk.parentNode.removeChild(lnk); } if( doneOnloadHook ) createEdittoolsLink(); else addOnloadHook( createEdittoolsLink ); // Add Insert Buttons function addInsertButton( img, speedTip, tagOpen, tagClose, sampleText ){ mwCustomEditButtons[mwCustomEditButtons.length] = { 'imageFile': '//www.necroz.com/liteimg/' + img, 'speedTip': speedTip, 'tagOpen': tagOpen, 'tagClose': tagClose, 'sampleText': sampleText }; } // Customized Quickedit Buttons // addInsertButton( 'image.ext', 'tips', 'tagopen', 'tagclose', 'sampletext'); // standard addInsertButton( 'button_img.png', 'Image Files under /liteimg', '{{img|', '}}', 'sample.jpg'); addInsertButton( 'button_eximg.png', 'External Image Files on internet', '{{eximg|', '}}', 'http://www.sample.com/sample.jpg'); addInsertButton( 'button_imglink.png', 'URL masked with image', '{{imglink|', '|page}}', 'sample.jpg'); // tables addInsertButton( 'button_tab.png', 'Universal Table Frame', '\n{{tab}}\n', '\n|}\n', ''); addInsertButton( 'button_tabsort.png', 'Sortable Table Frame', '\n{{tab_sort}}\n', '\n|}\n', ''); addInsertButton( 'button_tab_collapse.png', 'Collapsible Table Frame', '\n{{tab_collapse|', '}}\n|\n|}\n', 'TableName'); // Edits and Templates addInsertButton( 'button_callpage.png', 'Embed a Page', '{{:', '}}', 'PageName'); addInsertButton( 'button_groupshow.png', 'Grand Permission to Specific Usergroups to Read the Contents', '{{#ifingroup:sysop|', '\n}}', 'ContentsToHide'); addInsertButton( 'button_nowiki.png', 'nowiki', '<nowiki>', '</nowiki>', 'Codes in this pair of tag won\'t be parsed as wiki codes'); addInsertButton( 'button_includeonly.png', 'Includeonly Tag', '<includeonly>', '</includeonly>', 'Codes that be included only'); addInsertButton( 'button_noinclude.png', 'Noinclude Tag', '<noinclude>', '</noinclude>', 'Codes that not be included'); addInsertButton( 'button_source.png', 'Render Source Codes', '<source lang="', '">\n\n</source>', 'Codes Language'); addInsertButton( 'button_code.png', 'Inline Code', '<code>', '</code>', 'Code'); addInsertButton( 'button_redirect.png', 'Redirect', '#REDIRECT [[', ']]', 'DestinationPage'); addInsertButton( 'button_category_plus.png', 'Category', '[[category:', ']]', 'CategoryName'); // </nowiki>
返回到
MediaWiki:Editpage.js
。