Page MenuHomePhabricator

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


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.Sep 19 2019, 7:53 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 19 2019, 7:53 PM

Change 538264 had a related patch set uploaded (by Clarakosi; owner: Clarakosi):
[mediawiki/extensions/ReplaceText@master] Remove reference to rev_text_id

Change 538264 merged by jenkins-bot:
[mediawiki/extensions/ReplaceText@master] Remove reference to rev_text_id

Clarakosi closed this task as Resolved.Sep 23 2019, 3:05 PM