Commit graph

4589 commits

Author SHA1 Message Date
Moriel Schottlender b2f2ef9114 Prevent double-clicking on badge when initializing
Double-clicking would just recreate the badge midway while it is
being created, and produce 2 popups simultaneously. This patch
ignores the second click in a double-click until the widget is
being replaced anyways.

Bug: T184883
Change-Id: I2fda8df36b3828dbbe0d9b7892f159e598c630bd
2018-02-23 14:36:39 -08:00
Translation updater bot f975316639 Localisation updates from https://translatewiki.net.
Change-Id: Ia03168cd87d02449d1f3295812a3f90985df5c21
2018-02-23 23:01:29 +01:00
jenkins-bot d814e9c4bf Merge "Ping users mentioned in edit summaries" 2018-02-23 18:44:46 +00:00
Translation updater bot a08cb23b7b Localisation updates from https://translatewiki.net.
Change-Id: If80ba86a7e0399ad5397116e8905c23e74fa5233
2018-02-22 23:21:54 +01:00
jenkins-bot 30a265ef88 Merge "build: Bring SVGO optimization to build step" 2018-02-22 20:41:48 +00:00
Max Semenik 467b13fe89 Ping users mentioned in edit summaries
Disabled by default for now.

Bug: T32750
Change-Id: I8012b82b6e27cc2612fb2302d0c9feb3f3623d62
2018-02-22 12:37:35 -08:00
jenkins-bot e0d634689d Merge "Add various read-only mode checks" 2018-02-22 20:33:05 +00:00
Aaron Schulz 06b6aee301 Add various read-only mode checks
* Make updateCount() check isReadOnly()
* Make EchoUserNotificationGateway::markRead() check isReadOnly()
* Make ApiEchoMarkRead check if the echo DB is read-only
* Remove access getExternalLB() argument

Bug: T187942
Change-Id: Ibafce8839b46e28251a6c1c08dd61fec4756bf33
2018-02-22 08:07:19 -08:00
Translation updater bot 38ec20ce27 Localisation updates from https://translatewiki.net.
Change-Id: Ie009102fcd8139ff882fd067a64644c648b1f671
2018-02-18 22:40:31 +01:00
libraryupgrader 18371740a1 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Id5528b30959ec575350bd764c6dbbc739f58727a
2018-02-17 20:56:32 +00:00
Translation updater bot 8122fe44fe Localisation updates from https://translatewiki.net.
Change-Id: I29f38dd99de8452f4112dab55162b87e4c39c22f
2018-02-16 22:29:07 +01:00
libraryupgrader 83bdf90eb5 build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.MissingCovers.MissingCovers

Change-Id: I2a48e5c27a7307b3982d11875180fc11f2a125d9
2018-02-15 09:51:55 +00:00
Translation updater bot 7543253a0f Localisation updates from https://translatewiki.net.
Change-Id: Ib8d6514d1fe6fd8bad7d7cbfacfcb7aa51b80b3c
2018-02-13 22:25:26 +01:00
jenkins-bot 8c0c510b33 Merge "Use jQuery 3 .catch( fn ) instead of .then( null, fn )" 2018-02-12 17:12:07 +00:00
Translation updater bot 4c6f3824ce Localisation updates from https://translatewiki.net.
Change-Id: I09ffe5a5afcad5b629392fa0195bbd73cc5efa4a
2018-02-11 10:42:08 +01:00
Fomafix a447c3e65f Use jQuery 3 .catch( fn ) instead of .then( null, fn )
https://api.jquery.com/deferred.catch/ Since jQuery 3
deferred.catch( fn ) is an alias to deferred.then( null, fn )

Change-Id: I120ec780c9b008b5e7bf12491fed83ccc8ae2420
2018-02-10 11:48:26 +01:00
Translation updater bot 00f9100ded Localisation updates from https://translatewiki.net.
Change-Id: Iae61c2a652acde14c06c661553e6f5dcc926f881
2018-02-10 09:15:16 +01:00
Volker E c9403011c8 build: Bring SVGO optimization to build step
Enabling SVGO automation with 'grunt-svgmin' and conservative
plugin settings to build step, among those:
- enable removeRasterImages and sortAttrs,
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
  removeXMLProcInst and
- don't use multipass.

Also updating SVGs accordingly.

Bug: T185596
Change-Id: I2288c7576ac96f8b5c4d5b8671218fceefaf6037
2018-02-09 23:06:28 -08:00
jenkins-bot a134766f5a Merge "Use overrideMwServices in DiscussionParserTest" 2018-02-08 20:58:10 +00:00
Translation updater bot 72ffe58f26 Localisation updates from https://translatewiki.net.
Change-Id: Ib63aaf25ab3e3d56e6ad61f70982d74208938a77
2018-02-07 22:17:25 +01:00
Umherirrender dc7d27a795 Split assignment and return statement
Doing it in two lines makes it easier to read
This makes also clear that this is not a broken condition

Change-Id: I9771b6457789b7dc572f2d73d1fae8c361f9a1e6
2018-02-06 22:52:47 +00:00
Translation updater bot a670a703b4 Localisation updates from https://translatewiki.net.
Change-Id: Ib1dcef89f646afda545719aec9c6b7284cae9a69
2018-02-05 22:36:46 +01:00
jenkins-bot c48cd395bc Merge "build: Update linters" 2018-02-05 01:57:49 +00:00
Translation updater bot e133ece989 Localisation updates from https://translatewiki.net.
Change-Id: I1e286b1b379dbd71b5a621fd345b91bd4a9820d9
2018-02-04 22:43:38 +01:00
Ed Sanders 2dc9a454d2 build: Update linters
Change-Id: I717ee9a58e6a8c12b54c64b46ebb2682b1ad5274
2018-02-04 21:23:28 +00:00
Kunal Mehta 0209f4eb2f Don't use deprecated SpecialPage::getTitle()
Change-Id: I20c7d058bb25207705c08fe293800a6d1e0aab0e
2018-02-04 18:53:08 +00:00
zoranzoki21 62ebafd770 Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: Iccf4c6e6f1c30daae37dfd91758fe7ffda6f81a8
2018-02-04 09:06:45 +00:00
Translation updater bot 4e7af86a91 Localisation updates from https://translatewiki.net.
Change-Id: I56ee0ea0d78b15a3d1fffaf62e32a967a3ed50b9
2018-02-03 22:22:31 +01:00
L10n-bot 61fbbd51f2 Merge "Localisation updates from https://translatewiki.net." 2018-02-02 21:18:42 +00:00
Translation updater bot 923eab1651 Localisation updates from https://translatewiki.net.
Change-Id: I58e0c6c26a8686c50b2132f25a362ea4749711e7
2018-02-02 22:17:49 +01:00
jenkins-bot 7c45d7817e Merge "Make icon not overlap with confirmation message" 2018-02-02 21:11:54 +00:00
Stephane Bisson ac4b0ea899 Make icon not overlap with confirmation message
Use widgets instead of mixins to compose the ConfirmationPopupWidget.

Bug: T184733
Change-Id: I608e820ef81b01efc54a13df5de189ef40ce335f
2018-02-02 20:31:43 +00:00
addshore 1bb986c407 Use overrideMwServices in DiscussionParserTest
Bug: T135023
Change-Id: Ibcef80224c998239f57a9353fa97ba6129fc53b1
2018-02-01 16:14:59 +00:00
Translation updater bot 14380fd4a5 Localisation updates from https://translatewiki.net.
Change-Id: I9b2e7ec16f7f71f80ba4ccbcd358f3956351fd06
2018-01-31 22:20:03 +01:00
Translation updater bot 22c04d7ff6 Localisation updates from https://translatewiki.net.
Change-Id: I9fe8c1c2cedce6f1efafdce4aa98fc374bbabbfe
2018-01-26 22:36:34 +01:00
jenkins-bot 1ea8a2dc55 Merge "Add @covers tags" 2018-01-24 01:29:07 +00:00
Kunal Mehta 59a125fc38 Add @covers tags
Change-Id: Ib8cf432b58470c9218519639379c83254acef1c8
2018-01-23 16:44:45 -08:00
jenkins-bot f2f39e0e99 Merge "Fix multiple PHP class declarations in one file in tests" 2018-01-23 01:26:20 +00:00
Ed Sanders 2121daac96 Don't hide notification popup when scrolling
hideWhenOutOfView is for preventing popups from appearing
outside their container, but in this case the container
is the document, so it is already clipped.

Bug: T178384
Change-Id: Ie0cd83849446cf74b61e708f0a1fa79f2384a94a
2018-01-22 15:32:35 -08:00
Phantom42 ac6622711b Fix multiple PHP class declarations in one file in tests
All files containing more than one PHP class were split into
multiple files.

extension.json was updated to match new class locations.

phpcs `OneObjectStructurePerFile.MultipleFound` rule was
re-enabled.

Bug: T177809
Change-Id: I6fc2ec9cc35e6bac5a7c44d94b0f1b1b40e6dba5
2018-01-22 16:27:07 +02:00
jenkins-bot cfccbbe002 Merge "When running Selenium tests, use wd/hub" 2018-01-22 06:24:55 +00:00
Phantom42 254cf8360b Fix multiple PHP class declarations in one file
All files containing more than one PHP class were split into
multiple files.

extension.json was updated to match new class locations.

Bug: T177809
Change-Id: I4e7d8f02164c3048c41c4c9fbe4be18a99e7abaa
2018-01-21 21:17:53 +00:00
Translation updater bot 0b26eb06bb Localisation updates from https://translatewiki.net.
Change-Id: Iaa4dd1df19666e756f564acdf2fbec990373e3bf
2018-01-20 14:42:40 +01:00
jenkins-bot e63b9f9ac0 Merge "Fix help menu icon placement for monobook" 2018-01-19 18:44:00 +00:00
jenkins-bot f321dc1250 Merge "Align the icon in the popup action sub menus" 2018-01-19 18:38:39 +00:00
Translation updater bot ce8d0423bc Localisation updates from https://translatewiki.net.
Change-Id: I0849c1c78c286135c120b8f6ad67ccfd07e7cb8e
2018-01-18 22:49:21 +01:00
WMDE-Fisch 9635657ab4 When running Selenium tests, use wd/hub
Now it works on Mac, Windows and Linux.

Change-Id: Idf984c89f541a44ad522ff4d765dc58ada407797
2018-01-18 15:02:42 +01:00
jenkins-bot d0550c9f6c Merge "Truncate page name in the sidebar and organize into table view" 2018-01-18 11:43:47 +00:00
jenkins-bot ef7dfb357d Merge "Don't use deprecated DatabaseMysql" 2018-01-17 18:28:21 +00:00
Volker E 4bb614b5fd Use “OOUI” as unified name for code comments
Bug: T182360
Change-Id: Ib1daa160dd7597afe6a6ae22dc263ba7d297f757
2018-01-16 23:30:18 -08:00