Commit graph

3 commits

Author SHA1 Message Date
Timo Tijhof 8b77c16667 Use ResourceLoaderContext::msg() in CiteDataModule
Change-Id: I7ed77a2b84711bfe52e07f97bfc3388441159635
2016-03-11 21:56:36 +00:00
Bryan Davis 1920b6b80d Use inLanguage() in CiteDataModule
Avoid unstubbing $wgUser during ResourceLoader actions by getting
messages in the language specified in the ResourceLoaderContext.

Bug: T127916
Change-Id: If4034ef7f5a98723cb8d526a067ddcc571a43b76
2016-02-23 17:57:45 -07:00
Ed Sanders 18f616b9b8 VisualEditor: Move code for Cite into this repo
This code has been developed over three years now in the repo of MediaWiki's
integration of VisualEditor. It has grown and developed significantly during
that time, but now is pretty stable. A number of hacks inside the MediaWiki-
VisualEditor code base have been used to prevent this code from being loaded
on wikis where the Cite extension is not deployed, but this state of affairs
is and always was meant to be temporary.

This code is under the MIT licence which is a tad messy, but not impossible.
It's clearly labelled as such. The list of authors has been updated to take
into account the influx of new functionality.

Bug: T41621
Bug: T104928
Change-Id: I39936ed83d5a60471a0a75da753f498e80aef234
2016-02-04 08:41:54 -08:00