Hi,
In the Bangalore DevCamp I worked with Aditya Ravi Shankar on resolving Bug 35038 - Make MathJax menus translatable. It was mostly a success, but where should we commit the changes? Somewhat surprisingly, most of the changes will be needed in the MediaWiki extension code and not in the upstream library's repo. But apparently, the MathJax extension is not in Gerrit - its files must be downloaded from an obscure external site.
Is there any reason not to setup a Gerrit extension for it?
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
On Tue, Nov 13, 2012 at 6:03 AM, Amir E. Aharoni amir.aharoni@mail.huji.ac.il wrote:
Somewhat surprisingly, most of the changes will be needed in the MediaWiki extension code and not in the upstream library's repo. But apparently, the MathJax extension is not in Gerrit - its files must be downloaded from an obscure external site.
I'm not entirely sure I understand. If it's customization for the extension, shouldn't it go in the Math[0] extension? If it's actual changes to MathJax, it should be contributed upstream (which isn't a random site really, it's on Github[1]).
-Chad
[0] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/Math.git [1] https://github.com/mathjax/MathJax
2012/11/13 Chad innocentkiller@gmail.com:
On Tue, Nov 13, 2012 at 6:03 AM, Amir E. Aharoni amir.aharoni@mail.huji.ac.il wrote:
Somewhat surprisingly, most of the changes will be needed in the MediaWiki extension code and not in the upstream library's repo. But apparently, the MathJax extension is not in Gerrit - its files must be downloaded from an obscure external site.
I'm not entirely sure I understand. If it's customization for the extension, shouldn't it go in the Math[0] extension?
Maybe, although I'm not completely sure what is the dependency between the Math MW extension and the MathJax MW extension. If I understand correctly, Math must be installed for the MathJax preference to work, but I don't know what other dependencies are there.
If it's actual changes to MathJax, it should be contributed upstream (which isn't a random site really, it's on Github[1]).
GitHub hosts the JavaScript code for core MathJax JS library.
I am referring to the PHP code of the MW extension at http://people.cs.kuleuven.be/~dirk.nuyens/Extension_MathJax/
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
On 13 November 2012 15:47, Chad innocentkiller@gmail.com wrote:
I'm not entirely sure I understand. If it's customization for the extension, shouldn't it go in the Math[0] extension?
Note that the Math extension and the MathJax extension are two completely (?) unrelated MediaWiki extensions. See https://www.mediawiki.org/wiki/Extension:MathJax
-- [[cs:User:Mormegil | Petr Kadlec]]
On Tue, Nov 13, 2012 at 7:00 AM, Petr Kadlec petr.kadlec@gmail.com wrote:
On 13 November 2012 15:47, Chad innocentkiller@gmail.com wrote:
I'm not entirely sure I understand. If it's customization for the extension, shouldn't it go in the Math[0] extension?
Note that the Math extension and the MathJax extension are two completely (?) unrelated MediaWiki extensions. See https://www.mediawiki.org/wiki/Extension:MathJax
Indeed. We are not using [[Extension:MathJax]] at all. We use MathJax within [[Extension:Math]]. There is no relation between the two.
-Chad
2012/11/13 Chad innocentkiller@gmail.com:
On Tue, Nov 13, 2012 at 7:00 AM, Petr Kadlec petr.kadlec@gmail.com wrote:
On 13 November 2012 15:47, Chad innocentkiller@gmail.com wrote:
I'm not entirely sure I understand. If it's customization for the extension, shouldn't it go in the Math[0] extension?
Note that the Math extension and the MathJax extension are two completely (?) unrelated MediaWiki extensions. See https://www.mediawiki.org/wiki/Extension:MathJax
Indeed. We are not using [[Extension:MathJax]] at all. We use MathJax within [[Extension:Math]]. There is no relation between the two.
That's the weird part - they are related, even though they are not related.
The rendering engines are completely unrelated - E:Math has its own and E:MathJax loads the MathJax JS library from a CDN. The MW preferences seem to be related somehow - you need E:Math installed for the MathJax preference to work. But E:MathJax is not a part of the E:Math Gerrit repo.
And I am trying to understand how to clear this up.
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
On Tue, Nov 13, 2012 at 7:07 AM, Amir E. Aharoni amir.aharoni@mail.huji.ac.il wrote:
That's the weird part - they are related, even though they are not related.
The rendering engines are completely unrelated - E:Math has its own and E:MathJax loads the MathJax JS library from a CDN. The MW preferences seem to be related somehow - you need E:Math installed for the MathJax preference to work. But E:MathJax is not a part of the E:Math Gerrit repo.
And I am trying to understand how to clear this up.
Easiest way to clear it up is pretend that [[Extension:MathJax]] doesn't even exist. We don't use it, and they're unrelated.
-Chad
wikitech-l@lists.wikimedia.org