mediawiki-extensions-Visual.../modules/ve/init/mw
Timo Tijhof 4e407bd59e (bug 38034) Implement MediaWiki's copyright warning
Logic taken from EditPage::getCopyrightWarning, but couldn't use
it directly because it doesn't give the message keys and wraps
the html.

Using the same logic and running the same hook, we'll get the same
message keys (and message parameters therefore) as EditPage would.

Also fixed these bugs (as they were more prominent now):
* Use Message::parse() instead of Message::plain()
* Set inLanguage properly instead of using the default
  (EditPage is user-localised, including this message, just like
  the rest of VE).
  Fixes bug 42764: minoredit/watchthis should be in user-language.

Change-Id: I84fee641162cdeed290092e56fb0e1d2562d833d
2012-12-06 06:29:13 +01:00
..
styles Add cancel button to VisualEditor MediaWiki integration. 2012-12-05 15:00:46 -08:00
targets (bug 38034) Implement MediaWiki's copyright warning 2012-12-06 06:29:13 +01:00
ve.init.mw.js
ve.init.mw.Platform.js init.Platform: Refactor parsed messages. 2012-12-04 07:56:41 +01:00
ve.init.mw.Target.js (bug 41865) Save page behavior for oldid 2012-12-05 06:44:41 +00:00