MediaWiki: Difference between revisions

From Wreckroom
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
<code>
<code>
vim /volume1/web_packages/mediawiki/LocalSettings.php
vim /volume1/web_packages/mediawiki/LocalSettings.php
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
</code>
</code>


Line 18: Line 17:
<code>
<code>
vim /volume1/web_packages/mediawiki/LocalSettings.php
vim /volume1/web_packages/mediawiki/LocalSettings.php
wfLoadExtension( 'SyntaxHighlight_GeSHi' );
</code>
</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

Add the following line: vim /volume1/web_packages/mediawiki/LocalSettings.php

php maintenance/update.php --quick