Jump to content

扩展:导入条目

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+
数据库更改
许可协议 GNU通用公眾授權條款3.0
下載
前往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.

安装

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