Page MenuHomePhabricator

Archive the Regex Fun extension
Open, Stalled, Needs TriagePublicRequest

Description

Reason

This is in the same boat as T275730 - abandoned for over a decade, uses a hook removed in 1.32 (and deprecated in 1.22), etc.

To-do list

  • This task
    • Add maintainers of that extension as subscribers to this task (if they have no apparent Phabricator account, notify them on-wiki or via email if possible and note it here).
    • Add Phabricator project <#ProjectX> as a tag for this task, and remove MediaWiki-extensions-Other/Other-skins as appropriate.
  • On-wiki documentation
    • Archive documentation on mediawiki.org (provide URL): replace page contents with {{Archived extension|last revision id before archiving|task=T######}} (for extensions)/{{Archived skin|last revision|task=T######}} (for skins); replace T###### with this task's number.
    • If documentation page was translatable, remove <translate>, visit Special:PageTranslation, and click "remove from translation" (if you don't have the translation administrator right, ask a user who does).
    • Update Wikidata item (provide URL) associated with documentation page
      • add statement Abandonware (Q281039) to instance of (P31) together with qualifier start time (P580) = the YYYY-MM-DD date that you decided to archive extension/skin (generally per edit history)
      • add qualifier end time (P582) = the YYYY-MM-DD (same date as above) to instance of (P31) = MediaWiki extension (Q6805426)/MediaWiki skin (Q21996535)
  • Phabricator
    • Mark all Phabricator tasks for the extension/skin either Declined or Invalid. Add a comment pointing to this task when doing so for reference.
    • Archive Phabricator project <#ProjectX> for the extension/skin.
    • Edit Phabricator project <#ProjectX> description for the extension/skin with a link to this ticket.
  • Translatewiki.net/translations
    • If the extension is deployed on Wikimedia sites, but it is known that it's not going to receive significant feature updates or deployed to new wikis, make sure that its project ids (usually "ext-extensionname") appear in the groups/MediaWiki/WikimediaLegacyAgg.yaml file in the translatewiki Gerrit repository and not in WikimediaMainAgg.yaml, WikimediaAdvancedAgg.yaml, etc. (If it also has an api group, it should remain in WikimediaTechnicalAgg.yaml).
    • If the extension is no longer deployed on Wikimedia sites, remove it from all Wikimedia*Agg.yaml. (If it was ever deployed, by this time, it's most likely in WikimediaLegacyAgg.yaml or WikimediaTechnicalAgg.yaml.)
    • If the extension is going to be completely archived and no longer developed, remove it completely from translatewiki.net by making sure that its project IDs don't appear in any of the following files:
  • Configuration/tests/integrations/etc.
  • Repositories
    • Empty repository, leaving only the README indicating the repo is archived, and referring to this task by URL.
    • Remove from mediawiki/extensions / mediawiki/skins (along with in .gitmodules).
    • Mark the repository read-only in Gerrit (also edit description to prepend "[ARCHIVED]" and a reference to this task, remove all access lists and reparent on All-Archived-Project): (provide Gerrit Repository URL).
    • Deactivate the Diffusion repository for the extension/skin: (provide the Diffusion repository callsign or URL).
    • Delete the GitHub mirror: (provide GitHub repository URL).

Event Timeline

Pppery renamed this task from Archive the RegexFun extension to Archive the Regex Fun extension.Sep 5 2024, 2:36 AM
Pppery moved this task from Untriaged to Archive extensions on the Projects-Cleanup board.
Pppery moved this task from Backlog to Projects to remove on the translatewiki.net board.
Pppery moved this task from Backlog to delete on the Wikimedia-GitHub board.

Hey, that is really unfortunate. I'm still using this extension in MW 1.39, using a version that I must have patched up to make it compatible again. It is frequently used in conjunction with the regex functionality of the Arrays extension.

Maybe I'll incorporate it into another extension, but would the current code still be available somewhere?

Our process of archiving an extension does not delete the code entirely. It remains available in the git history of the Gerrit repository.

I for one would welcome you submitting your custom patches to the extension on Gerrit, and obviating the need to do this.

Pppery changed the task status from Open to Stalled.Sep 5 2024, 3:16 PM

Thanks, I remember doing a quick rewrite because it was just a distraction at the time of trying to upgrade to MW 1.39. So what I have now may not survive closer scrutiny but I will have a proper look this time round.