Opened 12 years ago

Last modified 12 years ago

#277 new task

Upgrade story for MediaWiki 1.18 (math removal)

Reported by: ezyang Owned by:
Priority: normal Milestone:
Component: autoinstallers Keywords:


In MediaWiki? 1.18, the math plugin stopped being shipped by default. As Wizard installers are currently setup, this means all of the relevant files will be removed, and MediaWikis? which have math setup will stop working, as the relevant files will have been removed.

This is further exacerbated by the fact that configuration in LocalSettings?.php needs to be changed, which will likely cause large amounts of conflicts.

Here is one possible way forward:

  • Distribute the math plugin by default, along with all other plugins. This is slightly complicated by the fact that the only distribution mechanism for this plugin is "grab a snapshot out of Subversion". We need some policy here; either we would like to pin math releases to the version of math which was present in the repository at that point, or we should just take the latest version compatible with this version of MediaWiki? when we do the release.
  • Create a compatibility shim patch which checks $wgUseTeX, and loads the extension if it is set to true. It would be run shortly after LocalSettings.php is loaded.

Since the default LocalSettings.php now has $wgUseTeX removed, it might also be reasonable to check for its removal (this will cause a conflict if the user enabled math) and replace it with the appropriate new configuration. This means we don't need to maintain a compatibility shim patch.

Change History (1)

comment:1 Changed 12 years ago by ezyang

The math extension has since moved to Git, so if we do pin versions based on Scripts, we can just use a straight up submodule.

Note: See TracTickets for help on using tickets.