Difference between revisions of "Preparing Environment for Developing Extensions"

From PKC
Jump to navigation Jump to search
Line 20: Line 20:
The easiest method to get all the component to work is to install XAMPP Package, which can be found in [https://www.apachefriends.org/download.html Apache Friends Site]. Also please see the PHP Component requirement list in [https://www.mediawiki.org/wiki/Manual:Installation_requirements Mediawiki Requirement Page]. Most of the component required should be readily available at the XAMPP package, in the event the required component is not complete, please refer to [https://www.mediawiki.org/wiki/Manual:Installation_requirements Mediawiki Requirement Page] for installation in Ubuntu Machine.
The easiest method to get all the component to work is to install XAMPP Package, which can be found in [https://www.apachefriends.org/download.html Apache Friends Site]. Also please see the PHP Component requirement list in [https://www.mediawiki.org/wiki/Manual:Installation_requirements Mediawiki Requirement Page]. Most of the component required should be readily available at the XAMPP package, in the event the required component is not complete, please refer to [https://www.mediawiki.org/wiki/Manual:Installation_requirements Mediawiki Requirement Page] for installation in Ubuntu Machine.
==Known Issues==
==Known Issues==
In XAMPP for MacOS, found that ''intl'' PHP component is not available.
In XAMPP for MacOS, found that '''intl''' PHP component is not available. Hence, several steps need to be done, this step is the actual working step, after testing on Homebrew method, which not working correctly.


=Writing your first extension=
=Writing your first extension=

Revision as of 05:23, 2 June 2022

Introduction

This page is written to give readers a better experiences on how to prepare your local machine to develop Mediawiki Extension functionality.

Requirement

Below are the set of versions of each component, use to develop extension on PKC Implementation.

No Description and Version
1 PHP 7.4.29
2 Maria DB
3 Mediawiki 1.37.1

The easiest method to get all the component to work is to install XAMPP Package, which can be found in Apache Friends Site. Also please see the PHP Component requirement list in Mediawiki Requirement Page. Most of the component required should be readily available at the XAMPP package, in the event the required component is not complete, please refer to Mediawiki Requirement Page for installation in Ubuntu Machine.

Known Issues

In XAMPP for MacOS, found that intl PHP component is not available. Hence, several steps need to be done, this step is the actual working step, after testing on Homebrew method, which not working correctly.

Writing your first extension