MediaWiki: Difference between revisions
Jump to navigation
Jump to search
(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>") |
No edit summary |
||
Line 10: | Line 10: | ||
configure LocalSettings.php | configure LocalSettings.php | ||
< | <code> | ||
vim /volume1/web_packages/mediawiki/LocalSettings.php | vim /volume1/web_packages/mediawiki/LocalSettings.php | ||
wfLoadExtension( 'SyntaxHighlight_GeSHi' ); | wfLoadExtension( 'SyntaxHighlight_GeSHi' ); | ||
</code> | |||
Add the following line: | |||
<code> | |||
vim /volume1/web_packages/mediawiki/LocalSettings.php | |||
wfLoadExtension( 'SyntaxHighlight_GeSHi' ); | |||
</code> | |||
<code> | |||
php maintenance/update.php --quick | php maintenance/update.php --quick | ||
</code> | |||
</ |
Revision as of 02:51, 10 January 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
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
Add the following line:
vim /volume1/web_packages/mediawiki/LocalSettings.php
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
php maintenance/update.php --quick