Page MenuHomeMiraheze

Special:RandomWiki returns closed wikis
Open, LowPublic

Description

This is less than awesome to return wikis that don't exist. I was sent a link to both sibiryakswiki and wakandawiki which are both gone, @PixDeVl who reported to me also saw a few.

It seems similar to T7444 so I can probably manage to do this one myself to get the easy PR.

Event Timeline

labster triaged this task as Normal priority.Jan 15 2024, 04:26
labster created this task.
Reception123 lowered the priority of this task from Normal to Low.Jan 15 2024, 07:12

Pull request in https://github.com/miraheze/WikiDiscover/pull/107

This new version should be a little bit faster as well. The main problem being that CreateWiki is a bit hard to install so this isn't tested yet, just linted.

This is mostly fixed, the only thing is that it "inactive" mode redirects to an empty subdomain when there are no inactive wikis... which we is currently true due to unrelated issues with the wiki deletion script.

I can either redirect to meta, or just hide "inactive" in this case.

I'm not working on this now, but in WikiDiscoverWikisPager::getQueryInfo() I just noticed joins_conds and I'm sure that's a typo for join_conds. Since it's an empty array it has zero effect on the code but could introduce a bug later. Reminder to fix.