Page MenuHomePhabricator

Remove MathPlayer detection
Closed, ResolvedPublic2 Estimated Story Points

Description

Since 2014 (T73748) we run the following client side JS script on any page visit

  // If MathPlayer is installed we show the MathML rendering.
    if ( navigator.userAgent.indexOf( 'MathPlayer' ) > -1 ) {
        $( '.mwe-math-mathml-a11y' ).removeClass( 'mwe-math-mathml-a11y' );
        $( '.mwe-math-fallback-image-inline,
.mwe-math-fallback-image-display' ).css( 'display', 'none' );
        return;
    }

This is quite a CO2 footprint I guess.

According to @NSoiffer MathPlayer stopped working around IE8. Which is only a tiny fraction of the overall request. Therefore we should decide to disable the feature at some point in time.

Details

Due Date
Dec 30 2022, 11:00 PM

Event Timeline

Physikerwelt set Due Date to Dec 30 2022, 11:00 PM.
Physikerwelt set the point value for this task to 2.

@Physikerwelt: Hi, the Due Date set for this open task passed a while ago.
Could you please either update or reset the Due Date (by clicking Edit Task), or set the status of this task to resolved in case this task is done? Thanks!

Physikerwelt moved this task from Inbox to Doing on the Math board.

Change 899507 had a related patch set uploaded (by Physikerwelt; author: Physikerwelt):

[mediawiki/extensions/Math@master] Remove MathPlayer

https://gerrit.wikimedia.org/r/899507

Change 899507 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Remove MathPlayer

https://gerrit.wikimedia.org/r/899507