Commit graph

4564 commits

Author SHA1 Message Date
Umherirrender b166664efc Fix parameter docs
Change @param to @var
Add |null to nullable arguments
Removed comment out code

Change-Id: I535ad4d544284c1e0fb6f39c254761f0810b4cc7
2018-04-06 08:17:17 +00:00
Umherirrender 7e40fcc6ca Add missing use for namespace Wikimedia\Rdbms
Changed to interface, because the result of IDatabase::select is
directly returned and now the same type

Change-Id: Ib77e1f5c26ebf0b474dc944b15d6ef671a88e836
2018-04-06 07:56:13 +00:00
Translation updater bot 83ad3d35e2 Localisation updates from https://translatewiki.net.
Change-Id: I569c05b34f59d65dceed8eb8995dc79ac95d6d7d
2018-04-05 22:22:15 +02:00
jenkins-bot caa28b5e6b Merge "Revert "Remove unused 'trash' icon"" 2018-04-05 19:53:44 +00:00
Catrope b59eedd251 Revert "Remove unused 'trash' icon"
Still being used by PageTriage.

The proper solution is to move the icon to PageTriage, but
for now let's bring it back in Echo to unbreak things.

This reverts commit 54f49875e9.

Bug: T191335
Change-Id: If4c709d9932ac0d063f6211c5ddd82846f0f6a6d
2018-04-05 19:07:04 +00:00
Translation updater bot d6739c7558 Localisation updates from https://translatewiki.net.
Change-Id: I1116b383b5b14a3104535f7220f6e1db0ea274cb
2018-04-04 22:50:18 +02:00
Umherirrender 52e91a605a Fix return type of EmailBatch::newFromUserId
Use | as separator for multiple classes

Change-Id: I246443b058436bec6b17675d4be46e130a4c075b
2018-04-04 12:35:54 +00:00
Translation updater bot 3c9e4d4c86 Localisation updates from https://translatewiki.net.
Change-Id: Id33161a6c18a21a9513f7f425846f46bec05a3ce
2018-04-03 09:51:01 +02:00
Translation updater bot f4c3b51636 Localisation updates from https://translatewiki.net.
Change-Id: I0cae155a64ace52eefaecdd84586897842ef81ad
2018-04-02 09:48:29 +02:00
Translation updater bot 0269e931b2 Localisation updates from https://translatewiki.net.
Change-Id: I973cd6768512d57f0d78ce2d40dd9a863af21d90
2018-03-31 09:22:20 +02:00
Translation updater bot 1db8aaf487 Localisation updates from https://translatewiki.net.
Change-Id: I115965244c7c311cccf9a5c02a7510dc9b497944
2018-03-30 09:34:38 +02:00
libraryupgrader 96b64d7799 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Ic1e7e6c73e6360f43fafeecf543165fbfb365c52
2018-03-29 01:44:16 +00:00
Translation updater bot 14f1e82808 Localisation updates from https://translatewiki.net.
Change-Id: I8bdca18846ba001ddebdd0ec2b959726f637f20f
2018-03-28 22:23:00 +02:00
Moriel Schottlender 5a42e71171 Add extra margin for the badge when count is 99+
Bug: T183539
Change-Id: I57060bc9c442d4fc030608f9f6de98b77f5e1133
2018-03-28 19:44:38 +03:00
Roan Kattouw 1eef6eeee3 Remove footer notice code
But keep the widget files in case we need them again.

Bug: T190481
Change-Id: Iec7dd472cebbee98ea88a0318c017707c7460ae8
2018-03-28 14:57:44 +02:00
jenkins-bot 2cf4bd1df3 Merge "Align Notifications popup header/footer with OOUI's default size" 2018-03-27 21:03:38 +00:00
jenkins-bot bc511b4af2 Merge "NotificationsOptionWidget: Fix icon alignment" 2018-03-27 21:00:26 +00:00
Translation updater bot 36bc342c10 Localisation updates from https://translatewiki.net.
Change-Id: I6f4ba274368ab5f93c1e204c0410241c7a442812
2018-03-27 22:09:31 +02:00
jenkins-bot ae9ee9bc35 Merge "Prevent FOUC when loading OOUI notification badges" 2018-03-27 19:58:37 +00:00
jenkins-bot 0f1a9f5954 Merge "Fix DOM structure of mw.echo.ui.MenuItemWidget" 2018-03-27 19:32:16 +00:00
jenkins-bot 710348470a Merge "Detect reverts differently" 2018-03-27 14:23:23 +00:00
jenkins-bot 147e43aeb2 Merge "Revert my fix for summary pings in reverts" 2018-03-27 14:15:50 +00:00
Ed Sanders 52cd0f9b05 Prevent FOUC when loading OOUI notification badges
Change-Id: I216d1f7ff90380040742e6c78df830a9dcb0b261
2018-03-27 13:54:27 +01:00
Ed Sanders 0fd6d64a29 Fix DOM structure of mw.echo.ui.MenuItemWidget
* Inherit from DecoratedOptionWidget as it comes with
  an icon mixin.
* Keep the DOM structure as similar to its parent as
  possible, to avoid breaking upstream child selectors.
* To this end, replace <a> wrapping hack with override
  of getTagName to set this.$element to <a>.

Change-Id: Ifde70785a1bc996eb09e581b06ed30708323e9f7
2018-03-27 12:33:40 +01:00
Volker E 77021e370c Align Notifications popup header/footer with OOUI's default size
Bug: T190397
Change-Id: I41ad96bbc7d3922772ecb026cb251476882601c7
2018-03-26 20:13:08 -07:00
Max Semenik ed54aabe76 Detect reverts differently
The previous way that's getting reverted in the previous patch
depended on a core change that was too pervasive to keep.

Bug: T189819
Bug: T190374
Change-Id: I16cb983266885055f187d1c7069fc519f2ee0576
Depends-On: I12cb7470aeb7852ddea319c7e499ca3a7b45c84c
2018-03-26 15:37:20 -07:00
Max Semenik 6229cadd2e Revert my fix for summary pings in reverts
To redo more properly.

This reverts commit 74eacad8d6.

Bug: T190374
Change-Id: If178ed1a497df5276894f86d7a3312811651ce6b
2018-03-26 15:37:10 -07:00
Translation updater bot 2c40a11a15 Localisation updates from https://translatewiki.net.
Change-Id: I05f2c38d07bfb160caafcfd1931529879b3f4511
2018-03-26 22:19:04 +02:00
Volker E cc3df57d71 NotificationsOptionWidget: Fix icon alignment
Change-Id: Ieb5c9a8e378608e096e921fdb6795949a119c8a8
2018-03-26 02:15:36 -07:00
Volker E 716598242c build: Make SVGO indent with tabs
Change-Id: If069b1f9b877861a21ba8aebdf7d6fc7ef6d8f49
2018-03-26 00:49:43 -07:00
Translation updater bot 133a5574ae Localisation updates from https://translatewiki.net.
Change-Id: I3f84074430d9b4482facdea74090a5e6b38a22f4
2018-03-24 22:29:23 +01:00
jenkins-bot 05e42c6a6a Merge "Use updated bell/tray icons from OOUI 0.26" 2018-03-24 17:05:50 +00:00
Ed Sanders 4523cc4ac5 Follow-Up Ie6252a8c: Fix suffices of constructive icons
Also fix title of mention-success.

Change-Id: I699ae249ea7c4b3da869cc10bf6ee240c666547d
2018-03-24 15:22:03 +00:00
Ed Sanders 15a3443384 Use updated bell/tray icons from OOUI 0.26
As these are smaller canvases, fix positioning
hacks accordingly.

Change-Id: I472f8cdd5887243c3fd86ab1431532a99dba1ce9
2018-03-24 15:06:47 +00:00
Ed Sanders 91076ef7c0 Update OOUI-copied icons
* Rename to match their upstream names.
* For icons without upstream versions, fix canvas to 20x20.
* Use consistent suffices to indicator colour.

Change-Id: Ie6252a8ccbba79143a0f77536c6470b4350be1ad
2018-03-23 09:41:15 -07:00
jenkins-bot 9c57911f97 Merge "Replace double-check with checkAll from OOUI" 2018-03-22 23:42:11 +00:00
Ed Sanders 34e3d5feba Replace double-check with checkAll from OOUI
checkAll was specifically designed as a
replacement for double-check.

Change-Id: Ibdd6865213107650b9004ab40e12c6a7453b6251
2018-03-22 21:23:33 +00:00
Translation updater bot 3e8c65d8bd Localisation updates from https://translatewiki.net.
Change-Id: Idaa859653e4d8804c454da5969d35a59fc6d2d43
2018-03-22 22:08:52 +01:00
jenkins-bot b5780d0d1a Merge "Remove unused 'trash' icon" 2018-03-22 20:11:29 +00:00
Ed Sanders 54f49875e9 Remove unused 'trash' icon
There are no references to 'trash' in the code.

Change-Id: Icbc50f6e0f647466a8f4a2a47ee7014c5d411ffe
2018-03-22 19:52:44 +00:00
Ed Sanders ff78ed310a Remove unused bellOn icons
Change-Id: I40903bb8a8ea964482b6603436af27caaf73f574
2018-03-22 19:40:43 +00:00
Translation updater bot 4ce3719736 Localisation updates from https://translatewiki.net.
Change-Id: Ibff6f04489dd1a816ff7d14c5287629498b65a38
2018-03-21 22:32:00 +01:00
Translation updater bot d2bcf1f8c7 Localisation updates from https://translatewiki.net.
Change-Id: I70551e19d5c8d4e68b5c8d93cb5a24dadbd174fb
2018-03-20 22:12:43 +01:00
jenkins-bot 7104c68afa Merge "Properly handle undos/reverts and links in them" 2018-03-20 00:04:06 +00:00
Translation updater bot eacedaef06 Localisation updates from https://translatewiki.net.
Change-Id: I18895a00f3b19f392ac31c448f9553dfc333373f
2018-03-19 22:19:07 +01:00
Umherirrender b2b6d8b420 Change DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN
As suggested in 26505b170adb24a6ae68945920db322c9382e470 for better
readability. Also the sniff now knows about the maintenance script

Change-Id: If3ab122c1fc12fcfbce777881ca21ecd99fb2a70
2018-03-17 21:55:20 +01:00
Max Semenik 74eacad8d6 Properly handle undos/reverts and links in them
Bug: T189819
Change-Id: I6957157c02557f88e7a951667bd13dbb66c82193
Depends-On: Ib1dc0c323a9a5083b462421c68575fc22ad4af35
2018-03-16 16:20:39 -07:00
Translation updater bot 67d0bc6012 Localisation updates from https://translatewiki.net.
Change-Id: Ibdd938a27ddd2dfc448307ff868ef8668be3d9a5
2018-03-14 22:23:30 +01:00
jenkins-bot 8e4e2fc58d Merge "Place the notification page settings popup in an overlay" 2018-03-14 20:23:46 +00:00
Translation updater bot 393c5a1bb1 Localisation updates from https://translatewiki.net.
Change-Id: I0367999d664b0a9c2af260920856df2fd23ba4c6
2018-03-13 22:23:27 +01:00