[02:31:55] what's the best way of generating contribution metrics for a wiki? [02:33:01] Depending on what metric, probably a bot [02:33:13] the reason I ask: I've been the most active here: https://electowiki.org/wiki/Special:RecentChanges [02:33:29] in the past few days (and oh hai Reedy!) [02:34:12] but User:BetterVotingAdvocacy has been was *MUCH* more active up until 2-3 days ago [02:35:03] (e.g. https://electowiki.org/wiki/Special:Contributions/BetterVotingAdvocacy ) [02:35:12] That's brave... Their main page is anon editable :) [02:35:41] oh dear... [03:02:16] Reedy: y'know, we just hadn't had a problem before now. Miraheze has been doing some great spam blocking, it seems. [03:02:40] I still decided to protect it because WP:BEANS in this channel [03:02:44] hi, just upgraded to MW 1.34.1 from 1.32.0 and get the following error "Trying to access array offset on value of type null in includes/profiler/SectionProfiler.php on line 101". It seems that I'm not the only one with this error but can't find any clue about it. this MW instance is running on a Centos8 / PHP 7.4.5 and AFAIK is compliant with prerequities. Does anyone have any pointer that could [03:02:46] help to solve this ? thanks. [03:15:24] doug713705: you're right, that seems to be a problem others have had: https://serverfault.com/questions/1001373/mediawiki-issue-php-notice-trying-to-access-array-offset-on-value-of-type-nul [03:16:24] I personally haven't see that error, and I haven't had a chance to look up that line of code. Have you? [03:19:31] robla:indeed that's the only reference to it I found [03:19:57] robla: there are also a few basic metrics on https://electowiki.org/wiki/Special:ActiveUsers [03:20:28] I looked at bugs.mediawiki.org and gerrit and found about some incompatible issue with php7.4 buet it seems patched [03:22:05] Krinkle: thank you! (and "oh hai!" to you too!) [03:23:04] super basic stuff I should have known by now, but ... well, I hadn't needed *that particular* special page until now. Y'know, y'all got a lot of them :-D [03:25:09] doug713705: Fixed in 1.34.0 indeed. Note that this is not a bug, it is a PHP warning, which does not affect the logic. If you are seeing them while using the wiki, be sure to turn PHP setting display_errors off for real users :) [03:26:06] Krinkle: I also applied this patch wich seems more complete https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/575816/1/includes/profiler/SectionProfiler.php but i still have a 500 error [03:26:31] I may have to look elsewhere... [03:26:47] Yeah, that probably means the patch is corrupt or there is another problem. [03:26:55] The warning you started with does not cause a 500 eror [03:27:19] * Krinkle goes afk [07:43:03] Krinkle, robla: The global solution was to update the PHP package with the 7.4.6 version. The weird thing is that I was unable to rollback the WM upgrade even after databse drop/restore and fresh files restoration untill PHP upgrade to 7.4.6. [07:43:58] after that, the WM update to 1.34.1 went well [07:45:16] unable to rollback the WM upgrade: The server always sent 503 error (php-fpm related, I think) [07:59:43] cool, glad you were able to get it working! [11:49:54] Where can we see the size of the job queue for a wiki nowadays? It used to be on [[Special:Statistics]] AFAIR [11:56:15] Jhs: I query it via api [11:57:22] https://directory.fsf.org/wiki/Free_Software_Directory:Backlog_active#Monitoring_MediaWiki [14:36:41] hi i have addded a new menu to the wiki but it wont link https://wiki.disability-community.club/index.php?title=Main_Page [15:01:03] satdav: The syntax on the sidebar is: external URL or page name, a pipe, and the text to display [15:01:14] It's a bit different than wiki syntax [15:01:48] oh what do you mean i selected external url [15:08:03] satdav: do not use any editor to edit MediaWiki:Sidebar [15:08:22] edit using wikicode, no extraneous helper tools [15:08:32] How can I provide "rctag" with multiple values i.e both mw-undo and mw-rollback in the same query request? I tried rctag=mw-rollback|mw-undo but failed. [[User:Nokib Sarkar|Nokib Sarkar]] ([[User talk:Nokib Sarkar|talk]]) 14:46, 21 May 2020 (UTC) [15:08:44] that what i am using [15:08:55] !help [15:08:55] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [15:09:30] !helpfor [15:09:30] https://www.mediawiki.org/wiki/Help: [15:09:45] !help [15:09:45] There are a lot of topics you could be asking about. Besides, this bot is mostly for experienced users to quickly answer common questions. Please just ask your question and wait patiently, as the best person to answer your question may be away for a few minutes or longer. If you're looking for help pages, we moved that to !helpfor. [15:11:03] satdav: what did you mean when you said "i selected external url" [15:11:11] In the mediawiki API, how can I provide the parameter "rctag" with multiple values i.e "mw-rollback" and "mw-undo" [15:11:41] Nokib: what api? An example URL is welcome [15:12:01] (you can specify tags for filtering or for modifying tags on a revision, log...) [15:12:59] how do i het the code editor [15:13:07] i have it enabled [15:15:06] Nokib: Ok, so it's list=recentchanges [15:15:15] Apparently it doesn't support multiple tags [15:15:56] Then how "Special:Recentchanges" supports multiple tag filtering? [15:17:30] If you hit F12 and inspect the URL, it queries Special:Recentchanges directly and not the api [15:18:19] Doesn't the Special page use this api? [15:19:32] try it yourself [15:47:01] Does anyone here have experience managing (shudder, I know) Semantic MediaWiki wikis? I'm working on improving my workflows for wiki upgrades and trying to figure out how to work in the process of update.php updating the .smw.json files and getting those updated files distributed to all of the wiki web servers. Just wanted to see if anyone has [15:47:02] dealt with this specific issue and/or has any thoughts on that workflow. [15:49:55] justinl: The only person I know offhand is CindyCicaleseWMF (she does it for various wikis like https://wikifarm.wmflabs.org/cpt/index.php/Main_Page ) [15:51:31] Thanks, Reedy. I'm guessing the procedures for managing those are far more involved and intricate than my needs but I'd certainly be happy to hear her thoughts if she happens to jump in. :) [15:51:54] AIUI she uses composer stuff [15:54:52] The .smw.json file is a bit weird and I want to ensure that I can develop a procedure that incorporates the need for it without having to go through some weird contortions. [15:55:02] I think a lot of folks in https://www.mediawiki.org/wiki/MediaWiki_Stakeholders%27_Group are SMW users in parctice [15:55:30] I might be in that group, I was for a little while a few years ago. Need to follow up on that. [15:55:50] * bd808 looks for mah here and does not find him [15:56:07] Hi, justinl. Yes, SMW uses composer for installation and update. I've never had to worry about the .smw.json file, though. [15:57:06] There is a very active Riot channel for the MediaWiki Stakeholders' Group where you could also ask: https://riot.im/app/#/room/#mwstake-general:matrix.org. [15:59:14] Not familiar with Riot but I'll check it out, thanks! FWIW, the main issue I have is how I upgrade my wikis. I have a "wiki manager" server where I run a shell script that git clones MW, extensions, and skins, and does some other work (including running a SaltStack state to create/configure LocalSettings.php and other stuff for my 7 wikis) and all [15:59:15] of this is exactly what is needed on the web servers. I then have a deploy script that rsyncs it all down to each server. However, ensuring I have the correct .smw.json contents for upgrades that require update.php to be run is the slightly tricky part. [16:09:09] CindyCicaleseWMF, do I need to request access? "mwstake-general:matrix.org. is not accessible at this time. Try again later, or ask a room admin to check if you have access." [16:14:11] justinl: You should not need to request access. That's odd. Here's another slightly uglier link to try: https://matrix.to/#/!mduWVRtKzYinVAelXP:matrix.org?via=matrix.org&via=grin.hu&via=tchncs.de. If that doesn't work, I'd be happy to invite you to the room if you message me your email address. Hopefully that would get around the problem while I file a report. [16:14:50] that worked, thanks! [16:15:05] There are a number of people there who manage multi-server wiki farms who would be able to speak to you about what they do to upgrade. A number of them use meza (see https://www.mediawiki.org/wiki/Meza). [16:17:18] Cool, thanks! Haven't seen Meza before but I'll definitely check it out. My system is pretty much completely homegrown since I started managing MW wikis back in 2012 and I'm working on trying to improve it now that we're moved to AWS (a couple of years ago) and I got my first major upgrade done there, which was kinda painful but I also need to [16:17:19] script/automate a lot of AWS stuff as part of this. [16:20:23] Yeah, I had my own homegrown scripted system, too. And that's how meza started, too, at NASA. Now others are using meza as well and contributing to it. I *think* somebody got it working on AWS. [23:07:18] Hi, my gerrit-fu sucks - and my uploaded changes don't get linked to issues. They don't even get a bot review. See for example https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/PageForms/+/597880/, which should have to linked to https://phabricator.wikimedia.org/T253351. Any ideas what I'm doing wrong? [23:21:50] Thats... slightly odd [23:21:50] https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines [23:22:07] I don't think you have to be CI whitelisted for it to do that... [23:25:10] Yep, I read that and tried to follow it exactly. I'm pretty sure I uploaded changes in the past and had no issues. [23:25:50] FreedomFighterSp: it was the blank line [23:25:57] I fixed it for you [23:31:11] Thanks! That's... fragile. I'll try to keep this in mind for next time, although usually a year or more can pass between any gerrit commits and things completely slip my mind.