Foreword
After the resetting of hkrailwiki (hkrail.miraheze.org) described in T10173 is completed, multiple issues arouse leading to the wiki being in a nonfunctional state. Originally plans were made to simply fix page content models with automated scripts and pruning all respective logs, but fixing the issue through direct editing in the database or through the API are both deemed impractical, the former due to hashed values and the latter due to the inability to fix the content models marked with the older revisions.
To resolve this, @Universal_Omega agreed that another reset would be a possible solution to the issue, yet they are now unavailable for further support on this issue. Per @Reception123's request, this subtask is created detailing the full proposed steps to the new reset task.
Task details and procedures
- Backup the images from the database for later rebuilding
- Delete the hkrailwiki database
- Recreate the hkrailwiki wiki & database
- IMPORTANT: Make sure that the following extensions that have something to do with page properties are installed before any further steps:
- DisplayTitle
- TemplateStyles
- TemplateStylesExtender
- Translate (pre-requisite: UniversalLanguageSelector)
- JsonConfig
- Rebuild wiki contents
- Import this dump:
- If any other value mapping error arises, make copy of existing map before remapping any values.
- Rebuild images from image backup
- Import this dump:
- (Attempt to) clear page view cache
- Other dumps to do after everything else is checked to be alright: