MediaWiki: Difference between revisions

From Wreckroom
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
WikiMedia Extensions
WikiMedia Extensions
Pygments
Pygments
clone into extensions/
clone into <code>extensions/</code>


<syntaxhighlight>
<syntaxhighlight>
Line 17: Line 17:


<code>
<code>
vim /volume1/web_packages/mediawiki/LocalSettings.php
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