mediawiki-extensions-Visual.../modules/ve-mw/init/targets
Bartosz Dziewoński 8080bd2f5d Move copyright warning message parsing from RL module to API
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
2022-01-24 22:19:04 +00:00
..
ve.init.mw.ArticleTarget.js Move copyright warning message parsing from RL module to API 2022-01-24 22:19:04 +00:00
ve.init.mw.DesktopArticleTarget.js Pass visibleSection & visibleSectionOffset to target 2022-01-11 20:39:27 +00:00
ve.init.mw.MobileArticleTarget.js Introduce ArticleTarget#afterSurfaceReady 2022-01-11 03:33:04 +00:00
ve.init.mw.Target.js Revert "Re-duplicate deduplicated TemplateStyles" 2022-01-21 21:10:27 +00:00