Commit graph

3820 commits

Author SHA1 Message Date
Translation updater bot ba99633a2b Localisation updates from https://translatewiki.net.
Change-Id: If226095c4e2c238805be142f6eb061859f927a7d
2016-10-30 22:40:10 +01:00
Translation updater bot 0ac4ceeae4 Localisation updates from https://translatewiki.net.
Change-Id: I7bc78cc52cc7929fe6d26d112f7e27e97b73d0b0
2016-10-28 22:39:23 +02:00
Translation updater bot f55bdd9e82 Localisation updates from https://translatewiki.net.
Change-Id: Ic96eea0cd81ce457ff8655babf71cb07e98ea270
2016-10-25 23:11:28 +02:00
Chad Horohoe 888315d17a Whoops, track not trace
Change-Id: I30295d79d21f359e63f9a7dedf28b4300b8a0e94
2016-10-24 17:02:28 -07:00
Chad Horohoe 4d3723fe8d Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: Ibb65c1aa654a083cc52668df223398e2cba0bb8d
2016-10-24 16:37:25 -07:00
Translation updater bot fc076d23e0 Localisation updates from https://translatewiki.net.
Change-Id: Ic976e3b776b456a07721aede66cb68f61e6a4526
2016-10-24 22:43:56 +02:00
Translation updater bot 28c67ab3c4 Localisation updates from https://translatewiki.net.
Change-Id: I705b9ae8572ba2f4386f76d70e5c5faac89c196c
2016-10-23 22:54:45 +02:00
Translation updater bot 73b00658be Localisation updates from https://translatewiki.net.
Change-Id: Ia46392662faa70c846e1adb463105503e84b42c8
2016-10-22 22:43:32 +02:00
Translation updater bot e61236e348 Localisation updates from https://translatewiki.net.
Change-Id: Icba8132b205293fe70e10d1a922676fd8d42e89c
2016-10-21 22:32:53 +02:00
jenkins-bot ee8598bf19 Merge "Fix bogus variable usage" 2016-10-18 23:31:20 +00:00
Translation updater bot 87f5885595 Localisation updates from https://translatewiki.net.
Change-Id: I3243e3971932510e282b18912cfb8c7c2e81a2d0
2016-10-18 22:35:21 +02:00
Aaron Schulz cfa0aa099a Fix bogus variable usage
Change-Id: I9100648d5b6be63a697a8660def33e592d010688
2016-10-17 19:53:10 -07:00
Translation updater bot c2fa519478 Localisation updates from https://translatewiki.net.
Change-Id: Iaa4047e1c9c40e07e82e0bbad16884139ac931e4
2016-10-16 22:41:03 +02:00
Translation updater bot 6d7d6a7e90 Localisation updates from https://translatewiki.net.
Change-Id: I8f642b7ead993dc02f83a68e320c303d588acbc1
2016-10-15 23:03:10 +02:00
jenkins-bot 84ad297d8e Merge "(re)Add JavaScript hooks to Notifications" 2016-10-14 22:36:37 +00:00
Moriel Schottlender e9264022a7 (re)Add JavaScript hooks to Notifications
Added the following Javascript hooks:
* ext.echo.notifications.beforeRender: Firing before a group of
  notification widgets are rendered, whether in the popup, in
  the special page, or in a cross-wiki bundle (which requires
  async loading)
* ext.echo.badge.countChange: Fired when the badge count changes
  with the notification type, count and the label count for
  display purposes.
* ext.echo.popup.onInitialize: Fired when the popup is opened and
  after notifications were fetched, with the context of the popup
  notification type.
* ext.echo.special.onInitialize: Fired when the special page is
  ready and notifications were fetched. Note that it will be fired
  whenever the special page is updated with notifications list,
  as well, like when changing filter, remote wiki or pagination.

The hooks were also documented in hooks.txt

Bug: T146296
Change-Id: Ie3dc97f97e8d1f90b67f62fcdc65dd29cb379aad
2016-10-14 17:25:25 -05:00
jenkins-bot 55a8b81410 Merge "Show orange alert and provide hook" 2016-10-14 18:01:47 +00:00
Kavitha Muthu d3d61409d3 Show orange alert and provide hook
Show orange alert for all notification types in the edit-user-talk
category and provide a hook to enable other extensions to prevent
the orange alert from appearing.

Bug: T137954
Change-Id: I0b49c3a5eb0a027f8839ab86e77c527357907dd0
2016-10-14 17:54:29 +00:00
jenkins-bot 020bd8cc61 Merge "Remove notifications bottom controls" 2016-10-13 21:58:07 +00:00
Kavitha Muthu cc2189f009 Remove notifications bottom controls
Bug: T140964
Change-Id: I5c1a07161ab75de0537c002785da89ebeadc508a
2016-10-13 14:16:46 -07:00
Translation updater bot 93fa470486 Localisation updates from https://translatewiki.net.
Change-Id: Ie5c853b2c2e80e5845f3b6e144a569718437459e
2016-10-13 22:48:07 +02:00
Ed Sanders fa490fa04e Update beta feature screenshots to use proper layout and colours
Bug: T144428
Change-Id: I51993b85c7720a025e8deeaf079806b56ac09f9b
2016-10-12 16:01:43 -07:00
Translation updater bot 3715a68095 Localisation updates from https://translatewiki.net.
Change-Id: Ie422460674fbf2af5c5c35f39562905754e07ccc
2016-10-11 22:44:07 +02:00
jenkins-bot e73f559e95 Merge "Database and LoadBalancer documentation updates" 2016-10-11 17:36:12 +00:00
Translation updater bot 064e8dd1b4 Localisation updates from https://translatewiki.net.
Change-Id: I11ef8c6b5dbf5bb4a507de7850f57c7fd4759224
2016-10-10 22:26:36 +02:00
Translation updater bot d170821ddd Localisation updates from https://translatewiki.net.
Change-Id: I127ae8a390a69c369b47793076f913d77ed5ebbe
2016-10-09 22:47:16 +02:00
Reedy 161f21ab5a Database and LoadBalancer documentation updates
Replace deprecated function calls

Change-Id: Id7e4136d7258abb61117fff73d51766954605737
2016-10-09 21:21:33 +01:00
Reedy f2cbec3753 Fix mw.org link for PageContentSaveComplete link
Seems I forgot to update it

Change-Id: I56ddd5488e6893e834abc1402120c072e8c309fc
2016-10-09 18:48:45 +01:00
jenkins-bot 7441dcc3d2 Merge "ToggleReadCircleButtonWidget: Make circle perfectly round and align color" 2016-10-07 21:06:34 +00:00
Reedy 0cf447f20c Replace ArticleSaveComplete hook usage
Bug: T147559
Change-Id: Ia020095ff17c993b579ada9717bf1feb43ddb8ff
2016-10-06 17:23:09 +01:00
jenkins-bot 1736b0cf21 Merge "build: Extend stylelint to further rules" 2016-10-05 23:35:57 +00:00
addshore 4010faaf89 Add some typehints & phpdoc
Change-Id: Ic5751f0745685ea4db009458b5976907dc22c518
2016-10-05 23:27:02 +01:00
Volker E 675d454bad build: Extend stylelint to further rules
Extending stylelint to include further general rules
and remove obsolete .csslintrc file.

Change-Id: I6957cc3731c39f495e985c9dbd40363102e2e6f0
2016-10-05 14:52:29 -07:00
Translation updater bot b12daef74d Localisation updates from https://translatewiki.net.
Change-Id: I17d0e7146613d41c633abcb823c7027c5c438286
2016-10-05 22:40:09 +02:00
Volker E 6d2e560c1e Introduce stylelint
Introducing stylelint with configuration rules compliant to
Wikimedia CSS Coding Standards 'stylelint-config-wikimedia', nullifying
some for now and making majority pass.

Change-Id: I2c4acee41c9b56d9b00e2a2c5b7ab0ab5de454ce
2016-10-04 18:15:02 -07:00
jenkins-bot 47d1599cab Merge "Use colors for pressed/selected options in the Special:Notifications sidebar" 2016-10-05 00:34:06 +00:00
Roan Kattouw 4e5d2a8aa6 Use colors for pressed/selected options in the Special:Notifications sidebar
Unfortunately there's no generic support for using colors for icons in
OOUI yet, so we have to copy what OutlineOptionWidget does and
override setPressed()/setSelected() to add/clear the progressive flag.
Also reintroducing colors for text which are aligned with icons on
the different states and use transitions.

Change-Id: I07cf4011d28c1db4eefb451367e29c271b5efaeb
2016-10-04 17:21:26 -07:00
jenkins-bot cceca02a60 Merge "Replace Revision::getText()" 2016-10-05 00:15:59 +00:00
Reedy 21faa050f6 Replace Revision::getText()
Bug: T147380
Change-Id: I3864fc64bd178471b1454033adbc9137485d1563
2016-10-05 00:42:45 +01:00
jenkins-bot f107dbd371 Merge "Reintroduce highlighted and selected background colors in the Special:Notifications sidebar" 2016-10-04 22:45:11 +00:00
jenkins-bot 717b53dbe4 Merge "Make notifications top toolbar controls sticky" 2016-10-04 22:37:27 +00:00
Volker E c4ea2c4af8 Reintroduce highlighted and selected background colors in the Special:Notifications sidebar
After Id1312fee5bb of OOjs UI got merged, we have to reintroduce
`highlighted` and `selected` states background color manually as
it caused issues on simple OptionWidgets.

Change-Id: I3fe7a4d2577bd1bc0fd258bc977b3539e268a84e
2016-10-04 22:34:22 +00:00
Kavitha Muthu eed48aa7fe Make notifications top toolbar controls sticky
Bug: T140964
Change-Id: I483c91344918f602da3280b9f8ad7e966bf55596
2016-10-04 22:27:49 +00:00
Translation updater bot e09123d258 Localisation updates from https://translatewiki.net.
Change-Id: If5b9269ed547ff8267a3c7cb502b246e030026ab
2016-10-04 22:36:06 +02:00
Roan Kattouw 9d8e09e71b Don't show pages and counts related to disabled notification types on Special:Notifications
Bug: T147138
Change-Id: I4350377720644015a1db9789979fb80cd4844745
2016-10-04 11:35:30 -07:00
Touhid Arastu 50384e2f30 i18n: Native digits on CrossWikiNotificationItemWidget
Change-Id: I982319c81405917461297e96e47030953d5070d4
2016-10-04 13:49:57 +03:30
Volker E 819545ed7e Add box-sizing mixin
Replacing standard `box-sizing` with MediaWiki's Less mixin, which also
features prefixed properties for older browsers like Firefox 28 and below.

Change-Id: Iafb88b192045fb7df6bbe6954a166a198d04c5cf
2016-10-03 13:21:54 -07:00
Volker E a1ae72a03c ToggleReadCircleButtonWidget: Make circle perfectly round and align color
Due to pixel rounding errors when relying on `em` as base size unit,
the circle isn't always perfectly round and as a result /not/ a circle.
Adding `min-width` and `min-height` ensures the intended layout similar
to Ie61e7303e446 in OOjs UI's ToggleSwitchWidget.
Also aligning `:hover` unread color to OOjs UI progressive button's
`:hover`.

Bug: T141504
Change-Id: Idf130947e8e61a68819e3ac9ba3cb1e105e65370
2016-10-03 19:19:38 +00:00
Translation updater bot e497b4b2e2 Localisation updates from https://translatewiki.net.
Change-Id: I257f6eef801125d6652e03d0c371321a8908aa1e
2016-10-02 10:37:23 +02:00
jenkins-bot 15a3ca881b Merge "Add proper QUnit tests" 2016-09-30 13:01:25 +00:00