Commit Graph

54 Commits

Author SHA1 Message Date
James D. Forrester
9afbea2914 Use jQuery.i18n from MediaWiki core if available.
This allows other extensions to use this too, without needing a hack to detect
ULS's existence and work around it by not loading their copies of j/i18n code.

Preserves backwards-compatibility for archaïc versions of MediaWiki.

Bug: T95666
Change-Id: I25b33437ceddb60570322b9aa51844acc42a3e32
2015-07-23 15:33:42 -07:00
Santhosh Thottingal
71e8c91d3e Add two hooks entries missed in extension.json
Bug: T105795
Change-Id: Ic53d79f7d8f7277e0768c1e461ae5d33c997a444
2015-07-14 14:32:33 +00:00
Niklas Laxström
8a7bccc5ce Set ULS_VERSION when using extension registration
This unbreaks Translate and CleanChanges who depend on the constant.

Change-Id: I8bfb9e2aaeb77351beefb130f71daeee4e07afae
2015-07-07 21:28:09 +02:00
Santhosh Thottingal
c3322ba830 Migrate to JSON configuration based extension registration
Retaining the UniversalLanguageSelector.php and Resources.php
to avoid breaking support for old MW versions. At some point,
we can validate how many old MW versions we need to support.

Bug: T87987
Change-Id: I006e968b70298b54013177aa792a4dfdf5b6aae2
2015-07-06 16:42:51 +00:00