[00:02:01] * soumster slaps AnalDefecation around a bit with a large fishbot [00:02:23] * soumster slaps camerin around a bit with a large fishbot [09:19:43] hello [09:19:49] есть русские ?) [09:43:38] Кто может помочь с настройкой mediawiki ? [10:00:23] hey. I have a template that breaks on Wikipedia's mobile version. Is there a guide for gotchas with the mobile version? [10:58:52] Is it still possible in MediaWiki 1.25+ to create a skin based on another? [11:11:49] hi #mediawiki. can someone please provide troubleshooting steps for the following error: [11:11:50] Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Cannot contact the database server) [15:21:57] poor folks https://phabricator.wikimedia.org/T69877#1614055 [16:43:57] hi, is there some way how to interrupt a lua fluent interface? like I have a html object for a table and I want to add a row if a certain parameter is set, so I'd like to to add elements if some condition passed.. [17:16:02] Is it normal that if I have my language set to ro and I access this page (https://meta.miraheze.org/wiki/Miraheze) it still shows up in English (even after refreshing)? [17:16:58] ^ nevermidn [17:17:01] *nevermind [18:29:30] hello. I would like to ask how to get the direct file links from links such as: http://en.wikipedia.org/wiki/Image:2005-1103mars-full.jpg [18:39:05] Nahiyan: click on the image shown on that page, and copy the URL. [18:46:21] yes but using the API or PHP flags.. [18:46:51] like getting the raw text of an article by using: http://en.wikipedia.org/wiki/Science&action=raw [18:47:41] unfortunately the same does not work for images/files! [18:48:45] Nahiyan: you can use the imageinfo API: https://www.mediawiki.org/wiki/API:Imageinfo [18:48:54] ok thanks [18:48:56] Sample query: https://en.wikipedia.org/w/api.php?action=query&titles=File:Albert_Einstein_Head.jpg&prop=imageinfo&iiprop=url [18:49:03] thank you! [18:49:25] Welcome. :) [19:03:03] thanks... I've been able to get all the links [19:42:05] i installed "1.25.2" on my server and getting `Exception encountered, of type "InvalidArgumentException"` (installed using softaculous). i have used 1.25.1 on localhost (install manually) and it worked ok [19:51:08] PHP 5.4 (server) and 5.6.12 on (local) [19:52:17] "MediaWiki 1.25 requires PHP 5.3.3 or later" so probebly not a problem. [19:53:33] error_log is full of "PHP Warning: call_user_func() expects parameter 1 to be a valid callb ....." [19:54:02] kuldeepdhaka: can you set $wgShowExceptionDetails = true; in LocalSettings.php? [19:54:22] getting a full stack trace of the error would be helpful [19:54:26] Vulpix, yup [19:56:29] Vulpix, http://wiki.madresistor.com/index.php?title=Main_Page [19:56:57] hmmm, it shows a 500 error [19:57:08] so it's now even worse? [19:57:40] maybe you edited LocalSettings.php with notepad.exe or a similar crappy text editor? [19:57:41] Vulpix, i just changed "$wgLogo" to show logo [19:57:57] undo your edit, then [19:57:58] Vulpix, editor:geany [19:58:13] maybe you made a syntax error [19:58:37] LocalSettings.php is a php file, so any syntax error will blow up the execution [19:59:44] Vulpix, still the same (removed the logo). [19:59:52] Vulpix, (btw im on Arch with Apache) [20:00:34] check the error log to see for what it complains [20:02:13] Vulpix, full of "call_user_func_array()" warning (as i mentioned earlier) [20:02:30] another common warning "PHP Warning: json_encode(): type is unsupported, encoded as null....." [20:02:51] look for any fatal error [20:03:25] Vulpix, no fatal errors. [20:04:46] I now get "Redirect loop detected! This means the wiki got confused about what page was requested; ...." [20:05:22] Vulpix, yup [20:05:32] so whatever happened to LocalSettings.php has been resolved, apparently. Now you need to fix $wgArticlePath or something like this [20:06:13] Vulpix, i added "$wgShowExceptionDetails = true;" and it started showing this messagfe [20:06:37] the api endpoint is also failing blatantly http://wiki.madresistor.com/api.php [20:07:34] I'd say, remove it and install from the tarball, instead of using softaculous [20:08:01] Vulpix, hum [20:08:23] maybe their installation is broken [20:18:58] Vulpix, "Warning about webhost auto-installers" on manual install page :) [20:19:41] heh [21:01:16] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 3463621217 bytes) in /public_html/wiki/vendor/zordius/lightncandy/src/lightncandy.php on line 1110 [21:02:00] fresh code from tarball. [21:02:02] Vulpix, ^^ [21:04:15] ~256MB exhausted O_O [21:05:26] Vulpix, requesting ~2.2 GB ?? [21:06:39] I really don't know for what are used those libraries... weird [21:08:08] google tells me it's about mustache... php templates [21:08:39] Vulpix, hum [21:09:25] it may be some infinite loop or similar [21:09:43] have you enabled any extension? on what page does it happen? installer? [21:10:40] Vulpix, uploaded the tar, extracted and went to /mw-config/index.php page for installation [21:15:32] there's some kind of recursion problem here... I'm sorry but I don't know how to debug this :( [21:15:46] hopefully someone else can give a hint [21:16:00] Vulpix, "Do not use /wiki/ if you want to use it as a Short URL. (And don't set up short URLs until you have run the installation script.)" [21:16:55] Vulpix, lemme check if this the problem [21:23:00] Vulpix, has some effect, partial page came up [22:28:41] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 269360737 bytes) in includes/libs/ScopedCallback.php on line 41