[02:30:13] Extension needs to update the database . I run script update.php but it failed. what's wrong? [02:31:02] It seems the script failed to create something in my postgresql. [02:43:51] newbee: extension support for any database that isn't mysql is very hit-or-miss [03:27:47] are there some quick things I can change in the mediawiki css to give it an overall different colour? [03:27:58] I'm using the vector theme [04:51:55] crap, did i just commit my debugging code [04:56:32] Easy review for someone: https://gerrit.wikimedia.org/r/#/c/342791 [05:02:23] So the oracle backend literally case-insensitively regexes out the word " as " anywhere it appears. [05:02:43] I wonder if that means, that you can't register a username containing the word as in it [05:02:56] or anything else that does a query with the word " as " [05:33:15] bd808: Out of curiosity, why is $wgMainCacheType in vagrant redis (as opposed to using hhvm's builtin apc)? [14:44:17] Hi all, I am having trouble upgrading from 1.23 to 1.27, once upgraded I can't login again. I have turned off session.auto_start , but it still doesn't work [15:27:45] * Strangelv tries to ponder possible causes of Tazmain's situation, then notices he's no longer here. [15:29:53] k-man: I'd actually like to see the answer as I'm hoping to find time to dive into the CSS myself. Not the least of the reasons being that there's five wikis with custom skins (Monobook-based, admittedly) that no longer work and need to be modified to work again. [15:30:59] If there's a relevant guide to hacking on the CSS I'd like to know the URL [15:32:06] !sitecss [15:32:09] !css [15:32:09] To change styles for your wiki, go to one of the MediaWiki:xxx.css wiki page (NOT a file) and put your custom styles there (sysop/admin rights required). MediaWiki:Common.css is for all skins and should be used for content styles. MediaWiki:Vector.css is for the Vector skin (default), etc. For more information, see !skins and https://www.mediawiki.org/wiki/Manual:Interface/CSS [15:32:29] I think I'm trying to site admin in the twilight zone. [15:32:49] Ulfr: Do you require some sarcasm? [15:32:58] Reedy: Always. [15:33:23] I have a few servers running on windows (yuck.) that I can't admin from remote because they use RDP and aren't accessible from anywhere but the campus [15:33:37] Teamviewer? [15:33:43] * Reedy is sick in his mouth a little [15:33:52] Can't get a VPN in? [15:34:07] Okay, that seems more encouraging than https://lists.gt.net/wiki/wikitech/445683 ; looking [15:34:12] Presently I'm having trouble with the server not allowing people who aren't on campus being redirected to the main page instead of having edits applied [15:34:26] Reedy: These people require every single laptop the company admins have their entire hard drive encrypted. [15:34:41] Not a sliver of a chance I can get a VPN exception in [15:35:17] Got a flurry of people complaining about being unable to edit from remote due to baby blizzard we had yesterday [15:35:41] I must admit that I believe what k-man is looking for is more specific than that [15:35:46] Decide today that I'll be clever and tether my laptop from my cellphone so I can attempt to troubleshoot once every ten minutes instead of every day [15:36:05] Only I can't replicate the issue. Even after a reboot. [15:37:18] * Strangelv is of no help for networking issues [15:52:14] Reedy: HTMLCacheUpdateJob Would that job have anything to do with Widgets being unable to update their compiled versions? [18:30:32] hi. Is there a way that I can upload a file (txt for example) through a maintenance script? [18:30:46] tried importImages but it doesn't work [18:31:31] wh.. why would you ever need to do such a thing? [18:32:04] It's complicated. We need to send a cron job so a backup of a wiki is uploaded to that wiki every time the backup is completed. [18:32:10] Is this possible? [18:32:25] Sure! ...why can't you just write a script yourself that does that? [18:32:52] I'm not too good with programming :( [18:33:58] Well, I can tell you right now that you're headed into the badlands if you try and make the maintenance scripts do anything like that. There's probably lots of existing php scripts you can google that will do exactly what you want [18:34:42] Ulfr: Couldn't I modify importImages.php to allow all types of files to be imported? [18:35:51] I can't think of a reason why you couldn't, but I wouldn't recommend it. It'd be far more straightforward to find a script that does what you want and just put it somewhere it will execute [18:36:23] If you can even get it to behave the way you want you're leaving yourself open to unhappiness if the software updates or someone discovers the backdoor [18:37:17] ok thanks [18:37:47] best of luck! :) [18:38:22] Hi. I was working on the task T152199 (https://phabricator.wikimedia.org/T152199). I searched in the mediawiki and MobileFrontend extension codebase but couldn't really find the way to get the category links of a page. Could anyone help me for the same? [18:38:22] T152199: Display categories button for logged-in users on mobile web stable - https://phabricator.wikimedia.org/T152199 [18:41:04] Ulfr: Thanks. We resorted to this as originally we wanted to send the files via email every week but that didn't work [18:59:38] oi [20:05:33] heya .. silly question , I keep trying to insert an inline image into a wiki page like so: [[File:https://wiki.mydomain.com/images/4/4e/Itunes_pads.png]] , I uploaded this png through the wiki file upload [20:05:42] but it never shows up as inline in the page, always show up as a link [20:06:09] if it's uploaded to that wiki, you just need: [[File:Itunes_pads.png]] [20:08:13] ah, great, now I just need to get it resize [20:08:14] thanks! [20:10:35] [[File:Itunes_pads.png|100px]] [20:10:49] see https://www.mediawiki.org/wiki/Help:Images for more syntax [20:15:27] oi [21:27:26] chanop: please update the Topic link to the channel logs, they now live at https://wm-bot.wmflabs.org/logs/%23mediawiki/ -Thanks! [21:27:27] Hey quiddity, you are welcome! [21:28:54] !botbrain [21:28:54] Hello, I'm wm-bot. The database for this channel is published at http://bots.wmflabs.org/~wm-bot/db/%23mediawiki.htm More about WM-Bot: https://meta.wikimedia.org/wiki/wm-bot [21:29:12] hmm, the link there doesn't need updating apparently? it still works [21:31:42] https://bit.ly/11EyRYq leads to http://bots.wmflabs.org/~wm-bot/logs/%23mediawiki/ [21:31:58] whose last log is from 19-Feb-2017 18:29 [21:32:00] ty! and yeah, that old location stopped updating in feb [21:32:37] apparently there's still a script creating a tgz daily, though [21:33:16] Sagan, ^ (not sure if you can help with that?) [21:33:56] hm [21:34:32] quiddity, Platonides: but the old instance will get shutdown at the end of march IIRC, since it's still precise [21:34:47] oh [21:35:52] Nod, that should solve it. ty. (cf. https://lists.wikimedia.org/pipermail/labs-announce/2017-March/000213.html ) [21:49:01] T159734 [21:49:02] T159734: Redirect bots.wmflabs.org to wm-bot.wmflabs.org - https://phabricator.wikimedia.org/T159734 [21:55:19] Dereckson: I wrote a grant proposal. https://meta.wikimedia.org/wiki/Grants:IdeaLab/Timeless [22:10:28] thanks Reedy [22:18:07] hola [22:19:05] hola Greindus [23:41:25] TIL: count(false) == true; [23:41:40] false is an item! [23:42:01] Oh i suppose that does make sense [23:42:10] because count( (array)false) === 1 [23:43:15] ideally, count(false) should be a compilation error, however welcome to scripting languages and PHP! [23:45:50] Isarra: BTW I made https://gerrit.wikimedia.org/r/#/c/342955/ to make things easier for testing with Timeless. [23:51:49] James_F: I don't know what roles are, but what you said sounds great. So... great! [23:51:54] Thanks! [23:51:59] Isarra: Vagrant thing. [23:52:12] Ah, cool. [23:53:07] * bd808 tries to drag Isarra into the mw-vagrant users club [23:53:15] * James_F grins.