Roan Kattouw
c8b9d849fc
Add PageMoveCompleting hook, to replace TitleMoveCompleting
...
We intially thought we wouldn't need this and would only need
PageMoveComplete, but it turns out Flow does need it.
Bug: T250023
Bug: T255608
Change-Id: I8e7308541d2fe6d02b9dad63e1c86c89f6e7cf53
2020-06-16 22:27:28 -07:00
jenkins-bot
38accc1457
Merge "Revert "Hard deprecate the TitleMoveCompleting hook""
2020-06-17 04:47:01 +00:00
Catrope
6fc783ad2b
Revert "Hard deprecate the TitleMoveCompleting hook"
...
This reverts commit 8f7f133ccf .
Per I8cdef229bf0a3, we still need this in Flow for now, to fix a UBN.
Bug: T255608
Change-Id: Id414c98161b9f560b14d4eaec8aedeec4659df27
2020-06-17 04:09:34 +00:00
jenkins-bot
b4a3a0ec74
Merge "BlockPermissionChecker: Clarify that 'unblockself' allows altering block"
2020-06-17 02:07:14 +00:00
suecarmol
fd14eb2d0d
Add getExpiryInDays function in WatchedItem
...
Add a function that calculated the number of days remaining before a
watched item expires. This function will be used in several places, like
the watchstar tooltip and the clock icon that will appear on
Special:Watchlist on pages that are being temporarily watched.
Bug: T253936
Change-Id: I5b50a6707fb6a8e5ad868b5c30917027266ab82a
2020-06-16 19:58:34 -05:00
jenkins-bot
8c04d98a8a
Merge "Do not return internal edit status from EditPage"
2020-06-17 00:52:18 +00:00
jenkins-bot
24ecb0cc71
Merge "Exclude expired watchlist items from RecentChanges and RecentChangesLinked"
2020-06-16 23:28:37 +00:00
jenkins-bot
275d4a2570
Merge "HandlerTestTrait::getRouteUrl behaving differently than Router::getRouteUrl"
2020-06-16 21:01:30 +00:00
jenkins-bot
3bb168f20f
Merge "BlockPermissionChecker: Check whether target is UserIdentity"
2020-06-16 20:12:25 +00:00
jenkins-bot
48621c0d4e
Merge "Replace non-standard palette .new color with Red50 #d33"
2020-06-16 19:55:53 +00:00
jenkins-bot
8c7d759195
Merge "Fix visibility of setUp/tearDown"
2020-06-16 19:43:12 +00:00
jenkins-bot
ac7a9c999c
Merge "mediawiki.ui: Use standard naming scheme for @color* variables"
2020-06-16 19:42:36 +00:00
jenkins-bot
2101ed6c31
Merge "upload: Modernize callback code to make use of PHP7 syntax"
2020-06-16 19:37:15 +00:00
Nikki Nikkhoui
14260d3955
HandlerTestTrait::getRouteUrl behaving differently than Router::getRouteUrl
...
In HandlerTestTrait::getRouteUrl when a query param had a null value,
the query was not being appended to the url at all. Whereas, in
Router::getRouteUrl a null value would still append on the query key.
HandlerTestTrait::getRouteUrl will now append on query params, even if the value
is null. Additionally, Router::getRouteUrl() can accept path params.
Bug: T255582
Change-Id: I3610f6252f2f0e7ec95ca346a6bdcd774e5260f8
2020-06-16 12:08:07 -07:00
Thiemo Kreuz
5f3a92385b
Fix visibility of setUp/tearDown
...
Change-Id: I636be48eb9f713680abac35d46091f7b49374696
2020-06-16 21:02:05 +02:00
jenkins-bot
2d34500f59
Merge "UserContributions endpoint: filter suppressed revisions"
2020-06-16 18:33:33 +00:00
jenkins-bot
94a0cdec43
Merge "REST api: bump some endpoints to v1"
2020-06-16 16:36:21 +00:00
daniel
96aacab20b
UserContributions endpoint: filter suppressed revisions
...
ContributionsLookup needs to have the acting user (the authority) passde
in explicitly, so suppressed user contributions can be filtered according
to the user's permissions.
Bug: T252202
Change-Id: I94098f87ae45cd4e1db4a7168bf6e9478e9e32fc
2020-06-16 08:20:32 -07:00
Thalia
c464c42989
BlockPermissionChecker: Clarify that 'unblockself' allows altering block
...
Change-Id: Ic9b2e6d8ca7afe4c680c994955ebccfbe89a133c
2020-06-16 16:11:24 +01:00
Thalia
ea9c326384
BlockPermissionChecker: Check whether target is UserIdentity
...
Change-Id: I6150c819e40e97cb30194321feb7b388c51ebcf2
2020-06-16 16:09:17 +01:00
jenkins-bot
1e6fa3e186
Merge "Introduce BlockPermissionChecker service for validating block targets"
2020-06-16 15:06:32 +00:00
jenkins-bot
d01b655ee2
Merge "Remove deprecated PasswordCannotBePopular"
2020-06-16 14:07:42 +00:00
jenkins-bot
7122172616
Merge "Replace @context with @this"
2020-06-16 09:32:09 +00:00
Translation updater bot
9934098d3c
Localisation updates from https://translatewiki.net .
...
Change-Id: I56ae4405fe50c133cb0d140ce098c109e4ff1ceb
2020-06-16 08:32:02 +02:00
jenkins-bot
73b315d58e
Merge "StaticArrayWriter: Add test case for int-like keys"
2020-06-16 05:05:36 +00:00
jenkins-bot
56d71cd3d2
Merge "CloneDatabase, add domain alias when prefix is changed"
2020-06-16 03:29:53 +00:00
Timo Tijhof
67247d933f
StaticArrayWriter: Add test case for int-like keys
...
Change-Id: I557c5ce19157ac94676b4d181ddaac73955d6172
2020-06-16 02:57:46 +01:00
jenkins-bot
0250bd3b63
Merge "Hard deprecate the TitleMoveCompleting hook"
2020-06-16 01:01:20 +00:00
jenkins-bot
9b5fb7a9eb
Merge "Files: Hard deprecate recordUpload, soft deprecate 2, add recordUpload3"
2020-06-16 01:00:09 +00:00
jenkins-bot
548b53e492
Merge "Add PageArchive::getRevisionRecordByTimestamp"
2020-06-16 00:53:08 +00:00
jenkins-bot
2e7c2d1912
Merge "Hard deprecate calling ParserOptions::newCanonical with no parameters"
2020-06-16 00:50:49 +00:00
Volker E
f9c25f4a73
mediawiki.ui: Use standard naming scheme for @color* variables
...
In case of `.mixin-mw-ui-anchor-styles-quiet()`, which is only used by
Flow to my knowledge the quiet anchor shouldn't look disabled but should
carry normal text color.
All other cases are simple replacements with the same value, different
variable name.
Bug: T255229
Change-Id: Ib42aba3a76d273fe629d1396aa0ee5af25185aa2
2020-06-15 16:57:31 -07:00
jenkins-bot
282b5a906b
Merge "Deprecate SkinTemplateToolboxEnd hook"
2020-06-15 23:41:29 +00:00
jenkins-bot
f22546c3d0
Merge "mediawiki.ui: Add @color-base--inverted variable and deprecate @colorBaseInverted"
2020-06-15 23:33:19 +00:00
Ammar Abdulhamid
dec08eacdd
Deprecate SkinTemplateToolboxEnd hook
...
Bug: T253783
Change-Id: Ia6f46c1e3d33a14d3f3161f1716f9d0791cd397d
2020-06-15 23:18:05 +00:00
DannyS712
44945be0a5
Hard deprecate calling ParserOptions::newCanonical with no parameters
...
Falls back to $wgUser
No remaining deployed uses in MW 1.35+
Bug: T246861
Change-Id: If4304de546457fe0a96a6ac8d705a70c480c6fae
2020-06-15 23:11:45 +00:00
DannyS712
dd938a8b5a
Add PageArchive::getRevisionRecordByTimestamp
...
For internal use only
Allows deprecating PageArchive::getRevision
Bug: T249982
Change-Id: I0e10c1b6c7f56af9340f42d58ec4e8699e247be4
2020-06-15 23:02:50 +00:00
jenkins-bot
299f8d4c23
Merge "Tests: Autofix ESLint rule exceptions"
2020-06-15 22:02:24 +00:00
jenkins-bot
abfc45cd87
Merge "ImportableOldRevisionImporter: Don't call WikiPage::updateIfNewerOn"
2020-06-15 21:59:31 +00:00
Reedy
a26c1c8e59
Remove deprecated PasswordCannotBePopular
...
Change-Id: I77432ef0257c0dc8aa7c26e075616592e639bfec
2020-06-15 21:57:25 +00:00
DannyS712
8f7f133ccf
Hard deprecate the TitleMoveCompleting hook
...
No remaining uses in deployed code
Bug: T250023
Change-Id: I5392d54a74c4ff19b977833bf5f8329c487afb19
2020-06-15 21:54:17 +00:00
jenkins-bot
5b75d2e142
Merge "Reduce direct uses of $wgUser in ApiQueryInfo's token methods"
2020-06-15 21:42:58 +00:00
DannyS712
14fb1541da
Files: Hard deprecate recordUpload, soft deprecate 2, add recordUpload3
...
Bug: T248813
Change-Id: Ic2aab4c92721e34c21a1348c127651d08062b5fd
2020-06-15 21:40:48 +00:00
DannyS712
bcc555d67a
ImportableOldRevisionImporter: Don't call WikiPage::updateIfNewerOn
...
Bug: T250318
Change-Id: I96bd5b8c226a54e0534d1930a430d9ab7b8af8ce
2020-06-15 21:22:27 +00:00
Ed Sanders
2743c1ce9f
Tests: Autofix ESLint rule exceptions
...
Change-Id: I7b8b4d7a549dd33315d9a8f96b0d75e1f9ff95b1
2020-06-15 21:55:47 +01:00
Ed Sanders
ceb93b4d3b
Replace @context with @this
...
@context is a jsduck custom tag used in very few places.
Rename to @this to make migrating to JSDoc easier.
Change-Id: I10394e85354b7002d96e0fa1af1cb7ae7534db8d
2020-06-15 21:49:06 +01:00
jenkins-bot
e862341ce0
Merge "Move User::newFromIdentity logic to UserFactory"
2020-06-15 20:26:57 +00:00
jenkins-bot
08954c6303
Merge "MultiHttpClient: Reduce the default timeout from 900 to 30"
2020-06-15 20:18:17 +00:00
jenkins-bot
4852806586
Merge "REST /me/contributions: implement backwards paging"
2020-06-15 19:17:17 +00:00
jenkins-bot
b26f59c8a9
Merge "Deprecate PasswordNotInLargeBlacklist"
2020-06-15 19:16:50 +00:00