Commit graph

70475 commits

Author SHA1 Message Date
Gergő Tisza
43f4a05ec3 Return error message in users API cancreate field
That API field exposes AuthManager::canCreateAccount, where the error
message is important.

Change-Id: Idef441b311b94ff0cb6c4deaed1ac93959ee7ee8
2016-05-30 20:16:07 +02:00
Ori Livneh
3ef1ed0bed Merge "Make number of PBKDF2 iterations used for deriving session secret configurable" 2016-05-30 09:47:48 +00:00
jenkins-bot
df6e5e0091 Merge "Use monospaced font for the debug toolbar" 2016-05-30 09:11:51 +00:00
jenkins-bot
6ba4b76494 Merge "EditPage: Do not resolve redirect on cancel button" 2016-05-30 09:11:30 +00:00
saper
19679b4ff3 Use monospaced font for the debug toolbar
Debug output seems to be much more readable
with the monospaced font.

Change-Id: I3e3a7c110d4ceae8c1b65b35bf17b34fed7f68f8
2016-05-30 09:03:27 +00:00
jenkins-bot
a4f1e17010 Merge "SpecialUpload: Separate style only module" 2016-05-30 08:59:46 +00:00
jenkins-bot
fe7649f43e Merge "Add support for icu-ta collation" 2016-05-30 08:12:41 +00:00
Ori Livneh
ab0976e4ec wikimedia/cdb: 1.4.0 => 1.4.1
Updated for I5a7a9f259: stop using wikimedia/assert

Change-Id: I8c867eeb3e6612b85db1373e5a25565861174f07
2016-05-29 21:21:00 -07:00
Derk-Jan Hartman
2963a1a25e SpecialUpload: Separate style only module
Move the style into a style only module, because it is used
independant of the javascript module. Add the new style module as a
dependency for the javascript module.

Bug: T136364
Change-Id: If34483fdc50dc130a4bcf3d163b34b954f2269bb
2016-05-29 22:59:51 +02:00
Translation updater bot
8082673819 Localisation updates from https://translatewiki.net.
Change-Id: Id11f3672bf50a6ce9521295db140c6c0f2e9d0f9
2016-05-29 21:53:53 +02:00
jenkins-bot
62f6c629be Merge "WatchedItemStore: Use callable type hint instead of Assert library" 2016-05-29 10:42:19 +00:00
Fomafix
9871bca6df EditPage: Do not resolve redirect on cancel button
Change-Id: I9343c7e97cee7fa6550b186e6a6ffbf3438060a4
2016-05-28 20:21:07 +00:00
jenkins-bot
85f07327af Merge "LoginSignupSpecialPage: Load return and returnto params as early as possible" 2016-05-28 20:14:56 +00:00
jenkins-bot
7cc9540456 Merge "RollbackAction: Don't return true, causes '1' to be output" 2016-05-28 20:14:52 +00:00
Translation updater bot
0e961a8f6a Localisation updates from https://translatewiki.net.
Change-Id: I8038db5de26e5efb0b801902e8ce51536af5e47b
2016-05-28 21:54:09 +02:00
jenkins-bot
db35eca094 Merge "mw.ForeignStructuredUpload.BookletLayout: Make licensing links clickable again" 2016-05-28 17:43:42 +00:00
jenkins-bot
dda9015f97 Merge "Clean up updatedmarker styling mess" 2016-05-28 17:35:57 +00:00
Florian
3070b55c51 SpecialSearch: Use OOUI\ActionFieldLayout for search input and button
This prevents the button from flipping to a new line if the window or
the available width at all is smaller as the width of the input and the
button together. Now, the input will be as small as needed for the button
to be on the same line.

Bug: T134475
Change-Id: Icc68a8e83fc7037b96a5efec2766ffdf453c5413
2016-05-28 18:23:28 +02:00
Florian
3d1e04e976 LoginSignupSpecialPage: Load return and returnto params as early as possible
They're are needed for a redirect to the target page after
a successful login, which is made before the SpecialPage::execute()
function is called. Loading basic request varaibles in the execute()
function is therefore too late to take effect for the redirect after
a successul authentication with a primary provider, which needs to
redirect the user to another site.

Bug: T135924
Change-Id: I6ded7f9bb255cbb332a5810e7ed3cb3ecfdb2c04
2016-05-28 18:16:00 +02:00
jenkins-bot
5f06e775a7 Merge "OOUI HTMLForm: Allow specifying whether buttons are framed" 2016-05-28 15:54:42 +00:00
jenkins-bot
ea636add20 Merge "SpecialSearch: Remove obsolete styles" 2016-05-28 15:39:38 +00:00
jenkins-bot
743c2d592e Merge "Separate Special:Search styling info into separate module" 2016-05-28 15:39:33 +00:00
Bartosz Dziewoński
2d87616a62 Clean up updatedmarker styling mess
This is the follow-up to d629541076
that b09bfb7bf6 meant to be but failed.
It updates the right file this time, and removes the old override for
old skins.

Bug: T134515
Change-Id: I074688562e4da8c7c32d9f2bae67cd601e9b5f65
2016-05-28 17:17:51 +02:00
Ori Livneh
acca48094c Make number of PBKDF2 iterations used for deriving session secret configurable
The intent is both to allow the number of iterations to be dialed up (either as
computational power increases, or on the basis of security needs) and dialed
down for the unit tests, where hash_pbkdf2() calls account for 15-40% of wall
time. The number of iterations is stored in the session, so changing the number
of iterations does not cause existing sessions to become invalid or corrupt.
Sessions that do not have wsSessionPbkdf2Iterations set (i.e., sessions which
precede this change) are transparently upgraded.

Change-Id: I084a97487ef4147eea0f0ce0cdf4b39ca569ef52
2016-05-28 07:06:30 -07:00
Paladox
d9210c5cd4 Update mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: I9371faef4b8a0b9c80ec41d8ba08f4ff4936791e
2016-05-28 12:05:42 +00:00
Kunal Mehta
b74c4b2f95 Improve @covers tags for LinkerTest
These hooks are now called from LinkRenderer, so make sure it is
covering the right code.

Change-Id: Ifaa28d471f585dce9d968cc1173c7fdceb408239
2016-05-27 19:30:42 -07:00
Kunal Mehta
ce251d15b7 WatchedItemStore: Use callable type hint instead of Assert library
And remove an unused use statement.

Change-Id: Idb74a564088744d73f71f5ef17e8f84f6e484c69
2016-05-27 19:30:14 -07:00
Derk-Jan Hartman
aada2af75e SpecialSearch: Remove obsolete styles
Remove old Advanced PowerSearch table styles, which seem to not have 
been in use for quite some time now.

Change-Id: I4c3013b035e146a8f8ad9622662491934c0c5389
2016-05-28 00:08:54 +00:00
Matthew Flaschen
239d68b48d OOUI HTMLForm: Allow specifying whether buttons are framed
Bug: T136361
Change-Id: Ic31f857c749d62a32cafae68dc3f1cbd86e1e382
2016-05-27 17:04:01 -07:00
Kunal Mehta
08179800cd RollbackAction: Don't return true, causes '1' to be output
Bug: T136375
Change-Id: Id994b7ee7044ce18cf245a219ba290970511ea0f
2016-05-27 16:12:58 -07:00
Derk-Jan Hartman
b0d0e54754 Separate Special:Search styling info into separate module
Almost all styling of this page has little to do with the JS module.
Separating it into a styles module.
Also made the selector for the JS elements far simpler, as there was
no reason for being overly specific here.

Bug: T136363
Change-Id: I96a35f930be26b26f139120f3e5b23c33a5d019e
2016-05-27 23:46:15 +02:00
Translation updater bot
dd738aac80 Localisation updates from https://translatewiki.net.
Change-Id: I47fe8c2cc2ff6457d934627dbe71842a34e4c48d
2016-05-27 21:58:00 +02:00
jenkins-bot
1a654270e8 Merge "Fix @covers tags for LinkRenderer tests" 2016-05-27 19:53:12 +00:00
jenkins-bot
fbb60061d2 Merge "Avoid system styling issue of <textarea>s in Firefox+Linux" 2016-05-27 19:52:32 +00:00
jenkins-bot
eb006d0143 Merge "Revert "RollbackAction: Implement AJAX interface and require POST"" 2016-05-27 19:43:07 +00:00
Kunal Mehta
f1d3f704df Fix @covers tags for LinkRenderer tests
phpunit's coverage report needs class names that include the namespace,
otherwise it'll just fail.

Bug: T136420
Change-Id: Ie748237176ea1363b35d73084e63e6fafe808286
2016-05-27 11:53:04 -07:00
Ed Sanders
1120afd8db Avoid system styling issue of <textarea>s in Firefox+Linux
Bug: T136415
Change-Id: I5ebfeb65f4eb5607b161b4f95822e7dbfeea6d8b
2016-05-27 17:32:21 +00:00
jenkins-bot
617ced4127 Merge "Fix ConfirmLinkSecondaryAuthenticationProvider error message name" 2016-05-27 16:19:59 +00:00
Krinkle
5391e328c2 Revert "RollbackAction: Implement AJAX interface and require POST"
This partially reverts commit 9af38c046c.

* The new JS modules continue to exist. While not used by default,
  the mediawiki.api.rollback may be used elsewhere by now.
  The mediawiki.page.rollback module may still be used on cached
  pages and should continue to work.

* The new API behaviour remains.

* To avoid breaking mid-air rollbacks again, the token remains
  the same (plain "rollback" salt). We're not re-introducing the
  web-specific salt again.

Bug: T136375
Change-Id: Iba17ce55ff9506e838bfc6e70ca280e5a20b77b6
2016-05-27 16:16:40 +00:00
Gergő Tisza
59c3c1dec2 Fix ConfirmLinkSecondaryAuthenticationProvider error message name
Change-Id: I49f149004b3ad5c3eefbcbfcd0cfed64d9cbf522
2016-05-27 15:00:26 +00:00
Gergő Tisza
5f0f8c5205 Enable AuthManager by default
Second attempt, after fixing T135884.
(First attempt was I6695aa3da42fb2b088eaa8d1883ccbb67f2c0c38.)

Depends on:
https://gerrit.wikimedia.org/r/#/q/topic:authmanager-selenium,n,z

Bug: T135498
Change-Id: I756a82267cb9c44ec35146fbb4599b183747c741
2016-05-27 13:03:03 +00:00
jenkins-bot
941827459f Merge "Special:UserLogin: Consolidate create account buttons" 2016-05-27 12:43:09 +00:00
Arlo Breault
20bdcc7620 Sync up with Parsoid parserTests.
This now aligns with Parsoid commit b0d48342e0c540c17b2c073833d4a7ab147e2852

Change-Id: I9eb00fdc854eac7ddfc37520bd6b3cf8913db523
2016-05-26 19:48:17 -07:00
jenkins-bot
f964428564 Merge "Use HTMLForm style sheets on mobile" 2016-05-26 23:46:29 +00:00
jenkins-bot
a0e630ce6d Merge "Make the call match the function definition." 2016-05-26 23:43:43 +00:00
jenkins-bot
b746001c66 Merge "Add LinksUpdate::getRevision()" 2016-05-26 23:12:12 +00:00
jenkins-bot
3aa4ae78cd Merge "Parser: Make makeKnownLinkHolder() protected, and remove $query handling" 2016-05-26 23:04:53 +00:00
Roan Kattouw
01b2516175 Add LinksUpdate::getRevision()
Similar to getTriggeringUser(). Also propagate it
to subjobs similarly.

Bug: T135959
Change-Id: I3d894acaf3d85b790e5034c7d9f76bf94672f445
2016-05-26 15:43:22 -07:00
Kunal Mehta
96e15c9bd2 Parser: Make makeKnownLinkHolder() protected, and remove $query handling
Extensions shouldn't be calling this, just the Parser, so make it
protected. And since the only caller passes an empty array for $query,
we can just remove it entirely.

Change-Id: I3adbcaabbb40870eb3df1495c3c2743ff21f0c64
2016-05-26 15:00:49 -07:00
Kunal Mehta
6821167601 LinkBatch: Use TitleValue instead of Title
Replace the remaining instances of Title with TitleValue, and use
services from MediaWikiServices instead of calling deprecated singleton
functions.

Change-Id: I5d13939a76380fff6b787cea8d4a5f90c1a31a5d
2016-05-26 14:47:45 -07:00