Last modified: 2014-10-15 20:11:44 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 T74076, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72076 - Create maintenance script to remove a specified change tag from all revisions
Create maintenance script to remove a specified change tag from all revisions
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-15 09:40 UTC by Michael M.
Modified: 2014-10-15 20:11 UTC (History)
2 users (show)

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


Attachments

Description Michael M. 2014-10-15 09:40:35 UTC
Background: There are many users who complain about the "HHVM" tag, that is used to tag edits by users using HHVM, as it adds much noise to histories etc. Once HHVM is stable, these tags are actually no longer useful, as they are meant to assist debugging. Therefore it would be nice if they could be removed at some time. There may be other reasons why an owner of a wiki wants to remove a specific tag from all revisions. For this a maintenance script should be created that accepts a tag as input and removes every row from the change_tag table that sets this tag for a revision.
Comment 1 Alex Monk 2014-10-15 10:34:42 UTC
Why can't you just run "delete * from change_tag where ct_tag = 'HHVM';"?
Comment 2 Alex Monk 2014-10-15 10:38:32 UTC
(but without the *)
Comment 3 Kunal Mehta (Legoktm) 2014-10-15 20:11:44 UTC
I think the query + runBatchedQuery.php will work.

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


Navigation
Links