Commit graph

5269 commits

Author SHA1 Message Date
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
Aaron Schulz 9a0ce7d4d7 Avoid use of IDatabase::update return value
Change-Id: I0739c2dcd22aa0536257e534dd1eb0d44d3f016b
2018-10-26 13:56:30 -07:00
Aaron Schulz 9cca289625 Avoid use of IDatabase::update return value
Change-Id: I6780b4ca7051daee38d9155632a556455c434b67
2018-10-26 12:46:58 -07:00
Aaron Schulz deb5057dc6 Avoid use of IDatabase::update return value
Change-Id: I7f3a0f169cfac9190b796b45aabb1b9cb7670a9d
2018-10-26 12:41:49 -07:00
jenkins-bot 84fbb3da29 Merge "Reload the test user instance before checking the edit count" 2018-10-25 21:22:36 +00:00
Thiemo Kreuz 611d1610dd Simplify testDiscussionParser code
I found this code while looking for possibly problematic count()s.

I noticed the line "$user = $pageData['revisions'][0]…", which means
the code assumes element [0] is always there. Therefore I droped the
"count() == 1" check.

The other count() got replaced with an isset().

Change-Id: Ic582c85d07db0cbed56512e3e381120b628f2288
2018-10-25 19:23:07 +00:00
Zoranzoki21 3f42e2956f Fix HTTP links to HTTPS for www.mediawiki.org
Bug: T189687
Change-Id: I1990cabfa813f7eabe935ce81644d568f99215ea
2018-10-23 20:58:50 +00:00
Aaron Schulz 9c26779852 Reload the test user instance before checking the edit count
These are updated in deferred updates and should not rely on the same
User instance being used in those updates. This also avoids convoluted
logic in User to set the new edit count for various cases.

Change-Id: I0ad3d17107efc7b0e59f1dd54d5733cd1572a2b7
2018-10-23 11:01:35 -07:00
Thiemo Kreuz 5cf0e6273f Add missing limits to explode() where possible
For the algorithms in question this does not make any difference. Excess
elements are thrown away anyway. This is for performance.

Change-Id: I645e389b3f993bc8015fd729b9302aa25471f833
2018-10-20 09:11:19 +00:00
Thiemo Kreuz 8c51f5bd45 Avoid count()ing where not necessary
If all the code needs to know is if an array is empty or not, using
count() creates more confusion than anything.

Change-Id: I253308505fe5af5b5c56d85169789271967298ba
2018-10-19 10:04:24 +02:00
Translation updater bot a193185a1f Localisation updates from https://translatewiki.net.
Change-Id: I0fc664629690d42b716b5494ef7b9dfe46190894
2018-10-17 23:44:07 +02:00
Translation updater bot dd02b4b5e6 Localisation updates from https://translatewiki.net.
Change-Id: I30891370deeb9cb1070e88b75fb8a94b43f1d4e8
2018-10-16 22:17:20 +02:00