Aaron Schulz [Mon, 25 Feb 2013 17:55:32 +0000 (09:55 -0800)]
Made runJobs.php wait for slave lag.
* Relying on waitForBackups() alone will not work with non DB queues.
Change-Id: I2124c5cd11a70d183cfde00ad21d6642a3a0ee9e
jenkins-bot [Wed, 6 Mar 2013 03:55:07 +0000 (03:55 +0000)]
Merge "(bug 37352) Boolean issue when using sqlite."
nischayn22 [Tue, 22 Jan 2013 04:28:14 +0000 (09:58 +0530)]
(bug 37352) Boolean issue when using sqlite.
using a type cast instead, otherwise an empty string gets converted to
true when set with bool type.
Change-Id: I4161de32151a649161ab4084e80cafe4a462c7d5
Brad Jorsch [Wed, 30 Jan 2013 01:32:26 +0000 (20:32 -0500)]
(bug 33304) Fix ApiQueryAllPages duplicate rows in protection query
When querying for protection expiry without also querying protection
type(s), DISTINCT is not added to the query. Fix that.
Change-Id: I47d3ac1e0cfa6fa1fb0dc0089f5a01698b334cd5
Brad Jorsch [Mon, 14 Jan 2013 17:20:52 +0000 (12:20 -0500)]
Fix API list=deletedrevs continuation in mode 1
r86782 introduced validation of parameter combinations for
list=deletedrevs, but screwed up in that it disallowed drcontinue in
"mode 1" (list all deleted revisions for the specified titles).
Apparently no one uses this much, because it doesn't seem to have been
reported as a bug despite being broken since April 2011.
Change-Id: I30691d04fab759ee56fb4156d475fbb21b81ab45
Kaldari [Wed, 6 Mar 2013 01:07:25 +0000 (17:07 -0800)]
Reverting temporary change Iedb304f8 as promised
Change-Id: Id2d0e2242cfb3fe84b68c5bfb8ab7c74fdf92f7d
Ori Livneh [Wed, 6 Mar 2013 00:24:57 +0000 (16:24 -0800)]
Avoid instantiating ResourceLoader modules twice
Commit
13169c88 seperated out the call to getModule from the assignment to the
$modules array in order to add a check for private modules, so they can be
filtered out (see bug 34907). This had the (presumably unintended) side-effect
of causing modules to be instantiated twice.
Change-Id: Iccd7f3d3d473c5a43107842ed4e1cf08857a3886
jenkins-bot [Tue, 5 Mar 2013 23:53:36 +0000 (23:53 +0000)]
Merge "Fixed ArrayUtils::pickRandom() when $rand=0."
Mark Holmquist [Tue, 5 Mar 2013 23:53:11 +0000 (23:53 +0000)]
Merge "Return empty string for trail/prefix if disabled"
jenkins-bot [Tue, 5 Mar 2013 23:39:04 +0000 (23:39 +0000)]
Merge "Add ID to Nested Fieldsets"
Mark Holmquist [Tue, 5 Mar 2013 23:32:52 +0000 (15:32 -0800)]
Return empty string for trail/prefix if disabled
This is necessary so Parsoid can know when the API doesn't have the linktrail/
prefix feature and when the API is actually telling us that the trail/prefix
is/are disabled.
Bug: 41151
Change-Id: If0895d507fe1b473e42bceb135d4030106ded442
Aaron Schulz [Fri, 1 Mar 2013 22:37:51 +0000 (14:37 -0800)]
[JobQueue] Throttle refreshLinks2 jobs based on finishing the refreshLinks jobs.
* This should lower the rate of queue activity when major templates change.
* Also fixed a broken array_diff() call in nextJobDB.php.
* Additionally removed checkJob from nextJobDB.php. This is redundant to
runJobs.php de-listing queues via JobQueueGroup::pop() when the queue
is empty.
Change-Id: I1518a0de9e7ada22350d9993dd7ffe5f2ce23745
Matt Walker [Tue, 5 Mar 2013 23:21:06 +0000 (15:21 -0800)]
Add ID to Nested Fieldsets
I'd rather just get rid of fieldsets when using the div output
format, but since I can't do that; at least give me the option
to style everything -- all the way down :)
Change-Id: Id95b1d98aa6ac11c5030d1ac96d05d6b60b7077e
Aaron Schulz [Tue, 5 Mar 2013 23:18:47 +0000 (15:18 -0800)]
Fixed ArrayUtils::pickRandom() when $rand=0.
Change-Id: Iba7db16a9ad08dd845fa1b4dd2bc02ffad8c5a32
Aaron Schulz [Tue, 5 Mar 2013 23:05:21 +0000 (15:05 -0800)]
Moved wfPickRandom to ArrayUtils.
Change-Id: I45e21e722245901ab2988be4892cdb393169c62c
jenkins-bot [Tue, 5 Mar 2013 21:58:05 +0000 (21:58 +0000)]
Merge "[LockManager] Added ScopedLock::release function."
Aaron Schulz [Tue, 5 Mar 2013 19:03:20 +0000 (11:03 -0800)]
[LockManager] Added ScopedLock::release function.
* Added more lock unit tests.
Change-Id: Ic359307cf26cfb621ae8d2db867801735a375dde
Translation updater bot [Tue, 5 Mar 2013 20:16:30 +0000 (20:16 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I3d3772d6068a0bf380538afb726d9f14bb3273b1
jenkins-bot [Tue, 5 Mar 2013 20:09:21 +0000 (20:09 +0000)]
Merge "Adding new subclass to HTMLForm for constructing a checkbox matrix"
jenkins-bot [Tue, 5 Mar 2013 19:52:19 +0000 (19:52 +0000)]
Merge "(bug 45677) CSSJanus: support text-shadow and box-shadow flipping"
MatmaRex [Mon, 4 Mar 2013 11:36:41 +0000 (12:36 +0100)]
(bug 45677) CSSJanus: support text-shadow and box-shadow flipping
We just need to negate the horizontal offset value in both of them.
This only supports *a single shadow* per element; multiple shadows
are not supported (only the first will be flipped).
Also, to make it possible:
* don't mangle 5+ consecutive numeric values in the
'four_notation_quantity' rule
* support rgb(a) and hsl(a) colors in the 'color' rule
Change-Id: I148229558e1b9a0516e413ffe86007235c3c3ef8
daniel [Wed, 5 Sep 2012 18:09:19 +0000 (20:09 +0200)]
[Bug 24782]: fix API paging for recentchanges
Combine timestampt and rcid to form a uniformely increasing unique ID for paging.
The patch was originally submitted by Sam Reed, I fixed it up a bit.
Change-Id: Icc43b62ffa7f70f2eba36e9a07141b0ef2e02aa8
jenkins-bot [Tue, 5 Mar 2013 13:11:14 +0000 (13:11 +0000)]
Merge "Changing position of colon for consistency"
jenkins-bot [Tue, 5 Mar 2013 12:56:48 +0000 (12:56 +0000)]
Merge "Vector: fix jump-to-navigation link href"
shirayuki [Tue, 5 Mar 2013 10:52:00 +0000 (19:52 +0900)]
Changing position of colon for consistency
Change-Id: I54f5877dbd2f28726998b7ccec4ae5cad517ab68
jenkins-bot [Tue, 5 Mar 2013 02:30:20 +0000 (02:30 +0000)]
Merge "mw.Map: Avoid using 'undefined' to check for real existance."
Timo Tijhof [Sun, 24 Feb 2013 14:42:16 +0000 (15:42 +0100)]
mw.Map: Avoid using 'undefined' to check for real existance.
Instead use hasOwnProperty or arguments.length when checking
for existance of object propertys and arguments respectively.
That way the following work as expected:
var a = new mw.Map();
a.get( 'constructor' );
// Should be `null`
// Was `function Object() { [native code] }
a.get( 'something', undefined );
// Should be `undefined`
// Was `null`
Bug: 45330
Bug: 45331
Change-Id: I035e23f700e2120618ed4fbe5ce95c7f9b947e41
Timo Tijhof [Tue, 5 Mar 2013 01:54:53 +0000 (02:54 +0100)]
jquery.qunit.completenessTest: Remove redundant jshint override
Change-Id: I94aeff9c857d3a1929834fe6acdcb00d238ae250
jenkins-bot [Tue, 5 Mar 2013 01:40:43 +0000 (01:40 +0000)]
Merge "Fix checkstyle issues in JavaScript."
Matthew Flaschen [Mon, 4 Mar 2013 23:37:11 +0000 (15:37 -0800)]
Fix checkstyle issues in JavaScript.
Change-Id: I22ad0fb99a5895d1a16c5a89194356d906d42eaf
Timo Tijhof [Mon, 4 Mar 2013 23:53:16 +0000 (00:53 +0100)]
Gitignore: Clean up and ensure /includes/cache is not ignored.
In Git (at least in version 1.8.x) entries without leading slash
can be matches in any subdirectory.
Add a / in front of all those that should only be in the root.
Change-Id: I61e2be30ac24c5b369a1d36869fbd027f197bebf
Translation updater bot [Mon, 4 Mar 2013 21:39:44 +0000 (21:39 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Mon, 4 Mar 2013 21:32:04 +0000 (21:32 +0000)]
Merge "Added --postime option syncFileBackend."
Translation updater bot [Mon, 4 Mar 2013 21:17:21 +0000 (21:17 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ib88f09f813a596f0cc418624f86b748a4a2db40e
umherirrender [Sat, 17 Nov 2012 20:41:33 +0000 (21:41 +0100)]
Add username for GENDER in LogFormatter only when visible
For sanity.
bug:42621
Change-Id: If133597f06edcfdda4ad7a47506635743c80cd53
jenkins-bot [Mon, 4 Mar 2013 19:43:11 +0000 (19:43 +0000)]
Merge "(Bug 45355) Read of arbitrary files through mwdoc-filter.php"
Alex Monk [Sun, 30 Dec 2012 13:59:48 +0000 (13:59 +0000)]
(bug 43518) API action=unblock should return the user name, not the full user object
Change-Id: I830e210122a6608b4b599bb0b59c1c99b073c06d
Reedy [Mon, 4 Mar 2013 18:38:35 +0000 (18:38 +0000)]
Revert "Creating new WMF 1.21wmf11 branch"
This reverts commit
4a5fa0c4246adf52cd9351d82f4917aec19b7a92.
Change-Id: I0c9d813b0e82f399ab815007452a8cc6c9dde145
Reedy [Mon, 4 Mar 2013 18:38:22 +0000 (18:38 +0000)]
Revert "Commit of various live hacks"
This reverts commit
3d6851f66257d5df117688b51b7f3037c8ab6aaf.
Change-Id: I26c418d631047783ba945e6b6a7f707d876b3146
Reedy [Mon, 4 Mar 2013 18:38:05 +0000 (18:38 +0000)]
Revert "Applied patches to new WMF 1.21wmf11 branch"
This reverts commit
855d049c75fe303a7a0fcb06dba60170437a694d.
Change-Id: I68f75d9e9cb942f6dc4bdef97a5d5458c9b89875
Reedy [Mon, 4 Mar 2013 18:34:21 +0000 (18:34 +0000)]
Revert "Update WikiData extensions to correct points for 1.21wmf11"
This reverts commit
dd9a9650eb7bd975577b2dbc7854a2c7010c424a
Change-Id: I9526696616c7f1d941cc02fb8b5749d36cc9022c
Reedy [Mon, 4 Mar 2013 18:20:39 +0000 (18:20 +0000)]
Update WikiData extensions to correct points for 1.21wmf11
Change-Id: I55645efb152388d6c84c2afaba270d049a1711f9
Reedy [Mon, 4 Mar 2013 18:03:40 +0000 (18:03 +0000)]
Applied patches to new WMF 1.21wmf11 branch
Reedy [Tue, 10 Apr 2012 18:27:59 +0000 (18:27 +0000)]
Commit of various live hacks
Disable of MessageBlobStore clear
Reset $wgAutopromote (should be moved to a config change!!)
Disable setting of wgStyleSheetPath
Throttle page_touched
Add apc htcp packet numbers to SquidUpdate
Disable set names binary/utf8
Commment out searchindex table indexes
Was
c532e81d583d3d0439fe76eea4d105d675461b56
Original revision Change-Id I42c4f859e55eb198f6c6841e582b3552aad7b31f
https://gerrit.wikimedia.org/r/#/c/7606
Change-Id: I5ec8dd53188e9e4128f99ceaff38ebf9dcf570bb
Reedy [Mon, 4 Mar 2013 18:03:36 +0000 (18:03 +0000)]
Creating new WMF 1.21wmf11 branch
umherirrender [Sat, 2 Mar 2013 16:50:56 +0000 (17:50 +0100)]
Change intval( User::getOption() ) to User::getIntOption()
Also changed some getOption with int or bool cast
Change-Id: Ia551a50e9de047c62be84065481fdf8c02e2ef96
jenkins-bot [Mon, 4 Mar 2013 13:03:58 +0000 (13:03 +0000)]
Merge "Remove Lithuanian override of plural rules"
Santhosh Thottingal [Mon, 4 Mar 2013 12:39:22 +0000 (18:09 +0530)]
Remove Lithuanian override of plural rules
Same rules defined in CLDR plural rules
Change-Id: I2420720fe7dc42bb196bdd442839e41bf7b7c766
Santhosh Thottingal [Mon, 4 Mar 2013 11:19:02 +0000 (16:49 +0530)]
Remove custom Latvian(lv) language plural rules
CLDR is now in sync with MW plural rules. So no need of custom plural logic
Change-Id: I399f99ddd40eea67e981d5710658ba635f115a31
Siebrand Mazeland [Mon, 4 Mar 2013 08:36:28 +0000 (09:36 +0100)]
Use American English spelling for labor
Spotted by Shirayuki in
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Exif-iimcategory-lab/en
Change-Id: I27c2d9bdef4574f3007126ae288c28c0c2783247
Brad Jorsch [Wed, 23 Jan 2013 20:40:57 +0000 (15:40 -0500)]
(bug 44244) Add number of watchers to API prop=info
Following up I1cb6ee22, which added this information to each page's
action=info, this adds inprop=watchers to query the number of people
watching the page. It is subject to the same limitations (user has
unwatchedpages or watchers >= $wgUnwatchedPageThreshold) as action=info.
Also, update doc for $wgUnwatchedPageThreshold to match reality.
Bug: 44244
Change-Id: Ideaac1d84bbe0349154ffe96ba54d74305e3da1d
jenkins-bot [Mon, 4 Mar 2013 00:38:50 +0000 (00:38 +0000)]
Merge "(bug 45633) Fix more occurences of "e-mail" to "email" in API"
Marius Hoch [Sun, 3 Mar 2013 23:55:52 +0000 (00:55 +0100)]
Restoring languages/messages/MessagesAr.php (blanked by L10n-bot)
This broke in I395bdf8a39867f58f84991dd356fbfe975394ff7
Change-Id: I3b4a251c0e62333d0d92b313f483a015cb29c2e4
Translation updater bot [Sun, 3 Mar 2013 20:19:26 +0000 (20:19 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I395bdf8a39867f58f84991dd356fbfe975394ff7
jenkins-bot [Sun, 3 Mar 2013 19:38:51 +0000 (19:38 +0000)]
Merge "cleanup action=tokens"
Alexandre Emsenhuber [Sun, 3 Mar 2013 17:45:53 +0000 (18:45 +0100)]
(bug 45633) Fix more occurences of "e-mail" to "email" in API
- Missed item in ApiSetNotificationTimestamp.php
- Update link to mediawiki.org in ApiEmailUser.php now that the
page was renamed
Bug: 45633
Change-Id: I2a0a41317b9671fcd5fa1f9301cd67e619926a3e
MatmaRex [Sun, 3 Mar 2013 17:24:09 +0000 (18:24 +0100)]
Vector: fix jump-to-navigation link href
We can use the recently introduced #mw-navigation; it makes more sense
than #mw-head and has the same result.
Change-Id: If5f3aa6499b5a339fab8077209817f2ff431e190
Aaron Schulz [Sun, 3 Mar 2013 12:45:15 +0000 (04:45 -0800)]
Added --postime option syncFileBackend.
* Useful when starting positions are made after copying started.
Change-Id: I34d996594753f7bc4449dac96a4822242c1897ee
Matthew Flaschen [Sun, 3 Mar 2013 03:13:05 +0000 (22:13 -0500)]
(bug 43270) Ensure wgPostEdit can never be set on a non-view.
Change-Id: I9e6aac9b25016b804e2be5e4810ae91851cca265
jenkins-bot [Sun, 3 Mar 2013 00:44:44 +0000 (00:44 +0000)]
Merge "Use 'email' instead of 'e-mail' in English installer messages"
jenkins-bot [Sun, 3 Mar 2013 00:42:48 +0000 (00:42 +0000)]
Merge "Use 'email' instead of 'e-mail' in API texts."
Brad Jorsch [Tue, 26 Feb 2013 21:45:37 +0000 (13:45 -0800)]
Add "upload" type to API
If a file upload is not formatted correctly for PHP to recognize it as a
file upload rather than a regular field, the API will wind up trying to
load the file contents as a text field. Since these file contents are
often a large binary file, this will tend to run out of memory trying to
apply Unicode normalization.
To prevent this and to allow for a helpful error message, mark
parameters that are supposed to be file uploads.
Bug: 44909
Change-Id: Ia4586953e2ad2d72d08852689e060e39e7920d50
Translation updater bot [Sat, 2 Mar 2013 19:59:04 +0000 (19:59 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ia3a49cfe8c44cf4d9adee5fbc891b4b72de48269
Matthew Flaschen [Sat, 2 Mar 2013 05:03:19 +0000 (00:03 -0500)]
mw.loader: Prevent useless jobs from being added to queue
* load was calling request with ready and error being null.
* request was doing a strict check against undefined to prevent adding
jobs with no callbacks to the queue.
* Since these were null rather than undefined, the empty jobs got added
anyway. Now using undefined instead.
* Mark ready and error as optional in the request JS documentation.
Change-Id: I6428e733899f7c484f842f6fe142c8d4d49ee443
Alex Monk [Sat, 2 Mar 2013 18:34:38 +0000 (18:34 +0000)]
Use 'email' instead of 'e-mail' in English installer messages
Bug: 45461
Change-Id: I8ac71f3bd8c017f57d66bee58437d9a62fe16cd2
Alex Monk [Sat, 2 Mar 2013 18:13:54 +0000 (18:13 +0000)]
Use 'email' instead of 'e-mail' in API texts.
Bug: 45633
Change-Id: Ieddc066be4051a20f0500b52e6b021e877d6c97d
Yuri Astrakhan [Sat, 2 Mar 2013 00:06:46 +0000 (19:06 -0500)]
API continue param to streamline iteration of complex queries
Greatly simplifies query result iteration by the clients
by providing a mechanism to track sub-iterations (props in generated set)
Assuming the client has the param=>value dictionary with the original request
parameters, client will only need to perform this operation in their language
to get all results from the server regardless of what query they make.
$request = array_merge( $request, $result['continue'] );
Related changes:
* Moved dieContinueUsageIf() from ApiQueryBase to ApiBase
* Internal calls will also return unused param warnings
* Reworked query unit tests for easier testing
Change-Id: Ieb45241fc6db2109f1d92fa3381165ec30701b63
jenkins-bot [Fri, 1 Mar 2013 23:11:06 +0000 (23:11 +0000)]
Merge "testInvalidEmail() passes now without local config"
jenkins-bot [Fri, 1 Mar 2013 23:02:27 +0000 (23:02 +0000)]
Merge "[FileBackend] Process cache negatives for file SHA1 function."
Translation updater bot [Fri, 1 Mar 2013 22:10:54 +0000 (22:10 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Fri, 1 Mar 2013 22:00:46 +0000 (22:00 +0000)]
Merge "Remove DB2 support"
Platonides [Sat, 9 Feb 2013 18:57:03 +0000 (19:57 +0100)]
testInvalidEmail() passes now without local config
ApiAccountCreationTest::testInvalidEmail() no longer
needs LocalSettings to have $wgEnableEmail = true;
Change-Id: I97803be116fda8194e46fe0021c7b32d7b703b1d
jenkins-bot [Fri, 1 Mar 2013 21:37:32 +0000 (21:37 +0000)]
Merge "Bug 35623 - createAndPromote.php: Change to allow promotion only"
jenkins-bot [Fri, 1 Mar 2013 21:26:21 +0000 (21:26 +0000)]
Merge "Improve documentation for OutputPage->addModuleStyles"
jenkins-bot [Fri, 1 Mar 2013 21:05:14 +0000 (21:05 +0000)]
Merge "Kill off and remove HttpRequest class"
Translation updater bot [Fri, 1 Mar 2013 20:30:29 +0000 (20:30 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I10ba9add99316e9b144308d3ba20637e31c327b4
GWicke [Fri, 1 Mar 2013 19:06:03 +0000 (19:06 +0000)]
Merge "More tests for Parsoid's beneift."
jenkins-bot [Fri, 1 Mar 2013 18:56:21 +0000 (18:56 +0000)]
Merge "(Bug 44192) Do not attempt to send a real e-mail"
Subramanya Sastry [Fri, 1 Mar 2013 00:33:01 +0000 (18:33 -0600)]
More tests for Parsoid's beneift.
* One more wikitable fostered content test for this:
https://gerrit.wikimedia.org/r/#/c/51170/
* Merged duplicate extlink test with another.
* Added another extlink text that tests RTing of space-separated
link-text.
Change-Id: I4307bde61b186734f3706dc8940f47e015ec2bc5
jenkins-bot [Fri, 1 Mar 2013 17:55:02 +0000 (17:55 +0000)]
Merge "API: Throw error when interwiki is given for various title param"
umherirrender [Fri, 1 Mar 2013 15:01:26 +0000 (16:01 +0100)]
API: Throw error when interwiki is given for various title param
See bug 44341 for action=parse, but the problem with interwiki
processing can also be happen in other modules.
This gives clearer error message on some modules
For example action=move:
Bad title "*title*"
instead of:
Unknown error: "immobile-target-namespace-iw"
Change-Id: I86524533dfd778a169b39968999918a1f531efeb
Alexandre Emsenhuber [Fri, 1 Mar 2013 07:22:46 +0000 (08:22 +0100)]
Correct documentation for wfPickRandom()'s return types
Also make LoadBalancer::pickRandom()'s one consistent.
Change-Id: Ib80827ef20b32fecb799f327545b1232272076d2
Bsitu [Fri, 1 Mar 2013 02:04:46 +0000 (02:04 +0000)]
Merge "Removing badge drop shadow per Vibha"
C. Scott Ananian [Sat, 23 Feb 2013 04:26:08 +0000 (23:26 -0500)]
Add 'parsoid' option to parserTests.txt.
Rather than overload the 'disabled' option, explicitly mark Parsoid-only
parser tests with "parsoid" in the options field. These are disabled
by default when the PHP parser tests are run (but you could explicitly
enable them with --run-parsoid if you wished, in the same way that you
can enable other disabled tests with --run-disabled).
Document the 'php' option, which the PHP parser tests will ignore, but
will (in the future) be used to mark php-only tests which should be
ignored by the Parsoid parser.
Tweaked 'disabled' option to 'parsoid' for those tests which explicitly
call themselves parsoid-only. I was conservative in this patch; if
the title of the test didn't explicitly mention Parsoid, I left the
test disabled rather than switch it to parsoid.
Change-Id: Id6c396f7966fcb21c1e54e222ab0c9f4e3a34dcc
MarkTraceur [Fri, 1 Mar 2013 00:30:55 +0000 (00:30 +0000)]
Merge "Some additional test cases for Parsoid."
C. Scott Ananian [Sat, 23 Feb 2013 03:38:36 +0000 (22:38 -0500)]
Some additional test cases for Parsoid.
1) "border" attribute can be used in addition to "framed" / "frameless"
on images.
2) parsoid no longer adds semicolons to style attributes where they don't
exist in the source.
3) empty table rows are elided by the PHP parser. (Parsoid doesn't do
this yet.)
4) Italicized possessive (unmatched single-quote). (Parsoid currently
misparses this.)
5) Tests for localized Image handling; check that localized image
options are handled correctly.
Change-Id: I9771374ff167df39535ec99c5f292f739eab8fe7
Platonides [Thu, 28 Feb 2013 22:16:29 +0000 (14:16 -0800)]
(Bug 44192) Do not attempt to send a real e-mail
The ApiAccountCreationTest is attempting to send an email to the newly
created user. The tests should really never send any email. This patch
register a noop callback for the 'AlternateUserMailer' hook which would
disable email entirely in our test suite.
This is generic version of
2025a89 which was only disabling mail for the
ApiAccountCreationTest test and that Antoine reverted.
Change-Id: I7b3ba4f7563a5818c988d6f8da165cc3c984f160
Hashar [Mon, 18 Feb 2013 11:54:35 +0000 (11:54 +0000)]
Revert "(Bug 44192) Do not attempt to send a real e-mail in ApiAccountCreationTest"
This need to be made a global feature that will be applied to any test.
This reverts commit
2025a89d5bcc513826428529ed191aa781942419
Change-Id: Ia7165b78b4f80738ed9b769319e159cd86fc7bdf
jenkins-bot [Thu, 28 Feb 2013 21:48:14 +0000 (21:48 +0000)]
Merge "Preserve caller expectations for behaviour of sslVerifyHost"
Translation updater bot [Thu, 28 Feb 2013 21:31:39 +0000 (21:31 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Thu, 28 Feb 2013 21:09:49 +0000 (21:09 +0000)]
Merge "Move LoadBalancer::pickRandom() to wfPickRandom()"
Reedy [Thu, 28 Feb 2013 01:22:49 +0000 (01:22 +0000)]
Move LoadBalancer::pickRandom() to wfPickRandom()
Code is copypaste reused in other extensions
Change-Id: I4c677ddc01ee264f3b72bb17135972adc96144ae
jenkins-bot [Thu, 28 Feb 2013 20:42:15 +0000 (20:42 +0000)]
Merge "Several minor fixes."
Translation updater bot [Thu, 28 Feb 2013 20:16:57 +0000 (20:16 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I48a5f8e947e6d18e1bf8d3c9e66eaae4657af110
Platonides [Thu, 28 Feb 2013 19:56:05 +0000 (20:56 +0100)]
Several minor fixes.
- Add missing wfProfileOut( __METHOD__ ); in FSFile.php [
13ae6bfb]
- Remove unused $IP globals in ApiUpload.php [
fbf34d84]
- Remove empty statement in EditPage.php [
375687ed]
Change-Id: I3b0506e3c8fc89b352a0d72f18e51a1223af0e9b
jenkins-bot [Thu, 28 Feb 2013 20:03:53 +0000 (20:03 +0000)]
Merge "Add a define guard to NoLocalSettings.php"
jenkins-bot [Thu, 28 Feb 2013 18:04:20 +0000 (18:04 +0000)]
Merge "Only run sha1_file once per file in FSFile"
Tim Starling [Thu, 28 Feb 2013 01:58:52 +0000 (17:58 -0800)]
Preserve caller expectations for behaviour of sslVerifyHost
(bug 42441) The previous patch unnecessarily broke backwards
compatibility in the Http::request() API, following cURL's broken
conventions for sslVerifyHost instead of the boolean interpretation
expected by all existing callers. This change reverts that one, and
fixes the bug in another way. See Ia6535f10.
Also don't bother wrapping the $this->sslVerifyHost access with isset()
since it's always set.
Change-Id: Ia4e1689249b6ac515b859ea2eca1dcff3e63098c
Reedy [Thu, 28 Feb 2013 01:45:54 +0000 (01:45 +0000)]
Kill off and remove HttpRequest class
Change-Id: I0661d483c60fc0d32f0c51937e91bece6960dfcf
Marius Hoch [Thu, 28 Feb 2013 00:40:26 +0000 (01:40 +0100)]
Make UploadBase::getTempFileSha1Base36 public
There's no obvious reason for this method to be private while
it's pretty handy to have it in hooks.
Change-Id: If716665a939e8fe84288354ee8c16369604b67fb