小
无编辑摘要
imported>Bhsd (创建页面,内容为“请求创建小工具页面,内容如下: <pre class="hljs"> //<nowiki> /** * @Source: https://llwiki.org/zh/mediawiki:gadget-mobileEdit.js * @Author: User:B…”) |
imported>Bhsd 小无编辑摘要 |
||
第1行: | 第1行: | ||
请求创建小工具页面,内容如下: | 请求创建小工具页面,内容如下: | ||
<pre class="hljs"> | <pre class="hljs"> | ||
// | //<nowiki> | ||
/** | /** | ||
* @Source: https://llwiki.org/zh/mediawiki:gadget-mobileEdit.js | * @Source: https://llwiki.org/zh/mediawiki:gadget-mobileEdit.js | ||
* @Author: [[User:Bhsd]] | * @Author: [[User:Bhsd]] | ||
* @Dependencies: ext.gadget.site-lib, mediawiki.util, oojs-ui-windows, user.options | |||
*/ | */ | ||
"use strict"; | "use strict"; | ||
第49行: | 第50行: | ||
} | } | ||
}); | }); | ||
// | //</nowiki> | ||
</pre> | </pre> | ||
使用这个小工具需要在[[mediawiki:gadgets-definition]]添加 | |||
<pre>* mobileEdit[ResourceLoader|dependencies=ext.gadget.site-lib,mediawiki.util,oojs-ui-windows,user.options|rights=edit|targets=mobile]|mobileEdit.js</pre> | |||
如果导入后不可用,请再与我联系。谢谢![[用户:Bhsd|Bhsd]]([[用户讨论:Bhsd|讨论]]) 2021年5月7日 (五) 23:41 (CST) | 如果导入后不可用,请再与我联系。谢谢![[用户:Bhsd|Bhsd]]([[用户讨论:Bhsd|讨论]]) 2021年5月7日 (五) 23:41 (CST) |