Looks good! I can set up a syntax highlighter extension to help highlight code examples, other than that MediaWiki tends to rely on extending functionality/design through templates, their markup system, and themes/CSS
Printable View
I think the best practice for any official code would be to describe it in pseudo-code style, or at least from a heavily refactored client.
I went ahead and added syntax highlighting + set up the VisualEditor extension, you can add me on Discord (Pazaz#0001) so we don't bump this thread too much :)
For anyone else reading, we're referring to https://www.runewiki.org -- if things get to a good enough point I don't mind announcing it in another thread.
Updated it and changed the syntax from python to java aha but much appreciated, added you on discord too. Won't post on this thread again but don't think it'll hurt for it to get more attention right now as not a lot else going on here anyway.
If anyone else wants to help out get in touch with either of us.