Stephane Bisson
c75d974004
Provide title when parsing wikitext
...
Bug: T141460
Change-Id: I802c9c4bf964a060e44f25a487b5aec6f7d8c6b6
2016-09-01 16:48:56 -04:00
Moriel Schottlender
97a7d44190
Clean up Special:Notifications output
...
Transform the php output to OOUI widgets.
Bug: T129172
Change-Id: I65cb5f2a016fc2a3c33a0b1cd2f3f88ed963ab02
2016-09-01 13:38:06 -07:00
Moriel Schottlender
f449c68780
Add confirmation popup widget
...
Mainly used for mobile actions, and should be appended to the
overlay - this widget assumes it should appear and then fade out
with some confirmation message.
Also moved 'doubleCheck' icon to the ooui definitions, including
an inverted icon that is necessary for this widget.
Bug: T141404
Change-Id: I67a44962eaee6b7bd8cac26dcb5277177fa5d224
2016-08-31 14:47:59 -07:00
Translation updater bot
04421c2216
Localisation updates from https://translatewiki.net .
...
Change-Id: If2c3dcbe900f78845933b9e60ba041171763a70a
2016-08-31 22:34:55 +02:00
jenkins-bot
4c82613936
Merge "Fix sidebar counts Special:Notifications in monobook"
2016-08-31 02:41:05 +00:00
jenkins-bot
8c03fbb0e4
Merge "Adjust Special:Notifications width for small screens"
2016-08-31 02:41:03 +00:00
jenkins-bot
ac62a9361c
Merge "Fix line-height for notification item text"
2016-08-31 02:41:02 +00:00
Moriel Schottlender
a4aa79fa50
Add the best CSS rule to notifications: word-break: break-word;
...
Add word-break: break-word; so we make sure even long names or titles
without spaces are broken/wrapped where they need to.
Bug: T142662
Change-Id: I166e834495972ec49eb98e301ab9be85f40f5a5e
2016-08-30 17:23:32 -07:00
Moriel Schottlender
311150a92d
Adjust Special:Notifications width for small screens
...
Bug: T141949
Change-Id: Id0987ea9e7929777c887ceea6757ec00b3bf18ae
2016-08-30 15:29:22 -07:00
Moriel Schottlender
6e0076410c
Fix sidebar counts Special:Notifications in monobook
...
Bug: T143845
Change-Id: Idf5922876f55aca6ed5d6800d0ff5066306c5fb1
2016-08-30 15:23:32 -07:00
Moriel Schottlender
07dde93247
Fix line-height for notification item text
...
Bug: T140523
Change-Id: I6a1a174ed70324da50970ecfb35ebba21ea703dd
2016-08-30 15:12:07 -07:00
L10n-bot
81d06554b8
Merge "Localisation updates from https://translatewiki.net ."
2016-08-30 21:04:42 +00:00
Translation updater bot
a7bfb072c6
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie8794392cc5c97cedd06825a7d7d4d2866533a2d
2016-08-30 22:59:51 +02:00
Roan Kattouw
7b2fc76f88
Follow-up 191a3309eb
: merge duplicate skinStyles for monobook
...
This caused text in the notifications popup to be right-aligned
in Monobook, because the stylesheet overriding this was ignored.
Change-Id: Ibf76465996abc7bc218dbf94f1d4a54e445d3693
2016-08-30 13:53:36 -07:00
jenkins-bot
76ea1746f9
Merge "Display a message when API fail due to session end"
2016-08-29 23:46:59 +00:00
Matthew Flaschen
090169fec3
Fix autoloader for I3a426b92892f4c00cab33a13f6a717751120367c
...
That changes the signature.
Change-Id: I1dc9f0240ae4b27e51e170f31911fea4f5225625
2016-08-29 19:05:10 -04:00
Roan Kattouw
191a3309eb
Fix font size for notifications dotdotdot menu in Monobook
...
Change-Id: Ie75ad192204a652885a82b0021340410b69864f4
2016-08-29 15:22:44 -07:00
Roan Kattouw
68a344d59a
Override white background on hover for links in Monobook
...
p-personal links have a white background on hover, and links
inside the notifications popup were inheriting that CSS rule.
Bug: T144063
Change-Id: I3868e418ab8cce8e5ff6f7cc10e042907cb1e8df
2016-08-29 14:41:54 -07:00
Translation updater bot
9cab608dff
Localisation updates from https://translatewiki.net .
...
Change-Id: I16976b06183783e480fb346de58ecb3545acb438
2016-08-29 22:35:20 +02:00
Moriel Schottlender
4eab01b3b4
Display a message when API fail due to session end
...
Bug: T144231
Change-Id: I3ced44de097ba5b17d9edb91d4e3c527a5f18f03
2016-08-29 12:56:56 -07:00
Translation updater bot
eda0f3dc87
Localisation updates from https://translatewiki.net .
...
Change-Id: I79019566e40c11a7d4c5294617f64d63009530eb
2016-08-28 22:36:27 +02:00
Translation updater bot
ba578c62b6
Localisation updates from https://translatewiki.net .
...
Change-Id: I7e8b505c153f5d9ed22983383c7826129a9dee00
2016-08-27 23:23:03 +02:00
Moriel Schottlender
a0e02da71f
Style changes for unwatch actions
...
- Reverse 'watch' / 'unwatch' star icons
- Truncate title texts
- Minor indentation fix
Bug: T132975
Change-Id: I1dbd6d1480f6ef5a45184271c932cd27258f7424
2016-08-26 14:58:10 -07:00
Translation updater bot
1521db756a
Localisation updates from https://translatewiki.net .
...
Change-Id: I0b7cba0512e68ded95d2ea7b3b5c8b40bf4c6a6e
2016-08-26 22:31:35 +02:00
jenkins-bot
23e95ec3fe
Merge "Dynamic actions: Reuse label/description for those fields"
2016-08-26 18:12:54 +00:00
Stephane Bisson
405b8ce084
Loading notifications starting with one big local bundle
...
Redo of cc86387f80
but
trying not to break the special page this time.
Bug: T143813
Change-Id: Id39d18a2ba4efa2b49ed42d10aa9aeef0e4672f0
2016-08-26 06:45:48 -04:00
jenkins-bot
9dd0e12733
Merge "Add index on event_page_id"
2016-08-26 02:00:47 +00:00
Matthew Flaschen
299b66f937
Dynamic actions: Reuse label/description for those fields
...
This is necessary to preserve backwards compatibility for the API, and
this also fixes the no-JS special page.
Also, fix additional warnings.
Change-Id: Id603b4ab22c69097d5559a756bec72a6ba785661
2016-08-25 22:00:25 -04:00
jenkins-bot
ac424a6e58
Merge "Fix call to irrelevant function in testFetchByUserOffset"
2016-08-26 01:44:05 +00:00
Roan Kattouw
f766002fbc
Add index on event_page_id
...
Bug: T143961
Change-Id: I15abd7c901df58f7eb9e5476d58a1bc12835645e
2016-08-25 18:35:39 -07:00
jenkins-bot
c82e390591
Merge "Remove unused method EchoEventMapper::fetchByUserBundleHash"
2016-08-26 00:17:59 +00:00
Roan Kattouw
fb1afa15e8
Fix call to irrelevant function in testFetchByUserOffset
...
testFetchByUserOffset should be testing fetchByUsreOffset(),
not fetchNewestByUserBundleHash().
Change-Id: Ie8c29714c4054999d14ebf0a3884912950be3837
2016-08-25 16:55:17 -07:00
jenkins-bot
6249814324
Merge "Revert "Get the overfetched before bundling to avoid removing the base""
2016-08-25 22:46:31 +00:00
Catrope
7c400c927e
Revert "Get the overfetched before bundling to avoid removing the base"
...
Breaks pagination. At least on Elena's machine, this results
in only 51 results being shown with no pagination controls.
This reverts commit cc86387f80
.
Change-Id: I6f888581039dc9171ce2114c47e53c2eda4eb8a3
2016-08-25 22:39:43 +00:00
Translation updater bot
5dcb5bffa7
Localisation updates from https://translatewiki.net .
...
Change-Id: I8a715c6b0ba4700a14a2ce03b9738e010def1242
2016-08-25 22:34:50 +02:00
Translation updater bot
a12b8c0b5d
Localisation updates from https://translatewiki.net .
...
Change-Id: I83e1ff8e583e9a036f878ed262012f5568e3b098
2016-08-24 22:36:21 +02:00
jenkins-bot
276a38e8ad
Merge "Get the overfetched before bundling to avoid removing the base"
2016-08-24 18:55:44 +00:00
Stephane Bisson
cc86387f80
Get the overfetched before bundling to avoid removing the base
...
Bug: T143813
Change-Id: I82809d5fe1dd919810349d820a5f62175ce48fd4
2016-08-24 14:38:21 -04:00
Stephane Bisson
9dd4e4ee30
Don't select echo_event.*
...
Removed fetchByTypesAndPage since it is now unused
Fixed fetchByPage to select simple * instead of
echo_event.*
Bug: T105890
Change-Id: I486f27501a649d5368305965d2cd012afe0915b2
2016-08-24 12:56:49 -04:00
Translation updater bot
48d5ef4fd1
Localisation updates from https://translatewiki.net .
...
Change-Id: I543dc039461cbbbe5d8951b37c3fe5193cfce631
2016-08-24 10:32:37 +02:00
Roan Kattouw
ce3d6b2f49
Remove unused method EchoEventMapper::fetchByUserBundleHash
...
Bug: T143763
Change-Id: Iad63e8866eeccf316b3efe3a44888256c0c407d8
2016-08-23 19:22:01 -07:00
jenkins-bot
4e99a5095f
Merge "Add dynamic secondary actions to notification items"
2016-08-23 17:43:08 +00:00
Roan Kattouw
ff2c58cdc4
Follow-up 8eda2aa3f
: actually render the nojs message on Special:Notifications
...
Change-Id: Id0d931f8465c2abfa41b1053ec2b2d0a632037ed
2016-08-22 16:16:41 -07:00
Moriel Schottlender
480ce92bd8
Add dynamic secondary actions to notification items
...
Allow extensions to add dynamic actions that perform some
API request and display a confirmation message.
Bug: T132975
Change-Id: Ib16d57c3f1a11a9749564c6e2112bf1ca32c55e8
2016-08-22 16:04:48 -07:00
Matthew Flaschen
f36d20ba4d
Fix special page visit logging
...
'version' was missing, making the event invalid, causing it to
not reach the database.
Factor out this field to logEvent
Bug: T121939
Change-Id: I9e4bb5574d69495cb5f53830047c68104c6ad10f
2016-08-22 16:35:50 -04:00
Translation updater bot
41adeb3aab
Localisation updates from https://translatewiki.net .
...
Change-Id: I5814748781c657594b762cb297fb8ac6d359dd72
2016-08-21 22:51:25 +02:00
Translation updater bot
a4844544f0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie165fd4916959db94c0bcdb87f360e826167261e
2016-08-20 22:39:33 +02:00
jenkins-bot
18a3da6b28
Merge "DiscussionParser stripSig from mention content"
2016-08-19 22:47:53 +00:00
jenkins-bot
95f829a3b7
Merge "Moderate notifications"
2016-08-19 22:34:16 +00:00
Stephane Bisson
6e2236db81
Moderate notifications
...
* When a page is deleted, moderate associated
notifications. When it is undeleted, unmoderate.
* When a notification cannot be rendered
(canRender() returns false), moderate it.
The biggest advantage of moderation over mark-read-and-ignore
is that those notifications are filtered out at the database
level from this point on. They are not re-processed every single
time and do not affect the number of notifications returned by
the API.
Bug: T140327
Bug: T140836
Bug: T141463
Change-Id: Idefe78408fd584c13aaa9174cee3055539d92848
2016-08-19 22:20:04 +00:00