[13:30:12] so restarted rebuildrecentchanges.php with more memory and process has been running for 3 days non stop :/ [14:49:16] zero2: Your wiki has a lot of recent edits? [14:49:44] hundreds of thousands -_ [14:58:59] a script shouldn't take that long regardless [14:59:29] in a production environment a script is killed after 10 min at most [15:19:29] hi, can anyone help to fix a mediawiki bug in a private wiki? Opening Special:RecentChanges gives the error: Call to undefined method LBFactory::singleton() [15:28:58] doctaxon: that sounds like you have an extension installed that is not compatible with the version of MediaWIki you are running. [15:30:04] disable your extentions and try again [15:30:24] DanielK_WMDE: it is https://cac.wmflabs.org/wiki / version: 1.29.0-alpha [15:37:28] MGC: ja, hier war's [16:16:02] doctaxon, get a trace: https://www.mediawiki.org/wiki/How_to_debug [16:18:50] andre__: I mentioned it on T156377 too [16:18:50] T156377: Special:RecentChanges: undefined method LBFactory::singleton() - https://phabricator.wikimedia.org/T156377 [16:20:09] doctaxon: same reply :P [16:20:35] yes of course, but I am not the admin of this wiki cluster [16:21:25] so I think it will be better to reply in that phab ticket [16:21:36] doctaxon, yeah, and if website XYZ is broken, only the admin of website XYZ can fix it. :) [16:21:38] I did already [16:22:25] ach du bist's [16:22:52] die Nicks kann ich nicht alle gleich zuordnen [16:26:15] andre__: das ist klar, dass der Admin das Problem nur fixen kann, aber ich habe wenigstens erst mal angefangen. Das wird dann jetzt auch weitergehen. [16:28:52] doctaxon: Muzu rozumit nemecky, ale tady normalne mluvime anglicky. :) [16:29:16] (Translation: I prefer to stick to English language in international channels.) [16:30:25] okay, no problem [16:32:14] do you speak Czech too? [18:38:50] legoktm: could I get your opinion on this problem and extension.json: https://phabricator.wikimedia.org/T150011 [19:02:51] hexmode: looking... [19:03:00] tyvm [19:52:52] Greetings. I'm running 1.23.6 and all of a sudden sometime recently thumbnails began not showing. [19:53:12] for example: http://www.milkthefunk.com/wiki/File:Lam_Hop_Oils.jpg [19:53:38] There have been no updates to the OS or anything for about a year or so. [19:53:57] no new extensions or anything [19:54:20] Just wondering if anyone could possibly give me a tip. [19:56:10] Gek_: that thumb seems to load for me [19:58:08] ok... just tried it in internet explorer... it loads [19:58:15] does not load in chrome though [20:21:52] right click and "open image in new tab" under chrome does this: http://www.milkthefunk.com/wiki/1.5x [20:21:55] which... is wrong. [20:25:48] may have something to do with "srcset" ? [20:25:57] https://www.mediawiki.org/wiki/Manual:$wgResponsiveImages [20:40:08] /join ubuntu-devel [22:17:26] any developers or script kiddies on here? [22:18:33] what is the best way to redirect anonymous users to the actual login form, bypassing the intermediate error page that just shows the login link? [22:20:56] Hmm... Catch a PermissionsError exception, get the WebRequest, then do $request->response->header() [22:21:06] !class WebResponse [22:21:06] See https://doc.wikimedia.org/mediawiki-core/master/php/classWebResponse.html [22:21:59] Sorry, that should be response(). But I'm not sure if there are any extensions that do this anyway. [22:22:29] Umm i thought mw already did that [22:22:45] if permissions were set so that only logged in can read [22:23:05] I don't know if https://www.mediawiki.org/wiki/Manual:Hooks/TitleReadWhitelist gets called only when there's a read permission error, but if it is, then you could simply put the redirect code implementing this hook [22:23:19] baker: I think you are using the term script kiddie incorrectly... [22:24:12] (that hook would be only when the wiki is private, not for trying to edit a page when anons can't edit) [22:24:39] bawolff: I thought this was built in as well, but i’m not getting that behavior. My wiki is completely private [22:28:30] so noob question, do i need to write an extension to use MW hooks or is it possible to do this via LocalSettings? [22:29:26] you can do it in LocalSettings directly [22:42:07] so i’m using the ldap auth extensions, wonder if that is conflicting [23:19:06] thoughts on an approach like this? http://dpaste.de/PO3m