Commit graph

73667 commits

Author SHA1 Message Date
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
Gergő Tisza
b0784a8e96 Deprecate Message::$format (mostly)
Message::__toString() used the same formatting mode that the last
explicit transformation used:

    $msg = new Message( 'foo' );
    echo $msg; // escaped
    echo $msg->plain();
    echo $msg; // not escaped

This is not particularly useful and makes code review hard, so let's
get rid of it.

The same behavior with $msg->toString() is left intact (and logged)
for now.

Bug: T146416
Change-Id: Ia9b2a1dcf09d52348b2c6d8299fd849b809f6e74
2016-11-10 09:06:26 +00:00
jenkins-bot
1dd2e07276 Merge "Revert "Don't construct SpecialPages twice"" 2016-11-10 06:00:17 +00:00
Legoktm
d82eec166f Revert "Don't construct SpecialPages twice"
This causes issues with transcluded special pages.

This reverts commit ba40a63c0e.

Bug: T132545
Change-Id: I14d5300d6b90766532924f9d1e52c4230e2d9772
2016-11-10 05:48:33 +00:00
Aaron Schulz
f5dbb60c6e Depedency inject remappedTableName() map via MWLBFactory
Change-Id: I71d3481fc624f665bac81725026647bbb84ae608
2016-11-09 21:35:57 -08:00
Reedy
76abc7a955 un -> in
Change-Id: If8aecd28bcf7d6bf7c44141f83ac3c47ee4419e4
2016-11-09 23:22:56 +00:00
jenkins-bot
52546163af Merge "Document removal of Database::getSearchEngine()" 2016-11-09 23:22:25 +00:00
Kunal Mehta
76c015b731 Document removal of Database::getSearchEngine()
Bug: T147683
Change-Id: I55dcad7932e77e30f9211421489ec801810223be
2016-11-09 23:12:30 +00:00
jenkins-bot
9cf4b7ecee Merge "Alphasort lists" 2016-11-09 21:40:46 +00:00
Reedy
154b4383fe Alphasort lists
Change-Id: Ibcc3541d5bd97eeda3b43a3f9acc2e90644b36b9
2016-11-09 21:29:18 +00:00
Translation updater bot
8511576ab2 Localisation updates from https://translatewiki.net.
Change-Id: I145d58981452d76628b9894faa4b6bee717adf43
2016-11-09 22:04:48 +01:00
jenkins-bot
444f5838af Merge "Connect OOjs UI's deprecation warnings to MediaWiki's logging system" 2016-11-09 19:58:54 +00:00
Jforrester
44c9f7b500 Merge "Update OOjs UI to v0.18.0" 2016-11-09 19:01:32 +00:00
jenkins-bot
1655ebc77e Merge "Extract methods while creating the textbox" 2016-11-09 17:09:23 +00:00
jenkins-bot
eb4f08984c Merge "Extract addition of conflict header explanation" 2016-11-09 17:04:37 +00:00
Brad Jorsch
44f8496104 API: Pretty-printed responses should always use HTTP status 200
To accomplish this, the responsibility for setting the HTTP status code
in the response is moved to ApiFormatBase.

This also adds a line to the pretty-printed response and to ApiSandbox's
output to indicate the status that would be used.

Bug: T150344
Change-Id: Iaf0698ee1b93565d9b02b5a9aa8f93ceb135658b
2016-11-09 12:03:40 -05:00
WMDE-Fisch
f7928ac36d Fix missing globals
Apperently something went wrong when manual rebasing
If5909f7a16c98504e78388a5ea6c26196f82cd12 and went unnoticed.

Change-Id: Icf8964b0fa0857a44814df3bb11eaf2907e9af56
2016-11-09 17:48:12 +01:00
WMDE-Fisch
410a47aa74 Extract methods while creating the textbox
This is also mainly done so they can be better utilized when
extending the EditPage class.

Bug: T143823
Change-Id: Id592c9ffa60dc6a904da7ce514e19954125c8ee5
2016-11-09 16:22:18 +00:00
WMDE-Fisch
a35adefb26 Extract addition of conflict header explanation
This is done so it can be altered when using an alternative EditPage.

Bug: T143823
Change-Id: I31f5f2b7d35806a11925fb00e3272cac47c783ec
2016-11-09 16:22:11 +00:00
jenkins-bot
ea60bd7c46 Merge "Even more out-factoring to methods in the header" 2016-11-09 16:18:55 +00:00
jenkins-bot
4518a5a86c Merge "Move condition to not show form one level up" 2016-11-09 16:18:51 +00:00
WMDE-Fisch
bcc28e8b77 Even more out-factoring to methods in the header
Change-Id: If5909f7a16c98504e78388a5ea6c26196f82cd12
2016-11-09 16:49:53 +01:00
James D. Forrester
291f2c0519 Update OOjs UI to v0.18.0
Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.18.0

Change-Id: I2b8ef74e090c10a0abc0938e2f3e51ebe3553a6b
Depends-On: I791df74d96b82d53530a365281407704ad1bd122
2016-11-09 11:56:28 +00:00
Gergő Tisza
4ea621e236 Add Message test for implicit formatting
Change-Id: Ia6ec10d0d6da8c2b323054642e206c722d17f0b0
2016-11-09 04:00:44 +00:00
Bartosz Dziewoński
9c12d5dd50 Release notes for Id88c8066, Id1ace959, I3c29131e
* Id88c8066fae3f369e8977b4b7488f67071bdeeb7
* Id1ace9599642a36b333c63eaeebab0537466e7bd
* I3c29131ea2041fa7429eae5fab5fae04e39f3da0

Change-Id: Ibd21c5bdd0601ec302cd774488822064ced6b906
2016-11-09 02:41:54 +01:00
jenkins-bot
84851a43f3 Merge "Revert "MediaWiki.php: Redirect non-standard title urls to canonical"" 2016-11-09 01:27:38 +00:00
jenkins-bot
7874fc4bec Merge "Revert "Use display name in category page subheadings if provided"" 2016-11-08 23:55:35 +00:00
Liuxinyu970226
59280c4c92 Revert "Use display name in category page subheadings if provided"
This reverts commit 8ccde89849.

For the reason, see T43720#2531092

Bug: T149510
Change-Id: Id1ace9599642a36b333c63eaeebab0537466e7bd
2016-11-08 22:50:56 +00:00
Bartosz Dziewoński
0e15a6068a Revert "Move NewPP limit report HTML comments to JS variables" and followups
This change resulted in unreasonable feature loss (human-readable
limit report was gone). Three months and multiple followups later,
the functionality is still not completely restored. Given lack
of response from the original author, I think it is time to revert
and reconsider, especially since the 1.28 release is soon.

A machine-readable limit report would be a very useful feature,
but not at the cost of losing human-readable limit report.

This reverts the following commits:

* Move NewPP limit report HTML comments to JS variables
  b7c4c8717f
* Only pretty-print the parser report JS vars
  28adc4d7ee
* Show wgPageParseReport on page previews too
  1255654ed5
* Re-add human readable parser limit report
  0051f108b9
* Restore hooks.txt for ParserLimitReportFormat
  4663e7a737

Resolved minor merge conflicts in OutputPage (with 80e5b160)
and release notes.

Bug: T110763
Bug: T142210
Change-Id: Id88c8066fae3f369e8977b4b7488f67071bdeeb7
2016-11-08 22:35:15 +01:00
jenkins-bot
69ae945e8d Merge "Update weblinks in comments from HTTP to HTTPS" 2016-11-08 21:32:00 +00:00
jenkins-bot
c807d75bb1 Merge "Clarify "while blocked" where something else could be "blocked" too" 2016-11-08 21:26:07 +00:00
Translation updater bot
9f684d7953 Localisation updates from https://translatewiki.net.
Change-Id: Ifac228e77e7eb1d8e74aeac5a13bbe815ba80ca2
2016-11-08 22:08:57 +01:00