Page MenuHomePhabricator

WikimediaMaintenance: remove dependency on pre-MCR database schema
Closed, ResolvedPublic

Description

The extension should not rely on pre-MCR fields in the revision table, and should not assume that the text table is used. Specifically:

  • remove all references to rev_text_id or ar_text_id.
  • remove usages of Revision::getRevisionText()
  • remove reliance on the 'text' flag to Revision::getQueryInfo()

See the parent task(s) for more details.

Care should be taken to maintain backwards compatibility with older versions of MediaWiki, as declared in extension.json.

Event Timeline

daniel created this task.Thu, Sep 19, 7:50 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptThu, Sep 19, 7:50 PM
Pchelolo claimed this task.Thu, Sep 19, 9:20 PM

Change 538113 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/extensions/WikimediaMaintenance@master] Remove obsolete scripts that use rev_text_id.

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

Change 538113 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMaintenance@master] Remove obsolete scripts that use rev_text_id.

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

daniel closed this task as Resolved.Mon, Sep 23, 4:07 PM