Commit graph

6418 commits

Author SHA1 Message Date
jenkins-bot aa0ee66966 Merge "Move test-only classes to new TestAutoloadClasses declaration" 2020-01-01 23:25:26 +00:00
jenkins-bot e003778095 Merge "Removed comment out debug code from EchoDiscussionParser" 2020-01-01 22:46:59 +00:00
Umherirrender c25962ce47 Move test-only classes to new TestAutoloadClasses declaration
Bug: T196090
Change-Id: I1348c07c688cce6e9cd65669c824561bac1a1eff
2019-12-31 00:23:54 +01:00
Translation updater bot 0369c3999d Localisation updates from https://translatewiki.net.
Change-Id: I753f93213a3770686e1ec167f8bf72026919a226
2019-12-29 20:40:29 +01:00
Umherirrender 317246762c Removed comment out debug code from EchoDiscussionParser
Change-Id: I0f5823253e7dbad6aabcc85f3f1e0c2196874f66
2019-12-29 16:08:15 +01:00
libraryupgrader ef3d2b886d build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Change-Id: I03333636654eff80d4fe7fa543ac9e6c321af891
2019-12-29 11:59:32 +00:00
Thiemo Kreuz (WMDE) 65700e6c0e Revert "Make method parseNonEditWikitext public"
This reverts commit b4fdb685cb.

Change-Id: I33abe899f34903cfcc24c7a4f45e70aaab3f0abb
2019-12-28 20:16:38 +00:00
Paladox b4fdb685cb Make method parseNonEditWikitext public
It's used by the Comments extension.

Change-Id: If69b1706067a0c80420e427a453da965f226aa75
2019-12-23 01:54:53 +00:00
Translation updater bot 72fd486374 Localisation updates from https://translatewiki.net.
Change-Id: Ibe48f2a33075a462aacd99079b1506d584cfaeef
2019-12-22 17:40:42 +01:00
jenkins-bot f6df96a8e5 Merge "Style improvements to Echo OOUI dialog in desktop Minerva" 2019-12-20 22:41:27 +00:00
jdlrobson 5b628b5109 Style improvements to Echo OOUI dialog in desktop Minerva
* Make sure the badge for desktop when initialised points to the
right thing
* Make sure the dialog takes up the full screen and the Clippable bug
does not interfere with the display of the pane

Bug: T241090
Change-Id: I6c5588ee689633cef413ef27449aeeea341d7a97
2019-12-20 20:38:36 +00:00
Translation updater bot b1c36dcf05 Localisation updates from https://translatewiki.net.
Change-Id: If601cb67dd171458cc9a923fdeedd56934abbb3e
2019-12-18 09:25:16 +01:00
Translation updater bot af011120c2 Localisation updates from https://translatewiki.net.
Change-Id: Ib26402079392ce36cb6476259c9397f06acea6b2
2019-12-17 10:07:31 +01:00
libraryupgrader a54887eb0f build: Updating mediawiki/minus-x to 0.3.2
Change-Id: I3f1b4eb10173cb4df111f9ca630152bdcafdd935
2019-12-16 21:15:12 +00:00
jenkins-bot 24dd8dce66 Merge "Document message "echo-blacklist"" 2019-12-16 11:36:08 +00:00
Translation updater bot a5a5224e49 Localisation updates from https://translatewiki.net.
Change-Id: I035783a03f121182ceb69e98e60f331c95bb5bc8
2019-12-16 12:13:14 +01:00
Fomafix 99dc512ef8 Use document.body instead of 'body' as jQuery selector
Also use the shorter .appendTo() instead of .append().

Change-Id: I1e0aaff4790a6ca5c9e5d2f6e5926e15f8574cee
2019-12-16 11:51:03 +01:00
Umherirrender 4c991af59f Use WebRequest::getInt for limit parameter
This avoids that the default value is casted to string
and than back to int

Change-Id: I66ef8bc3a8e89b43aa5eff79bc371659e86af174
2019-12-13 22:29:07 +01:00
Raymond a22a916e14 Document message "echo-blacklist"
This way it shows up on [[Special:AllMessages]]

Change-Id: I19ae033b8972029d32018a55e0724a1afbd8e61c
2019-12-13 17:28:38 +01:00
Jon Harald Søby 72963d4167 Add PLURAL to new messages
These new messages should have {{PLURAL}} in the English original
even though the number will be larger than 1. For other languages (like
Russian) the plurals work differently, so having the {{PLURAL}} in the English
message even though it won't have any effect there works as a guide to
the translators (just like the {{GENDER}} does).

Change-Id: I925818bbf3da95e2ffdb629f448f54911752e346
2019-12-13 13:01:59 +01:00
Translation updater bot d834e9fb86 Localisation updates from https://translatewiki.net.
Change-Id: I5deb6a653bae5b5d19966618053f10a0897b568b
2019-12-13 09:28:15 +01:00
jenkins-bot 19d88be6cf Merge "build: Update linters" 2019-12-12 17:52:35 +00:00
Ed Sanders 80ddee3956 build: Update linters
Change-Id: I713aafb891306fc21a776a7d4622c6a039798753
2019-12-12 11:20:49 +00:00
jenkins-bot 8b6efb51bb Merge "Add preference to not receive digests about read notifications" 2019-12-12 11:14:30 +00:00
Translation updater bot d504fe7965 Localisation updates from https://translatewiki.net.
Change-Id: Icf5d1f7d8d6a8ce282909abe3f230d4fad530148
2019-12-12 09:56:36 +01:00
Ben Houghton 9ae45afdfd Add preference to not receive digests about read notifications
Allows users to opt out of receiving daily or weekly digests containing notifications
they have already marked as read on the web.

Bug: T169386
Change-Id: Ib47248678f88095492fb6896530be5a9f5bb43ca
2019-12-12 06:30:13 +00:00
jenkins-bot e6ed60ee1d Merge "Add support for watchlist events" 2019-12-11 23:19:36 +00:00
Pppery db78c1552e Add support for watchlist events
Bug: T203941
Change-Id: I9bcd13cb0a547393696dde0e977b7761cc1fea68
2019-12-11 16:39:02 -05:00
Translation updater bot 448f6f1ba0 Localisation updates from https://translatewiki.net.
Change-Id: I0c21bbf81df1a8d2ddfb52a145e5f85f0d018da0
2019-12-10 09:29:35 +01:00
Translation updater bot 99b2105158 Localisation updates from https://translatewiki.net.
Change-Id: I76e7376e359fdad25b5d1f788f10cd5e40136b01
2019-12-09 09:35:11 +01:00
Translation updater bot 259db7d3bf Localisation updates from https://translatewiki.net.
Change-Id: I2a567e99fa5ed778916eae8725e5b151fb7092a3
2019-12-04 09:24:06 +01:00
Ben Houghton aeafb09d80 Allow marking all as read from popout window
Clicking 'mark all as read' would only mark the notifications you are viewing as read
instead of all of them - now it will mark all of them as read.

Bug: T156425
Change-Id: If46a85f91dfddd4ac158e5c3a4f942c9c3d9aac1
2019-12-03 20:08:35 +00:00
Translation updater bot 0704644ee0 Localisation updates from https://translatewiki.net.
Change-Id: I4fbe0c28e664851490b158b477a32f72bf6ab162
2019-11-29 09:28:16 +01:00
Roan Kattouw d85252b97d DiscussionParser: Fix type hint fatal from getUserLinks()
Instead of returning false when no links in the user namespace are
found, return an empty array. They're both falsey, but this way we don't
break the type hint in generateMentionEvents(), which is the only thing
that getUserLinks() is used for anyway.

Bug: T239275
Change-Id: I93b320be07cfdae68c5e296b2caa62ea4fae5ff2
2019-11-26 17:57:16 -08:00
jenkins-bot 4b8eb663df Merge "build: Updating mediawiki/mediawiki-phan-config to 0.8.0" 2019-11-25 21:01:26 +00:00
Translation updater bot d90ea5ce0e Localisation updates from https://translatewiki.net.
Change-Id: Ibb1b3b96dd8dd4047b9f7ffb09b370c0e483601d
2019-11-25 09:10:09 +01:00
Translation updater bot 4ddeaa4672 Localisation updates from https://translatewiki.net.
Change-Id: I2d8b5d5ff5cca9c3d32dd9f6c592c5bb9a4356f9
2019-11-22 09:14:20 +01:00
Translation updater bot 85d2ca85bd Localisation updates from https://translatewiki.net.
Change-Id: Ie89ab67cc54a575ad31d1374866bedce88fe321f
2019-11-20 09:37:27 +01:00
jenkins-bot f67c038475 Merge "Stop passing objects by reference" 2019-11-19 08:33:01 +00:00
Max Semenik 36af0f2cf1 Stop passing objects by reference
Bug: T193950
Change-Id: Ie8a2302137c5b5fc67862031ffe244c50769fa1f
2019-11-18 23:23:22 -08:00
Umherirrender 5c1de126cb Set apihelp message for wikis parameter of echomarkread
It is set by a trait, but each module using the trait defines its own
message for it, so adding a new one for this module

Bug: T238520
Change-Id: Id247a40296960f3c95d3fc95bd046113e07dc0ff
2019-11-18 20:12:24 +01:00
Umherirrender f62ab66363 build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I93844dc6fae8a3dca3ced591d43caa2f994ba2f1
2019-11-18 20:03:13 +01:00
Daimona Eaytoy c19c88567b Hack: back-compat for PHPUnit's Stub interface
Until PHPUnit7, the Stub interface came from phpunit-mock-object, and it
was at PHPUnit\Framework\MockObject\Stub. Then, phpunit-mock-object was
merged into PHPUnit, and:
 - The interface above was moved to PHPUnit\Framework\MockObject\Stub\Stub
 - The FQSEN above started pointing at a completely different interface
 
This is a temporary hack to allow upgrading to PHPUnit 8, and MUST be
removed as soon as the upgrade is complete.

The :string typehint is also necessary in PHPUnit8, and it will work
with PHPUnit 6 as well.

Bug: T192167
Change-Id: I07cebd07088bced5c5ddc62936f0098dfa39e151
2019-11-18 16:58:18 +00:00
Translation updater bot 5d515aa8db Localisation updates from https://translatewiki.net.
Change-Id: Ibbea9ee5a44902414b927662dd6bafde6038140a
2019-11-18 09:22:17 +01:00
Translation updater bot 1461ff1c91 Localisation updates from https://translatewiki.net.
Change-Id: I9545e4b666d69b578caf20f4bf4a1702da26aa77
2019-11-15 09:21:05 +01:00
Translation updater bot dc7b36b19b Localisation updates from https://translatewiki.net.
Change-Id: I458986f6c6a84fc0de8cf6c3ef6c114159ad75de
2019-11-13 09:26:43 +01:00
Translation updater bot 4c71dfabac Localisation updates from https://translatewiki.net.
Change-Id: I3fde88d0206797ae6f62964d003e42c0dd3fa35c
2019-11-11 14:48:38 +01:00
Translation updater bot ff5089947c Localisation updates from https://translatewiki.net.
Change-Id: Ic50880a5eb37be458551f5a0bb6796aeefaccfea
2019-11-07 09:41:52 +01:00
Translation updater bot 219701874e Localisation updates from https://translatewiki.net.
Change-Id: Iaba06e6bbd90274ffaccf1ddf5d28f72494ff6c8
2019-11-05 09:45:24 +01:00
Translation updater bot bd14057871 Localisation updates from https://translatewiki.net.
Change-Id: I2c8c3041a9f8e6ca3da77863165e3fc4aa075f3e
2019-11-04 10:15:41 +01:00