Commit graph

69348 commits

Author SHA1 Message Date
Florian
83e53c7166 Remove Title::newFromRedirect()
Deprecated since 1.21.

Bug: T122754
Change-Id: Iddf1c2d61cafc017bf361b747db38ac1bc5f3f09
2016-04-01 23:47:01 +02:00
Florian
0d8c4d36a5 Move changes to the right section in RELEASE-NOTES
Change-Id: I4808d627d7bdb6b16e7f75d82de0ed5de6dc18fa
2016-04-01 23:37:05 +02:00
Reedy
e9a7af3598 Merge "Remove (WikiPage|Article)::replaceSection()" 2016-04-01 21:23:45 +00:00
Florian
195b9bd132 Follow up I63cdc0
Don't unset the default configuration in Setup.php.

Change-Id: I8d8c54a6188b541dbdb7b2b84c0061fe4ac7cc49
Follow-up: I63cdc0a7fd51ca3a45dc2fd83b22eb58a8de520c
2016-04-01 23:07:56 +02:00
Florian
0f60a6d6ce Remove (WikiPage|Article)::replaceSection()
Bug: T122754
Change-Id: I1415c8de7be3b9d952fad265b439dd820e284fb2
Depends-On: I3d37f7e778d569970ed749c22ba49a63cc4ba0ec
2016-04-01 20:32:01 +00:00
Florian
18bf9fbda2 Remove MediaWikiSite::newFromGlobalId (deprecated since 1.21)
Isn't used anymore anywhere.

Bug: T122754
Change-Id: I95b20c005721837dcbf9ab979674ac09c460cdd0
2016-04-01 20:16:13 +00:00
Translation updater bot
6add84830c Merge "Localisation updates from https://translatewiki.net." 2016-04-01 20:09:37 +00:00
Translation updater bot
2cd31f2660 Localisation updates from https://translatewiki.net.
Change-Id: Ie0a08fde2970106bae564551bb6ed6bd76f8a9da
2016-04-01 21:58:59 +02:00
Reedy
38d63a73a1 ApiPageSet::finishPageSetGeneration() was removed
Bug:T122754
Change-Id: I106f37f5f83e30222a602d88704069ceccc91a29
2016-04-01 19:58:26 +00:00
Reedy
9593b60855 Removed ApiMain::(getFormats|addFormat|addModule|getShowVersions).
Deprecated since 1.21

Bug: T122754
Change-Id: Id5cbc50e45cdfdfeb2e92faffc7ded868a350f4b
2016-04-01 19:41:48 +00:00
Florian
0a5b872a69 Remove $wgCopyrightIcon
Bug: T122754
Depends-On: I3181d4830153d052bff87de5d2347a51fbd5f520
Change-Id: I63cdc0a7fd51ca3a45dc2fd83b22eb58a8de520c
2016-04-01 19:13:40 +00:00
Florian
d2fa6856a8 Remove Revision::getRawText()
Bug: T122754
Depends-On: I742f02021959587edd83a4cfb25e0338d05a8e81
Depends-On: I10283802c26b99d7e345c5c06d59c4ea24002e52
Depends-On: I6da4fab1e0e8f698b824e977dd2336e4415ae1ba
Change-Id: Id1cfda59e381673be99d9561c9997c0baf26d425
2016-04-01 19:57:35 +01:00
jenkins-bot
483476ca0a Merge "Track the use of the WatchedItemStore Cache" 2016-04-01 14:59:43 +00:00
jenkins-bot
671dad4489 Merge "Allow SpecialPage::beforeExecute to prevent execution" 2016-04-01 14:58:49 +00:00
jenkins-bot
52e586a270 Merge "Add WatchedItemStoreUnitTest::newWatchedItemStore" 2016-04-01 14:54:13 +00:00
jenkins-bot
133d9872aa Merge "Allow HTMLFormField placeholder to be a message" 2016-04-01 14:48:23 +00:00
jenkins-bot
e208cf8030 Merge "Unify handling of *-message(s) settings in HTMLForm" 2016-04-01 14:48:19 +00:00
Gergő Tisza
d3cd609e45 Allow HTMLFormField placeholder to be a message
Change-Id: Ib135a8792dcf03fd2246c208ab4c8185caef2ac6
2016-04-01 14:34:05 +00:00
jenkins-bot
8332550505 Merge "Fix Session::getToken phpdoc" 2016-04-01 14:17:03 +00:00
jenkins-bot
cd6e6c40de Merge "Fix StatusValue phpdoc" 2016-04-01 14:16:24 +00:00
jenkins-bot
c68fcabfb8 Merge "Allow setting HTMLForm name" 2016-04-01 14:16:20 +00:00
jenkins-bot
3bb9384aee Merge "Add flag to HTMLTextField to not persist submitted data" 2016-04-01 14:16:16 +00:00
jenkins-bot
2c9f1db649 Merge "Use default value instead of submitted value in HTMLForm buttons" 2016-04-01 14:16:12 +00:00
Gergő Tisza
8dc5e1857d Unify handling of *-message(s) settings in HTMLForm
*-message(s) settings were documented as message key strings or arrays
of message key strings, but some actually accepted [key, params...]
arrays as well. They did not accept Message objects, which would be
the cleanest and most flexible method of message passing.

The patch adds a new method to process these settings (which accepts
a messages key, a [key, params...] array or a Message object), and
makes all *-message(s) usage call that.

Change-Id: Ida647973a58bea83fdbd53335e63b5a8615c16e4
2016-04-01 17:07:14 +03:00
jenkins-bot
65fe098dac Merge "Fix missing variable in HTMLFormField exceptions" 2016-04-01 13:49:40 +00:00
Gergő Tisza
5f1d4591d9 Allow SpecialPage::beforeExecute to prevent execution
Allos SpecialPage::beforeExecute() (and the equivalent
SpecialPageBeforeExecute hook) to prevent execution of the page
by returning false.

Needed by I8b52ec8ddf494f23941807638f149f15b5e46b0c.

Change-Id: I71423b920d596ee9ae6da60d95b14255eddfbcd6
2016-04-01 15:51:04 +03:00
Gergő Tisza
30d4b1d935 Fix Session::getToken phpdoc
Change-Id: I332c623b08bbc980494c9ba01da77bad5c205038
2016-04-01 15:46:11 +03:00
Gergő Tisza
949641e36e Fix StatusValue phpdoc
Change-Id: Ie30ebf9bd89c4e2594e806a1b52f5716a32e11ec
2016-04-01 15:44:10 +03:00
Gergő Tisza
eed7a00166 Allow setting HTMLForm name
Change-Id: I85f5492e0b99a5661dbed9814a0e3f3b9bc63d32
2016-04-01 15:22:47 +03:00
Gergő Tisza
563830198a Fix missing variable in HTMLFormField exceptions
Change-Id: Ie61f170e9117dde7ece05b04573a3c4902b19e56
2016-04-01 15:15:49 +03:00
Gergő Tisza
da1e91e842 Add flag to HTMLTextField to not persist submitted data
Sometimes the submitted text is not expected to show up as default
when the form is redisplayed after an error; password fields are
the obvious example for this, but in some cases (e.g. two-factor
token) it is useful for a normal text field to act like that as well.

The patch adds a new 'persistent' flag to HTMLTextField, which
defaults to false for passwords and true otherwise.

Change-Id: If0a52f61aa061bbb55bfdc76321ace7d3eaed934
2016-04-01 15:14:58 +03:00
Gergő Tisza
1705c6f907 Use default value instead of submitted value in HTMLForm buttons
In some exotic use cases where the form is rendered straight from
a successful submit this prevents unexpected button text changes.

Change-Id: I61619b6222d9fb29c63ce7c1f3ceff512143c4f7
2016-04-01 15:14:36 +03:00
addshore
9d18093909 Track the use of the WatchedItemStore Cache
Change-Id: Idc33dd6a52471e895b312fa2c6562a90bf3d7861
2016-04-01 15:06:09 +03:00
jenkins-bot
4e84593702 Merge "Add phpdoc and @since to SpecialUserrights::makeGroupNameList" 2016-04-01 11:59:31 +00:00
addshore
13eb234654 Add WatchedItemStoreUnitTest::newWatchedItemStore
Change-Id: Ic3e1d23b8f707ae5e3221d1c2fd08878ae8bfff9
2016-04-01 14:59:30 +03:00
jenkins-bot
6fa889309d Merge "UserrightsPage::makeGroupNameListForLog() was removed" 2016-04-01 11:47:19 +00:00
addshore
609827a204 Add phpdoc and @since to SpecialUserrights::makeGroupNameList
Change-Id: I015a851d9fa9649ec79386071fcab2c4589f88ad
2016-04-01 14:28:42 +03:00
Siebrand Mazeland
018e13a6c9 UserrightsPage::makeGroupNameListForLog() was removed
Deprecated since 1.21. Use in Gerrit extensions was replaced.

Bug: T122754
Depends-on: If9a2764c5c15be9c07d066a52543c4c9d97e0f35
Change-Id: If45eafca7ea332475eb864f04665d0a0bf1603d1
2016-04-01 11:00:39 +00:00
jenkins-bot
4de8aca50b Merge "UploadBase: Remove debug logging for T64241" 2016-04-01 09:39:34 +00:00
jenkins-bot
6c66fd6523 Merge "UploadBase: Replace 'emptyfile' warning code by 'empty-file'" 2016-04-01 08:59:25 +00:00
Translation updater bot
e97d3c7478 Localisation updates from https://translatewiki.net.
Change-Id: I5b6a5a944e62e3bb64fd1fdbb3fb654bd0726285
2016-03-31 21:54:54 +02:00
jenkins-bot
568ce1af50 Merge "Don't emit 404 status code on Special:Redirect" 2016-03-31 16:26:11 +00:00
Bartosz Dziewoński
ed6ddf7410 UploadBase: Replace 'emptyfile' warning code by 'empty-file'
'empty-file' is already used elsewhere.

Bug: T130484
Change-Id: I593a9efeb20e301b289b47ff5cb831f334250a2d
2016-03-31 13:46:26 +00:00
jenkins-bot
75185ec3da Merge "Add 'Greek extended' group to special characters" 2016-03-31 13:29:46 +00:00
jenkins-bot
f9f946776f Merge "Preferences: Add autocomplete="off" to preferences form" 2016-03-31 11:03:27 +00:00
Florian
97fc1ad555 Don't emit 404 status code on Special:Redirect
If the special page is opened without any value or redirect type,
it shouldn't emit a 404 status code, as the page exists and it should
be indexable.

With this change, Special:Redirect only emits a 404 status code, when
the value was not find for the redirect type.

Bug: T131328
Change-Id: I578b15058aed77b5f4fb296db862a6e534c0888e
2016-03-31 12:57:50 +02:00
Aaron Schulz
39c4d09727 Time POST requests to API write modules
This lets us capture some basic endpoint timing data that is
lacking now, such as upload API call time.

Change-Id: If0627e2d78d82b22ed6bdaaa0fa7fe5f20ef50b1
2016-03-31 10:05:07 +00:00
jenkins-bot
46e3227562 Merge "refreshImageMetadata: Allow filtering by 'img_media_type' too" 2016-03-31 09:57:44 +00:00
jenkins-bot
ba3b9b9ccb Merge "Update grunt-banana-checker to 0.5.0" 2016-03-31 06:05:28 +00:00
jenkins-bot
39ff927539 Merge "filerepo: Mark some internal LocalFile methods private" 2016-03-31 01:00:24 +00:00