Commit graph

3913 commits

Author SHA1 Message Date
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
Moriel Schottlender 7b4bb11c2a Add proper QUnit tests
Change-Id: I7a4abf068a32d9cf65eb464eb036f72f319c54ff
2016-09-29 15:28:30 -07:00
Translation updater bot 6f2942b1ab Localisation updates from https://translatewiki.net.
Change-Id: I7570dfddf649ce2119438590d03834b9daaee77f
2016-09-29 22:59:30 +02:00
enigmaeth 5b9ee79253 Dropped call to WikiPage::getText()
Bug: T146994
Change-Id: I47c5258154749b70f380c1462a4d310a04f1d85b
2016-09-29 18:47:29 +00:00
Translation updater bot 30bd2a385a Localisation updates from https://translatewiki.net.
Change-Id: I1113f78f34acc019c11f8f62b891b46b58952de7
2016-09-28 22:24:09 +02:00
jenkins-bot e888d95f1e Merge "Used parsed section titles for anchors" 2016-09-28 14:46:47 +00:00
Roan Kattouw 6eea6d93a1 Used parsed section titles for anchors
This allows us to link to the right section when the section
title contains templates or magic words.

* Add getParsedSectionTitle()
* Use it in getTitleWithSection()
** Stop using Parser::guessSectionNameFromWikiText() because it
   wants preprocessed wikitext, not fully parsed and stripped text
* Move getTruncatedSectionTitle() from EventPresentationModel to
  PresentationModelSectionTrait and make it use getParsedSectionTitle()

Bug: T134216
Change-Id: I877ff6b0ce4e64400f6e5f6284ae47a11cd4335b
2016-09-27 16:17:59 -07:00
Translation updater bot d18bdf2fe1 Localisation updates from https://translatewiki.net.
Change-Id: Iaeb98e9704623355f81e07a036e037e72688496a
2016-09-27 22:36:15 +02:00
jenkins-bot faf3bee07c Merge "Fix links to sections with [[links]] in their title" 2016-09-27 19:53:33 +00:00