Jump to content

Extension:PageImporter

From mediawiki.org
MediaWiki extensions manual
PageImporter
Release status: unmaintained
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.

Installation

[edit]
  • 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 file:
    wfLoadExtension( 'PageImporter' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.