Other languages:
English • ‎Türkçe • ‎español • ‎français • ‎polski • ‎हिन्दी • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
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.3 (2015-09-11)
MediaWiki 1.21+
MediaWiki 1.36 Not formally tested
MediaWiki 1.34 Not formally tested
MediaWiki 1.32 Not formally tested
Database changes No
License GNU General Public License 3.0
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.


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



  • Cleaned up a bunch of the code, and transfer to current PHP/MW standards


  • Add version and licence to JavaScript definer
  • Change variables to global variable
  • Fixed console logging for page missing


  • Change variables
  • Fixed output formatting


  • Initial release