Commit graph

73804 commits

Author SHA1 Message Date
jenkins-bot
12e2154a6b Merge "Add extra logging for when user logs in with a temp password" 2016-11-14 19:46:30 +00:00
jenkins-bot
269111f4f1 Merge "Wait for Slave Lag to catch up in wrapOldPasswords.php" 2016-11-14 17:08:59 +00:00
Brad Jorsch
c0821b20aa ApiSandbox: Add text about limit's "max" value
In action=help this is reflected by the "Type" field, but that field
isn't displayed in ApiSandbox.

Change-Id: I7e491acc8ba7fdc3463f3cf1656b13fb3949d7d3
2016-11-14 12:05:31 -05:00
Brad Jorsch
52c4704fd5 ApiSandbox: Don't use OO.ui.NumberInputWidget for limit fields
According to T150455#2789277 it shouldn't be able to allow 'max' even
though this is a mostly-numeric field with one non-numeric value.
Oh well.

Change-Id: I620a233aab20c715db354eff77ea8a3ffee3bc77
2016-11-14 12:05:30 -05:00
jenkins-bot
507024c9d0 Merge "mw.Message: Match behavior when key does not exist to PHP" 2016-11-14 16:54:02 +00:00
jenkins-bot
e93ebfa789 Merge "Fix interpretation of "A-type" password hashes" 2016-11-14 16:43:18 +00:00
Reedy
1307698692 Wait for Slave Lag to catch up in wrapOldPasswords.php
Change-Id: Ib02be41c8166a3567d2a1c61352cb383fbb7aee9
2016-11-14 16:42:33 +00:00
Bartosz Dziewoński
e681e5d8c9 mw.Message: Match behavior when key does not exist to PHP
See 184658eb32.

Change-Id: I3dba16bcb137ca2f52203bce95f8c044870af3fd
2016-11-14 15:26:20 +00:00
WMDE-Fisch
7e2a882516 Add missing doc param
Change-Id: I674b0bdaab33f858a63afb1dfa04618311086ab5
2016-11-14 12:31:03 +00:00
MarcoAurelio
d2887f448d Gorontalo (gor) to Names.php and RELEASE-NOTES-1.28
Bug: T136083
Change-Id: Ib3e46962de9cc7abc2052cfdf06e95f898e36142
2016-11-14 12:48:13 +01:00
Tim Starling
7a157e0bea Fix interpretation of "A-type" password hashes
An A-type hash is an unsalted hash. A B-type hash is a salted hash of
the form md5(salt "-" md5(password)). So it's not correct to have an
A-type hash with a salt. User::comparePasswords() and
CentralAuthUser::getPasswordFromString() already get this right, they
generate :B: prefixes for legacy salted hashes where the salt is not
specified in the database.

Change-Id: Icb809274f9f63641e54daf98332a5646fd58b550
2016-11-14 16:47:03 +11:00
Pmlineditor
37e89f4e2d Add GENDER support for "you are blocked" messages in ChangeTags
Bug: T150420
Change-Id: Ie33eb7e630f7cb10c95bd3b0480728d274b2b97a
2016-11-14 07:17:31 +05:30
Translation updater bot
2cf145a4a3 Localisation updates from https://translatewiki.net.
Change-Id: I1de41d1ef19a714081976ddd1d0845952db6a323
2016-11-13 22:08:23 +01:00
jenkins-bot
4b8315385f Merge "Karelian (krl) to Names.php and RELEASE-NOTES-1.28" 2016-11-13 15:17:42 +00:00
Umherirrender
5ce5cd4260 Add hooks to Special:TrackingCategories
Added for use in the CategoryTree extension to show the category count
on the special page, see If3815586c2a280b4e8958c13010c9f7436b8723d

Change-Id: If195fb55dee1350a6de095892ce89e6565287cd9
2016-11-13 15:14:14 +00:00
Brian Wolff
eefbfa82ef Add extra logging for when user logs in with a temp password
It would be good to keep better track of this in the logs

Change-Id: I7f33b45f83034bfa1c003c149e92917b2f045988
2016-11-13 05:13:03 +00:00
Brian Wolff
854d22ba3b Add better logging to password reset
In particular we definitely want to log capturing resets.

Change-Id: I5b47e5aa6efdc6414238d8e8f97a8f823111ff46
2016-11-13 02:49:47 +00:00
Translation updater bot
d65b09f382 Localisation updates from https://translatewiki.net.
Change-Id: Iaa6a4d7d2d13b59fe16ac650465c3e3b5d9d814b
2016-11-12 22:06:12 +01:00
MarcoAurelio
3e92538e15 Karelian (krl) to Names.php and RELEASE-NOTES-1.28
* Added Karelian (krl) to Names.php.
* Added mention to RELEASE-NOTES-1.28
* Created MessagesKrl.php and $fallback = 'fi';

Bug: T137415
Change-Id: Iee2d03d042c8b514ee2575450a37158b26c732a3
2016-11-12 10:16:01 +00:00
jenkins-bot
5e4b9e9552 Merge "MediaWiki namespace (and talk) back to English in MessagesCdo.php" 2016-11-11 23:59:24 +00:00
jenkins-bot
c6159dee09 Merge "Add !!html/php parser test for HTML comment after template name" 2016-11-11 22:24:00 +00:00
Translation updater bot
180cd4e770 Localisation updates from https://translatewiki.net.
Change-Id: Ibc4d14ebcf6e6cd78fe2cd4b9c8344fd5a181a78
2016-11-11 22:05:03 +01:00
jenkins-bot
75ee4fc728 Merge "More robust, cleaned up MessageTest" 2016-11-11 19:29:21 +00:00
jenkins-bot
b1dfc728f4 Merge "Get StatsdDataFactory from MediaWikiServices" 2016-11-11 18:19:38 +00:00
MarcoAurelio
67da0931b4 MediaWiki namespace (and talk) back to English in MessagesCdo.php
Bug: T122428
Change-Id: I740addd0fce913ca74394c663c6858849aa4e2d5
2016-11-11 18:49:20 +01:00
Amire80
7b7cb49c95 Add !!html/php parser test for HTML comment after template name
I came looking for a test with comments inside transclusions
because of bug T89615. I could only find a test for Parsoid
and not for PHP, so I added it.

Bug: T89615
Change-Id: I4ee3bc75ec86cc6fde6449790b81d287f0ca8345
2016-11-11 12:36:17 -05:00
WMDE-Fisch
b829bdece2 Get StatsdDataFactory from MediaWikiServices
Change-Id: Ia4a32e7932299168649b6472f503249630fd7c1e
2016-11-11 17:55:28 +01:00
Thiemo Mättig
ae72e3577f More robust, cleaned up MessageTest
This is a direct follow up to my comments in Ia6ec10d.

Relevant for T146416 are the two messages I added. They explain why these
assertions are duplicated.

assertEquals behaves bogus when used with strings, especially when used
with formatters and parsers, which is the case here. For example,
assertEquals( '9a', 9 ) succeeds. assertEquals is useful when comparing
objects.

Bug: T146416
Change-Id: Ie8df41b3ce6678f3add55bab6701b56b66447a2e
2016-11-11 16:48:14 +00:00
jenkins-bot
1674c8413a Merge "resourceloader: Use cached Revision::newKnownCurrent for WikiModule" 2016-11-10 23:57:14 +00:00
jenkins-bot
88174b1a82 Merge "tests: stop updating the search engine" 2016-11-10 23:27:40 +00:00
Aaron Schulz
c8375f708b Add --msleep option to purgeParserCache.php
Bug: T150124
Change-Id: I22be4ab67b6f9b0adb5cb62dd54b1139ee29739a
2016-11-10 13:58:22 -08:00
Translation updater bot
3fdeaae4ff Localisation updates from https://translatewiki.net.
Change-Id: Ide14b88775d42539f39da5854090541c599c2213
2016-11-10 22:08:22 +01:00
jenkins-bot
10a4b17a60 Merge "API: Pretty-printed responses should always use HTTP status 200" 2016-11-10 21:02:03 +00:00
jenkins-bot
1898a81f24 Merge "Depedency inject remappedTableName() map via MWLBFactory" 2016-11-10 20:56:12 +00:00
jenkins-bot
81087198c2 Merge "Validate getExamplesMessages() query strings" 2016-11-10 20:50:15 +00:00
jenkins-bot
a4174e765d Merge "Fix ApiSandbox" 2016-11-10 20:46:42 +00:00
jenkins-bot
e99f5e80d2 Merge "CryptRand: remove newlines from logging message" 2016-11-10 19:37:22 +00:00
jenkins-bot
93c3eae1ff Merge "Convert CREDITS to list of all known git contributors" 2016-11-10 18:57:41 +00:00
jenkins-bot
c6adf0408c Merge "Convert CREDITS to single list of contributors" 2016-11-10 18:57:36 +00:00
jenkins-bot
c99b37bdc0 Merge "Deprecate Message::$format (mostly)" 2016-11-10 18:47:45 +00:00
jenkins-bot
97c2bc99ea Merge "Add Message test for implicit formatting" 2016-11-10 18:45:12 +00:00
Brad Jorsch
4fe6600f2b Fix ApiSandbox
I2b8ef74e broke it by removing the isValid() method from
TextInputWidget.

Bug: T150454
Change-Id: Iae48c6e038ce66d294a1bf5f6852e29540ac208c
2016-11-10 12:39:33 -05:00
Brad Jorsch
af1dfeead5 Validate getExamplesMessages() query strings
Assert that they don't begin with 'api.php?'.

Change-Id: Idf5e8e08863a379a37a427a11936e5f9ce567396
Depends-On: I8a82eecefbb0ba327d8e8bc24ec535bcf40e6429
Depends-On: I476aad09655a2822381a2c61690b4b0ad423151e
2016-11-10 10:17:04 -05:00
Antoine Musso
eab0c94902 CryptRand: remove newlines from logging message
5bd6de6 converted CryptRand to use the logger command but kept the
newlines in the message which is needed for wfDebug() but not with the
logger interface.

Patch also removed a call to wfGetAllCallers() from the first debug
message of generate(), leaving an uneeded debugging message.

Hence we had output such as:
---
[CryptRand] Generating cryptographic random bytes for

[CryptRand] mcrypt_create_iv generated 20 bytes of randomness.

[CryptRand] 0 bytes of randomness leftover in the buffer.

---

Drop the newlines from all debug message.
Drop the lonely debug message from generate().

Result:
---
[CryptRand] mcrypt_create_iv generated 20 bytes of randomness.
[CryptRand] 0 bytes of randomness leftover in the buffer.
---

Change-Id: I572206296fc3a0a498febb18925672a67480eb18
2016-11-10 15:33:23 +01:00
jenkins-bot
9b4cea6d2e Merge "TransformationalImageHandler: Fix use of __METHOD__ in closure" 2016-11-10 14:13:17 +00:00
Bartosz Dziewoński
e474bdca31 TransformationalImageHandler: Fix use of __METHOD__ in closure
Change-Id: Idff6303fac1f494ea59b88fd73245c63f2cf4a76
2016-11-10 14:18:48 +01:00
WMDE-Fisch
d3660d55ed Do not pass parameter as reference
See comment in https://gerrit.wikimedia.org/r/#/c/318292/7/includes/EditPage.php

Change-Id: I98df04f5445dcc87a96cde157df13786414b8c3a
2016-11-10 10:22:22 +00:00
jenkins-bot
653bc72b20 Merge "Fix parameter name" 2016-11-10 09:47:56 +00:00
WMDE-Fisch
83b27e2ac7 Fix parameter name
See comment in https://gerrit.wikimedia.org/r/#/c/318535/5/includes/EditPage.php

Change-Id: I4c3da3872997c20a756405099110c8acc37fa188
2016-11-10 10:31:43 +01:00
jenkins-bot
6140f6e6b7 Merge "un -> in" 2016-11-10 09:08:49 +00:00