[12:59:09] Hi all:)   This is the first time I have setup media wiki.  The installation went fine, but when I opened the web page it reads:  [6308a63180685ffe7111ac52] 2022-02-01 12:55:48  Fatal Exception of the type error. [12:59:43] I cannot find any fixes for that issue on the net, either [14:23:00] Guest4465: Set $wgShowExceptionDetails = true; in your LocalSettings.php and try again [15:02:24] thx Vulpix, now I get Parse error: syntax error, unexpected identifier "wfLoadSkin" in www/LocalSettings.php on line 136 [15:04:05] Did you add only $wgShowExceptionDetails = true; to LocalSettings? Or did you made any other modification? [15:06:33] no other mods. I downloaded the vector skin now and inserted it and I get [3330ef3d1d67f17ff7f72857] /index.php?title=Hauptseite Error: Call to undefined function getrusage() [15:07:14] getrusage is a PHP standard function.. [15:07:41] But possibly disabled by some web providers? [20:56:59] Good evening.  Only a simple question tonight; is there any detailed documentation for Special:ActiveUsers please?  I'm on a site using MW but that special page is not showing all the users who have been active within the last 30 days, and I wanted to see whether I was missing something. Thanks. [21:01:26] DaneGeld: hi, so I think https://en.wikipedia.org/wiki/Wikipedia:Statistics#cite_note-1 is as official as it gets [21:01:33] which only says "30 days" [21:01:50] the number of active days is configurable though https://www.mediawiki.org/wiki/Manual:$wgActiveUserDays [21:01:55] I have been kind of wondering this before when creating statistics tables that take the value from that API [21:02:24] The page says it's active users from the last 30 days.  Wouldn't that change on the Special Page if the time period was altered also? [21:02:24] and that page mentions that the statistice being updated depends on https://www.mediawiki.org/wiki/Manual:InitSiteStats.php being run regularly [21:02:30] I am sure it has been commented on.. but where was that [21:04:16] soo.. when you get the "active users" from the API, you ask for "siteinfo" of a wiki, like this: [21:04:19] https://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&maxlag=5 [21:04:27] and the "activeusers" in there..that's the thing that counts [21:04:27] the statistics are calculated from the recentchages table, so they're also limited by https://www.mediawiki.org/wiki/Manual:$wgRCMaxAge [21:08:01] It looks like we run 'initSiteStats.php --update' twice a month (on the 1st and 15th) for the Wikimedia wikis -- https://github.com/wikimedia/puppet/blob/production/modules/profile/manifests/mediawiki/maintenance/initsitestats.pp#L4 [21:08:02] Ok, so I ran the api link across the site, and it says that there are 22 active users.  But in the list, there are 24, and still some of those who've been active aren't there... [21:08:34] How is it possible that the two totals of how many users are active, disagree with each other? [21:15:05] DaneGeld: the API value comes from https://www.mediawiki.org/wiki/Manual:Site_stats_table which is updated by 'initSiteStats.php --update'. The special page does a completely different thing and queries https://www.mediawiki.org/wiki/Manual:Querycachetwo_table directly. Both are cached things and not a realtime crawl of all of the recent changes activity. [21:15:38] * bd808 climbs out of this rabbit hole before it is too late ;) [21:17:08] omg, I did not want to know that part that the Special page and the API .. "completely different" :p [21:17:52] have always trusted the API and ignored the rest though.. and that's the numbers we use for all the project tables on the wikis [21:17:56] mutante: that is very, very common in MediaWiki internals. And yes gross [21:18:03] the stats value also includes users that have been blocked and hidden, while ActiveUsers does not [21:18:13] but before the API was even a thing for those numbers...I also scraped Special:Statistics?action=raw [21:18:54] DaneGeld: how is that URL on your wiki ?^:) [21:19:50] mutante: it's https://en.vikidia.org/wiki/Special:ActiveUsers [21:19:58] * bd808 was once going to lead a WMF team with a mission to extract and unify business logic between API and Specials, but that ended abruptly in 2015 with the Reorg of Doom™ [21:19:58] bd808: 🙈, 🙉, 🙊 :) [21:20:18] Ooops. I screwed that up. Hang on [21:20:48] DaneGeld: it could be different numbers in Special:Statistics vs the API link I guess [21:20:55] Yep, it is: https://en.vikidia.org/wiki/Special:Statistics?action=raw [21:21:25] That only returns the 22 active users, not 24 like Special:ActiveUsers [21:23:37] Ah well, it's too late for me to be digging into this hole.  I'll follow up on it with our users tomorrow.  I was only querying because we had one user who raised that someone she knew to be active within the last 30 days, wasn't on the list.  At least I can tell her now that it's not a real time thing updated constantly. [21:23:58] yea.. so.. I would say the options are.. that you decide to just believe the API and ignore the rest or get both numbers and display the median/average as your own number or we look for existing phabricator tickets related to the mismatch [21:24:59] I suppose I could go through phabricator. I can't remember if I have an account or not.  I know I do on KDE's bug tracker, but as for everywhere else, I'm not sure.  I'll try and login and see if it kicks me out! [21:25:55] Apparently I do.  I was already logged into it, but I can't remember for the life of me, why that was. [21:26:10] I'll speak again tomorrow.  Good night! [21:27:24] ooh fun, it's mw 1.31.14 [21:29:03] only 7 months out of date and 4 months out of support, doing better than most [23:04:16] zabe: hi [23:04:59] hi [23:05:39] zabe: can I pm? [23:05:48] sure [23:46:57] Where are the MySQL connection settings to be found? I am trying to determine what the default encoding for inbound connections are [23:47:57] I have tables with binary and utf8mb4 charsets, but certain symbols are being stored as ? when I insert them from PHP [23:47:58] stackoverflow says this could be because the connection char set is different [23:48:16] anyone know where can I find the DB connection char set [23:51:53] https://www.mediawiki.org/wiki/Manual:$wgDBTableOptions