Page MenuHomeMiraheze

MediaWiki (SRE)Group
ActivePublic

Members (3)

Watchers (3)

Details

Description

This is the project for the MediaWiki team based in the Site Reliability Engineering department.

This project is used to organise and manage all work which falls under the primacy of the MediaWiki team. Any queries with the progress or allocation of resources should be directed to the Engineering Manager for MediaWiki team.

Engineering Manager: @Reception123

Recent Activity

Today

Reception123 added a comment to T10412: Cleanup database mess after cloud14 outages.

gnf_files, mw_settings, mw_namespaces, mw_permission duplicates removed. In addition, removed some wrong entries which had non-wiki dbnames.

Thu, Feb 2, 09:09 · MediaWiki (SRE), MediaWiki
Universal_Omega added a comment to T10412: Cleanup database mess after cloud14 outages.

438 entries for mw_settings don't have a corresponding cw_wikis entry. I see many of them are from P468 so I'm thinking maybe there's an issue with the deletion script?

Thu, Feb 2, 08:15 · MediaWiki (SRE), MediaWiki
Reception123 added a comment to T10412: Cleanup database mess after cloud14 outages.

438 entries for mw_settings don't have a corresponding cw_wikis entry. I see many of them are from P468 so I'm thinking maybe there's an issue with the deletion script?

Thu, Feb 2, 08:10 · MediaWiki (SRE), MediaWiki
Reception123 updated the task description for T10412: Cleanup database mess after cloud14 outages.
Thu, Feb 2, 08:02 · MediaWiki (SRE), MediaWiki
Universal_Omega added a comment to T10412: Cleanup database mess after cloud14 outages.

@Universal_Omega Would you mind double checking the lists to make sure that everything can be deleted?

Definitely not betawiki and the wikibetas, those are on testglobal. But if we delete from cw_wikis, we'll have to do the same check on the others, ones that have no mw_settings, etc... but no DB after.

Yeah, definitely not betawiki itself but we could probably delete the other test beta wikis. And do you really think there's a chance some wikis even have mw_settings entries but not cw_wikis?

Thu, Feb 2, 06:58 · MediaWiki (SRE), MediaWiki
Reception123 added a comment to T10412: Cleanup database mess after cloud14 outages.

@Universal_Omega Would you mind double checking the lists to make sure that everything can be deleted?

Definitely not betawiki and the wikibetas, those are on testglobal. But if we delete from cw_wikis, we'll have to do the same check on the others, ones that have no mw_settings, etc... but no DB after.

Thu, Feb 2, 06:54 · MediaWiki (SRE), MediaWiki
Universal_Omega added a comment to T10412: Cleanup database mess after cloud14 outages.

@Universal_Omega Would you mind double checking the lists to make sure that everything can be deleted?

Thu, Feb 2, 06:53 · MediaWiki (SRE), MediaWiki
Reception123 added a comment to T10412: Cleanup database mess after cloud14 outages.

@Universal_Omega Would you mind double checking the lists to make sure that everything can be deleted?

Thu, Feb 2, 06:51 · MediaWiki (SRE), MediaWiki
Reception123 added a comment to T10412: Cleanup database mess after cloud14 outages.

Wikis that only have cw_wikis entries (no DB):

Thu, Feb 2, 06:51 · MediaWiki (SRE), MediaWiki
Universal_Omega added a comment to T10412: Cleanup database mess after cloud14 outages.

I'm not fully sure why this would be high priority, is it affecting something?

For databases that don't have a corresponding cw_wikis entry, might as well do that for all clouds then. Also, for wikis that don't have a corresponding database, could they not be removed via the regular eval way? (I ask since you listing tables makes it seem like it all has to be done manually)

Thu, Feb 2, 06:34 · MediaWiki (SRE), MediaWiki
Reception123 added a comment to T10412: Cleanup database mess after cloud14 outages.

I'm not fully sure why this would be high priority, is it affecting something?

Thu, Feb 2, 06:32 · MediaWiki (SRE), MediaWiki
Void added a comment to T10374: Table of contents is no longer inserted when printing a page.

Best formatting I can come up with is:

Thu, Feb 2, 02:30 · Upstream, MediaWiki (SRE), MediaWiki
Void added a comment to T10374: Table of contents is no longer inserted when printing a page.

I believe it may be possible to force the TOC to display by editing MediaWiki:Print.css.

Thu, Feb 2, 01:13 · Upstream, MediaWiki (SRE), MediaWiki

Yesterday

Chuck.Beckett added a comment to T10374: Table of contents is no longer inserted when printing a page.

Switching to Vector legacy (2010) works for me, and is an acceptable workaround from my viewpoint, as long as I can switch to that skin.

Wed, Feb 1, 23:05 · Upstream, MediaWiki (SRE), MediaWiki
Void added a comment to T10417: Pages constantly disappear from Category.

While emulating the function of refreshLinks.php, I noticed that the entry for a particular target page (page id 140), would disappear while other pages were being updated. However, it also could show up when updating other pages, and often wouldn't appear after its own page was updated.

Wed, Feb 1, 22:47 · MediaWiki (SRE)
Dimpizzy added a comment to T10417: Pages constantly disappear from Category.

All right, I'll use Labeled Section Transclusion for each page that should be on the Main Page so I don't have to rely on the category.

Wed, Feb 1, 22:36 · MediaWiki (SRE)
Void added a comment to T10417: Pages constantly disappear from Category.

Ok, I'll add the pages back in manually for now.

Wed, Feb 1, 22:32 · MediaWiki (SRE)
Dimpizzy added a comment to T10417: Pages constantly disappear from Category.

Ok, I'll add the pages back in manually for now.

Wed, Feb 1, 22:26 · MediaWiki (SRE)
Void placed T10417: Pages constantly disappear from Category up for grabs.

It seems that running refreshLinks.php is incorrectly removing entries from the categorylinks table. I am not sure why, but this must be related to the cause of the problem.

Wed, Feb 1, 22:24 · MediaWiki (SRE)
Dimpizzy added a comment to T10417: Pages constantly disappear from Category.

I don't know if it's still running, or it stopped early, but now all but three pages are missing from the category.

Wed, Feb 1, 22:20 · MediaWiki (SRE)
Universal_Omega updated the task description for T10412: Cleanup database mess after cloud14 outages.
Wed, Feb 1, 22:05 · MediaWiki (SRE), MediaWiki
Void claimed T10417: Pages constantly disappear from Category.

I'm running the script now to refresh, hopefully it won't refresh on its own after this.

Wed, Feb 1, 21:38 · MediaWiki (SRE)
Reception123 added a comment to T10368: Add preference to use safemode across entire site (like ?safemode=1 but don't need it in the URL).

@Reception123 The use case for this in core is relatively low, because it only affects user farms like Miraheze and Fandom. While I would agree with this if the basis were to only have extensions be unofficial, given that many features are put into extensions and how many extensions Wikimedia runs, I see no reason for this to be in core, and is something more suited for the MirahezeMagic extension

Wed, Feb 1, 21:29 · MediaWiki, MediaWiki (SRE), Universal Omega
Reception123 added a comment to T10417: Pages constantly disappear from Category.

@Void Should I just try running it again individually on this wiki?

Wed, Feb 1, 21:26 · MediaWiki (SRE)
Void triaged T10417: Pages constantly disappear from Category as Normal priority.

Possibly related to refreshLinks.php (similar to cases of T10394). If the script isn't run to completion, then it may have emptied the table without adding back all the data it needs.

Wed, Feb 1, 21:23 · MediaWiki (SRE)
Void closed T10416: Getting "Fatal exception of type "Wikimedia\Rdbms\DBQueryError"" When trying to edit a page as Resolved.

Looks like the linktarget database table was missing. I've run a quick script that should have fixed it.

Wed, Feb 1, 21:14 · MediaWiki (SRE)
Void added a comment to T10414: Database Error: Fatal exception "Wikimedia/Rdbms/DBQueryError".

Error appears to be:

Error 1146: Table 'mockelectionswiki.Comments' doesn't exist

If you encounter this again, I believe it would suffice to disable and re-enable the comments extension.

Wed, Feb 1, 21:09 · MediaWiki (SRE), MediaWiki
Universal_Omega added a comment to T9999: Create $wgIncidentReportingInactiveServices config.

https://github.com/miraheze/IncidentReporting/pull/57

Wed, Feb 1, 19:20 · Universal Omega, MediaWiki (SRE), IncidentReporting
Altepoch added a comment to T10416: Getting "Fatal exception of type "Wikimedia\Rdbms\DBQueryError"" When trying to edit a page.

Hey, yeah of course. Just tried it and I get this:

Wed, Feb 1, 19:07 · MediaWiki (SRE)
OrangeStar triaged T10416: Getting "Fatal exception of type "Wikimedia\Rdbms\DBQueryError"" When trying to edit a page as Normal priority.

Can you post what message you get when editing pages? Not just the fatal exception message, but also another one that looks like: [bunch of numbers and letters] 2023-02-01 15:30:30 Fatal exception of type "Wikimedia\Rdbms\DBQueryError". It helps a lot when trying to find out what's happening.

Wed, Feb 1, 19:05 · MediaWiki (SRE)
OrangeStar added a comment to T9999: Create $wgIncidentReportingInactiveServices config.

In fact, I think I know why HTMLForm doesn't support things like the "hidden" attribute. MW *still, in 2023*, supports that so-called "browser", Internet Explorer 11, and the hidden attribute is not supported there.

Wed, Feb 1, 18:59 · Universal Omega, MediaWiki (SRE), IncidentReporting
OrangeStar added a comment to T9999: Create $wgIncidentReportingInactiveServices config.

It's mostly because of how the HTMLForm class works. Real HTML forms are much more flexible than the abstraction by MW (for example, if I could set custom attributes in the <option> elements, I could set the disabled attribute right there and then (it could look like ["label", "value attribute", "custom attributes"], just an additional entry in the array on the form descriptor. I wonder how hard it would be to get that into the MediaWiki core)), and I don't really find any way of doing this without a major rewrite, also, adding that godforsaken unmaintainable CSS hack I suggested, while possible and easier than rewriting, wasn't a good idea.

Wed, Feb 1, 18:43 · Universal Omega, MediaWiki (SRE), IncidentReporting
Universal_Omega added a comment to T9999: Create $wgIncidentReportingInactiveServices config.

I give up, if someone else wants to try be my guest.

Wed, Feb 1, 18:34 · Universal Omega, MediaWiki (SRE), IncidentReporting
OrangeStar added a comment to T9999: Create $wgIncidentReportingInactiveServices config.

I give up, if someone else wants to try be my guest.

Wed, Feb 1, 18:20 · Universal Omega, MediaWiki (SRE), IncidentReporting
OrangeStar placed T9999: Create $wgIncidentReportingInactiveServices config up for grabs.
Wed, Feb 1, 18:14 · Universal Omega, MediaWiki (SRE), IncidentReporting
MacFan4000 closed T10369: SSL for custom domain: wikiworms.miraheze.org as Declined.

No response. If this is still needed, then please reopen when the domain is pointed.

Wed, Feb 1, 16:08 · MediaWiki (SRE), SSL
Agent_Isai added a comment to T10374: Table of contents is no longer inserted when printing a page.

I wasn't able to get it to work on Vector 2022 on enwiki, only on classic Vector.

Wed, Feb 1, 15:06 · Upstream, MediaWiki (SRE), MediaWiki
Reception123 added a comment to T10374: Table of contents is no longer inserted when printing a page.

Then how come it apparently works on Wikipedia?

Wed, Feb 1, 14:56 · Upstream, MediaWiki (SRE), MediaWiki
Agent_Isai added a comment to T10374: Table of contents is no longer inserted when printing a page.

Looking further into this, it would appear this is intentional per https://phabricator.wikimedia.org/T306719. It would seem though that this only affects the Vector 2022 skin and not classic Vector. Try changing your skin to classic Vector via Special:Preferences -> Appearance -> Vector (2010).

Wed, Feb 1, 14:27 · Upstream, MediaWiki (SRE), MediaWiki
Reception123 closed T10374: Table of contents is no longer inserted when printing a page as Invalid.

I think it's very unlikely that this is something wrong with Miraheze since another wiki on 1.39.1 has the same issue, so therefore I've created a task upstream which can be followed here: https://phabricator.wikimedia.org/T328556. I

Wed, Feb 1, 13:56 · Upstream, MediaWiki (SRE), MediaWiki
Reception123 added a comment to T10374: Table of contents is no longer inserted when printing a page.

@Chuck.Beckett Regarding Wikipedia, WMF sites are already using the experimental 1.40-alpha version, so it could have been fixed there but not in 1.39.1

Wed, Feb 1, 13:47 · Upstream, MediaWiki (SRE), MediaWiki
Reception123 closed T10414: Database Error: Fatal exception "Wikimedia/Rdbms/DBQueryError" as Resolved.

Can't be reproduced, was likely a temporary error. Please feel free to reopen if it continues.

Wed, Feb 1, 13:46 · MediaWiki (SRE), MediaWiki
Reception123 closed T10415: SSL for custom domain: ajhalili2006.miraheze.org as Resolved.
Wed, Feb 1, 11:34 · MediaWiki (SRE), SSL
Ajhalili2006 created T10415: SSL for custom domain: ajhalili2006.miraheze.org.
Wed, Feb 1, 11:18 · MediaWiki (SRE), SSL
Reception123 updated the task description for T7582: Create automated system for managing SSL requests.
Wed, Feb 1, 09:31 · Goal-2023-Jan-Jun, SRE Automation, Goal-2021-Jul-Dec, SSL, MediaWiki (SRE)
Reception123 added a comment to T7582: Create automated system for managing SSL requests.

Just so we don't forget, the current idea would be to try using https://github.com/wikimedia/acme-chief and have an API backend for ManageWiki with the web app being MediaWiki.

Wed, Feb 1, 09:30 · Goal-2023-Jan-Jun, SRE Automation, Goal-2021-Jul-Dec, SSL, MediaWiki (SRE)
Reception123 triaged T10413: rename database from pokemon2wiki to pokemonwiki as Normal priority.
Wed, Feb 1, 08:58 · MediaWiki (SRE), Database, MediaWiki
Naleksuh added a comment to T10368: Add preference to use safemode across entire site (like ?safemode=1 but don't need it in the URL).

@Reception123 The use case for this in core is relatively low, because it only affects user farms like Miraheze and Fandom. While I would agree with this if the basis were to only have extensions be unofficial, given that many features are put into extensions and how many extensions Wikimedia runs, I see no reason for this to be in core, and is something more suited for the MirahezeMagic extension

Wed, Feb 1, 04:46 · MediaWiki, MediaWiki (SRE), Universal Omega
BrandonWM triaged T10414: Database Error: Fatal exception "Wikimedia/Rdbms/DBQueryError" as Normal priority.
Wed, Feb 1, 04:40 · MediaWiki (SRE), MediaWiki
Aramard added a comment to T10400: Pages missing after import.

Thanks for the insight.

Wed, Feb 1, 02:06 · MediaWiki (SRE), Universal Omega, MediaWiki