MediaWiki: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
<code> | <code> | ||
wfLoadExtension( 'SyntaxHighlight_GeSHi' ); | |||
</code> | </code> | ||
Latest revision as of 18:44, 21 March 2024
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
Add the following line:
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
Run this line in terminal
php maintenance/update.php --quick