Page MenuHomeMiraheze

Special:RequestWikiQueue (partially) broken
Closed, ResolvedPublic

Description

After the latest update of Extension:CreateWiki, I found out that there are several problems to be fixed on Special:RequestWikiQueue page.

  1. I cannot approve wiki requests when a custom domain is set. - Although I could decline a wiki request or approve wikis without custom domains, I could not approve a wiki request with a custom domain provided (ex. this request); the button is clickable, but the status unchanged.
  2. I can no longer leave comments (from the "request comment" tab) - When I tried to leave a custom (and detailed) comment for my judgement from "request comments" tab, it just failed with an internal error
[eea8fb0da86c1a3041a75b75] 2019-05-19 05:41:15: Fatal exception of type "Wikimedia\Rdbms\DBUnexpectedError"

returned.

Since wiki creation is one of our core functions, it should be fixed as soon as possible, and thus I will mark it as high priority. Thanks in advance.

Event Timeline

The_Pioneer created this task.
John claimed this task.
John subscribed.

2 is an error that is fixed.

1 isn't an error and there is nothing special. The wiki already exists - I have fixed an issue where the error message wasn't displayed.

The_Pioneer reopened this task as Open.EditedMay 20 2019, 02:27

Thanks for your fix, which I have confirmed that it works. However, the thing is, the wiki does NOT exist, with the non-customized URL resulting in error 404 and custom domain resulting in DNS_PROBE_FINISHED_NXDOMAIN.

There's still something wrong - either with the wikicreation function, or the request itself.

> $wm = new WikiManager( 'rainfallwiki' );
> var_dump( $wm->checkDatabaseName( 'rainfallwiki' ) );
string(46) "A wiki with that database name already exists."
> SHOW DATABASES LIKE 'rainfallwiki';
stdClass Object
(
    [Database (rainfallwiki)] => rainfallwiki
)

Code works fine.

This comment was removed by The_Pioneer.