Page MenuHomePhabricator

Make CirrusSearch updateOneSearchIndexConfig.php code reusable
Closed, ResolvedPublic


Flow needed bits of code in updateOneSearchIndexConfig.php, but can't extend from it because:

  • maintenance scripts have require_once RUN_MAINTENANCE_IF_MAIN;
  • private methods/properties that can't be extended
  • statics, mostly referencing Connection::* data, which is specific to core MW data
  • usage of $wgCirrus* globals (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged) (merged)

Event Timeline

matthiasmullie claimed this task.
matthiasmullie raised the priority of this task from to Medium.
matthiasmullie updated the task description. (Show Details)
matthiasmullie changed Security from none to None.
matthiasmullie added a subscriber: matthiasmullie.
EBernhardson closed this task as Resolved.EditedApr 6 2015, 9:14 PM
EBernhardson added a subscriber: EBernhardson.

All linked CirrusSearch patches have been merged