Difference between revisions of "This wiki"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| − | To make | + | To make 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 <code>/home/bitnami/stack/mediawiki/...</code> | * Navigate to <code>/home/bitnami/stack/mediawiki/...</code> | ||
* Install emacs: <code> sudo apt install emacs </code>. (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 emacs: <code> sudo apt install emacs </code>. (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.) | ||
Latest revision as of 17:00, 22 April 2022
To make 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 [math]\displaystyle{ \LaTeX }[/math] and syntax highlightling.