Install the ParserFunctions extension
If you want to install the ParserFunctions extension on MediaWiki, please follow these steps:
Go to the MediaWiki extensions directory:
$ cd /opt/bitnami/apps/mediawiki/htdocs/extensions
Create the ParserFunctions directory:
$ mkdir ParserFunctions
Change to the new directory:
$ cd ParserFunctions
Download the extension from http://www.mediawiki.org/wiki/Extension:VisualEditor.
$ wget -O parserfunctions.zip https://git.wikimedia.org/zip/?r=mediawiki/extensions/ParserFunctions&h=refs/heads/master&format=gz && unzip parserfunctions.zip
Edit the /opt/bitnami/apps/mediawiki/htdocs/LocalSettings.php file and add this code at the end of the file:
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
If you want to use the integrated string functionality, add just after that line:
$wgPFEnableStringFunctions = true;
Restart the Apache server
$ sudo /opt/bitnami/ctlscript.sh restart apache