Commit graph

4356 commits

Author SHA1 Message Date
David Barratt 6593a0a427 Prevent loading or saving of zeros in the database.
When intval() fails, the function returns a zero. We should remove
the failures from the blacklist.

Bug: T178512
Change-Id: I89ad680a287da16c2fbd6aa4d53a725142429144
2017-11-17 12:34:54 -05:00
Huji Lee f97ce8f437 Set a default value for $reason in onUserGroupsChanged
This will help avoiding errors in unit tests

Bug: T180292
Change-Id: I89e83bd66b7a976b7b5233c897d76000373a31ef
2017-11-11 20:54:59 -05:00
Translation updater bot bdbf26b095 Localisation updates from https://translatewiki.net.
Change-Id: If8696e473d63e59a8918d10d7e6736c052dd5567
2017-11-11 22:34:32 +01:00
Translation updater bot c762e54496 Localisation updates from https://translatewiki.net.
Change-Id: I57237b5326136c7a4a2dfcb031cdda56b513ecd3
2017-11-10 22:35:03 +01:00
Volker E 738524da4a Equal CrossWiki/BundleNotificationItemWidget group's padding
Follow-up I18c0caea2438399d6f97e59c47177691cb43816d.

Bug: T177723
Change-Id: Iaa7a19d3d2064d3258bdd161056976fc0ebc781e
2017-11-09 11:43:05 -08:00
Translation updater bot f043be27ae Localisation updates from https://translatewiki.net.
Change-Id: I73d327dd95ecae258a35163446b634b002adeb7f
2017-11-08 22:26:37 +01:00
jenkins-bot e46cac7fec Merge "build: Always exclude vendor" 2017-11-07 21:55:37 +00:00
Translation updater bot 92119b52ed Localisation updates from https://translatewiki.net.
Change-Id: I18784b6e7f20e6dd7e1389da460d6b37937851c8
2017-11-07 22:31:56 +01:00
Umherirrender e1560c5998 build: Always exclude vendor
Change-Id: I29da9678f1adcfe9ed75a8e7d0d5e00c29d3a23d
2017-11-07 19:26:19 +01:00
WMDE-Fisch 4cb11b84ef Fix some doc blocks
Change-Id: Ieb55488792a4609e497a81687c04f4beb3b92b86
2017-11-07 17:06:17 +01:00
Translation updater bot f5dd73a2e8 Localisation updates from https://translatewiki.net.
Change-Id: I5bacb49938455021e6ecda23a3f0f03b821acf24
2017-11-06 22:49:56 +01:00
Translation updater bot ba72703f96 Localisation updates from https://translatewiki.net.
Change-Id: I5d8e772b5e1e32112f299d11c0b9c7d3694ff918
2017-11-05 22:21:27 +01:00
jenkins-bot ec5cee542e Merge "Unify SVG markup" 2017-11-05 16:53:25 +00:00
Translation updater bot 2c709fe875 Localisation updates from https://translatewiki.net.
Change-Id: I198d8d089341b02a1eba34960f2001e6908bd6b5
2017-11-04 22:38:31 +01:00
Volker E 64c07dfb68 Unify SVG markup
Align SVG markup across Foundation products by:
- unifying XML declaration,
- removing unnecessary `standalone="no"` attribute as it's default,
- removing all `g` group elements where applicable,
- bringing attributes in order,
- removing unnecessary ids and
- unifying whitespace.

Bug: T178867
Change-Id: Id3799a46c14f793636ca9bca3ad0f642466ed5a0
2017-11-04 14:21:06 -07:00
Translation updater bot deec8e3d71 Localisation updates from https://translatewiki.net.
Change-Id: I3165143523d1fa8336fb4eaf4ec21e93135f268d
2017-11-03 22:26:56 +01:00
Kunal Mehta 1904876a12 build: Adding MinusX
Change-Id: Id7ac9c1922af0c30a78b09fa3b6802a5ec8e0da7
2017-11-02 19:15:30 -07:00
Translation updater bot f2fd03f652 Localisation updates from https://translatewiki.net.
Change-Id: I29dd8f3a1e90e969afdeae74cba7fb4f0ffb895f
2017-11-02 22:47:43 +01:00
Translation updater bot df7166674d Localisation updates from https://translatewiki.net.
Change-Id: Iab5354028842438d4f57e07638922fda1df68ced
2017-11-01 22:35:22 +01:00
Translation updater bot 5e10aa785e Localisation updates from https://translatewiki.net.
Change-Id: I54631245ea3336a48c2c3a178df7847501dcf507
2017-10-31 22:25:15 +01:00
jenkins-bot 0c5694802b Merge "Update for deprecation of selectFields() methods" 2017-10-30 23:20:37 +00:00
Translation updater bot 27a8212fbc Localisation updates from https://translatewiki.net.
Change-Id: I9bcfb3f9c437656ab6a8301017b72c3270f9bd5f
2017-10-30 22:32:30 +01:00
Translation updater bot fc072b3095 Localisation updates from https://translatewiki.net.
Change-Id: I0dae6b743f7d2142fc292450b4d3e0b7e1bea90e
2017-10-29 22:42:10 +01:00
Translation updater bot 1cae6b4f51 Localisation updates from https://translatewiki.net.
Change-Id: I338d5819f893ab6c3aab07d7888d10f99c8dd227
2017-10-28 22:44:01 +02:00
Translation updater bot 776bbf87de Localisation updates from https://translatewiki.net.
Change-Id: I1919fec0369854e64dc5fe4a788a47f835467978
2017-10-27 22:20:57 +02:00
Translation updater bot 301b2953d1 Localisation updates from https://translatewiki.net.
Change-Id: I7e11ff86711c39689c21294f0d9b09a239989776
2017-10-26 23:17:44 +02:00
Translation updater bot 9d9d836f94 Localisation updates from https://translatewiki.net.
Change-Id: I9258a77344f955eccbb23633d3f6900f897146fd
2017-10-25 22:38:32 +02:00
jenkins-bot e1cb30444d Merge "Use centralIdsFromNames() method to get central ids." 2017-10-25 06:14:53 +00:00
Translation updater bot cd2dbc1cab Localisation updates from https://translatewiki.net.
Change-Id: Ia106fd9f55f738709ce0424ff68d8453a94a97f7
2017-10-24 23:11:42 +02:00
jenkins-bot af56425d71 Merge "Make edit-user-talk notifications expandable" 2017-10-24 08:53:20 +00:00
Translation updater bot 05226dfd35 Localisation updates from https://translatewiki.net.
Change-Id: I39c699624259539391882b642d4ff82c1f50c163
2017-10-23 23:23:57 +02:00
Translation updater bot 86c3327e0b Localisation updates from https://translatewiki.net.
Change-Id: I5af1194b89b8d24447ce16c62fd0201233b7e911
2017-10-22 22:31:59 +02:00
libraryupgrader f4c97d1f1b build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I0c2f49ba17c03e84f9f9a401e0b82995e3205262
2017-10-21 04:21:11 +00:00
Translation updater bot a2166f422a Localisation updates from https://translatewiki.net.
Change-Id: I1d557fc14e9300b61422c3ac2a4a5ad5865ba06f
2017-10-20 22:31:18 +02:00
Matěj Suchánek b7f189ca5a Make edit-user-talk notifications expandable
Bug: T162299
Change-Id: I79a5e52dc8b861bd0ed4a55ce5d80c5a97cddb70
2017-10-20 11:27:47 +02:00
Translation updater bot 50d0210638 Localisation updates from https://translatewiki.net.
Change-Id: I3a423095b5c2499de5f0424390794f410c8fbd62
2017-10-19 23:06:47 +02:00
Max Semenik 7568dae7b0 Get rid of double-escaping
Title fragment isn't supposed to be escaped on input. It gets escaped later,
when getFullURL() gets called on the title. This previously didn't matter much
because Sanitizer::escapeId() doesn't break anything if called repeatedly. However,
now it's deprecated anyway and uses legacy encoding so I need to get rid of it.

Change-Id: I6392604ac0841ae92a21ecb569c9643d7bc6231c
2017-10-18 18:52:21 -07:00
jenkins-bot e25e8b1231 Merge "Use position:sticky for toolbar floating" 2017-10-18 23:01:56 +00:00
jenkins-bot 5cfdc7f648 Merge "Improve some parameter docs" 2017-10-18 22:37:05 +00:00
Translation updater bot 103eb3db1b Localisation updates from https://translatewiki.net.
Change-Id: Ie0bc41b6759c5cbaa0b46b925c1ce43100f4d9f5
2017-10-18 22:28:05 +02:00
Bartosz Dziewoński 6fa38a985c mw.echo.ui.PageNotificationsOptionWidget: Fix CSS after changes in OOjs UI
We have to override 'position: absolute' and increase the specificity
of the selector to override 'display: block'.

Bug: T178439
Change-Id: Icd09e8302f124524779553eae3536d875f2e1227
2017-10-18 20:56:27 +02:00
Umherirrender 546e3bdd55 Improve some parameter docs
Change DB_SLAVE in comments

Change-Id: Idd5787928b87f5af63864dc626cb603f281515d7
2017-10-18 18:44:52 +02:00
Translation updater bot e135bb30ae Localisation updates from https://translatewiki.net.
Change-Id: I6fe5ab018fdb958fd2d5c5c5feac1a389113c035
2017-10-17 22:42:51 +02:00
jenkins-bot 6338d229c7 Merge "Minor PHPdoc fixes" 2017-10-17 20:06:32 +00:00
Ed Sanders cfa130cc13 Use position:sticky for toolbar floating
Avoids any scroll-based DOM changes which slow down scroll events.
Removes floating in browsers without sticky support (mostly IE).

Change-Id: If75e2a90d76644296fe3db5ef8bd9b26de4e7b0c
2017-10-17 15:22:26 +01:00
Ed Sanders 892ba8e5fe build: Update eslint and other linters
Change-Id: I68b74742bea0c3d4c8e359fd7850beaa6bbc4190
2017-10-17 13:53:08 +01:00
jenkins-bot 3460faa930 Merge "Fix CrossWiki-/BundleGroup layout" 2017-10-17 01:44:02 +00:00
Volker E 6a74084e01 Fix CrossWiki-/BundleGroup layout
Fixing CrossWiki-/BundleGroup layout after OOUI button height,
which is used as header in this case, has been increased.
Also removing `border-bottom`, `box-shadow` and
`border` of next item respectively notification footer are
sufficient and result in the groups being less crowded.

Bug: T177723
Change-Id: I18c0caea2438399d6f97e59c47177691cb43816d
2017-10-16 18:29:12 -07:00
David Barratt 019d10b69d Use centralIdsFromNames() method to get central ids.
The centralIdsFromNames() includes optimizations and error checking
that was not in the original version.

Bug: T178313
Change-Id: I3d6334f2e81f3cee66b36690734f70958fdcefdb
2017-10-16 18:14:31 -04:00
L10n-bot 65a61a9141 Merge "Localisation updates from https://translatewiki.net." 2017-10-15 20:40:10 +00:00