Extension:PageImporter

MediaWiki extensions manual
PageImporter
Release status: beta
Author(s) James Montalvo (Jamesmontalvo3talk)
MediaWiki
License GNU General Public License 3.0 or later
Download

Extension to provide the ability to have extension-defined pages. Extensions can define directories of files which map to wiki pages, and will be synced with the files anytime php extensions/PageImporter/importPages.php is run. Additionally, the current state of the wiki's pages (that are tracked by an extension) can be exported to the extension by doing php extensions/PageImporter/importPages.php --export.

InstallationEdit

  • Download and place the file(s) in a directory called PageImporter in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php :
    wfLoadExtension( 'PageImporter' );
    
  •   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( 'PageImporter' );, you need to use:

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