Extension:ImportArticles/zh

From Linux Web Expert

Revision as of 04:44, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MediaWiki扩展手册
ImportArticles
发行状态: 稳定版
实现 Ajax
描述 Adds an ImportArticles used for JavaScript to import multiple CSS/JS pages at once.
作者 Developawstalk
最新版本 1.4 (2017-01-26)
MediaWiki 1.25+
数据库更改
许可协议 GNU通用公眾授權條款3.0
下載
季度下載量 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
正在使用的公开wiki数 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
前往translatewiki.net翻譯ImportArticles-{zh-hans:扩展; zh-hant:擴充功能}-
問題 开启的任务 · 报告错误

The ImportArticles extension adds a JavaScript that is loaded on the page, which allows the importation of multiple JS and CSS at once. This is usable in the MediaWiki namespace for the skin, or in the users namespace for their local modifications.

安裝

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/ImportArticles/zh</tvar>|Download]] and move the extracted <tvar name=name>ImportArticles/zh</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ImportArticles%2Fzh
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'ImportArticles/zh' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>