KB825174: Difference between revisions

From The LI AO Wiki
Save unfinished work.
 
保存未完成的編輯。
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:


''By manipulating LocalSettings.php:''
''By manipulating LocalSettings.php:''


__INDEX__
__INDEX__

Latest revision as of 16:06, 29 September 2024


Introduction

This article describes the method which installs the PWA extension and turns MediaWiki instance into a PWA (progressive web application).

Symptoms

The default MediaWiki installation does not have the ability of transforming the website into a webapp. Therefore, an extension is needed to make such change.

Solution

Install the PWA extension which can be found on the GitHub repository Wikimedica/MediaWiki-extensions-PWA using this link. The installation procedure normally involves only file copying into the extensions/ folder of the MediaWiki installation.

Then, enable the extension by manipulating the LocalSettings.php file found in regular MediaWiki installations, or, use another technique, for example, ManageWiki, to enable it.

By manipulating LocalSettings.php: