Commit graph

4980 commits

Author SHA1 Message Date
Kunal Mehta c9d1faeb6d build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I3073faa59bbb6606120f8ea52b0ebad66094d253
2018-12-17 18:54:51 -08:00
Translation updater bot 7c755e4d2c Localisation updates from https://translatewiki.net.
Change-Id: Ia04fef826d3d6c0c5190ee07c5f3281d0202ff38
2018-12-17 22:19:13 +01:00
Thiemo Kreuz 8d7fc8c66a Avoid expensive array_shift where possible
array_shift manipulates the original array. This is surprisingly
expensive, because it iterates *all* elements in the array and
decrements numeric keys. The code touched in this patch does not need
this restructured new array, but only the individual elements.

Change-Id: I166fdbe199400611a21cbd608dd3e177336c8fd5
2018-12-17 11:46:02 +01:00
Thiemo Kreuz 0a6e548e4e Some more specific array and array[] type hints
Change-Id: I2c518410df779683dfd70aacd5084f55d6766498
2018-12-17 11:45:39 +01:00
Translation updater bot e8eb80eec3 Localisation updates from https://translatewiki.net.
Change-Id: I90f16e8040086c1aef7750bbb6edb6f9e10ed203
2018-12-15 22:23:53 +01:00
Translation updater bot 90f0aa255e Localisation updates from https://translatewiki.net.
Change-Id: I0d09718b509d6d342b429e2a1d53a58f1d6cfdd6
2018-12-14 22:21:51 +01:00
Translation updater bot 898e41150e Localisation updates from https://translatewiki.net.
Change-Id: Ia4d0ea49138a15cdc8e9e634f577719e848227ec
2018-12-09 22:39:04 +01:00
Translation updater bot df6435a9d5 Localisation updates from https://translatewiki.net.
Change-Id: I1ea8d9e036aa1a28a5b5d04df8cb8328f2909e74
2018-12-06 22:32:06 +01:00
Translation updater bot b3ce8a9355 Localisation updates from https://translatewiki.net.
Change-Id: I1521862ef6d360bba78d03ece9495015ddaed7dc
2018-12-05 22:30:18 +01:00
Translation updater bot 41f5057540 Localisation updates from https://translatewiki.net.
Change-Id: I8a9b40e116f9836178564403e802faf1a5e4aa7d
2018-12-04 22:14:33 +01:00
Translation updater bot a77b458361 Localisation updates from https://translatewiki.net.
Change-Id: I9c4237e104859c340d24798d4e79ffe8cf2dfdcf
2018-12-03 22:35:19 +01:00
Translation updater bot da1ce89a88 Localisation updates from https://translatewiki.net.
Change-Id: I9c26a17cde1a015caa179a18e455b8576eba4be5
2018-12-01 22:17:30 +01:00
Translation updater bot 8521f0bcf6 Localisation updates from https://translatewiki.net.
Change-Id: I3c343683c122484736e2d9164cb8ee80ad220632
2018-11-30 22:49:49 +01:00
Ed Sanders 4d03a4856d Update eslint-config-wikimedia to 0.9.0
Change-Id: Icd7b0f4ca54275c31eb61a759e2c3c9ce0a18952
2018-11-27 22:48:32 +00:00
Ed Sanders 0f51b4f3e6 eslint: Drop 'dot-notation' rule
Bug: T210552
Change-Id: I8630ada0e269bfde08bca5512794cdf4df1e8c50
2018-11-27 22:43:06 +00:00
Volker E b680244f8a Fix navigation controls wrapping on Notifications page
Fixing regression from a8ef5fe765c1.

Bug: T210487
Change-Id: I914b94515398d9fa388e8a8984b22f52e3507c86
2018-11-27 09:27:52 -08:00
Translation updater bot 2854d457cd Localisation updates from https://translatewiki.net.
Change-Id: I78a86036692c5659736986a3c3ca9fece525a67b
2018-11-25 22:33:51 +01:00
Translation updater bot 84830f8c9f Localisation updates from https://translatewiki.net.
Change-Id: I76616db43fbb72dadab618a3b97aac1cb3daf87d
2018-11-23 22:17:35 +01:00
Translation updater bot eae6802fee Localisation updates from https://translatewiki.net.
Change-Id: I6e51e4816d65f037bbb05553ebecbd250669f2f2
2018-11-21 22:29:04 +01:00
Translation updater bot 437fa54a31 Localisation updates from https://translatewiki.net.
Change-Id: I60cc5a878a748b82bed446f2f13445c4137d6ae6
2018-11-18 22:48:27 +01:00
Translation updater bot 0450ecc361 Localisation updates from https://translatewiki.net.
Change-Id: Ia86987a2b5ab8c81485552f4a2832ca909f60e34
2018-11-16 22:29:28 +01:00
Edward Chernenko 33e77eb7c2 (cosmetic) Fix typo in comment of abortNewMessagesAlert()
Change-Id: Ieb46771b66f655319ad3653edb1bdac08b824c4f
2018-11-16 03:24:08 +03:00
Translation updater bot 285aa8f110 Localisation updates from https://translatewiki.net.
Change-Id: I98402952c320a6da18e4dc2f061d993451c02275
2018-11-15 23:00:05 +01:00
libraryupgrader 6ee809d6e6 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I88b24b63a69869d76c3d25dd276aa21be93272e8
2018-11-14 12:44:53 +00:00
Mogmog123 b96093284a Clean up back-compatible code in NotificationController.php
Change-Id: Icb4cb98c1dfbd79e5f0c9a4ae91568fea9e19dcd
2018-11-14 09:54:10 +00:00
jenkins-bot 2585fa1354 Merge "Remove obsolete aliases from closures" 2018-11-13 23:08:26 +00:00
Translation updater bot 7294600216 Localisation updates from https://translatewiki.net.
Change-Id: I5ca2ddf20d891334c7157504eb5e2a55561b21c9
2018-11-12 22:12:43 +01:00
Ed Sanders 17126b2ab1 Remove obsolete aliases from closures
Bug: T208951
Change-Id: If51fc6d50b9755c779fd0bf1be7bb0fe276539ea
2018-11-12 13:56:38 +00:00
Translation updater bot af6fc0573a Localisation updates from https://translatewiki.net.
Change-Id: I34fe82806273569c6cd3b0b4e705090bdd8f5470
2018-11-10 22:28:11 +01:00
jenkins-bot 4c14320a32 Merge "Streamline opacity on personal tool icons" 2018-11-09 23:10:25 +00:00
Volker E 39db100cbc Streamline opacity on personal tool icons
Selector was set on the element's class, not the icon carrying
pseudo class, resulting in a hard to predict
double opacity application. Also changing default opacity to
WikimediaUI Base values.

Bug: T207542
Change-Id: I1f45e721ee30acfd6261edcbc9d81cf92c7217a3
2018-11-07 21:19:57 -08:00
jenkins-bot 6b0eb59c5d Merge "Replace two regular expressions with cheap string manipulations" 2018-11-07 22:37:56 +00:00
Volker E d0d222cc3a Fix two layout regressions from OOUI ButtonSelectWidget change
Fix the regressions from being able to wrap items on narrow screens
in I2102f6d33979b. We don't want wrapping in affected cases.

Bug: T208930
Change-Id: I748d5b455bef15067205b49824386d2ab5dfdc07
2018-11-07 04:06:02 +00:00
Translation updater bot dd420402ba Localisation updates from https://translatewiki.net.
Change-Id: Ib44ccc66ed50e5478521cb72488eabd8ad659aac
2018-11-05 22:24:30 +01:00
Translation updater bot 8929bf0664 Localisation updates from https://translatewiki.net.
Change-Id: I439b8ff54377b3ae50c5a2ef7cce935f50a6f908
2018-11-04 22:42:10 +01:00
Translation updater bot 2eb970f91e Localisation updates from https://translatewiki.net.
Change-Id: I3cac03fdf7d644bb351653392cc399817d493d7b
2018-11-03 11:02:52 +01:00
jenkins-bot f75d5d120f Merge "Add method scope visibility" 2018-11-02 23:55:06 +00:00
Umherirrender 81183a6d86 Add method scope visibility
Change-Id: Id4fe59155d6e0fa2ef1ccf4dc46ee1f109265246
2018-11-02 18:47:39 +01:00
Stephane Bisson 1d299ed58b Sample notifications: improve existence check and logging
Use the ExtensionRegistry instead of checking the existence
of a specific class to know if an extension is installed.

Improve logging, including line break, when an extension
is not installed.

Change-Id: Ia81194392ffc65abc8ad150b36b468315a1a67c3
2018-11-02 11:14:21 -04:00
jenkins-bot 92ed4e312c Merge "Make notifyAgent a per-type property rather than per-event" 2018-11-02 15:09:19 +00:00
Rafid Aslam 134ad74fdc Change HTTP links to mediawiki.org to use HTTPS
Several links that link to mediawiki.org still use
"http" protocol which isn't a safe protocol. This commit
changes http links that link to mediawiki.org to use
"https" protocol instead.

Bug: T189687
Change-Id: Ie8a8fca4148181c9d1fe4379993aae3aaacf5ed9
2018-10-30 23:52:50 +07:00
Roan Kattouw de536d09d9 Make notifyAgent a per-type property rather than per-event
Specify which notification types allow notifying the event agent in
$wgEchoNotifications, and stop specifying it in the event_extra data.

Putting 'notifyAgent' => true in event_extra will still work, but is
discouraged.

Change-Id: I4f558654ec23757dd4ecd6986eb3e9a5593f5386
2018-10-29 15:41:51 -07:00
jenkins-bot 155d582026 Merge "Avoid use of IDatabase::delete() return values" 2018-10-28 21:42:10 +00:00
jenkins-bot 512a0904c5 Merge "Avoid use of IDatabase::insert() return value" 2018-10-28 21:42:07 +00:00
Translation updater bot 7c52c4945b Localisation updates from https://translatewiki.net.
Change-Id: Ide76eedab91ad0f9d1ee5148a3dad33691d14f50
2018-10-28 22:21:53 +01:00
Translation updater bot d591985787 Localisation updates from https://translatewiki.net.
Change-Id: I0f5ab339a817bf8358b3dc4fb08c061214cdf7e9
2018-10-27 22:59:54 +02:00
jenkins-bot f84c49a9f9 Merge "Avoid use of IDatabase::update return value" 2018-10-26 23:39:32 +00:00
Aaron Schulz bbf0e1fade Avoid use of IDatabase::insert() return value
Change-Id: I36a18d9ff315928555bef7ab93283ec72aeef9f7
2018-10-26 15:44:57 -07:00
Aaron Schulz 9aa1344808 Avoid use of IDatabase::delete() return values
Change-Id: If5e28fc640199c22dfe8ae3ab3ffadf4859fa7a1
2018-10-26 15:25:15 -07:00
jenkins-bot e4fad24538 Merge "Avoid use of IDatabase::update return value" 2018-10-26 22:04:56 +00:00