[00:23:50] waterpolo [00:28:54] * Platonides takes the money and leaves the polo [00:29:14] takes the Platonides and leaves the money. [00:29:31] * Platonides teleports away [00:32:30] oh wait [00:32:36] i thought i was on ##physics [00:33:27] i was going to mention tesla and teleporting not working :D [00:36:56] Nikola Tesla or Tesla cars? [00:39:16] I'm struggling to rename the URL from http://sap.ient.ai/mediawiki/index.php/Main_Page to http://sap.ient.ai/wiki/Main_Page [00:40:22] Trying to follow https://www.mediawiki.org/wiki/Manual:Short_URL/Apache#Simple_instructions [00:40:37] .. but I can't get it to work [00:40:46] what did you try? [00:41:21] so, you wrote a .htaccess ? [00:41:32] do you have htaccess enabled there? [00:42:39] Platonides: tesla cars [00:43:07] did you change the rewrite rule from /w/index.php to /mediawiki/index.php [00:43:27] https://bpa.st/C37TA <-- this is my .htaccess, and yes -- I've enabled it in /etc/apache2/apache2.conf [00:43:42] alas I did and still no joy [00:43:56] If I rm that .htaccess, it works only with the long url [00:44:13] well, you got a 500 [00:44:16] WITH the .htaccess, I get "Internal Server Error" [00:44:18] so it is doing something [00:44:52] hmm [00:44:58] there's a 500 everywhere [00:45:33] you have any message at apache's error.log ? [00:47:04] aha "/var/www/html/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration" [00:47:49] a2enmode rewrite [00:47:54] er... a2enmod rewrite [00:48:08] you don't have apache rewrite module loaded [00:48:25] a2enmod command should fix it [00:48:34] Shouldn't I put this in a config file? [00:48:43] I'll never remember to do it every time I reboot [00:49:04] that will change /etc/apache2/mods-enabled/ [00:49:28] creating a symlink /etc/apache2/mods-enabled/rewrite.load [00:49:34] it will survive reboots [00:50:44] ok mediawiki's back up, but sap.ient.ai is still showing http://sap.ient.ai/mediawiki/index.php/Main_Page [00:52:19] seems good [00:52:27] it is working [00:52:39] now you need to configure the paths in LocalSettings.php [00:53:20] $wgArticlePath = "/wiki/$1"; [00:53:30] looks ok now [00:53:34] Amazing! [00:53:40] :) [00:53:50] Thanks so much (also to VulPix) [00:54:15] I better write all of this down before it falls out of my head. This took out most of my afternoon. [00:54:16] you're welcome [00:55:06] probably worth adding to https://www.mediawiki.org/wiki/Debian_packages, this comes up often enough [01:04:11] added https://www.mediawiki.org/w/index.php?title=Debian_packages&diff=5678580&oldid=5592977 [01:21:48] Documenting things, in my MediaWiki?! [01:22:22] * p858snake|L documents Izno[m] [01:44:29] Seems I can't use ``` for a code block. [01:44:52] https://www.mediawiki.org/wiki/Extension:Markdown ... ouf -- looks like mediawiki's markdown extension is not maintained. [01:45:07] Didn't markdown emerge a few years after mediawiki was created? [01:45:31] Has anyone had success with this extension? I'd prefer to edit my pages with markdown. [01:46:59] http://sap.ient.ai/wiki/Setting_up_this_MediaWiki <-- I documented my steps to sorting the URL for my wiki. [01:47:02] MediaWiki does not support Markdown [01:47:08] a extension that hasn't been touched since 2014… doubt that will work [01:47:27] If you really want Markdown, I would use a wiki engine that supports its natively [01:47:33] ^ [01:48:01] there are a couple tasks to extend wikitext on the specific point of code blocks [01:48:23] to be markdownish [01:48:39] https://phabricator.wikimedia.org/T217944 https://phabricator.wikimedia.org/T286569 and https://phabricator.wikimedia.org/T311518 [01:49:16] having another flavor of wikitext is https://phabricator.wikimedia.org/T112999 but that's somewhere in the pipe-dream/not the near future bag [01:49:53] and/or https://phabricator.wikimedia.org/T114194 [01:50:12] you could do it by changing the content model and then making a content handler for markdown, but someone, er, has to do that [02:26:16] Does there exist a decent wiki tech that works with markdown, and is roughly as easy for the general public to contribute material to? [02:37:33] there's a couple of items on https://en.wikipedia.org/wiki/Comparison_of_wiki_software that list markdown with ctrl+F [02:37:48] Professional Wiki created External Content that invokes a markdown parser for remote URLs. [02:38:25] ! Extension: ExternalContent [02:38:25] Hello, I'm wm-bot. The database for this channel is published at https://wm-bot.wmflabs.org/dump/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [02:39:33] https://m.mediawiki.org/wiki/Extension:External_Content [03:30:57] Has anyone here played around with wiki.js? [03:31:24] Comparison pages are notorious for being deliberately neutral, which makes it hard to make choices sometimes. [03:40:39] https://www.mediawiki.org/wiki/Extension:WikiMarkdown [03:40:46] This looks decent [03:41:05] https://github.com/kuenzign/WikiMarkdown/ Last commit 4 months ago [03:51:22] sigh [03:51:51] Install instructions are fail. https://www.mediawiki.org/wiki/Special:ExtensionDistributor/WikiMarkdown 'No such extension "WikiMarkdown".' [03:56:59] you can download the files from github to archive the same result [04:04:25] woops, I seem to have broken my mediawiki. [04:05:49] So the first instruction on https://www.mediawiki.org/wiki/Extension:WikiMarkdown#Install_Dependencies was to "Add the line "extensions/WikiMarkdown/composer.json" to the "composer.local.json" file" [04:06:42] I didn't have a composer.local.json but I did have a composer.local.json-sample, so I did `cp composer.local.json-sample composer.local.json` [04:07:02] and then added the "extensions/WikiMarkdown/composer.json" at the bottom of the includes [04:07:05] which was dumb [04:07:36] and did you run composer like the instructions? [04:07:55] The pre-existing 2 were "extensions/*/composer.json", and "skins/*/composer.json" [04:08:05] I don't know if I've done any damage by keeping those in [04:08:19] yeah I ran `composer update` [04:09:05] If I look in my extensions/ there's no WikiMarkdown tho'. [04:09:57] https://www.mediawiki.org/wiki/Extension:WikiMarkdown#Install_Dependencies says: "Then run composer update in the root directory of your wiki. This will install any dependencies (i.e. the Parsedown, Parsedown Extra, and Parsedown Extended libraries)." [04:10:09] But I don't see any ParseDown in there either [04:10:46] did you download it like on the instructions? [04:11:29] If I do this again from scratch, I think I'll create a github repo in my mediawiki/ folder, so I can diff changes and commit, & keep track of my changes [04:11:44] The first download in the instructions doesn't exist [04:11:55] so I'm not sure how to proceed. [04:12:37] sorry, the second one [04:12:59] First one I can `git clone https://github.com/BenjaminHoegh/ParsedownExtended` into extensions I think [04:14:20] you can do the same for the second step as well, but swap to https://github.com/kuenzign/WikiMarkdown [04:14:29] ok gottit [04:18:26] Amazing, it works! [04:20:05] There was an instruction to `cd extensions; composer install --no-dev` which seemed to uninstall a lot of stuff. [04:22:18] Then I did `cd ..` and removed the 2 lines ("extensions/*/composer.json" and "skins/*/composer.json") from the composer.local.json and ran `composer update` again, just in case. [04:24:01] And got: https://bpa.st/DFQ7A [04:44:00] Anyway, it works. That's the main thing. [04:44:33] I don't know how much I've muddied my mediawiki by diverging from the instructions. I might have installed some unnecessary stuff. [18:31:32] Interesting post regarding matrix/irc - https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/USA5TYAWKAD2Y2SRL2TTTOBGGLUF637N/ [18:54:30] I've noticed that uploaded images on our wiki aren't having thumbnails created. I've triple checked the permissions and can clearly see that the webserver has write access to the NFS drive, so I'm trying to figure out what to look into next. Maybe we missed a PHP extension the last time we upgraded our webserver template? Just trying to narrow down what the cause could be. [18:57:27] Aaaaand I just figured it out. Never mind. [22:02:58] Prodigion3714[m]: glad you saw it :) [22:34:46] Directly relevant to us here 🙂