Extension:ImportArticles

MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
ImportArticles
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
License GNU General Public License 3.0
Download
Translate the ImportArticles extension if it is available at translatewiki.net

Check usage and version matrix.

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.

InstallationEdit

  • 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:
    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";