Page MenuHomePhabricator

mathmode= is bypassed by cache
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • The mathmode parameter is ignored and the page is rendered with the previous setting
  • The cache key that is accessed (as indicated by the limit report) is the one corresponding to the user setting
  • Purging the page before rendering with a custom parameter inserts the wrong content in the user setting-keyed cache entry

What should have happened instead?:

  • Requests with mathmode= should access the corresponding cache key rather than the user cache key

Event Timeline

Change #1320896 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):

[mediawiki/extensions/Math@master] Move the request check for mathmode in math lazyLoad

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

Change #1320896 merged by jenkins-bot:

[mediawiki/extensions/Math@master] Move the request check for mathmode in math lazyLoad

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

SalixAlba subscribed.

Wondering if this will also fix T434469 a bug I just created about not seeing the client-svg mode when previewing an edit on enwiki.