HomePhabricator

LQT maintenance refactoring

Description

LQT maintenance refactoring

  • Separate convertLqtPage.php into convertLqtPageOnLocalWiki.php (testing and production) and convertLqtPageFromRemoteApiForTesting.php (testing only). Although there are similarities, they have fundamentally different purposes and behavior. This also allows being strict with required parameters, to make them easier to run.
  • Fixed a bug with flow-importer-lqt-suppressed-user-template being defined wrong (the message is the template name, not the text).
  • Use master for both reads and writes
  • Warn and skip if the user puts an invalid page title in Converter (before it would fail at the move stage, which is unintuitive).
  • Fixed a bug with MovedImportPost
  • Remove unnecessary options, and just use the right behavior.
  • Fix a typo that would break notifications on convertLqt

Bug: T92303
Bug: T95380
Change-Id: Idb4c95d189c6de3df3a0c5103a619c7844296b20
(cherry picked from commit 0dc8729b74151e0a6df195feffc4017cfa541897)

Details

Committed
EBernhardsonApr 20 2015, 8:13 PM
Parents
rEFLW1d69b5e76967: Creating new wmf/1.26wmf2 branch
Branches
Unknown
Tags
Unknown
References
refs/changes/69/205369/1
ChangeId
Idb4c95d189c6de3df3a0c5103a619c7844296b20