扩展:导入条目

From mediawiki.org
This page is a translated version of the page Extension:ImportArticles and the translation is 40% complete.
MediaWiki扩展手册
ImportArticles
发行状态: 稳定版
实现 Ajax
描述 Adds an ImportArticles used for JavaScript to import multiple CSS/JS pages at once.
作者 Developaws留言
最新版本 1.4 (2017-01-26)
MediaWiki 1.25+
数据库更改
Composer mediawiki/import-articles
许可协议 GNU通用公眾授權條款3.0
下載
季度下載量 5 (Ranked 133rd)
前往translatewiki.net翻譯ImportArticles扩展
問題 开启的任务 · 报告错误

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.

安裝

  • 下载文件,并将其放置在您extensions/文件夹中的ImportArticles目录内。
    开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ImportArticles
  • 将下列代码放置在您的LocalSettings.php 的底部:
    wfLoadExtension( 'ImportArticles' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。