lhc/web/wiklou.git
11 years agotest: abstract parser test result
Antoine Musso [Tue, 19 Mar 2013 14:00:44 +0000 (15:00 +0100)]
test: abstract parser test result

This patch introduce the new ParserTestResult class which is meant to
represent the result of a parser test.  I have refactored some methods
to take advantage of this new class.

It just hold the test description and the actual/expected parser output.
A short isSuccess() method is provided for convenience, we can later
improve the class to carry more methods.

Change-Id: Ifb86e09451875dc119633b52d3f7e4f47c67cc60

11 years agoMoved some RedisConnectionPool docs to the factory function.
Aaron Schulz [Mon, 18 Mar 2013 16:57:23 +0000 (09:57 -0700)]
Moved some RedisConnectionPool docs to the factory function.

Change-Id: I4183b96e123882de604de1484456abcd10091fb2

11 years agoMerge "Check for rev_len not rev_sha1"
jenkins-bot [Tue, 19 Mar 2013 07:16:03 +0000 (07:16 +0000)]
Merge "Check for rev_len not rev_sha1"

11 years agoMerge "Add two table parser tests"
Subramanya Sastry [Mon, 18 Mar 2013 23:56:57 +0000 (23:56 +0000)]
Merge "Add two table parser tests"

11 years agoAdd mobile target to QUnit and its dependencies
Juliusz Gonera [Fri, 22 Feb 2013 23:13:30 +0000 (15:13 -0800)]
Add mobile target to QUnit and its dependencies

This allows us to run mobile JavaScript tests in the environment (skin)
they were written for.

Change-Id: I84e0512590de9ff2dbdf519d983a0c1c2d007194

11 years agoAdd two table parser tests
Gabriel Wicke [Mon, 18 Mar 2013 22:26:00 +0000 (15:26 -0700)]
Add two table parser tests

One tests paragraph wrapping inside of table cells, the other mixed wikitext /
html syntax tables in Parsoid only.

Change-Id: I1e07e868d7f329ac1fa5d33b7fa07c7e701f41ba

11 years agoAdded profiling to MWHttpRequest and Http.
Tyler Anthony Romeo [Mon, 18 Mar 2013 21:32:43 +0000 (17:32 -0400)]
Added profiling to MWHttpRequest and Http.

Added profile calls to various functions in
MWHttpRequest as well as to the wrapper
function Http::request.

Change-Id: I7f2819a075891dbc565a7524d56e7bf077ab089a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 18 Mar 2013 20:27:06 +0000 (20:27 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ib5e4b598df854da0bf279190047508a5f276eaab

11 years agoRemove spaces in function signature
umherirrender [Mon, 18 Mar 2013 19:44:43 +0000 (20:44 +0100)]
Remove spaces in function signature

Change-Id: I45aea7a7af88cd913b2f485913620a8af0ab2fed

11 years agoMerge "Fix type of list=tags&tgcontinue"
jenkins-bot [Mon, 18 Mar 2013 19:14:27 +0000 (19:14 +0000)]
Merge "Fix type of list=tags&tgcontinue"

11 years agoMerge "(Bug 45775) Adjusted the margin of "userloginForm""
Yuvipanda [Mon, 18 Mar 2013 18:46:26 +0000 (18:46 +0000)]
Merge "(Bug 45775) Adjusted the margin of "userloginForm""

11 years agoMerge "Use gettype only for debugging text"
jenkins-bot [Mon, 18 Mar 2013 18:44:59 +0000 (18:44 +0000)]
Merge "Use gettype only for debugging text"

11 years ago(Bug 45775) Adjusted the margin of "userloginForm"
rahul21 [Wed, 13 Mar 2013 18:08:31 +0000 (23:38 +0530)]
(Bug 45775) Adjusted the margin of "userloginForm"

Change-Id: Ibede75a3f4e998d1972cacf1f5840882d39550ee

11 years agoMerge "Added ScopedCallback functions for early execution or cancellation."
jenkins-bot [Mon, 18 Mar 2013 18:23:14 +0000 (18:23 +0000)]
Merge "Added ScopedCallback functions for early execution or cancellation."

11 years agoMerge "[FileBackend] Replaced redundant "disposition" param with "headers"."
jenkins-bot [Mon, 18 Mar 2013 17:16:53 +0000 (17:16 +0000)]
Merge "[FileBackend] Replaced redundant "disposition" param with "headers"."

11 years agoMerge "Cleanup for ApiImageRotate"
jenkins-bot [Mon, 18 Mar 2013 16:15:20 +0000 (16:15 +0000)]
Merge "Cleanup for ApiImageRotate"

11 years agoacessor for MediaWikiTestCase::$useTemporaryTables
Antoine Musso [Mon, 18 Mar 2013 15:09:18 +0000 (16:09 +0100)]
acessor for MediaWikiTestCase::$useTemporaryTables

useTemporaryTables is marked private to prevent childs from overriding
the value which would cause a lot of madness whenever it forgot to reset
its status.  But that in turns prevents a child class from figuring out
whether we use temporary tables or not. The ActiveAbstract extension
test suite has such a requirement and hence need a proper accessor.

MediaWikiTestCase::usesTemporaryTables() is a public accessor to for the
private property MediaWikiTestCase::$useTemporaryTables.

Change-Id: I8016c49116a187d7523cc0d6190514f8a513eafb

11 years agoAdd array with watchlist options to SpecialWatchlistQuery
Marius Hoch [Sat, 16 Mar 2013 20:53:37 +0000 (21:53 +0100)]
Add array with watchlist options to SpecialWatchlistQuery

This data is very useful with the hook as it holds the
criteria to build the watchlist query.

Change-Id: I688ab0b35b301f180bbfde3ad3043b1ee602de10

11 years agoMerge "Move plural rules of Samogitian(sgs) to plurals-mediawiki.xml"
jenkins-bot [Mon, 18 Mar 2013 08:56:56 +0000 (08:56 +0000)]
Merge "Move plural rules of Samogitian(sgs) to plurals-mediawiki.xml"

11 years agoRemove error suppression from Parser::formatHeadings
umherirrender [Sun, 17 Mar 2013 14:53:37 +0000 (15:53 +0100)]
Remove error suppression from Parser::formatHeadings

The array index looks always initialized

Change-Id: I63a1c264ded0c4a744ee990de9bef4f8f9d20d1d

11 years agoMove plural rules of Samogitian(sgs) to plurals-mediawiki.xml
Santhosh Thottingal [Mon, 18 Mar 2013 08:11:46 +0000 (13:41 +0530)]
Move plural rules of Samogitian(sgs) to plurals-mediawiki.xml

* CLDR does not define plural rules for sgs.
* Port the plural rules present in LanguageSgs.php to CLDR plural
  definition syntax
* Remove LanguageSgs.php
* Update the tests, reorder/rename the plural form names

Change-Id: I44658402d69a6805cdfd189fe780eadee94056c7

11 years agoRemove error suppression in Exif::isRational
umherirrender [Sun, 17 Mar 2013 14:57:31 +0000 (15:57 +0100)]
Remove error suppression in Exif::isRational

preg_match throws warning, when getting a array as input, but there is a
is_array check, so no need for error suppression

Change-Id: Ie7f180f45c04e8e396186cd6a5a9e40e2c94a80a

11 years agoMerge "Revert "Refactored use of $wgMemc in JobQueueDB to use a field.""
Tim Starling [Mon, 18 Mar 2013 05:44:12 +0000 (05:44 +0000)]
Merge "Revert "Refactored use of $wgMemc in JobQueueDB to use a field.""

11 years agoRevert "Refactored use of $wgMemc in JobQueueDB to use a field."
Tim Starling [Mon, 18 Mar 2013 05:43:59 +0000 (05:43 +0000)]
Revert "Refactored use of $wgMemc in JobQueueDB to use a field."

This reverts commit 7293699561f8751c66d55697e63b13a18653ac6b

Unit tests fail.

Change-Id: Iac8025844b37c584e451a4120e54898ae4f2524e

11 years ago[LockManager] Refactor lock TTL code to base class.
Aaron Schulz [Wed, 13 Mar 2013 07:41:22 +0000 (00:41 -0700)]
[LockManager] Refactor lock TTL code to base class.

* Also made the TTL configurable.

Change-Id: I713979267fe7bd92ac6cd5fe4d4168d20e539c75

11 years agoRefactored use of $wgMemc in JobQueueDB to use a field.
Aaron Schulz [Sun, 10 Mar 2013 08:06:02 +0000 (00:06 -0800)]
Refactored use of $wgMemc in JobQueueDB to use a field.

Change-Id: Ic2a0a16142abdc5a971729fe550c10c1b8fa42b9

11 years agoa43f751 removed the usage of $wgMiserMode
Platonides [Wed, 13 Mar 2013 15:10:19 +0000 (16:10 +0100)]
a43f751 removed the usage of $wgMiserMode

Change-Id: I5528dba582d218721324431015bd930b9b6ab57e

11 years agojquery.tablesorter: Fix explodeRowspans
Brad Jorsch [Mon, 19 Nov 2012 14:47:11 +0000 (09:47 -0500)]
jquery.tablesorter: Fix explodeRowspans

$.tablesorter's explodeRowspans works ok for simple tables, but row
headers or unusual spanning structures will confuse it.

This rewrite makes it more robust.

Bug: 41889
Change-Id: Icb674f7eece053435ca9525d45709579df14cc74

11 years agojquery.tablesorter: Fix broken getElementSortKey()
Brad Jorsch [Fri, 8 Mar 2013 02:08:16 +0000 (21:08 -0500)]
jquery.tablesorter: Fix broken getElementSortKey()

Change I3e9898f3 introduced changes to
getElementText()/getElementSortKey() that broke certain behavior with
respect to tables having colspanned cells. Restore the old behavior for
these cases.

Change-Id: I18be2e6c1f0ab926ff4c795530600b52bc6488c0

11 years ago(Bug 42461) Remove call to "new Database()"
Platonides [Sat, 26 Jan 2013 15:38:29 +0000 (16:38 +0100)]
(Bug 42461) Remove call to "new Database()"

 * Refactored LoadBalancer::reportConnectionError()
 * Removed PHP4-style reference from DatabaseError constructors
 * Allowed to not pass a database to the DBError family of exceptions.

Change-Id: If9570b45ea7285de2b8b2391e704bc01f76be48a

11 years ago(bug 45054) Fix rsvg converter command line when thumbnailing.
Ed Sanders [Fri, 15 Feb 2013 21:54:47 +0000 (13:54 -0800)]
(bug 45054) Fix rsvg converter command line when thumbnailing.

Change-Id: Ia6c1d4e5d61629e9651495ee92fe1c7298a50ef1

11 years agoMerge "Remove spaces between parentheses in function calls"
jenkins-bot [Mon, 18 Mar 2013 00:22:11 +0000 (00:22 +0000)]
Merge "Remove spaces between parentheses in function calls"

11 years agoMerge "Set initial language and variant user preferences to user's preferred variant...
jenkins-bot [Mon, 18 Mar 2013 00:11:19 +0000 (00:11 +0000)]
Merge "Set initial language and variant user preferences to user's preferred variant on user registration"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 17 Mar 2013 19:51:22 +0000 (19:51 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I36833fa0e34d515906005009fcfe7ffb7f59a3e9

11 years agoFix type of list=tags&tgcontinue
umherirrender [Sun, 17 Mar 2013 15:29:00 +0000 (16:29 +0100)]
Fix type of list=tags&tgcontinue

Was already interpretted as string before, but with a default of null,
this is easy to read and looks like all other 'continue' param

Change-Id: Ica972e927d4949bb0e8925f10471b9273c052011

11 years agoRemove spaces between parentheses in function calls
umherirrender [Sun, 17 Mar 2013 15:13:22 +0000 (16:13 +0100)]
Remove spaces between parentheses in function calls

Change-Id: If8ec665a01b566fa5189dfcc810b2d9a17f371e1

11 years ago(bug 46239) jquery.makeCollapsible: don't fail if no options given
MatmaRex [Sun, 17 Mar 2013 10:24:18 +0000 (11:24 +0100)]
(bug 46239) jquery.makeCollapsible: don't fail if no options given

Also a typo elsewhere. That's what you get when coding at 2 AM.

Change-Id: I8dd4f0d06cc5dbf7fe67f2b584c9afe8f5d1b36a

11 years agoMerge "Readd GENDER to english logentry messages"
jenkins-bot [Sun, 17 Mar 2013 08:47:04 +0000 (08:47 +0000)]
Merge "Readd GENDER to english logentry messages"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 16 Mar 2013 20:59:30 +0000 (20:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ie28bd2d1bce13b5a78eeb8573d8b5b9527b1afeb

11 years agoReadd GENDER to english logentry messages
umherirrender [Sat, 16 Mar 2013 20:12:02 +0000 (21:12 +0100)]
Readd GENDER to english logentry messages

Was removed due to performance reason, but some fixed are applied in
meantime, so there should not be a problem on adding the GENDER back.

This is a (manually) partial revert of r110909

bug: 24156
Change-Id: I8139c51bb8a1ea4fa69a1327c46d347ea043cc9f

11 years agoSpecial:RevisionDelete: DatabaseBase::makeList: empty input
umherirrender [Sat, 16 Mar 2013 19:07:29 +0000 (20:07 +0100)]
Special:RevisionDelete: DatabaseBase::makeList: empty input

bug:45211
Change-Id: I3777c1332aa2a0dd9e9cf4b643b53f31db3f5e91

11 years agoMerge "Default $wgContentHandlerUseDB to true"
Daniel Kinzler [Sat, 16 Mar 2013 14:33:30 +0000 (14:33 +0000)]
Merge "Default $wgContentHandlerUseDB to true"

11 years agoCheck for rev_len not rev_sha1
Reedy [Sat, 16 Mar 2013 14:19:41 +0000 (14:19 +0000)]
Check for rev_len not rev_sha1

Change-Id: Ida29357d1277ec1ddeada2aaca2d1b889ba742a8

11 years ago(bug 44486) Rephrase password reset messages to remove 'reminder' language
Alex Monk [Wed, 30 Jan 2013 01:07:48 +0000 (01:07 +0000)]
(bug 44486) Rephrase password reset messages to remove 'reminder' language

Change-Id: Ie2a18ddb92b8c992bc72ea4263a43e6928681041

11 years agoMerge "Cache Revision::selectFields() call result"
jenkins-bot [Sat, 16 Mar 2013 03:38:42 +0000 (03:38 +0000)]
Merge "Cache Revision::selectFields() call result"

11 years agoCache Revision::selectFields() call result
Reedy [Sat, 16 Mar 2013 01:44:44 +0000 (01:44 +0000)]
Cache Revision::selectFields() call result

Change-Id: Ia41208658b601f68e77a0e1fa36c13e28ea8b9be

11 years agoMerge "jquery.makeCollapsible: add plainMode support"
jenkins-bot [Sat, 16 Mar 2013 01:33:09 +0000 (01:33 +0000)]
Merge "jquery.makeCollapsible: add plainMode support"

11 years agoMerge "jquery.makeCollapsible: add a few explicit options to the jQuery plugin"
jenkins-bot [Sat, 16 Mar 2013 01:08:47 +0000 (01:08 +0000)]
Merge "jquery.makeCollapsible: add a few explicit options to the jQuery plugin"

11 years agoMerge "jquery.makeCollapsible: move helper functions to the outer scope"
jenkins-bot [Sat, 16 Mar 2013 01:06:31 +0000 (01:06 +0000)]
Merge "jquery.makeCollapsible: move helper functions to the outer scope"

11 years agoMerge "jquery.makeCollapsible: clean up the handler toggling logic"
jenkins-bot [Sat, 16 Mar 2013 00:59:45 +0000 (00:59 +0000)]
Merge "jquery.makeCollapsible: clean up the handler toggling logic"

11 years agojquery.makeCollapsible: add plainMode support
MatmaRex [Fri, 15 Mar 2013 20:10:08 +0000 (21:10 +0100)]
jquery.makeCollapsible: add plainMode support

When .makeCollapsible() is used on a <ol>/<ul> list, the toggler is
inserted as the zeroth list item and clicking is causes all the other
list items to be hidden separately, one by one.

This hiding behavior is applied even when using custom togglers placed
outside of the list. This has some pretty serious performance
considerations when applied to large lists or tables (more than
~25 items/rows).

Enter plainMode. In combination with custom togglers, it makes all
types of elements to be treated the same and hidden/shown as a whole.

Change-Id: Idd9429b20d70741af72657feef26e1c95c76d51f

11 years agojquery.makeCollapsible: add a few explicit options to the jQuery plugin
MatmaRex [Fri, 15 Mar 2013 10:25:03 +0000 (11:25 +0100)]
jquery.makeCollapsible: add a few explicit options to the jQuery plugin

Add a few options to the jQuery plugin to allow for explicit passing
of various options in addition to the conventions used now (via data-
attributes or magic id/class combinations).

Change-Id: Ic498e7a3b2d2e964bda8d31a70f71cda08560cec

11 years agojquery.makeCollapsible: move helper functions to the outer scope
MatmaRex [Thu, 14 Mar 2013 20:15:41 +0000 (21:15 +0100)]
jquery.makeCollapsible: move helper functions to the outer scope

They do not directly use any variables defined inside
$.fn.makeCollapsible (although they used to), so let's move them to
the appropriate place.

Also indent the body of the immediately-invoked wrapper function.

Change-Id: I3d5f33b4a3ed8bd72c5f55c4d9fa545e4f3bd8c4

11 years agojquery.makeCollapsible: clean up the handler toggling logic
MatmaRex [Wed, 13 Mar 2013 21:42:55 +0000 (22:42 +0100)]
jquery.makeCollapsible: clean up the handler toggling logic

Merged three functions which did almost the same thing into one,
togglingHandler(), which takes a few options instead.

Left the old functions as wrappers for now, I'll clean them up in
another commit.

Change-Id: Id3f457a84064382f2d962e9ac4d926827de93126

11 years agoAdd id for domain list on user create form
Ryan Lane [Fri, 15 Mar 2013 22:15:17 +0000 (15:15 -0700)]
Add id for domain list on user create form

The user login form already has this id for the domain list, so
I'm adding it for the create form as well.

Change-Id: I1eec31c461a5c76565acf1e0bbfa07f367591678

11 years agoUse gettype only for debugging text
umherirrender [Fri, 15 Mar 2013 21:50:42 +0000 (22:50 +0100)]
Use gettype only for debugging text

Changed some gettype == 'array', 'object' and similar to is_array,
is_object or similar

Output of gettype must not stable across versions and it is slow

Change-Id: I07bfc063b03be1200989dd6facee66b35ab51d77

11 years agoMerge "Make update.php and install.php use wfPHPVersionError() and reorganise it"
jenkins-bot [Fri, 15 Mar 2013 20:55:49 +0000 (20:55 +0000)]
Merge "Make update.php and install.php use wfPHPVersionError() and reorganise it"

11 years agoMerge "Fixed importScopedSession() and moved exportUserSession() to RequestContext."
jenkins-bot [Fri, 15 Mar 2013 20:48:55 +0000 (20:48 +0000)]
Merge "Fixed importScopedSession() and moved exportUserSession() to RequestContext."

11 years agoFixed importScopedSession() and moved exportUserSession() to RequestContext.
Aaron Schulz [Thu, 14 Mar 2013 22:43:42 +0000 (15:43 -0700)]
Fixed importScopedSession() and moved exportUserSession() to RequestContext.

* Renamed WebRequest::exportUserSession -> RequestContext::exportSession.
  Updated the only callers of this new function.
* Init the user with User::newFromId() instead of relying on the session
  (which breaks when things like CentralAuth are enabled).
* Made RequestContext::exportSession() include the user ID.
* Removed now-redundant user ID checks in upload jobs.
* Added unit tests for the session import function.

Change-Id: I543e6766f7a8a828ea5d270328c3bc7738c6fe94

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 15 Mar 2013 19:32:37 +0000 (19:32 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I66bc1bec2e64fef9dee6562c9e2a7268c8cdb1cc

11 years ago(bug 45436) Update autonym of the Pali (pi) language
Amir E. Aharoni [Mon, 18 Feb 2013 18:31:02 +0000 (00:01 +0530)]
(bug 45436) Update autonym of the Pali (pi) language

Change-Id: I078eb210eacb0f4c89a8858636bd5b84da68e79d

11 years agoMerge "API: Remove useless PARAM_REQUIRED = false"
jenkins-bot [Fri, 15 Mar 2013 16:54:38 +0000 (16:54 +0000)]
Merge "API: Remove useless PARAM_REQUIRED = false"

11 years ago$.tablesorter: remove and inline getTextFromRowAndCellIndex()
MatmaRex [Fri, 4 Jan 2013 17:27:36 +0000 (18:27 +0100)]
$.tablesorter: remove and inline getTextFromRowAndCellIndex()

It introduced unnecessary indirection and was only called once.

Change-Id: I519cc1f04a581d41aa23229182c55466ed7757c8

11 years agoCleanup for ApiImageRotate
Reedy [Fri, 8 Mar 2013 02:09:01 +0000 (02:09 +0000)]
Cleanup for ApiImageRotate

Follows up Id15a92d19cda8256917e7e1e5ee4241012214102

Minor tweak to filerevert too

Change-Id: I742c854ebb97a5a1f954388be4b15f992fa93bd8

11 years agoAPI: Remove useless PARAM_REQUIRED = false
umherirrender [Fri, 15 Mar 2013 15:35:51 +0000 (16:35 +0100)]
API: Remove useless PARAM_REQUIRED = false

Also fix the condition in getPossibleErrors to avoid reporting of:
<error code="nosectiontitle" info="The sectiontitle parameter must be
set" />

Change-Id: Ifd808a040590ddffc0527da5ef0cc8cacdd008d9

11 years agoMerge "Added a --cache option to mctest.php and mcc.php."
jenkins-bot [Fri, 15 Mar 2013 13:56:43 +0000 (13:56 +0000)]
Merge "Added a --cache option to mctest.php and mcc.php."

11 years agoDefaultSettings: Add @since annotations.
Timo Tijhof [Thu, 14 Mar 2013 18:55:14 +0000 (19:55 +0100)]
DefaultSettings: Add @since annotations.

Based on information from:
- https://www.mediawiki.org/wiki/Manual:$wgConf
- https://www.mediawiki.org/wiki/Manual:$wgVersion
- https://www.mediawiki.org/wiki/Manual:$wgCanonicalServer
- https://www.mediawiki.org/wiki/Manual:$wgUsePathInfo
- etc.

Change-Id: If359c57493de8efa3beb92b75e2ece9ca4a3a828

11 years agoMerge "mwdocgen.php: Exit with exit code of passthru(doxygen)"
jenkins-bot [Fri, 15 Mar 2013 07:57:14 +0000 (07:57 +0000)]
Merge "mwdocgen.php: Exit with exit code of passthru(doxygen)"

11 years agomwdocgen.php: Implement --version option.
Timo Tijhof [Fri, 15 Mar 2013 06:10:04 +0000 (07:10 +0100)]
mwdocgen.php: Implement --version option.

So that the job that runs it can pass along what it should
display (e.g. branch, tag, hash etc. whatever is appropiate
for the context of that run).

Change-Id: I1d5b6266e49a71672b0a53069e6ea6bb4658c3d2

11 years agoAdded a --cache option to mctest.php and mcc.php.
Aaron Schulz [Fri, 15 Mar 2013 06:09:24 +0000 (23:09 -0700)]
Added a --cache option to mctest.php and mcc.php.

* This lets the server list used be that of different object caches.

Change-Id: I88039370affec6e431c931337d220f7472f6eaeb

11 years agoFixed E_STRICT warning:
Aaron Schulz [Thu, 14 Mar 2013 23:46:30 +0000 (16:46 -0700)]
Fixed E_STRICT warning:
Strict Standards: Declaration of UploadFromChunks::stashFile() should be
compatible with UploadBase::stashFile(User $user = NULL)

Change-Id: If14d7aeacb23df16bff94c5989cde4ee31c1d105

11 years agoTweaked MessageCache locks to handle exceptions better.
ASchulz [Tue, 12 Mar 2013 22:27:12 +0000 (15:27 -0700)]
Tweaked MessageCache locks to handle exceptions better.

Change-Id: I3066d8dbebc97abcc0567d71625f995d62549b4c

11 years agomwdocgen.php: Exit with exit code of passthru(doxygen)
Timo Tijhof [Fri, 15 Mar 2013 05:43:56 +0000 (06:43 +0100)]
mwdocgen.php: Exit with exit code of passthru(doxygen)

Previously it just naturally exited which means even if the
doxygen bin doesn't exist, it'll return "success".

Bug: 46151
Change-Id: Ie1e3d956ce5d3e1f28c7c829bb57596113f07c4a

11 years agoRemoved user table JOIN from ActiveUsers query.
Aaron Schulz [Wed, 27 Feb 2013 22:47:51 +0000 (14:47 -0800)]
Removed user table JOIN from ActiveUsers query.

Change-Id: I2d6d2154a277d256db09e2a851424ba026862be9

11 years agoMerge "Fix default value of the SpecialWatchlistFilters hook"
jenkins-bot [Thu, 14 Mar 2013 21:44:34 +0000 (21:44 +0000)]
Merge "Fix default value of the SpecialWatchlistFilters hook"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 14 Mar 2013 20:56:40 +0000 (20:56 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "Format jquery.ui.button.css so it's easier to work with"
jenkins-bot [Thu, 14 Mar 2013 20:23:47 +0000 (20:23 +0000)]
Merge "Format jquery.ui.button.css so it's easier to work with"

11 years agoAdded ScopedCallback functions for early execution or cancellation.
Aaron Schulz [Thu, 14 Mar 2013 20:23:32 +0000 (13:23 -0700)]
Added ScopedCallback functions for early execution or cancellation.

Change-Id: I6493cfa81d778c47aa7283dc3196989384235f0a

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 14 Mar 2013 20:15:42 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I04422727b54789ca326360ec86c630076b9210ae

11 years agojquery.badge: Treat non-Latin variants of zero as zero as well.
Alex Monk [Tue, 19 Feb 2013 12:38:38 +0000 (12:38 +0000)]
jquery.badge: Treat non-Latin variants of zero as zero as well.

Bug: 45143
Change-Id: Ib8a36913df1ec4ae966551d1d5b8de712c34b96c

11 years agoCleaned up upload job error reporting.
Aaron Schulz [Thu, 14 Mar 2013 18:42:26 +0000 (11:42 -0700)]
Cleaned up upload job error reporting.

Change-Id: I2379d235eb9fed58412c9fefb9cabe56868395b9

11 years agomark UtfNormal::CleanUpTest as expensive
Antoine Musso [Thu, 14 Mar 2013 04:05:24 +0000 (05:05 +0100)]
mark UtfNormal::CleanUpTest as expensive

The CleanUpTest are a bit long and reach the medium timeout of 10
seconds.  Mark them as large would give them a 60 seconds timeout,
hopefully enough to generate code coverage.

Change-Id: Id6d13204428ec1810a9b56db76bed351bf45b950

11 years agotypo in @cover statement
Antoine Musso [Thu, 14 Mar 2013 03:56:42 +0000 (04:56 +0100)]
typo in @cover statement

PHP Code Coverage uses the @cover comment statement to limit code
coverage to some specific function.  The method reference lacked the
trailing 's' leading to an error when running coverage:

PHP_CodeCoverage_Exception: Trying to @cover not existing method
"Title::checkReadPermission".

Change-Id: Ie09e804039271ec8f0165c32dc7849ea4be8a3b9

11 years agoFix composer.json to prevent infinite loops.
Tyler Anthony Romeo [Wed, 6 Mar 2013 05:16:37 +0000 (00:16 -0500)]
Fix composer.json to prevent infinite loops.

So it turns out you're not supposed to specify the repository in
composer.json, as that's only for dependencies. Otherwise it will loop
infinitely.

The repository tag isn't for the current application, it's for
dependencies of the application. I've tried doing "composer install"
with MediaWiki master and it loops infinitely because it goes to the
repository, sees that it has a composer.json, reads it, sees that it has
a repository, etc.

This patch thus Remove the 'repositories' statement pointing to
Wikimedia gerrit installation which as added with 0ee7f355

Change-Id: I9a77d28f33a0b966f42c8c2e952b922809acc20d

11 years agoMerge "Implement htmlEqual QUnit helper (QUnit.assert.htmlEqual)"
jenkins-bot [Wed, 13 Mar 2013 23:57:38 +0000 (23:57 +0000)]
Merge "Implement htmlEqual QUnit helper (QUnit.assert.htmlEqual)"

11 years agoAllow having no serializer in RedisConnectionPool.
Aaron Schulz [Wed, 13 Mar 2013 21:28:06 +0000 (14:28 -0700)]
Allow having no serializer in RedisConnectionPool.

Change-Id: If367c26b6b19374d1445c406851e2c5d3e5cc634

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Wed, 13 Mar 2013 21:22:03 +0000 (21:22 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoChanging OutputPage param to a Context param in PageHistoryBeforeList
Kaldari [Wed, 13 Mar 2013 16:54:23 +0000 (09:54 -0700)]
Changing OutputPage param to a Context param in PageHistoryBeforeList

Change-Id: I348b449043fefba181e28486a07c4aa761bcef24

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 13 Mar 2013 20:49:13 +0000 (20:49 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idb52d9bc126193a3afe66ca68bfbb3c4ca375fff

11 years agoMerge "servers => serves"
jenkins-bot [Wed, 13 Mar 2013 19:48:08 +0000 (19:48 +0000)]
Merge "servers => serves"

11 years agoservers => serves
Reedy [Wed, 13 Mar 2013 19:39:10 +0000 (19:39 +0000)]
servers => serves

Change-Id: Idff55d11850fe68c2ba0938e5944dfe53beee390

11 years agoMerge "Filtered "LOCK IN SHARE MODE" from SQLite"
jenkins-bot [Wed, 13 Mar 2013 18:36:30 +0000 (18:36 +0000)]
Merge "Filtered "LOCK IN SHARE MODE" from SQLite"

11 years agoMerge "Adjusting badge size per Vibha"
Kaldari [Wed, 13 Mar 2013 18:34:06 +0000 (18:34 +0000)]
Merge "Adjusting badge size per Vibha"

11 years agoFixes to Special:LinkSearch form
Alexandre Emsenhuber [Wed, 13 Mar 2013 17:08:55 +0000 (18:08 +0100)]
Fixes to Special:LinkSearch form

- Use Html class instead of Xml where possible
- Use Html class for <fieldset> generation, for consistency
- Add line breaks to the output for better readability
- Don't use $GLOBALS to access $wgScript

Change-Id: Ib11aa8ba3e3ef0e1ca07e0e3ac9605daa33f08a4

11 years agoMerge "getBools doesn't exist in Translate anymore"
jenkins-bot [Wed, 13 Mar 2013 16:26:33 +0000 (16:26 +0000)]
Merge "getBools doesn't exist in Translate anymore"

11 years agoMerge "Fix Ifb93e49b"
jenkins-bot [Wed, 13 Mar 2013 16:04:26 +0000 (16:04 +0000)]
Merge "Fix Ifb93e49b"

11 years agoFix Ifb93e49b
Alex Monk [Wed, 13 Mar 2013 15:43:27 +0000 (15:43 +0000)]
Fix Ifb93e49b

This commit caused a PHP notice if you tried to use diff=prev with an
oldid which was the first revision of the page.

Change-Id: I4c4ccb9a0c8d82e104723a2e72f1c699e2fc249b

11 years agoMerge "Handle certain errors in action=createaccount api module"
jenkins-bot [Wed, 13 Mar 2013 15:18:50 +0000 (15:18 +0000)]
Merge "Handle certain errors in action=createaccount api module"

11 years agoMerge "(bug 45937) API: Check amlang in meta=allmessages"
jenkins-bot [Wed, 13 Mar 2013 15:00:27 +0000 (15:00 +0000)]
Merge "(bug 45937) API: Check amlang in meta=allmessages"

11 years ago(bug 45937) API: Check amlang in meta=allmessages
Brad Jorsch [Tue, 12 Mar 2013 14:58:40 +0000 (10:58 -0400)]
(bug 45937) API: Check amlang in meta=allmessages

Language::factory() throws an exception if given a syntactically invalid
code. Check the code beforehand to generate a proper error message.

Bug: 45937
Change-Id: I521e6f7ffc44becb302fde33c1df3879baa4045a