Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #556
Closed
Open
Issue created Aug 30, 2013 by Administrator@rootContributor

[MediaWiki] Allow delayStartupUntil=Configured without using inline config or query string

Created by: fred-wang

In MediaWiki, we'd like, the Startup should be delayed until MediaWiki has configured MathJax and downloaded MathJax's files with its own resource loader.

MathJax.js is loaded with MediaWiki's resource loader (which does not accept query string parameters). Ideally, MediaWiki folks don't want to have to insert an inline config that requires a call to eval.

An option would be to modify ConfigDelay so that

       var delay = this.params.delayStartupUntil || MathJax.Hub.config.delayStartupUntil || MathJax.delayStartupUntilConfigured;

That way, they can set MathJax = { delayStartupUntilConfigured: true } before loading MathJax.js.

I'm aware that it would add a non-standard way to configure MathJax but that's the simplest work around I can see. Any thoughts?

Assignee
Assign to
Time tracking