Difference between revisions of "This wiki"
Jump to navigation
Jump to search
(Created page with "To make an changes requires using Google's Cloud Shell Editor. It's based on Debian Buster rocking a 4.19.0-11 Linux kernel. Here are the steps as I remember them: * Navigate...") |
|||
| Line 8: | Line 8: | ||
$ git clone https://github.com/jmnote/SimpleMathJax.git | $ git clone https://github.com/jmnote/SimpleMathJax.git | ||
* Second, add <code>wfLoadExtension( 'SimpleMathJax' );</code> to LocalSettings.php. | * Second, add <code>wfLoadExtension( 'SimpleMathJax' );</code> to LocalSettings.php. | ||
| + | * That should provide a working wiki with support for $\Latex$ and syntax highlightling. | ||
Revision as of 21:15, 31 January 2021
To make an changes requires using Google's Cloud Shell Editor. It's based on Debian Buster rocking a 4.19.0-11 Linux kernel. Here are the steps as I remember them:
- Navigate to
/home/bitnami/stack/mediawiki/... - Install emacs:
sudo apt install emacs. (This is less annoying than nano, but still annoying because you're in a browser so Ctrl+n spawns a new window rather than moving the cursor down one line.) - Install
python3-pygments, which is a dependency for the syntax highlighting extension - Go to .../SyntaxHighlight_GeSHi/pygments and do
sudo chmod a+x pygmentize - Now add
wfLoadExtension( 'SyntaxHighlight_GeSHi' );to LocalSettings.php. (not sure if preceding/trailing spaces are required, but they're always written like that...) - To enable SimpleMathJax requires cloning a git repo and adding a line to LocalSettings. Enter the extensions directory and execute this:
$ git clone https://github.com/jmnote/SimpleMathJax.git
- Second, add
wfLoadExtension( 'SimpleMathJax' );to LocalSettings.php. - That should provide a working wiki with support for $\Latex$ and syntax highlightling.