Template:公共代码页:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= (中立化) |
||
| 第1行: | 第1行: | ||
{| id="commonCodePage | {| id="commonCodePage" | ||
|- | |- | ||
| style="width: 1.5em;" | 1. | | style="width: 1.5em;" | ||
| 1. | |||
| class="mw-label" | 桌面版CSS | | class="mw-label" | 桌面版CSS | ||
| class="mw-input" | [[MediaWiki:Common.css]] | | class="mw-input" | [[MediaWiki:Common.css]] | ||
| 第22行: | 第23行: | ||
|- | |- | ||
| 6. | | 6. | ||
| class="mw-label" | 全局共用JS | |||
| class="mw-input" | [[MediaWiki:Gadget-Tabs.js]] | |||
|- | |||
| 7. | |||
| class="mw-label" | 管理员CSS | | class="mw-label" | 管理员CSS | ||
| class="mw-input" | [[MediaWiki:Group-sysop.css]] | | class="mw-input" | [[MediaWiki:Group-sysop.css]] | ||
|- | |- | ||
| | | 8. | ||
| class="mw-label" | 管理员JS | | class="mw-label" | 管理员JS | ||
| class="mw-input" | [[MediaWiki:Group-sysop.js]] | | class="mw-input" | [[MediaWiki:Group-sysop.js]] | ||
|- | |- | ||
| | | 9. | ||
| class="mw-label" | 编辑时载入 | | class="mw-label" | 编辑时载入 | ||
| class="mw-input" | [[MediaWiki:Common.js/edit.js]] | | class="mw-input" | [[MediaWiki:Common.js/edit.js]] | ||
|}<div class="sysop-show" style="text-align: center;">引用api时用<code><nowiki>mw.loader.using("mw.Api")</nowiki></code>,引用uri时用<code><nowiki>mw.loader.using("mediawiki.Uri")</nowiki></code>。</div><noinclude>[[分类:内部链接模板|G]]</noinclude> | |}<div class="sysop-show" style="text-align: center;">引用api时用<code><nowiki>mw.loader.using("mw.Api")</nowiki></code>,引用uri时用<code><nowiki>mw.loader.using("mediawiki.Uri")</nowiki></code>。</div><noinclude>[[分类:内部链接模板|G]]</noinclude> | ||
2021年5月16日 (日) 09:04的版本
| style="width: 1.5em;" | 1. | 桌面版CSS | MediaWiki:Common.css |
| 2. | 桌面版JS | MediaWiki:Common.js | |
| 3. | 移动端CSS | MediaWiki:Mobile.css | |
| 4. | 移动端JS | MediaWiki:Mobile.js | |
| 5. | 全局共用CSS | MediaWiki:Gadget-Tabs.css | |
| 6. | 全局共用JS | MediaWiki:Gadget-Tabs.js | |
| 7. | 管理员CSS | MediaWiki:Group-sysop.css | |
| 8. | 管理员JS | MediaWiki:Group-sysop.js | |
| 9. | 编辑时载入 | MediaWiki:Common.js/edit.js |
引用api时用
mw.loader.using("mw.Api"),引用uri时用mw.loader.using("mediawiki.Uri")。