[01:33:49] how can i markup computer code in my wiki? such as examples of commands to type on the command line? [01:33:56] preferably inline and blocks [02:09:03] k-man, you can use SyntaxHighlight https://www.mediawiki.org/wiki/Extension:SyntaxHighlight#Usage [02:16:27] thanks OH- [02:17:04] cheers [02:25:25] Any way to use the API to get a random page in a category? [02:42:35] whenever i add lang="sh" to the SyntaxHighlight markup, i can no longer save the page [02:43:26] with errors like this: http://sprunge.us/YSGC [02:47:40] oh, i didn't run composer install [03:07:16] any idea why i might be getting this error: Error loading data from server: apierror-visualeditor-docserver-http: HTTP 401. Would you like to retry? when trying to edit a page with visualeditor [03:07:24] i just updated to the latest from git [03:09:05] maybe some kind of log in issue: parsoid log: http://sprunge.us/bbRM [03:41:56] 401 does mean unauthorized [03:44:59] yeah i worked it out thanks bawolff [05:05:30] Anyone know what extension wikipedia uses to put og:image metadata on pages? [06:53:06] May i connect with a person who deals with issues related with Copyrights. [06:55:15] Silent room.......? [06:58:26] Silent room.......? [12:03:48] Hi, can I somehow use git to backup and edit the site? seems like this would be very easy with dokuwiki(as it uses text files for "DB"), but I have no idea how to do it with MediaWiki [12:05:05] which problem does that solve? [12:05:19] and what exactly does "edit" mean? [12:05:28] page content? configuration/settings? [12:47:31] andre__: I want to have my site on my gitlab repo and automate pushing that to my wiki instance. [12:47:57] what is 'that' exactly? [12:48:08] *automate pushing edits to the content [12:48:44] Edits. Why to you use a wiki then if you want noone to edit via their browsers? [12:48:46] Basically I want to be able to edit the content of my pages through git. [12:50:12] andre__: Hm, you're right, that would kind off kill the functionality. What if I just wanted to *backup* to git, so when my wiki goes down I can still read from the git backups without having to mess with restoring db somewhere else? [12:50:50] what exactly is the advantage of "Git" in the context of backups, compared to any other file system? [12:51:00] That's actually my biggest problem, I keep my technical notes there and when the machine/wiki itself breaks I have to rely on google cache and memories. [12:51:17] I guess you can copy stuff to any file system? [12:51:32] that's what backups are for, indeed. [12:51:54] I have db backups, but I want something easily accessible in plain text/rendered as it should look. [12:52:39] I don't see how "Git" is related to that, but alright... [12:52:46] For example if I get DokuWiki correct, I could just push all changes on the dokuwiki server to a git repo and could always access that as it is plain text. [12:53:16] andre__: Right, I could have simplified. [12:55:05] andre__: So I guess my question is - how do I easily make readable backups? [12:57:09] Still not sure what "readable" is so answer could be something like "by not using software that stores stuff in a database" or "by having another machine and mirroring / dumping DB content regularly there from the production site". Depends. [12:58:23] https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki [12:58:24] https://www.mediawiki.org/wiki/Help:Export [13:02:54] andre__: I don't want to go through a hassle of setting up a synced instance(although it would be cool to have HA wiki), so I'll look into the DokuWiki project which will probably better suit my needs. Thanks for the help. [15:43:07] C0rn3j: not sure if I understood this properly, but if you want a GitHub repo that regularly pulls changes to the server, you could try a "git pull" cron job? [20:58:36] :quit