Extension:PageImporter

From Linux Web Expert

MediaWiki extensions manual
PageImporter
Release status: unmaintained
Author(s) James Montalvo (Jamesmontalvo3talk)
MediaWiki
License GNU General Public License 3.0 or later
Download
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').

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

  • <translate> Download and place the file(s) in a directory called <tvar name=name>PageImporter</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'PageImporter' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>