Hey everyone,
Since we deleted "keta" namespace (T298430: hewikisource - remove "קטע" namespace) we have small issue.
There are redirects from the transfer of pages between namespaces that already appear on the site. They are still on Special:DoubleRedirects.
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | None | T95277 Erroneous Category:Category:Pages_with_script_errors | |||
| Resolved | Steinsplitter | T111594 Commons file stuck in category | |||
| Resolved | None | T87645 Existing pages without ability to reach and obviously wrong namespace | |||
| Duplicate | None | T109238 Clean up broken namespace pages across Wikimedia sites | |||
| Resolved | BUG REPORT | • matmarex | T314733 Cleanup leftover pages in deleted namespaces on hewikisource |
Event Timeline
Removing All-and-every-Wikisource as this is not about all and every Wikisource but, only one single Wikisource (per its description)
The following data is cached, and was last updated 06:32, 5 August 2022. A maximum of 5,000 results are available in the cache.
Change 838246 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/core@master] fixDoubleRedirects.php: Work only with proper titles
Thats now linked with T314735
After the remove of a namespace the maintenance script namespaceDupes.php has to be used, maybe fixDoubleRedirects.php after that.
The cache is regenerated, the page shows "last updated 10:00, 4 January 2023". The "cache" just show the underlying issue in the database. The real issue needs to resolved.
Hello!
The request has been pending for several months without treatment. Is there anything to do?
Using cleanupTitles.php could be an option here and the page gets named like Broken/Special:Badtitle/NS100:Test in the main namespace. That would makes the page accessible and could be deleted.
Or deletion by pageid is used, when the redirects are no longer needed.
Thanks to @Pppery we can run cleanupTitles.php now.
@yisrael12 @neriah Would it be okay to do that some time next week, or could you suggest another time we should do it? Note that this will make those pages accessible under weird titles, where you'll probably have to delete all 42,960 of them somehow.
Sounds great. It's straightforward to run a bot for mass deletion of pages from the site, and I've done it before. Will all the pages start with the prefix broken?
We can do it even tomorrow.
I was going to use T314733 as the prefix, to make it possible to find this task in the future (since the script does not create any log entries). We can use any prefix you want though, if something else would be more convenient.
I will schedule the script run for tomorrow (Tuesday) afternoon (https://wikitech.wikimedia.org/wiki/Deployments#deploycal-item-20240813T1300).
Mentioned in SAL (#wikimedia-operations) [2024-08-13T13:01:46Z] <Lucas_WMDE> START lucaswerkmeister-wmde@mwmaint1002:~$ mwscript maintenance/cleanupTitles.php --wiki=hewikisource --prefix=T314733 2>&1 | tee ~/T314733.log
Mentioned in SAL (#wikimedia-operations) [2024-08-13T13:04:58Z] <Lucas_WMDE> FINISHED lucaswerkmeister-wmde@mwmaint1002:~$ mwscript maintenance/cleanupTitles.php --wiki=hewikisource --prefix=T314733 2>&1 | tee ~/T314733.log
The most important line of the output is probably the last:
Finished page... 42960 of 1691674 rows updated
I.e. we ended up with the expected number of changes \o/
(The second-to-last line is funny, in that it reports “101.64% done” 😆)
The pages can be also listed on-wiki using Special:PrefixIndex: https://he.wikisource.org/wiki/מיוחד:דפים_המתחילים_ב/T314733/
There are only a few non-redirect pages, which you might want to review manually and move/merge instead of mass-deleting them: https://he.wikisource.org/wiki/מיוחד:דפים_המתחילים_ב?prefix=T314733%2F&namespace=0&hideredirects=1
