Fix Math Extension
Closed, ResolvedPublic

Description

This would be making the Math Extension not a fork (ie. submodule points to the wikimedia repo), and likely using mathoid.

Also, fixing the PNG rendering, which as of right now breaks everything (even on wikitolearn.org).

russellg created this task.Jan 10 2016, 7:50 PM
russellg updated the task description. (Show Details)
russellg raised the priority of this task from to Needs Triage.
russellg claimed this task.
russellg added a project: WikiToLearn.
russellg moved this task to Mediawiki development on the WikiToLearn board.
russellg triaged this task as High priority.
russellg added a subscriber: russellg.
russellg lowered the priority of this task from High to Normal.Jan 10 2016, 7:52 PM

Alright I fixed this locally, waiting to push just to get suggestions on style etc.

So the process I went to get this was:

  1. Swung the math extension to use mediawiki's version instead of the w2l fork
  2. Added a new extension folder called Dmath and a Dmath.php inside it
  3. In this Dmath.php it accepted the dmath tag, and basically forwarded it to the Math extension, and added block formatting. It was basically a code copy and paste from here.

Questions:

  1. What would the proper capitalization for Dmath be?
  2. Is a new extension folder the correct place to put this?
  1. I think that DMath it's better.
  2. I think that we have to create a dedicated repo for the new extension and include it in WikiToLearn mediawiki extension as a submodule.

Alright, I have an update. I updated the extension to have the more modern interface for extensions, instead of the singular php file.

It now has a description, a license, and author information in the extension.

Perfect! Push it on develop

Alright! This has been fixed as of https://git.io/vzCyF Closing

russellg closed this task as Resolved.Jan 17 2016, 12:37 AM