Page MenuHomeMiraheze

Import request for: islamwiki.miraheze.org
Closed, ResolvedPublic

Assigned To
Authored By
AhmadF.Cheema
Jun 12 2022, 12:29
Referenced Files
Unknown Object (File)
Jun 13 2022, 09:14
Unknown Object (File)
Jun 13 2022, 09:14
F1780188: images.tar
Jun 12 2022, 12:29
F1780165: islamWiki (XML Dump) [2022-06-09].xml
Jun 12 2022, 12:29

Description

Miraheze wiki URL:islamwiki.miraheze.org

Original wiki URL (where the content comes from): islamwiki.org
Which of the following is your import? (use 'X' in the empty box)

  1. Import from Wikipedia (or other similar site)
  2. Fork from other wiki (some users are staying at original wiki)
  3. Migration from other wiki (all or most users are moving to Miraheze)

XML dump:

The attached images.tar is the copy of the images directory in the Wiki base directory (with .htaccess file, thumbnails and all):

Event Timeline

Another thing, user on IRC: #miraheze, I think it was 'Agent', said that contributions by a particular user from the imported Wiki can be transferred to a particular username in the new wiki at Miraheze.

Kindly, make the transfer from 'WikiSysop' (original/imported wiki) to 'IslamWiki Manager' (new Miraheze wiki).

@AhmadF.Cheema Hi, could you please grant view permissions for the file?

@Reception123
View permissions for the attached/referenced files? Apologies, but I couldn't find an option for this.

In any case, I have also uploaded the files to Google Drive: https://drive.google.com/drive/folders/1h9M5Mmj4OCRiyfxvWa2N4mQLtACQ86zV

On a side note, CSS and JS files for phabricator.miraheze.org don't get loaded from my geographical location in Asia, I have to use a proxy to work around this. CSS files weren't loading when I first posted this task too, later it became fine, but today things are similarly buggy.

AhmadF.Cheema attached a referenced file: Unknown Object (File). (Show Details)Jun 13 2022, 09:15

@Reception123
View permissions for the attached/referenced files? Apologies, but I couldn't find an option for this.

In any case, I have also uploaded the files to Google Drive: https://drive.google.com/drive/folders/1h9M5Mmj4OCRiyfxvWa2N4mQLtACQ86zV

On a side note, CSS and JS files for phabricator.miraheze.org don't get loaded from my geographical location in Asia, I have to use a proxy to work around this. CSS files weren't loading when I first posted this task too, later it became fine, but today things are similarly buggy.

Apologies for the confusion. A recent Phabricator update seems to have caused issues with file permissions.

Your import is currently in progress. Please note that depending on the size it may take a while until it's completed.

I'm not sure whether this is something on our side, but while we've imported the XML for the images the script tells me: "No suitable files could be found for import."

I've checked the directory and there seem to be very few images, enough that could be imported manually. I'm going to set the status as resolved, but if there was a mistake and there's supposed to be more files, please let me know and feel free to reopen.

@Reception123 Thank you.👍

  1. There was another thing:

... contributions by a particular user from the imported Wiki can be transferred to a particular username in the new wiki at Miraheze.
Kindly, make the transfer from 'WikiSysop' (original/imported wiki) to 'IslamWiki Manager' (new Miraheze wiki).

I see the username WikiSysop having been newly created in the new Wiki (Special:ListUsers), I assume this was supposed to be Special:UserMerge into user IslamWiki Manager?

  1. Another question. Will I have to manually re-apply the protection to pages? I can see the action of pages being protected in their page histories, but they not being actually protected now.

Page protection will have to reapplied.

UserMerge is not available at Miraheze.

If this is just edits, we can reassign them using a script. We can't delete the actual account.

If having username WikiSysop doesn't go against any Miraheze usernames policy, I would like to keep it. However, I wasn't the one who created this account, it seems to have been created while this import task was being completed.

Is it possible to get the account password for WikiSysop?

And in case this username was automatically imported from meta, and the password is unavailable, then kindly reassign the edits from WikiSysop here to IslamWiki Manager.

Unfortunately, WikiSysop wouldn't be allowed per the Username Policy since Miraheze login is common across all wikis so that would be misleading for users.

Kindly, on islamwiki.miraheze.org reassign the edits from WikiSysop to IslamWiki Manager.

Unknown Object (User) moved this task from Backlog to Maintenance Script Run on the MediaWiki board.Jun 19 2022, 16:02
Unknown Object (User) moved this task from Backlog to Short Term on the MediaWiki (SRE) board.

Kindly, on islamwiki.miraheze.org reassign the edits from WikiSysop to IslamWiki Manager.

The script seems to not recognise the username. Could you please link to a page where edits have been made by 'WikiSysop'?

@Universal_Omega How come I'm getting this?

reception@mwtask111:~$ sudo -u www-data php /srv/mediawiki/w/extensions/MirahezeMagic/maintenance/assignImportedEdits.php --wiki=islamwikiwiki --import-prefix="islamwiki" --from="WikiSysop" --to="IslamWiki Manager"
Invalid 'from' user.
Unknown Object (User) added a comment.Jun 21 2022, 16:15

@Universal_Omega How come I'm getting this?

reception@mwtask111:~$ sudo -u www-data php /srv/mediawiki/w/extensions/MirahezeMagic/maintenance/assignImportedEdits.php --wiki=islamwikiwiki --import-prefix="islamwiki" --from="WikiSysop" --to="IslamWiki Manager"
Invalid 'from' user.

Because the user WikiSysop doesn't actually exist.

Unknown Object (User) added a comment.Jul 2 2022, 17:13

@Universal_Omega How come I'm getting this?

reception@mwtask111:~$ sudo -u www-data php /srv/mediawiki/w/extensions/MirahezeMagic/maintenance/assignImportedEdits.php --wiki=islamwikiwiki --import-prefix="islamwiki" --from="WikiSysop" --to="IslamWiki Manager"
Invalid 'from' user.

I just realised, this script should not be used for this. You are not assigning imported edits, you are reassigning edits. I think for that reassignEdits.php needs to be used.

Should hopefully be done:

Checking current edits...found 3192.
Checking deleted edits...found 0.
Checking recent changes...found 0.

Total entries to change: 3192

Reassigning current edits...done.

Even after a few weeks, the categories are not populating. For example, Template:Comparison bar, Template:Comparison points, etc. still not showing up in Category:IslamWiki original templates.

Maybe jobs are not resolving for some reason, and runJobs.php needs to be run manually?

Or will I need to do null edits for all these pages in categories?

fixed with rebuildall.php