Jump to content

Extension:OfflineExtension

From mediawiki.org
MediaWiki extensions manual
OfflineExtension
Release status: unmaintained
Description Extension for adding offline support to Wiki Editor
Author(s) Srijan Agarwal and Gianluca Rigoletti
Latest version 0.1.0
MediaWiki 1.25+
License GNU General Public License 2.0 or later
Download

OfflineExtension is an extension for WikiToLearn that will add offline support to the current Wiki Editor.

Features

This extension notifies the user and their internet connectivity status. If submitted while offline, it will parse Wikitext to HTML and then renders it.

Installation

  • Download and place the file(s) in a directory called OfflineExtension in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/OfflineExtension/OfflineExtension.php";
    
  • Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

WikiText tags supported

Wikitext is written in a lightweight markup language with specific syntax rules. The tags supported by the Offline Extension can be found here: https://github.com/Srijancse/OfflineExtension/wiki

Known issues

  • Parsing WikiTables to HTML hasn't been added to the parser yet. It is under development.