[08:44:25] Any idea where to start with the MW Rest API giving me HTTP 500 errors in HTML modes (only) - doesn't appear to be outputting anything to logs. [10:15:07] hi Lcawte, did it work before? or is this first install? [10:15:41] how are you using the html modes? i don't recall [10:50:43] No idea. Raw works fine, VE works fine as well. It's a HTTP GET request on a publicly accessable page/wiki so it shouldn't need auth. [10:52:35] I'm going to assume it probably didn't work before, as there's not really a high frequency of changes to LocalSettings.php etc. [10:55:01] a 500 usually does provide a message on the error log [10:55:12] Usually it does, yes. [10:56:09] in php error log? [10:56:45] Lcawte: do you need to change log settings in php or php-fpm/php-cgi/whatever is running it to make logging more verbose? [10:57:00] in php.ini or similar [10:59:37] 500s do usually output at the log level running, other things throw them every now and again on this setup. I guess I could tweak it. [11:03:39] Nope, okay, its not that... [11:06:36] what webserver is this, apache? [11:07:09] Nginx [11:07:56] > Check the error_reporting, display_errors and display_startup_errors settings in your php.ini file. [11:08:41] & https://docs.nginx.com/nginx/admin-guide/monitoring/logging/ [11:09:41] Creating a custom log group for 'exception' is very useful: https://www.mediawiki.org/wiki/Manual:How_to_debug#Creating_custom_log_groups [11:19:41] Lcawte: exception handling doesn't always work. One trick is to comment out MediaWiki's exception handlers so that the exception can be reported by PHP [11:20:26] the try/catch block in \MediaWiki\Rest\Router::execute and the whole body of \MWExceptionHandler::installHandler [11:26:07] Lcawte: how are you doing anyway? I remember you from about 15 years ago [11:31:18] IRC logs confirm, 2010 you were on Wikia already, 13 or 14 years old [11:31:53] same [11:32:06] i remember Lcawte from ages ago :) [11:41:56] Yeah, not too bad. Trying to get back/stay in the wiki space after drifting away during Uni, day job/life gets in the way. Still, shown up at the last two hackathons and manage to get a few gerrit patchsets a year... [11:42:46] awesome [12:02:49] Oohhh... [12:51:03] hi everyone! [12:51:04] im developing a standalone javascript app [12:51:04] and would like to make use of the mediawiki javascript libraries [12:51:05] such as mw.Api to make api calls, etc [12:51:05] is there some way to load the mediawiki javascript libraries from an external app? [12:51:06] i tried loading www.mywiki.org/w/load.php?lang=en&modules=startup&only=scripts&raw=1 [12:51:06] but i keep getting "mw.loader.impl is not a function" [12:54:12] welp, guess that was too many messages at once and it triggered a spam filter? [12:55:10] hmm, probably [12:55:26] combined with the link, I suppose [12:56:30] unklined [13:20:12] Hi! I made a gerrit patch to a broken extension, but the sole maintainer doesn't seem very active( https://gerrit.wikimedia.org/r/q/owner:FreedomFighterSparrow@gmail.com https://www.mediawiki.org/wiki/Special:Contributions/FreedomFighterSparrow). Should I just add them anyways or find someone else to review it [13:50:19] PixDeVl: what's the direct URL to the patch in Gerrit? [13:50:47] You can try it, they might see an email from Gerrit, but, I'm sure we can probably find you a reviewer if not [13:50:54] I would add the maintainer anyway and if you don't get a reply within a few weeks, bring this up on https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/ [13:51:00] Classic problem :-/ [13:52:08] https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AutoCreateCategoryPages/+/1070058 This one? [13:53:13] andre_: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AutoCreateCategoryPages/+/1070058 although a friend of mine left a comment with some points I'm gonna fix soon, also forgot the update the read me change log [13:53:29] Lcawte: yea(i didn see that msg my bad) [13:55:25] dang connection dropped for a sec [14:13:34] related to before: should i list the compatibility of older versions as until the version where the old method was deprecated or hard removed? ie since the older version use a method soft deprecated in 1.40 and removed in 42, should I list them as compatible until hard remove? [15:16:52] I would consider it compatible until hard-removed [19:57:53] hello, I'm trying to update the {{NUMBEROFARTICLES}} value on a wiki after importing an XML dump. it currently says 0, despite me running the updateArticleCount.php script (with --update). [19:59:29] I am running a wiki family using the "Separate settings files" approach from https://www.mediawiki.org/wiki/Manual:Wiki_family, if it makes a difference [20:00:07] okay nevermind, it *just* updated... I waited like 10 minutes and it has to happen now lol.