mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
8080bd2f5d
Parsing it in the RL module caused the module cache key to depend on the parse, which is slow and makes ResourceLoader sad. The usual approach for solving this (I206bb05d28) can't be used, because of how EditPage generates this message. Bonus #1: Generate the message for the correct page title. MediaWiki allows customizing it per-namespace or even per-title, which we haven't supported before. Bonus #2: Pass the context for message localisation (depends on I5f7c77970d). EditPage::getCopyrightWarning() was parsing messages without the interface flag, causing some needless processing elsewhere. Depends-On: I5f7c77970d0525c0ff394f8bd72c69dcb5d00623 Bug: T298822 Change-Id: Iaa626f0e6379a5a370f9c465cea8528bb5bde7f7 |
||
---|---|---|
.. | ||
ve.init.mw.ArticleTarget.js | ||
ve.init.mw.DesktopArticleTarget.js | ||
ve.init.mw.MobileArticleTarget.js | ||
ve.init.mw.Target.js |