Hi, finally the change got merged. Now help is needed for the initial deployment to betacluster. See: https://bugzilla.wikimedia.org/show_bug.cgi?id=69298 The goal is to check out files from https://gerrit.wikimedia.org/r/mediawiki/services/mathoid to the /srv/deployment/mathoid/mathoid On the mathoid server.
Best Physikerwelt On Tue, Jul 29, 2014 at 11:59 AM, Moritz Schubotz <[email protected]> wrote: > Hi all, > > I have developed the Mathoid deployment puppet script with great > support of Mwalker and Bryan Davis as far as I could get. > https://gerrit.wikimedia.org/r/#/c/148836/ aims to deploy mathoid on > beta in a first step. > Is there anything I can do to speed up the process beside waiting for > code review? > > Best > Physikerwelt > > On Fri, Jul 25, 2014 at 12:53 PM, Moritz Schubotz > <[email protected]> wrote: >> Hi Bryan, >> >> On Thu, Jul 24, 2014 at 1:06 PM, Bryan Davis <[email protected]> wrote: >>> On Thu, Jul 24, 2014 at 7:00 AM, Moritz Schubotz <[email protected]> >>> wrote: >>>> Hi Bryan, >>>> >>>> thank you very much for your contribution to the Math extension and >>>> the associated vagrant role. >>> >>> :) You're welcome. Thanks for being dedicated enough to this problem >>> to work on it as a volunteer. >>> >>>> I have tried to write a patch for operations/puppet >>>> https://gerrit.wikimedia.org/r/#/c/148836/ >>>> but that's far away from finished. >>>> A lot of configuration and server assignment has to be done. >>> >>> It looks like your patch is getting some feedback this morning. \o/ >>> >>>> I searched for the string parsoid in the config files and found a lot >>>> of entries, that seem to specify how parsoid is deployed to individual >>>> servers. >>>> It thought it makes little sense to copy that. >>> >>> I'm not sure what sort of config Mathoid needs. In general, cluster >>> config uses feature flags like $wmgUseParsoid that are set in >>> InitialiseSettings.php. Then the feature flags are used in >>> CommonSettings.php to guard setting "LocalSettings.php" config values >>> for wikis where the feature flag is enabled. Both prod and beta use >>> the settings from this file. CommonSettings-labs.php can be used to >>> change settings from the defaults used in production to match beta >>> specific needs. >>> >> There are two components. The mathoid server, that does not need any >> settings at the moment, and the Math extension that has some settings. >> In my comment above I was not talking of the PHP settings for mathoid, >> but for settings the define on which production instances parsoid is >> installed, >> and how monitoring is done etc. >>>> I had the impression that prior to this change >>>> http://git.wikimedia.org/blobdiff/operations%2Fmediawiki-config/173851ef628359d96fb196172a01cfcfd1da82e5/wmf-config%2FCommonSettings.php >>>> it was possible to enable the MathML rendering mode on betalabs. >>>> The comment >>>> "These variables point to non-WMF servers by default." >>>> is not correct. >>>> $wgMathMathMLUrl = "http://mathoid.testme.wmflabs.org" is hosted in >>>> the eqiad cluster. >>> >>> For the purposes of production configuration, something hosted in >>> wmflabs.org should be treated the same as something hosted at nsa.gov. >>> We don't want production to talk to labs ever. First there are privacy >>> concerns and second Labs will melt if you turn even a tiny fraction of >>> enwiki's traffic towards it. >> Got it. >>> >>>> But it showed that there things on the beta cluster are different from >>>> vagrant >>>> https://bugzilla.wikimedia.org/show_bug.cgi?id=66516 >>>> describes that the MathML tags are filtered out somehow. >>> >>> I get MathML rendering of the formula on >>> http://deployment.wikimedia.beta.wmflabs.org/wiki/User:Anomie/Sandbox, >>> but I'm not sure what that proves or disproves in relation to your bug >>> reports. >> The question is where did you test that. Locally get MathML as well. >> But when I tested on the beta labs cluster (with the old config that >> used "http://mathoid.testme.wmflabs.org") most of the MathML elements >> were filtered out. >> That's the bug report. I guess the reason for that is that there is a >> different configuration on the beta cluster or another extension that >> interferes with the math extension in an inadequate way. >> Moritz >> >>> >>> Bryan >>> -- >>> Bryan Davis Wikimedia Foundation <[email protected]> >>> [[m:User:BDavis_(WMF)]] Sr Software Engineer Boise, ID USA >>> irc: bd808 v:415.839.6885 x6855 >>> >>> _______________________________________________ >>> Wikitech-l mailing list >>> [email protected] >>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l -- Mit freundlichen Grüßen Moritz Schubotz Telefon (Büro): +49 30 314 22784 Telefon (Privat):+49 30 488 27330 E-Mail: [email protected] Web: http://www.physikerwelt.de Skype: Schubi87 ICQ: 200302764 Msn: [email protected] _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
