MediaWiki extensions manual
Release status: stable
Implementation Ajax
Description Adds an ImportArticles used for JavaScript to import multiple CSS/JS pages at once.
Author(s) Developawstalk
Latest version 1.4 (2017-01-26)
MediaWiki 1.25+
Database changes No
Composer mediawiki/import-articles
License GNU General Public License 3.0
Quarterly downloads 3 (Ranked 157th)
Translate the ImportArticles extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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.

Installation edit

  • Download and place the file(s) in a directory called ImportArticles in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'ImportArticles' );
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing this extension using wfLoadExtension(). If you need to install this extension on these earlier versions (MediaWiki 1.24 and earlier), instead of wfLoadExtension( 'ImportArticles' );, you need to use:

require_once "$IP/extensions/ImportArticles/ImportArticles.php";