The Extension:VisualEditor page on Mediawiki.org still guides people to use Parsoid/JS. Where is the best place to find instructions for migrating a wiki installation from Parsoid/JS to Parsoid/PHP? If documentation doesn't exist, I can help create it once I understand the steps. I've also opened a topic on the Extension_talk:VisualEditor page if that's a more convenient place to discuss: https://www.mediawiki.org/wiki/Topic:Vd9tmhoaax7re3it
Thank you!
Michael
Summary
-------
Parsoid/PHP, the PHP port of Parsoid is now live everywhere for all
products on all wikis. Parsoid/JS is still deployed on the Wikimedia
cluster but doesn't receive any traffic and will be decommissioned
in the new year.
Context: Making Parsoid the default MediaWiki wikitext engine
-------------------------------------------------------------
In 2018, we completed the replacement of HTML4 Tidy from MediaWiki
with RemexHTML, a HTML5 parser.
The port of Parsoid to PHP is the next step along the way to integrate
Parsoid and the MediaWiki wikitext parser into a single wikitext engine.
That final product will let us bring the benefits of Parsoid's approach
to a wider set of products and let us start work on improving templates
and wikitext or other features without having to implement that in two
wikitext engines with different processing models.
See a Feb 27 tech talk for a full context [1]. A future blog post will
provide more details about the porting project and process.
Performance
-----------
Parsoid/PHP on the wikimedia cluster seems to be about 2x faster than
Parsoid/JS for the wikitext -> HTML and HTML -> wikitext endpoints.
This performance bump is a pleasant surprise given that going in, we
anticipated to incur some performance penalty. While we have various
theories about the factors contributing to this, we haven't had the
opportunity yet to investigate fully. The load on the MediaWiki Action API
endpoint was also significantly reduced on Dec 13 when we stopped
processing mirrored traffic on Parsoid/JS (Parsoid/PHP accesses the
database directly instead).
Timeline
--------
We started porting in earnest in Feb with some preparatory work over
the previous few months. We deployed Parsoid/PHP as a passive mirror
of the full volume of wikitext -> HTML requests in October & November
to discover and fix problems early. By Dec 2, we’d enabled Parsoid/PHP
for the majority of Parsoid clients on all wikis. On Dec 18, we switched
everything over to Parsoid/PHP.
Compared to an earlier estimate of 9 months, we took about 2 months longer
to get to this milestone.
Thanks to all the testing in place, in the end, this Parsoid/JS to
Parsoid/PHP switch went fairly smoothly with some minor glitches.
Credits
-------
This project to port Parsoid from Javascript (Node.js) to PHP was a
multi-team collaboration. The Parsing, Core Platform, Product
Infrastructure,
Service Ops, Security teams from the Wikimedia Foundation were the relevant
teams. We also benefited with some contractorhelp from Wikiteq. Thanks to
everyone involved!
[1]
https://www.mediawiki.org/wiki/Wikimedia_Technical_Talks#Episode_1:_The_lon…
Hello everyone,
As of this week, the Readers Web team has expanded the deployment of a
small set of features from the mobile "advanced mode" users to all
logged-in users. All logged-in users will now have access to article and
talk tabs, as well as direct access to history pages.
We hope that these changes will allow new contributors to access these
parts of the interface with more ease. For more advanced contributors, we
do recommend using the "advanced mode", which includes the above features
and more!
Thank you!
Olga
--
*Olga Vasileva* // Reading Product Manager // Web
https://wikimediafoundation.org/
*Imagine a world in which every single human being can freely share in
the sum of all knowledge. That's our commitment. Donate
<http://donate.wikimedia.org/>. *
Hello colleagues,
This is a reminder that the December 2019 Wikimedia Café meeting will start
approximately one hour from now.
Pine
( https://meta.wikimedia.org/wiki/User:Pine )
On Fri, Nov 29, 2019 at 10:50 PM Pine W <wiki.pine(a)gmail.com> wrote:
> Hello colleagues,
>
> For the next Wikimedia Café online video meeting, agenda items include:
> * Documentation for Wikitext <https://en.wikipedia.org/wiki/Help:Wikitext>
> * The NavWiki <https://outreach.wikimedia.org/wiki/NavWiki> project
>
> Last month's Wikimedia Café had a problem with an inaccurate time
> conversion from USA Eastern time to UTC. People attempted to join the
> meeting at different times based on whether they referred to UTC or to US
> Eastern time. I apologize for the error, and I think that it has been
> corrected for December.
>
> The meeting style for the Café will emphasize discussion rather than
> presentation. People are welcome to participate as listeners only if they
> prefer.
>
> Please see the page on Meta
> <https://meta.wikimedia.org/wiki/Wikimedia_Caf%C3%A9> for more
> information about the Café. Please watch the page for any updates,
> particularly to the schedule or the agenda. Signing up for the meeting is
> optional, but is helpful to the organizers so that we can estimate how many
> people will attend. Signing up for the meeting also informs us who we
> should notify individually if there are significant changes, such as to the
> schedule.
>
> If there are any problems with connecting to the meeting or if you have
> any questions or comments then please write on the Meta talk page.
>
> Regards,
> Pine
> ( https://meta.wikimedia.org/wiki/User:Pine )
>
The 1.35.0-wmf.11 version of MediaWiki is blocked[0].
The new version is deployed to group 0[1], but can proceed no
further until these issues are resolved:
* VisualEditor throwing "PHP Notice: Undefined index: etag" on
officewiki as of wmf.11 - https://phabricator.wikimedia.org/T240961
* "BadMethodCallException: Sessions are disabled for this entry point"
via GrowthExperiments - https://phabricator.wikimedia.org/T240997
Once these issues are resolved train can resume. If these issues are
resolved on a Friday the train will resume Monday.
Thank you for your help resolving these issues!
-- Your humble train toiler
[0]. <https://phabricator.wikimedia.org/T233859>
[1]. <https://tools.wmflabs.org/versions/>
--
Jeena Huneidi
Software Engineer, Release Engineering
Wikimedia Foundation