Aaron Schulz [Fri, 9 Nov 2012 00:18:28 +0000 (16:18 -0800)]
Put a 15 minute limit on the cache key lock in nextJobDB.php
Change-Id: I673539d8f77bdbce61023c8113c0f8d7a3016a32
Aaron Schulz [Sat, 3 Nov 2012 00:31:25 +0000 (17:31 -0700)]
[JobQueue] Abstracted nextJobDB.php to not assume JobQueueDB.
* Changed the use of caching to avoid cache slams by having runners
fall back to the old "queues with jobs" cache value when another
process is updating the cache. Also bumped the cache key version.
Change-Id: I6d5f32ab846c14a25afe8c5957443ed95a1d7bd2
Aaron Schulz [Tue, 6 Nov 2012 20:49:40 +0000 (12:49 -0800)]
[FileBackend] Added getFileHttpUrl() function.
* This can speed up certain video file operations for scripts that support
specifying source files via URLs and support HTTP Range headers.
* Updated unit tests.
Change-Id: I60cb95c2e3dd9f7df1f740e9182be7c79af69d6e
Subramanya Sastry [Thu, 8 Nov 2012 22:43:47 +0000 (22:43 +0000)]
Merge "Add a test for named vs. positional parameter whitespace stripping"
Subramanya Sastry [Thu, 8 Nov 2012 22:41:22 +0000 (22:41 +0000)]
Merge "More parameter stripping tests: nested and single-line"
Gabriel Wicke [Thu, 8 Nov 2012 22:18:05 +0000 (14:18 -0800)]
More parameter stripping tests: nested and single-line
Change-Id: I3140932539078b24d0e39d45f5305ce9d5dbe7a9
Gabriel Wicke [Thu, 8 Nov 2012 22:04:08 +0000 (14:04 -0800)]
Add a test for named vs. positional parameter whitespace stripping
Change-Id: Ic673cc224c41aa452bf8d97fc0f1e06fcf2befed
Subramanya Sastry [Thu, 8 Nov 2012 21:57:41 +0000 (21:57 +0000)]
Merge "Add parser tests for template-generated table cell with attributes"
Subramanya Sastry [Thu, 8 Nov 2012 21:15:00 +0000 (21:15 +0000)]
Merge "Test broken br tag sanitization"
Subramanya Sastry [Thu, 8 Nov 2012 21:14:16 +0000 (21:14 +0000)]
Merge "Add test for </pre> inside nowiki block"
Gabriel Wicke [Thu, 8 Nov 2012 21:03:31 +0000 (13:03 -0800)]
Test broken br tag sanitization
Change-Id: I9c1240d1c160be049f10928b269491cafd2ea481
Translation updater bot [Thu, 8 Nov 2012 20:55:29 +0000 (20:55 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I5f3c6d283b153706e6a6422f564072e1b1d8f739
Gabriel Wicke [Thu, 8 Nov 2012 20:47:18 +0000 (12:47 -0800)]
Add test for </pre> inside nowiki block
Change-Id: I8ef71b65f57e348f50e77486d2563b0b5e1a6f8e
Gabriel Wicke [Thu, 8 Nov 2012 19:49:02 +0000 (11:49 -0800)]
Add parser tests for template-generated table cell with attributes
Inspired by Parsoid commit https://gerrit.wikimedia.org/r/#/c/30794/.
Change-Id: Ieb03bd6149bf00c822ce3884a0c3517416905240
IAlex [Thu, 8 Nov 2012 19:15:19 +0000 (19:15 +0000)]
Merge "Add test for bracketed external links with invalid template-generated target"
IAlex [Thu, 8 Nov 2012 19:10:55 +0000 (19:10 +0000)]
Merge "(bug 41899) Fix "Undefined index: start" notice"
IAlex [Thu, 8 Nov 2012 18:58:49 +0000 (18:58 +0000)]
Merge "Add RecentChange::selectFields and use it"
Kevin Israel [Thu, 8 Nov 2012 18:37:06 +0000 (13:37 -0500)]
(bug 41899) Fix "Undefined index: start" notice
Unsetting the continue param rather than setting it to null
results in this PHP error message.
Patchset 2: added release note.
Change-Id: Ieb6be0ac047d6a4a46fb6522fbbdc058bb386411
Gabriel Wicke [Thu, 8 Nov 2012 18:57:00 +0000 (10:57 -0800)]
Add test for bracketed external links with invalid template-generated target
Change-Id: Ic8746ba894d0deb937ce07429b6e471ef647023e
umherirrender [Thu, 8 Nov 2012 18:25:59 +0000 (19:25 +0100)]
Add RecentChange::selectFields and use it
This avoids * in SELECTs
Change-Id: I218c93f23b650e597db1ae2055dc536f2cc195a3
IAlex [Thu, 8 Nov 2012 12:37:00 +0000 (12:37 +0000)]
Merge "Add profiling for database interaction"
Siebrand Mazeland [Mon, 8 Oct 2012 13:44:44 +0000 (15:44 +0200)]
Add profiling for database interaction
Also reformat some code.
Change-Id: Iee18ffeab422bdd2581aab7cab0eab482aec3a80
IAlex [Thu, 8 Nov 2012 11:32:50 +0000 (11:32 +0000)]
Merge "Add since 1.20 for Revision::READ_LATEST"
IAlex [Thu, 8 Nov 2012 11:07:46 +0000 (11:07 +0000)]
Merge "put SpecialMovepageAfterMove hook after success message output"
Aaron Schulz [Tue, 30 Oct 2012 11:04:05 +0000 (04:04 -0700)]
[FileBackend] Avoid some stat calls in various operations.
* copy() and rename() will overwrite any destination, including on Windows.
Tested with Windows 7, and even rename() does this. The /Y flag is also
set for Windows cmd commands now.
* Set the "binary mode" /B flag for Windows cmd commands.
Change-Id: Id11f31b020f786d5b66b0c57298ecc2b9d6170fb
Aaron Schulz [Tue, 16 Oct 2012 21:57:58 +0000 (14:57 -0700)]
Simplified thumb.php for 404 handling.
* Made thumb_handler.php "just work" in a way similar to img_auth.
It no longer needs any "handlerUrl" setting to be set.
Change-Id: I557ba1f94db3cef0f21f5c0e2b60d8e381ea3f96
Aaron Schulz [Sat, 13 Oct 2012 00:24:31 +0000 (17:24 -0700)]
[FileRepo] Allow different file URLs for media based on file extension.
Change-Id: Ib647377312c93c8ed046f7b9510d0e656788cdc3
Siebrand Mazeland [Thu, 8 Nov 2012 06:04:02 +0000 (07:04 +0100)]
Add since 1.20 for Revision::READ_LATEST
Change-Id: Ifd33f6eca5478e2dc4d8092d509d5ca4f3eda34a
Aaron Schulz [Thu, 8 Nov 2012 01:28:30 +0000 (01:28 +0000)]
Merge "Fix test for view language for non-wikitext in main NS."
Subramanya Sastry [Thu, 8 Nov 2012 00:25:51 +0000 (00:25 +0000)]
Merge "Add a test for an uncovered bullet in a deeply nested list"
Gabriel Wicke [Wed, 7 Nov 2012 23:17:22 +0000 (15:17 -0800)]
Add a test for an uncovered bullet in a deeply nested list
Also document testing issues in this area in a comment.
Change-Id: I2f753764e3aa2f9d4bbd146f48b43021a5b07c63
Aaron Schulz [Wed, 7 Nov 2012 21:42:31 +0000 (13:42 -0800)]
Added GET profiling to pecl memcached (like the PHP one has).
Change-Id: Ic92eb740240e2cb46688a174cdeda87c02d4d498
Aaron Schulz [Wed, 7 Nov 2012 20:39:09 +0000 (20:39 +0000)]
Merge "Content::convert() for conv. betw. content models."
Translation updater bot [Wed, 7 Nov 2012 20:39:03 +0000 (20:39 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Wed, 7 Nov 2012 20:26:38 +0000 (20:26 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ie41944c54b8e30a46f6030c36e54a7734262f797
IAlex [Wed, 7 Nov 2012 19:42:36 +0000 (19:42 +0000)]
Merge "(bug 41793) Make contribs. link on Special:ListUsers red for users with 0 edits"
Marius Hoch [Tue, 6 Nov 2012 21:49:28 +0000 (22:49 +0100)]
(bug 41793) Make contribs. link on Special:ListUsers red for users with 0 edits
The link to the user contributions on Special:ListUsers weren't red
as the needed parameter for this wasn't set in the call to
Linker::userToolLinks and User::getEditCount returned strings while
it was supposed to return integers.
Change-Id: I8d5faaedefec02d309e3e9c2da80f135b44fa5f1
Aaron Schulz [Wed, 7 Nov 2012 18:48:58 +0000 (18:48 +0000)]
Merge "(Bug 41658) Allow diffs across text based content."
Reedy [Wed, 7 Nov 2012 16:46:08 +0000 (16:46 +0000)]
Update RELEASE-NOTES-1.20 from tarball
Change-Id: Iba9f0957c10f291aca0f89534e08457ff1c07bc7
aude [Wed, 7 Nov 2012 12:56:54 +0000 (12:56 +0000)]
put SpecialMovepageAfterMove hook after success message output
- this doesn't change behaviour of the hook (e.g. as used in PageTriage and other places),
while allowing extra output to be added to special page by extensions upon page move success.
Change-Id: I6dea0d2bc068561874b471e916e55397a157ffb0
Aaron Schulz [Wed, 7 Nov 2012 00:55:41 +0000 (00:55 +0000)]
Merge "(Bug 41580) Hook for custom search hit rendering."
Subramanya Sastry [Tue, 6 Nov 2012 22:50:13 +0000 (16:50 -0600)]
Additional Parsoid-centric tests to improve code coverage.
* New tests + removed unneeded trailing whitespace.
Change-Id: Id0b80ec4a7a13ed0f0e24b1289d0d8fe23cecfde
Kaldari [Tue, 6 Nov 2012 22:30:49 +0000 (14:30 -0800)]
Making sure badge container is a consistant height
Change-Id: If521ca7bfa6466e5f81c276bfd7d848200a4a356
Asher [Tue, 6 Nov 2012 21:47:08 +0000 (21:47 +0000)]
Merge "Use selectRow when load one ArchivedFile"
Translation updater bot [Tue, 6 Nov 2012 21:01:23 +0000 (21:01 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron Schulz [Tue, 6 Nov 2012 20:57:57 +0000 (20:57 +0000)]
Merge "ORMRow must not ignore failures on insert by deault."
Translation updater bot [Tue, 6 Nov 2012 20:46:39 +0000 (20:46 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Id4e9a8f3457cc9d15ad535588158aff9b24bab7a
IAlex [Tue, 6 Nov 2012 19:55:59 +0000 (19:55 +0000)]
Merge "Doc tweak: variable is actually $isKnown and is a reference"
Kaldari [Tue, 6 Nov 2012 19:53:50 +0000 (19:53 +0000)]
Merge "Tweaking CSS of badge display per Vibha'a design"
Chad Horohoe [Tue, 6 Nov 2012 19:52:30 +0000 (14:52 -0500)]
Doc tweak: variable is actually $isKnown and is a reference
Change-Id: Ib68ea809cbda50b445865bcde22ad7583c8e7f38
Nikerabbit [Tue, 6 Nov 2012 17:13:36 +0000 (17:13 +0000)]
Merge "Fix for Iaac1bb9a (
6b2b06d): remove leading space"
daniel [Mon, 5 Nov 2012 15:53:48 +0000 (16:53 +0100)]
Content::convert() for conv. betw. content models.
This is needed to fix bug 41706 and similar, watch for follow-ups.
Automatic, implicit conversion may be handy in several cases, especially
for converting between different text based content models. E.g. it should
be possible to create a diff between a JavaScript and a wikitext page. This
change lais the foundations for this ability.
Change-Id: Ie7d87b67b24ac9897cb5696220a7785b228d3c79
daniel [Tue, 6 Nov 2012 13:01:16 +0000 (14:01 +0100)]
(Bug 41580) Hook for custom search hit rendering.
Introducing ShowSearchHit hook into SpecialSearch, so extensions
can control of how search results are displayed. This does not
fix bug 41580, but it's a precondition to fixing it in Wikibase.
Change-Id: I9158684b92e320a486266c45dc3f7cf466ec5a24
Alexandre Emsenhuber [Tue, 6 Nov 2012 12:25:40 +0000 (13:25 +0100)]
Fix for Iaac1bb9a (
6b2b06d): remove leading space
Change-Id: I866946c71f1454bee91e02386df166f4363b69d1
aude [Tue, 6 Nov 2012 10:31:58 +0000 (10:31 +0000)]
(bug 41796) follow-up for Ic9e728f8, release db connection in ORMRow
Change-Id: Id6943933d5ceef212515836b179c90180dac691a
Hashar [Tue, 6 Nov 2012 09:17:53 +0000 (09:17 +0000)]
Merge "Update AutoLoader"
Hashar [Tue, 6 Nov 2012 09:04:34 +0000 (09:04 +0000)]
Merge "update export-demo.xml to version-0.8.xsd"
Hashar [Tue, 6 Nov 2012 09:02:12 +0000 (09:02 +0000)]
Merge "Fix escaping of pattern in export-0.8.xsd"
Hashar [Tue, 6 Nov 2012 08:56:28 +0000 (08:56 +0000)]
Merge "Clean up: Fix trailing comments from I7e22cc3c"
Kaldari [Tue, 6 Nov 2012 01:08:34 +0000 (17:08 -0800)]
Tweaking CSS of badge display per Vibha'a design
Change-Id: I81bc2fdaf41de4f0fe864693b7217fe380e2aca6
Aaron Schulz [Tue, 6 Nov 2012 00:43:44 +0000 (16:43 -0800)]
Fixed version docs for job queue.
Change-Id: Icdea3acb4787142a383c0a2942f72821cb8ad99e
Demon [Mon, 5 Nov 2012 23:08:53 +0000 (23:08 +0000)]
Merge "(Bug 41672) Drop possessive in personal tools"
Catrope [Mon, 5 Nov 2012 22:51:53 +0000 (22:51 +0000)]
Merge "mw.loader: Fixes for <script> and <link> loading."
Translation updater bot [Mon, 5 Nov 2012 21:17:04 +0000 (21:17 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Mon, 5 Nov 2012 21:01:44 +0000 (21:01 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ia1a36909e24d3dd843a94d529c8a9871d4a558bc
Subramanya Sastry [Mon, 5 Nov 2012 20:52:10 +0000 (20:52 +0000)]
Merge "Extend category/p interaction test with indent and template"
aude [Mon, 5 Nov 2012 19:57:47 +0000 (20:57 +0100)]
make ORMRow compatible with load balancer, replace usage of wfGetDB( DB_MASTER )
Change-Id: Ic9e728f8d2f83906fee6c4877296ad0759a7b539
Gabriel Wicke [Mon, 5 Nov 2012 19:29:19 +0000 (11:29 -0800)]
Extend category/p interaction test with indent and template
Change-Id: I2e6a3a79c4e48adfcd5d85beecf957a8281ab5fd
Gabriel Wicke [Mon, 5 Nov 2012 19:05:53 +0000 (11:05 -0800)]
Add a test for category link / paragraph interactions
Change-Id: I78c5be65681a7ff1771530dec1ca91167dd9d26b
Ori Livneh [Sat, 3 Nov 2012 05:43:03 +0000 (22:43 -0700)]
(Bug 41672) Drop possessive in personal tools
The repeated inclusion of the posessive in each label is
obnoxious. Other languages have gotten rid of it already
(Dutch, for example). The Bugzilla thread for the bug
contains some insightful reflections about UI implications.
Change-Id: I5382dfa2021f957e349523af8667329593a8bcf5
daniel [Mon, 5 Nov 2012 16:21:53 +0000 (17:21 +0100)]
(Bug 41658) Allow diffs across text based content.
This removes a misguided check and thereby allows diffs to be
created between different kinds of (text based) content.
Change-Id: I6b385fcdead22983edc089e1314151f9babdf7c9
Daniel Kinzler [Mon, 5 Nov 2012 15:13:18 +0000 (15:13 +0000)]
Merge "Some cleanup of doApiRequest in test module"
Timo Tijhof [Wed, 24 Oct 2012 18:13:26 +0000 (20:13 +0200)]
mw.loader: Fixes for <script> and <link> loading.
addScript:
* Integrate fixes from jQuery where this function is based on.
* Set properties instead of attributes (faster, shorter and
less potential bugs)
* Set async property (why not!)
* Remove redundant try/catch. Whatever this was for,
apparently not needed anymore. Follows-up
41d636d3.
mw.loader.load( , text/css ):
* (bug 41331) Security warnings in IE7 for protocol-relative
urls for stylesheets in mw.loader.load.
Fixed by using properties instead of attributes. Not sure why.
Probably related to how IE "normalises" urls when set as
attribute, which would not happen as much when setting a
property.
importStylesheetURI:
* Remove redundant .type property, fix space.
Change-Id: I04f1775213633e6822b4f982fd43a35b19d19531
Timo Tijhof [Wed, 31 Oct 2012 21:28:36 +0000 (22:28 +0100)]
Clean up: Fix trailing comments from I7e22cc3c
Change-Id: I1d462e44460d9150c19f158ad8323b6d43f399cc
Translation updater bot [Sun, 4 Nov 2012 21:13:22 +0000 (21:13 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If49f923a7112dcca2fc23387fa32491275766b99
jeroendedauw [Sun, 4 Nov 2012 18:17:04 +0000 (19:17 +0100)]
replace # by // for comments
Change-Id: Ifd60bc086023a6cb06d9f5aff3ae857eed6ea4d7
TheDJ [Sun, 4 Nov 2012 12:18:48 +0000 (12:18 +0000)]
Merge "mw.notification: fix error on notif. close with $.fx.off=true"
Raimond Spekking [Sun, 4 Nov 2012 11:02:23 +0000 (11:02 +0000)]
Merge "Correcting system message linksearch-text"
Raimond Spekking [Sun, 4 Nov 2012 10:18:34 +0000 (10:18 +0000)]
Merge "Update whatlinkshere-hideimages to file inclusion"
Translation updater bot [Sat, 3 Nov 2012 23:15:01 +0000 (23:15 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2e43f9f473f61f199ce877b5cbb3584b36e10c87
Federico Leva [Sat, 3 Nov 2012 22:24:02 +0000 (23:24 +0100)]
Update whatlinkshere-hideimages to file inclusion
«To match MediaWiki:Imagelinks.
This message also applies to sounds, videos, and other media files.»
Cf. https://en.wikipedia.org/wiki/MediaWiki_talk:Whatlinkshere-hideimages
Change-Id: Ib2274339195d3ca1754a7f7455b0234a36254fb3
umherirrender [Sat, 3 Nov 2012 18:38:58 +0000 (19:38 +0100)]
Fix escaping of pattern in export-0.8.xsd
ExportDemoTest::testExportDemo
xml not valid against xsd: DOMDocument::schemaValidate(): failed to
compile: Wrong escape sequence, misuse of character '\'
Change-Id: Iefae25270b0ad1bf3aa587a51eec3fec1866cff8
umherirrender [Sat, 3 Nov 2012 18:37:02 +0000 (19:37 +0100)]
update export-demo.xml to version-0.8.xsd
Add a assertion to the validation test to ensure, export-demo.xml is
updated next time, when a new version is created.
Change-Id: I004ca23d848dd6701acb45e9b755397b434370c4
Alexandre Emsenhuber [Sat, 3 Nov 2012 09:10:44 +0000 (10:10 +0100)]
Update AutoLoader
Remove non-existing Uri class and add missing MWContentSerializationException class.
Change-Id: I8a0c4d42d8e4e7a80a5155ad8b1dd51c73dc3f05
IAlex [Sat, 3 Nov 2012 08:26:26 +0000 (08:26 +0000)]
Merge "(bug 41295) Galician date and time localization"
Niklas Laxström [Fri, 2 Nov 2012 21:23:44 +0000 (21:23 +0000)]
(bug 41295) Galician date and time localization
Example 3 de novembro de 2012 ás 00:20
Change-Id: Iaac1bb9ab375b561fc63a57249e799e15066ecb9
Translation updater bot [Fri, 2 Nov 2012 19:33:22 +0000 (19:33 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Fri, 2 Nov 2012 19:29:51 +0000 (19:29 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I98a5bfb76ba9d6ac7ecce3c3c1e284a7e9d1d190
Aaron Schulz [Fri, 2 Nov 2012 19:12:02 +0000 (12:12 -0700)]
Moved FileBackend tests to /filebackend.
Change-Id: Ieb789ac1c9803f74bad3a4fef3a57587d6dd6260
Kaldari [Fri, 2 Nov 2012 18:02:11 +0000 (18:02 +0000)]
Merge "(bug 26995) Update filename field on Special:Upload after sanitizing"
Aaron Schulz [Fri, 2 Nov 2012 17:36:22 +0000 (17:36 +0000)]
Merge "Allow ExtractThumbParameters before local regexp"
IAlex [Fri, 2 Nov 2012 16:55:12 +0000 (16:55 +0000)]
Merge "Also ignore sublime project files"
Derk-Jan Hartman [Sat, 25 Aug 2012 23:25:12 +0000 (01:25 +0200)]
(bug 26995) Update filename field on Special:Upload after sanitizing
Patchset 4: Whitespace fix and comment fixes
Patchset 6: Whitespace fix and rebase
Patchset 7: Alignment of comment
Change-Id: I85656a3647766f8a35a7baae1c656d8dc315fc91
Hashar [Fri, 2 Nov 2012 15:37:35 +0000 (15:37 +0000)]
Merge "Document what ParserOutput::setProperty() is for"
Tim Starling [Mon, 22 Oct 2012 00:58:05 +0000 (11:58 +1100)]
Document what ParserOutput::setProperty() is for
Change-Id: I88735b1ebc9b8423b4fbe7b196dfc914f95818fd
Antoine Musso [Fri, 2 Nov 2012 14:22:54 +0000 (15:22 +0100)]
raise timeout for WikiPage tests
The tests do lot of DB queries which are quiet slow when using a SQLite
backend. Marking the class as belonging to the 'medium' group should
raise the timeout to 10 seconds.
Change-Id: I7a779bf4e5f44e755055182e0feeb68c005a920c
daniel [Fri, 2 Nov 2012 14:18:15 +0000 (14:18 +0000)]
Merge "Fix handling of strings containing \0 in SQLite."
daniel [Wed, 31 Oct 2012 14:27:57 +0000 (15:27 +0100)]
Fix handling of strings containing \0 in SQLite.
This change provides a workaround and test case for a problem
in the sqlite library:
SQLite truncates strings at ASCII value 00 aka \0. Strings
containing \0 need to be represented in hexadecimal form.
Reported to PHP as bug 63419
https://bugs.php.net/bug.php?id=63419
Change-Id: I2bbc445ffebd41e181edfc3201e6e5514de06142
IAlex [Fri, 2 Nov 2012 13:21:29 +0000 (13:21 +0000)]
Merge "minor style improvements"
TheDJ [Fri, 2 Nov 2012 13:15:25 +0000 (13:15 +0000)]
Merge "(bug 40610) Prevent editing textarea from overflowing out of bodyContent"