Commit graph

10 commits

Author SHA1 Message Date
Kunal Mehta bf37b5261d Remove 'uselang' parameter hack which is no longer needed
ApiMain now has a 'uselang' parameter

Change-Id: Ifefc8aa09e51391ad2cf9c33beaf47848ed1f399
2014-11-05 13:34:42 -08:00
Brad Jorsch 09c881e1a0 Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
lokal-profil 4f84120386 Make plural entries correct
Changes three singular forms of messages already supporting plural.
Affected messages:
* echo-notification-alert
* echo-notification-message
* echo-overlay-title-overflow

First reported at:
* https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-notification-alert/es
* https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-notification-message/es

Change-Id: Ifcaade5e141c801c6e546d2098578c933d60434e
2014-09-10 09:27:59 +02:00
bsitu 75d5c9b9a3 Remove (X) next to Alerts/Messages if there is one section
Change-Id: Ibf66328e31bfefb3d588196c3f4babfa65bb52f3
Eg: Alerts(X) becomes Alerts
2014-09-09 11:12:38 -07:00
jdlrobson 7870b6cac2 E2b: Reflect the count in alerts and messages tabs
Add test coverage.

Change-Id: Ia5658d2b0c230915cda9309a590b416b0aa73bfe
2014-08-12 14:00:41 -07:00
jdlrobson 9882898f92 Notification overlay Messages and Alerts sections
Shift to new API to support 2 tab view
When a new has no messages they will see the old style overlay with
Notifications heading. I have added tests to assure this is the case!

Later patches will:
1) Add the mark as read button only in message view
2) Note currently the tabs do not refresh when notifications is clear.
We need some kind of EventEmitter to make this sort of thing easier.

Change-Id: I62b590e81cd3fe867c4c13959cb43466aacfe2d5
2014-08-12 12:33:06 -07:00
Yuki Shira d4abab3932 i18n: remove namespace-dependent part from "echo-pref-tooltip-mention"
- The mention is independent from the namespace.

Spotted by JurgenNL
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-pref-tooltip-mention/en

Change-Id: I07f828eb1769d52f4a6bf118a34bc5dfbbb313ee
2014-07-13 21:15:44 +09:00
Alex Monk d55fbbb49b Don't show files in mention notifications
Bug: 66983
Change-Id: I452fa29f0f70dac4c92c87f4b35d9c886b187afe
2014-06-24 15:27:49 +01:00
Kunal Mehta e4f97802db Split user rights changes into their own category
This will allow users to disable them if they wish to.
By default, both web and email are enabled for all users, which
is the current default.

This also fixes a bug in the EventLogging portion where user rights
changes would be logged with a user id of -1, instead of the
actual user.

Bug: 55337
Change-Id: I026b9392b085e295fbcd375095c9aed682fc29a2
2014-06-15 18:39:23 -07:00
Siebrand Mazeland 0730ff8d67 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I45c23439d25b081d932ff4354fd3308122e5b186
2014-03-26 15:22:57 +01:00