[08:06:20] Hello, Does anyone know of a way to list sub categories of a category in a forms dropdown? [08:06:48] I am trying to make a form that could be used to add pages under selected category [08:08:16] With Extension:PageForms I can list pages under a categorys sub categories, but not the categories [08:10:37] Hallo allemaal iemand die nederlands praat? [08:11:46] BELGIE [08:11:55] Hallooooow [08:13:04] English [08:13:34] Oké i'm gonne trying [08:15:12] i was chearching the belgium painter Albert Geudens and i dont see his name in between the other paint artist from belgium how is that possible? [08:18:28] and he is recognize as belgium artist painter years agoo eaven there is a street that has his name [08:19:38] Can sombody explane this??? [08:23:10] Helloooo [08:23:22] somebody??? [08:32:51] what a question [08:35:47] harmaahy1je: (for your question) yaron is often on irc, but I think in a very different timezone then this. You might have better luck with that question in like 8 hours [08:46:34] bawolff: I think I am just going with preset values, thanks anyway :) [08:47:24] any tips on dynamically setting pages category in template is appreciated. Currently my template is listed "defines category {{{category}}}" ;P [08:52:18] Honestly, I only have a vauge understanding of how PageForms works [08:52:48] This is not pageforms related thing [08:53:14] But rather a template thing, how can I add a Category to a template with a variable [08:53:32] without mediawiki listing the template as a category of {{{variable}}} [08:53:43] I am doing this: [[Category:{{{category}}}]] [08:53:43] Oh, try [[Category:{{{category}}}]] [08:53:51] yeah, that should work [08:53:57] but it leads to this [08:53:58] oh [08:54:22] in Special:Templates it shows "MyTemplate defines category: {{{category}}}" [08:54:23] try [[category:{{{CATEGORY}}}]] [08:54:47] ok [08:55:13] bawolff: what magic is that? [08:55:32] hmm, it actually doesn't seem to work [08:56:19] err, I should have lowercased CATEGORY - [[category:{{{category}}}]] [08:56:35] in theory it should make the category only show up when the template is included and not on the template page itself [08:56:37] what is the difference between [[Category and [[category? [08:56:49] there's also which does the opposite [08:57:08] No difference. Namespaces are case insensitive in MediaWiki [08:57:44] writing it in lowercase doesn't list the {{{category}}} in Special:Templates [08:58:01] perhaps it is cached, let me see [08:58:16] I think Special:Templates is a PageForms specific thing. It could be doing something weird [08:58:46] well writing it lowercase doesn't list it [08:58:53] the first letter in capital [08:58:59] seems to works [08:59:03] thank you bawolff [09:47:37] http://rationalwiki.blogspot.com/2017/06/server-upgrade-data-breach-on-old.html [10:10:03] I am looking for something like zim but with an option of clicking 'preview' and viewing the resulting html version [10:10:11] while the source markup is still only kept locally [10:10:31] for drafting new pages and previewing them multple times before actually adding them to the wiki [14:03:03] There’s an old MW install (1.10.1) It was taken offline due to the db getting spam pages injected. There’s a custom skin and extensions. After some adjustments the site runs locally just fine. I’ve tried running dumpBackup.php but it fails due to incompatible php version. And even if php 5.2 was setup I’m not sure of dumpBackup.php would even get all the data if some is tied in with custom extensions… So I’m wondering if it’s best to try to [14:03:03] upgrade things to the latest version or write some scripts to just scrape the categories / data I want and move on or what… [14:09:58] Probably upgrade. MW 1.10 is probably still new enough the upgrade script should work (but the custom extension might have to be changed) [14:19:01] bawolff: ok I’ll give it a go [14:19:04] thanks [16:45:37] If I have a wiki on my domain already, but have no idea if I set up a prefix for the database when I installed it, can I install a new wiki in another folder on my domain that uses the same database, as long as the second wiki has a database prefix? Or will I break everything? [16:46:13] yes, you can [16:46:43] Perfect! Thanks :) [16:46:54] if you want to find out if your existing wiki is using a prefix, check the $wgDBprefix variable in LocalSettings.php [17:44:39] Hi, all. Since upgrading from 1.23 to 1.27, all notification emails to users now contain links to http://localhost instead of the true servername. Any idea what's changed or missing? [17:47:10] wondering if I now need to explicitly set wgServer and wgCanonicalServer [17:47:52] I'm thinking the wiki is not properly detecting the ServerName from apache [17:50:14] larry8: try to search the configuration files for 'localhost'? [17:57:00] harmaahy1je: Turned out it was $wgServer. [18:47:44] Hi! I'm trying to decipher how this extension works (https://www.mediawiki.org/wiki/Extension:NotebookViewer). It says it implements jupyter notebook viewing as a content handler in phabricator. I'm a bit lost; does that mean that - given surrounding it with the appropriate tags - a jupyter notebook can just be pasted into a wiki page and rendered there? [18:51:04] JosefAssad: it looks like it adds a new Notebook: namespace [18:51:14] anything in that namespace is interpreted to be a jupyter notebook [18:51:58] you cannot just copy/paste a notebook in the middle of a wikitext page; an individual page can be wikitext or it can be a notebook, but it cannot be both [18:52:12] ah [18:52:18] nifty, will try that [18:52:45] you can also toggle it on a per-page basis via Special:ChangeContentModel [18:52:49] if that's how it does its deed then I'll make sure to note it in the extension page, the author has been pretty clear they're not working on it any longer [18:54:03] I have never seen that special page... time to learn something new. Thank you Skizzerz :) [18:55:16] JosefAssad: https://www.mediawiki.org/wiki/Help:ChangeContentModel gives more details on it [18:55:48] yep, was already thumbing through those pages :) [18:55:55] :) [18:56:06] appreciate the help Skizzerz <3 [18:56:15] np, happy to help [18:57:23] (looking at the code for that extension more, it looks like the Notebook content model may only work on the Notebook namespace) [18:57:29] Hi, a Russian company is looking for a specialist to implement SSO for corporate mediawiki. Does anybody know where I can find such specialist [18:57:41] this is likely done for permissions reasons, as you can restrict editing on a per-namespace basis [18:58:11] yeah, the special page isn't listing the notebook type [18:58:31] will try it in a namespace [19:00:37] belovpn: you could try asking in here every so often and waiting around for a reply; I'd offer but I'm very short on time to work on such things [19:01:03] otherwise you can try posting on the various freelance sites [19:28:27] wow this extension is all kinds of rough... [19:46:47] thank you [20:15:58] bleh I might actually have to fork and pretend to maintain this extension... [20:24:39] JosefAssad: :( [20:24:54] I have a half-written thing to get python scripting into Scribunto [20:24:59] I should probably pick that up again [20:25:21] I had to trash most of the original code for being way too slow, so it's a bit non-functional atm [20:35:52] Is there a way to ensure all wiki pages have a print css rule? [20:36:57] Like, I want to apply this css to all wiki pages so that when they are printed, a water mark is applied upon printing it [20:37:16] cwre, MediaWiki:Print.css [20:46:50] Oh my god... That's so helpful. [20:46:53] Thank you. [21:00:13] RFC meeting starting now in #wikimedia-office: Consider changing wikipage redirects to be proper HTTP redirects [21:31:54] Skizzerz: that would be really cool [21:33:18] scribunto being another thing I need to get around to. One day. When I'm old and grey (aka pretty soon) :)