[02:11:11] Coming soon to a `` block near you... [02:11:11] There is a pull request in the **Pygments** project to finally [add a lexer for MediaWiki wikitext](https://github.com/pygments/pygments/pull/2373) [02:13:04] Wooo! [03:44:11] jfaxdora: You can try setting `$wgTmpDirectory = false;` to let MediaWiki figure out a writable 'tmp' (which /tmp is not in some cases even when it appears to be). [03:44:11] Or, if you have a dev environment, try setting it to `$wgTmpDirectory = "$IP/tmp";` You don't want 'tmp' to be web readable, so be sure to drop an `.htaccess` in there and disallow serving files if this is the only solution you can come up with. [03:44:11] If you are using shared hosting, chances are `open_basedir()` is not allowing you to open files in /tmp. You could try `mkdir ~/tmp && chown $USER:www-data ~/tmp && chmod 770 ~/tmp` then set `$wgTmpDirectory = '/home/jfaxdora/tmp';` (replace 'jfaxdora' with your actual hosting account username; ie the results of `echo $USER` in your SSH shell session). In the `chown` I am assuming Apache on a Debian / derivative linux. [03:44:11] double check the full path to your home directory using `pwd` in your SSH shell session, or `echo $HOME`. [04:01:35] rundg > "finally add a lexer for MediaWiki wikitext" oh em gee [04:12:43] I'm a bit disappointed it doesn't seem to cover ParserFunctions [04:13:41] since a lot of extensions that extend wikimarkup do so via parser functions, and it including PF would've provided an example to work from for anyone wanting to add to their own installed version [04:27:16] Aren't parser functions just the same as templates from a lexer point of view? [04:27:24] Or does it not cover template invocations at all? [04:28:00] "since a lot of extensions that..." <- That would be nice. Assuming the Pull Request is merged, adding parser function tags would just be an enhancement of the WikitextLexer class (+ tests) instead of a whole new Lexer. [05:35:24] > <@freephile:matrix.org> Coming soon to a `` block near you... [05:35:24] > [05:35:24] > There is a pull request in the **Pygments** project to finally [add a lexer for MediaWiki wikitext](https://github.com/pygments/pygments/pull/2373) [05:35:24] This is awesome! Thanks for sharing [05:35:35] I posted about it: https://wikis.world/@mediawiki/110014345095641311 [05:39:09] nice! [12:44:58] oh, they might be, I didn't test the syntax highlighting at all (since I have no realistic means to unless/until the PR is merged and the whole thing makes it downstream to MW) [12:45:17] though IMO they should be treated at least a little differently