Page MenuHomePhabricator

Archive mediawiki/extensions/Wikidata (Wikidata build)
Closed, ResolvedPublic

Description

Reason
No longer used extension. I have archived the page from MediaWiki.org.

To-Do list

  • Archive documentation on mediawiki.org (provide the URL to the extension/skin here)
  • Remove from mediawiki/extensions/mediawiki/skins (along with in .gitmodules).
  • Remove tests in integration/config (zuul/layout.yaml ).
  • Remove from translatewiki (groups/MediaWiki/mediawiki-extensions.txt/groups/MediaWiki/mediawiki-skins.txt).
  • Remove manifest/other references from mediawiki/vagrant if they exist.
  • Empty repository and add an ARCHIVED file.
  • Archive Phabricator project <#ProjectX> for associated extension/skin. (doesn't exist)
  • Edit Phabricator project <#ProjectX> description for associated extension/skin with a link to this ticket. (doesn't exist)
  • Archive the extension's diffusion repository: https://phabricator.wikimedia.org/diffusion/WDBR/.
  • Mark the repository read-only in Gerrit: already done, but repository is not empty. See here.
  • Delete the GitHub mirror: (provide GitHub repository URL).

Event Timeline

Bugreporter renamed this task from Empty extension/Wikidata (Wikidata build) to Empty mediawiki/extensions/Wikidata (Wikidata build).Jul 19 2018, 2:06 PM

Please see the checklist template at https://phabricator.wikimedia.org/tag/cleanup/ and use it for the task description. Thanks!

Liuxinyu970226 renamed this task from Empty mediawiki/extensions/Wikidata (Wikidata build) to Archive mediawiki/extensions/Wikidata (Wikidata build).Jul 20 2018, 11:38 PM
Liuxinyu970226 updated the task description. (Show Details)
Liuxinyu970226 added a project: Wikidata.

For doing sixth task, I need project unlocked. Can anyone from Diffusion-Repository-Administrators to unlock project so I can make this task as done?

What is the benefit to emptying the repository? It seems to me that archiving it would be enough, no need to obscure it from history.

What is the benefit to emptying the repository? It seems to me that archiving it would be enough, no need to obscure it from history.

Ok, thank you for reply @mmodell. Can I mark Empty repository and add an ARCHIVED file. as done?

Because I saw other things are already done, I closing task as resolved.

Kizule updated the task description. (Show Details)
Kizule moved this task from Working on to Done on the User-Kizule board.

What is the benefit to emptying the repository? [..] no need to obscure it from history.

In the context of Projects-Cleanup, "emptying the repo" means adding a new commit to the master branch that removes all files except the README or "ARCHIVED" file, which we replace with a note. The commit history and previous branches/trees remain unaffected, and once this new commit is merged, the Gerrit repo is set to "Read Only".

This has the benefit of not continuing to yield search results for old code, and a few other accumulated minor reasons. It's part of the checklist and we've done this for for every extension we archived over the last 5 years (I estimate about 70 extensions, including VectorBeta, Reflect, VisualChat - to name a few).

I don't think these are particularly strong reasons, but, given we've consistently done it, I think it would be appropriate to ask why extensions/Wikidata should be handled differently? Do its prior maintainers have a particular need for that?

Legoktm subscribed.

What is the benefit to emptying the repository? It seems to me that archiving it would be enough, no need to obscure it from history.

The most important reason to empty the repository is so that it is extremely obvious to people who have the repo checked out that it has been archived and no longer supported/should be used. Of course, if people *really* want to use the repo, they can checkout the prior commit or use a branch. But for most people, the immediate breakage through file removal is necessary to get their attention.

There are also the (less important IMO) benefits to developers, like hiding from code search, etc.

So re-opening, since this repository needs to get emptied out.

Kizule removed Kizule as the assignee of this task.Jan 3 2019, 2:47 PM
Kizule removed a project: User-Kizule.
Kizule subscribed.

My apologies, my confusion came from miss-interpretation of "Empty repository," in my mind that included deleting the history in git, which seemed a quite extreme.

Change 587577 had a related patch set uploaded (by 20after4; owner: 20after4):
[mediawiki/extensions/Wikidata@master] Archive the extension

https://gerrit.wikimedia.org/r/587577

Change 587577 merged by 20after4:
[mediawiki/extensions/Wikidata@master] Archive the extension

https://gerrit.wikimedia.org/r/587577

mmodell claimed this task.
mmodell updated the task description. (Show Details)