MediaWiki

From Wreckroom
Revision as of 02:49, 10 January 2024 by 192.168.1.1 (talk) (Created page with "WikiMedia Extensions Pygments clone into extensions/ <syntaxhighlight> cd /volume1/web_packages/mediawiki/extensions git clone https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi.git </syntaxhighlight> configure LocalSettings.php <syntaxhighlight> vim /volume1/web_packages/mediawiki/LocalSettings.php wfLoadExtension( 'SyntaxHighlight_GeSHi' ); php maintenance/update.php --quick systemctl restart httpd </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WikiMedia Extensions Pygments clone into extensions/

cd /volume1/web_packages/mediawiki/extensions
git clone https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi.git

configure LocalSettings.php

vim /volume1/web_packages/mediawiki/LocalSettings.php
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
php maintenance/update.php --quick
systemctl restart httpd