[01:18:52] Hello. How can I suppress the default header (for example, on https://en.wikipedia.org/wiki/Category:Wikipedia_header_templates it says 'From Wikipedia, the free encyclopedia' under the page title)? [01:19:20] I probably just have the wrong words to search for here, so if that is 'just' a template that name'll have me off to the races as well. :) [01:20:12] https://en.wikipedia.org/wiki/MediaWiki:Tagline [01:21:43] thank you :) [12:26:27] ping [12:27:21] duesen are you on? [12:36:16] *Hmmm that is 2 days in a row [12:36:33] duesen I dont think I will wait any longer [12:36:49] we need to move foward with our wiki migration [12:37:05] will remove mediawiki from the options list [12:47:10] guest36: you might get more responses from the mediawiki-l mailing list (I know, I know, more noise in the inbox but it could be worth it for this case) https://lists.wikimedia.org/mailman/listinfo/mediawiki-l [12:48:19] if anyone else is using the theme extension that's a good place to find them, or find out what people are doing generally [12:48:25] about custom skins or whatever [12:53:16] apergos thank you very much [12:53:19] wil do [12:53:33] good luck, may it pay off! [12:53:40] cheers [12:54:12] apergos what i weird is that duesen told me to came back yesterday [12:54:20] but havent got back to me [12:57:41] eh probably got tied up with other things [12:57:59] the life of a developer is full of interrupts (and meetings) [14:13:26] guest36: hey [14:14:16] actually, the issue was that I didn't notice the ping. I started to use irccloud recently, and haven't figured out notifications properly. I keep missing notifications. [14:17:01] guest36: so, mediawiki is a LAMP application at heart, and will stay so for the foreseeable future. However, as we are looking to modernize our architecture, more and more things will get pulled out into separate services. Some of the things that are currently optional may become mandatory. [14:18:29] It's very possible that we will drop support for installation on shared hosting in the future, and require container based installations, or it least root access for installation. [14:20:49] In production, we use auxilliary services written (by us or others) in a variety of languages , including Node.js, Java, and Go. It's quite possible that some of these will become required at some point in the future. [14:26:01] Hm I guess guest36 left.Oh, well. [14:36:01] it's ok, I think they had a specific thing they wanted to know about theming and they'll be better off asking the larger community of users [14:36:10] hope you get the irccloud stuff sorted sometime [14:38:23] requirig root access for a mw install would be a huge change [14:38:35] I hope there's a lot of discussion before a move like that is mad [14:38:35] e [14:40:40] I had the impression it was going in the opposite direction, when Parsoid was written in PHP to get rid of nodejs [14:49:05] Vulpix: we are going back on the idea of writing apis in node.js (for now). We are moving towards a world where all UI is written in JS, with server side rendering. But that'S just a long term vision, not a concrete roadmap. [14:49:57] requiring root is not so terrible in a container based world. You only need root inside your container, not to install and run the container. [14:50:34] Container based hosting isn't quite yet the 10-bucks-a-month wend user option, but it'S getting there. [16:31:41] How do I define new (Multi Content Revision) slot roles in my extension? [16:31:56] Can't seem to find any examples using codesearch nor in the docs. :( [16:56:56] duesen: Any advice for kalle? ^ "How do I define new (Multi Content Revision) slot roles in my extension?" [17:11:52] I.e, how do I add them to the SlotRoleRegistry, and when? If that even is the correct way? [17:12:28] I have a new namespace I want to store a couple of JsonContent roles in. [19:58:15] kalle: you can have a look at the WikibaseMediaInfo extension which adds a slot for mediainfo, although it has its quirks as to the formatting of the actual data [20:06:32] hey, I'm wondering if anyone here could help me? I've downloaded a .WARC (Web ARChhive) of an older mediawiki site and would like to add its contents to a new mediawiki installation I have setup, but I'm unsure as how to do this? [20:12:23] burning: I'm not familiar with that file format. What created it / how did you download it? [20:12:40] I downloaded it off of the internet archive [20:12:48] ah [20:12:53] in that case you're screwed [20:13:05] Oh? Why? [20:13:09] you'll need to copy over the content manually and convert it back to wikitext yourself [20:13:35] you can test your luck with an html to wikitext converter, but there's no guarantees it'll work well [20:13:59] surely I could just convert the .warc to html and then convert to wikitext? [20:14:03] either way, there's no way to just directly import that into a wiki, it'll need to be converted first [20:14:22] sheesh, this is going to be harder than I thought [20:14:55] is the old installation still available? [20:15:03] unfortunately, no [20:15:06] :( [20:15:34] generally the easiest way of moving a wiki between places is via a database backup. Otherwise, XML dumps of the pages are your next best bet [20:15:58] (database backup will contain things like user accounts, permissions, etc. as well, whereas XML dumps will only contain the content) [20:17:10] if the pages didn't contain a lot of formatting, and there aren't many pages (couple dozen at most), manual copy/paste may be the fastest method [20:17:37] there's a wiki.xcf file? [20:17:42] is that something I could use? [20:17:45] no idea [20:17:52] take a peek at it and see [20:18:26] tried opening it in vim, it was gibberish [20:18:58] oh, I looked in the archive folder, there's sqlite, history and wikidump files [20:19:09] wikidump looks promising [20:20:36] I'll try unzipping it, it's a 7z file [20:51:07] burning: any progress? [21:09:33] yeah, sorry. needed to compile p7zip [21:10:19] it containts an images folder, index.html, siteinfo.json, -history.xml and images.txt along with a Special:Version.html as well [21:12:22] what does history.xml look like [21:14:10] basically interested if the first line is a tag [21:14:21] if yes, then I think you're good [21:14:45] you'd be able to import the xml dump via the importDump.php maintenance script -- https://www.mediawiki.org/wiki/Manual:ImportDump.php [21:15:03] yup [21:15:05] and thax [21:15:06] and the images via the importImages.php maintenance script -- https://www.mediawiki.org/wiki/Manual:ImportImages.php [21:15:15] awesome :D [21:16:22] (note order of operations: import xml dump first, then the images) [21:16:54] thanks, I'll remember this [21:51:32] kalle: registering new slots is currently a bit awkward, you do it via a service manipulator. I hope I'll get around to fixing that some day soon. Looking at WikibaseMediaInfo for an example is probably a good idea. [21:53:15] kalle: directly in LocalSettings, using an old-style hook handler callback, it looks like this: [21:53:40] https://www.irccloud.com/pastebin/BtUdlJ88/mw-register-hook