Last modified: 2014-07-10 11:09:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66298, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64298 - Resolve namespace conflicts on Beta Wikiversity
Resolve namespace conflicts on Beta Wikiversity
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Sam Reed (reedy)
: shell
Depends on: 64080
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-23 15:41 UTC by TeleComNasSprVen
Modified: 2014-07-10 11:09 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description TeleComNasSprVen 2014-04-23 15:41:15 UTC
As a result of bug 64080, many titles previously on Beta Wikiversity became inaccessible due to the namespace changes. For example:

https://beta.wikiversity.org/wiki/Kategorija:Skai%C4%8Diavimo_sistemos is in
https://beta.wikiversity.org/wiki/Category:Candidates_for_speedy_deletion; however, it also currently redirects to
https://beta.wikiversity.org/wiki/Category:Skai%C4%8Diavimo_sistemos

I suggest we run namespaceDupesWT.php and cleanupTitles.php
Comment 1 This, that and the other (TTO) 2014-04-24 01:09:12 UTC
Assigning Reedy to run these maintenance scripts.
Comment 2 Vogone 2014-04-24 07:16:16 UTC
I don't believe this is a high priority bug as only 4 pages (https://beta.wikiversity.org/w/index.php?title=Special%3APrefixIndex&prefix=Kategorija&namespace=0) are affected and all were useless and unused (categories don't work outside the category namespace), anyway. Obviously, it would be nice to fix the display issues soon but this is nothing which requires an immediate action.
Comment 3 TeleComNasSprVen 2014-04-24 08:18:44 UTC
(In reply to Vogone from comment #2)
> I don't believe this is a high priority bug as only 4 pages
> (https://beta.wikiversity.org/w/index.
> php?title=Special%3APrefixIndex&prefix=Kategorija&namespace=0) are affected
> and all were useless and unused (categories don't work outside the category
> namespace), anyway. Obviously, it would be nice to fix the display issues
> soon but this is nothing which requires an immediate action.

I agree that it may not warrant "immediate" action, but generally the "major" severity is indicated for "Major loss of function in an important area." While the data loss might be minimal, I think there is nonetheless data loss that is the result of these pages becoming inaccessible locally. The "priority" change on the other hand is fine.
Comment 4 Sam Reed (reedy) 2014-05-09 18:40:39 UTC
reedy@tin:~$ mwscript namespaceDupes.php betawikiversity --fix
... 20583 (0,"Šablonas:Mediawiki-pagalba") -> (10,"Mediawiki-pagalba") [[Template:Mediawiki-pagalba]]
...  *** cannot resolve automatically; page exists with ID 20687 ***
... 20390 (0,"Pagalba:Licencijos") -> (12,"Licencijos") [[Help:Licencijos]]
... resolving on page... ok.
... 25625 (0,"Kategorija:Contributors_LT") -> (14,"Contributors_LT") [[Category:Contributors LT]]
...  *** cannot resolve automatically; page exists with ID 25628 ***
... 25624 (0,"Kategorija:Kusurija") -> (14,"Kusurija") [[Category:Kusurija]]
...  *** cannot resolve automatically; page exists with ID 25627 ***
... 25622 (0,"Kategorija:Matematika") -> (14,"Matematika") [[Category:Matematika]]
...  *** cannot resolve automatically; page exists with ID 26625 ***
... 25623 (0,"Kategorija:Skaičiavimo_sistemos") -> (14,"Skaičiavimo_sistemos") [[Category:Skaičiavimo sistemos]]
...  *** cannot resolve automatically; page exists with ID 25626 ***

Oh noeees
Comment 5 Vogone 2014-05-09 19:43:27 UTC
(In reply to Sam Reed (reedy) from comment #4)
> reedy@tin:~$ mwscript namespaceDupes.php betawikiversity --fix
> ... 20583 (0,"Šablonas:Mediawiki-pagalba") -> (10,"Mediawiki-pagalba")
> [[Template:Mediawiki-pagalba]]
> ...  *** cannot resolve automatically; page exists with ID 20687 ***
> ... 20390 (0,"Pagalba:Licencijos") -> (12,"Licencijos") [[Help:Licencijos]]
> ... resolving on page... ok.
> ... 25625 (0,"Kategorija:Contributors_LT") -> (14,"Contributors_LT")
> [[Category:Contributors LT]]
> ...  *** cannot resolve automatically; page exists with ID 25628 ***
> ... 25624 (0,"Kategorija:Kusurija") -> (14,"Kusurija") [[Category:Kusurija]]
> ...  *** cannot resolve automatically; page exists with ID 25627 ***
> ... 25622 (0,"Kategorija:Matematika") -> (14,"Matematika")
> [[Category:Matematika]]
> ...  *** cannot resolve automatically; page exists with ID 26625 ***
> ... 25623 (0,"Kategorija:Skaičiavimo_sistemos") ->
> (14,"Skaičiavimo_sistemos") [[Category:Skaičiavimo sistemos]]
> ...  *** cannot resolve automatically; page exists with ID 25626 ***
> 
> Oh noeees

Couldn't you try to add it together with the namespace prefixes? So that "Kategorija:Skaičiavimo_sistemos" for example becomes "Category:Kategorija:Skaičiavimo_sistemos". These pages are to be deleted anyway so that the title does not seem that relevant to me. Thank you.
Comment 6 This, that and the other (TTO) 2014-05-10 00:55:34 UTC
Reedy: I think it would be best just to delete the 5 duplicate pages manually from the database. None of them have any meaningful history that isn't already present in other pages.
Comment 7 Vogone 2014-05-21 12:38:15 UTC
Any progress? I'd be fine with either solution (renaming the pages the way I suggested and then deleting them the proper way onwiki or deleting them directly from the DB).
Comment 8 Sam Reed (reedy) 2014-07-09 20:01:33 UTC
Just moved them to pages suffixed with DELETEME. I'll let you confirm and delete them locally on the wiki


reedy@tin:/a/common/php-1.24wmf12$ mwscript namespaceDupes.php betawikiversity --fix --suffix=DELETEME
... 20583 (0,"Šablonas:Mediawiki-pagalba") -> (10,"Mediawiki-pagalba") [[Template:Mediawiki-pagalba]]
...  *** cannot resolve automatically; page exists with ID 20687 ***
...  *** old title Mediawiki-pagalba
...  *** new title Mediawiki-pagalbaDELETEME
...  *** using suffixed form [[Template:Mediawiki-pagalbaDELETEME]] ***
... resolving on page... ok.
... 25625 (0,"Kategorija:Contributors_LT") -> (14,"Contributors_LT") [[Category:Contributors LT]]
...  *** cannot resolve automatically; page exists with ID 27241 ***
...  *** old title Contributors_LT
...  *** new title Contributors_LTDELETEME
...  *** using suffixed form [[Category:Contributors LTDELETEME]] ***
... resolving on page... ok.
... 25624 (0,"Kategorija:Kusurija") -> (14,"Kusurija") [[Category:Kusurija]]
...  *** cannot resolve automatically; page exists with ID 27242 ***
...  *** old title Kusurija
...  *** new title KusurijaDELETEME
...  *** using suffixed form [[Category:KusurijaDELETEME]] ***
... resolving on page... ok.
... 25622 (0,"Kategorija:Matematika") -> (14,"Matematika") [[Category:Matematika]]
...  *** cannot resolve automatically; page exists with ID 27243 ***
...  *** old title Matematika
...  *** new title MatematikaDELETEME
...  *** using suffixed form [[Category:MatematikaDELETEME]] ***
... resolving on page... ok.
... 25623 (0,"Kategorija:Skaičiavimo_sistemos") -> (14,"Skaičiavimo_sistemos") [[Category:Skaičiavimo sistemos]]
...  *** cannot resolve automatically; page exists with ID 27244 ***
...  *** old title Skaičiavimo_sistemos
...  *** new title Skaičiavimo_sistemosDELETEME
...  *** using suffixed form [[Category:Skaičiavimo sistemosDELETEME]] ***
... resolving on page... ok.

Oh noeees
reedy@tin:/a/common/php-1.24wmf12$ mwscript namespaceDupes.php betawikiversity --fix --suffix=DELETEME

Looks good!
Comment 9 Vogone 2014-07-10 11:09:25 UTC
(In reply to Sam Reed (reedy) from comment #8)
> Just moved them to pages suffixed with DELETEME. I'll let you confirm and
> delete them locally on the wiki

Thanks! All conflicts are resolved and the suffixed pages deleted locally.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links