lhc/web/wiklou.git
9 years agoCollation: Workaround for incorrect collation of Estonian
Bartosz Dziewoński [Sun, 20 Jul 2014 18:34:34 +0000 (20:34 +0200)]
Collation: Workaround for incorrect collation of Estonian

'W' and 'V' should not be considered the same letter for the purposes
of collation in modern Estonian. We work around this by replacing 'W'
and 'w' with 'ᴡ' U+1D21 'LATIN LETTER SMALL CAPITAL W' for sortkey
generation, which is collated like 'W' and is not tailored to have the
same primary weight as 'V' in Estonian.

Bug: 54168
Change-Id: I3e8031b9d1dc18fdb7595fb9fd23e5f930106fa4

9 years agoAdd OutputPageScriptsForBottomQueue hook
Kunal Mehta [Sun, 22 Jun 2014 08:48:16 +0000 (01:48 -0700)]
Add OutputPageScriptsForBottomQueue hook

This allows for extensions to add specific modules into the bottom
queue.

Bug: 62602
Change-Id: Ifccac7889e80b2f674cd54bb4ad3e53c6aa1dfa1

9 years agoOutputPage: Support foreign module sources in makeResourceLoaderLink
Kunal Mehta [Sat, 28 Jun 2014 02:57:40 +0000 (19:57 -0700)]
OutputPage: Support foreign module sources in makeResourceLoaderLink

To do so, created ResourceLoader::createLoaderURL(), which takes a
ResourceLoaderContext object. ResourceLoader::makeLoaderURL() was
deprecated.

While reviewing usage of the old function, many of the callers only
differed by one or two parameters from their respective
ResourceLoaderContext object. To simplify that use case, I created
DerivativeResourceLoaderContext, based of off DerivativeContext for
IContextSource.

Change-Id: I961c641ab953153057be3e3b8cf6c07435e9a0b0

9 years agoMerge "Added a hasMasterConnection() method to LoadBalancer"
jenkins-bot [Sat, 19 Jul 2014 23:29:36 +0000 (23:29 +0000)]
Merge "Added a hasMasterConnection() method to LoadBalancer"

9 years agoAdded a hasMasterConnection() method to LoadBalancer
Aaron Schulz [Sat, 19 Jul 2014 23:19:43 +0000 (16:19 -0700)]
Added a hasMasterConnection() method to LoadBalancer

* Made wfWaitForSlaves() use it instead of using isOpen() incorrectly.
  The index for the master is 0, not DB_MASTER. This fixes 2979f0b6.

Change-Id: I48e5c7f10d8fe6b8bf6e830282352e3238b5d3ae

9 years agomw.loader: Don't create addScript() callback if we don't need one
Timo Tijhof [Wed, 16 Jul 2014 02:12:12 +0000 (04:12 +0200)]
mw.loader: Don't create addScript() callback if we don't need one

$.Deferred#always ($.Callbacks#add) ignores undefined/null. No
need to create an inline function that does nothing.

Change-Id: Ifd96ac13e03242279e7d584cf91d899adadfed91

9 years agoMerge "Avoid useless delay and master connections in wfWaitForSlaves() in runJobs...
jenkins-bot [Sat, 19 Jul 2014 23:06:08 +0000 (23:06 +0000)]
Merge "Avoid useless delay and master connections in wfWaitForSlaves() in runJobs.php"

9 years agoAvoid useless delay and master connections in wfWaitForSlaves() in runJobs.php
Aaron Schulz [Sat, 19 Jul 2014 22:19:36 +0000 (15:19 -0700)]
Avoid useless delay and master connections in wfWaitForSlaves() in runJobs.php

* Some jobs, like Parsoid ones, do not actually do master DB updates

Change-Id: I1a8830eafd7760d081df966bb423030dcdc96408

9 years agoMerge "Move function xmlsafe() from Export.php to OAI extension"
jenkins-bot [Sat, 19 Jul 2014 21:32:04 +0000 (21:32 +0000)]
Merge "Move function xmlsafe() from Export.php to OAI extension"

9 years agoMove function xmlsafe() from Export.php to OAI extension
withoutaname [Thu, 17 Jul 2014 22:34:39 +0000 (15:34 -0700)]
Move function xmlsafe() from Export.php to OAI extension

Exporting function from Export.php.

Change-Id: I82a78ff7a34402f2cc065643d90b064b996c525d

9 years agoMerge "Fixed spacing"
jenkins-bot [Sat, 19 Jul 2014 21:23:44 +0000 (21:23 +0000)]
Merge "Fixed spacing"

9 years agoFixed spacing
umherirrender [Sat, 19 Jul 2014 21:12:10 +0000 (23:12 +0200)]
Fixed spacing

- Added/removed spaces around parenthesis
- Added space after switch/if/foreach
- changed else if to elseif

Change-Id: I99cda543e0e077320091addd75c188cb6e3a42c2

9 years agomw.loader: Optimise away duplicate else branches in getMarker()
Timo Tijhof [Wed, 16 Jul 2014 02:10:57 +0000 (04:10 +0200)]
mw.loader: Optimise away duplicate else branches in getMarker()

Change-Id: I2ea541c16befd3ea7ff2d23c6e059ac66d8ebb88

9 years agoMerge "Remove unused global declarations"
jenkins-bot [Sat, 19 Jul 2014 21:04:12 +0000 (21:04 +0000)]
Merge "Remove unused global declarations"

9 years agoRemove unused global declarations
umherirrender [Sat, 19 Jul 2014 20:44:54 +0000 (22:44 +0200)]
Remove unused global declarations

Change-Id: I05a9bc5c0c0447c045714a445b0ed44f001db1dc

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 19 Jul 2014 20:34:45 +0000 (20:34 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoMerge "Rework mediawiki.feedback.js"
jenkins-bot [Sat, 19 Jul 2014 20:10:13 +0000 (20:10 +0000)]
Merge "Rework mediawiki.feedback.js"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 19 Jul 2014 19:42:35 +0000 (21:42 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie56bee3e7090bc844996d228736a938478e86929

9 years agoMerge "Updated spelling dictionary"
jenkins-bot [Sat, 19 Jul 2014 17:29:28 +0000 (17:29 +0000)]
Merge "Updated spelling dictionary"

9 years agoSplit "suppressrevision" into two user rights
eikes [Thu, 12 Jun 2014 22:18:51 +0000 (00:18 +0200)]
Split "suppressrevision" into two user rights

In this change, a new passive user right named "viewsuppressed"
which can be used in order to view suppressed page content was added
to MediaWiki core.
Furthermore, this right was also added to the list of available rights,
to qqq.json and to en.json where also the description of the
"suppressrevision" right was adjusted in order to reflect reality.

Bug: 20476
Change-Id: Id1baacb9c782763db5e05ef8b5c1b761997efcc9

9 years agoMerge "mediawiki.user: Simplify callback"
jenkins-bot [Sat, 19 Jul 2014 13:37:17 +0000 (13:37 +0000)]
Merge "mediawiki.user: Simplify callback"

9 years agoMerge "Some misc cleanup to ProtectionForm"
jenkins-bot [Sat, 19 Jul 2014 13:27:54 +0000 (13:27 +0000)]
Merge "Some misc cleanup to ProtectionForm"

9 years agoMerge "ContextSource::getContext() can return any IContextSource"
jenkins-bot [Sat, 19 Jul 2014 13:06:02 +0000 (13:06 +0000)]
Merge "ContextSource::getContext() can return any IContextSource"

9 years agoMerge "Block: $row is a stdClass, not a ResultWrapper"
jenkins-bot [Sat, 19 Jul 2014 03:14:04 +0000 (03:14 +0000)]
Merge "Block: $row is a stdClass, not a ResultWrapper"

9 years agoMerge "Language::isValidBuiltInCode() should not accept uppercase input"
jenkins-bot [Fri, 18 Jul 2014 22:30:31 +0000 (22:30 +0000)]
Merge "Language::isValidBuiltInCode() should not accept uppercase input"

9 years agoMerge "Remove deprecated global function wfViewPrevNext()"
jenkins-bot [Fri, 18 Jul 2014 22:05:00 +0000 (22:05 +0000)]
Merge "Remove deprecated global function wfViewPrevNext()"

9 years agoRemove deprecated global function wfViewPrevNext()
withoutaname [Thu, 17 Jul 2014 07:29:22 +0000 (00:29 -0700)]
Remove deprecated global function wfViewPrevNext()

Deprecated since 1.19, alternative is Language::viewPrevNext().

Change-Id: I26d8dec1475ac3f6592f8d0ef7936440c1a0f14d

9 years agobuild: Update grunt-jscs (formerly grunt-jscs-checker) from 0.4.4 to 0.6.1
James D. Forrester [Fri, 18 Jul 2014 20:22:57 +0000 (13:22 -0700)]
build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.4.4 to 0.6.1

Also switch to the new 'wikimedia' preset in jscs to make .jscsrc shorter
(but with a number of exemptions that need to be cleaned up later).

Change-Id: I836f3e96f2126f3684c3e60b7fa11de8724b5262

9 years agoMove CacheHelper to includes/cache/ folder
withoutaname [Wed, 16 Jul 2014 18:04:21 +0000 (11:04 -0700)]
Move CacheHelper to includes/cache/ folder

Change-Id: I13c9cf1be7fe0d436ea1a5d23f162abac7d97a29

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 18 Jul 2014 19:12:46 +0000 (21:12 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Iea9d17b3dfd8f354c9cb51eb4bab2edd369ef28c

9 years agoMade --maxtime a soft limit again
Aaron Schulz [Fri, 18 Jul 2014 18:01:01 +0000 (11:01 -0700)]
Made --maxtime a soft limit again

* The new job loop already manages timeouts and this version caused
  some problems with the time-sharing approach that used --maxtime.
  This killed runners too fast for some jobs and only handled CPU
  time anyway, not wall clock time.

Change-Id: Id3462554b1ecba9ecdf7d49673645d54c0555cd6

9 years agoMerge "Migrate 'wgBreakFrames' from wikibits.js to mediawiki.page.ready"
jenkins-bot [Fri, 18 Jul 2014 16:24:44 +0000 (16:24 +0000)]
Merge "Migrate 'wgBreakFrames' from wikibits.js to mediawiki.page.ready"

9 years agoMerge "Add SpecialListUsers::prefixSearchSubpages"
jenkins-bot [Fri, 18 Jul 2014 16:22:02 +0000 (16:22 +0000)]
Merge "Add SpecialListUsers::prefixSearchSubpages"

9 years agoMerge "mediawiki.htmlform: Fix broken $() call"
jenkins-bot [Fri, 18 Jul 2014 16:08:50 +0000 (16:08 +0000)]
Merge "mediawiki.htmlform: Fix broken $() call"

9 years agoImprove tests for Action::exists
Thiemo Mättig [Wed, 16 Jul 2014 16:56:35 +0000 (18:56 +0200)]
Improve tests for Action::exists

Change-Id: I905fd8e88ff625cd88c672ddac7a5ac4f4a94b36

9 years agoMerge "Add ActionTest for static Action methods"
jenkins-bot [Fri, 18 Jul 2014 14:40:25 +0000 (14:40 +0000)]
Merge "Add ActionTest for static Action methods"

9 years agoMerge "Fix doc of ChangesListSpecialPage::doHeader"
jenkins-bot [Fri, 18 Jul 2014 13:40:39 +0000 (13:40 +0000)]
Merge "Fix doc of ChangesListSpecialPage::doHeader"

9 years agoAdd ActionTest for static Action methods
Thiemo Mättig [Fri, 27 Jun 2014 13:39:23 +0000 (15:39 +0200)]
Add ActionTest for static Action methods

Change-Id: Ifea52280486b8aa29fbab42e4c7d3ea907849b52

9 years agoMerge "Reduce revdelete-text-others verbosity"
jenkins-bot [Fri, 18 Jul 2014 12:41:43 +0000 (12:41 +0000)]
Merge "Reduce revdelete-text-others verbosity"

9 years agoMerge "i18n: use int: for consistency"
jenkins-bot [Fri, 18 Jul 2014 12:33:34 +0000 (12:33 +0000)]
Merge "i18n: use int: for consistency"

9 years agoDefaultSettings: Rewrap $wgThumbnailMinimumBucketDistance comment
Kevin Israel [Fri, 18 Jul 2014 06:49:05 +0000 (02:49 -0400)]
DefaultSettings: Rewrap $wgThumbnailMinimumBucketDistance comment

To avoid a PHPCS warning. Also fixed some small errors in the text.

Change-Id: I7d9b1bde971b7ae66f93a1025a0cbcc1d809e69b

9 years agoMerge "Revert "Breaking out disallowed CSS into a global variable""
jenkins-bot [Fri, 18 Jul 2014 02:50:16 +0000 (02:50 +0000)]
Merge "Revert "Breaking out disallowed CSS into a global variable""

9 years agoRevert "Breaking out disallowed CSS into a global variable"
Krinkle [Fri, 18 Jul 2014 02:39:41 +0000 (02:39 +0000)]
Revert "Breaking out disallowed CSS into a global variable"

This reverts commit ad4f512c7452d91c7743de1dbbfad470a1226b9f.

Change-Id: I1dbb927997693d686b4677b9c2107be99dedd7b2

9 years agomediawiki.htmlform: Fix broken $() call
Brad Jorsch [Tue, 8 Jul 2014 19:15:49 +0000 (15:15 -0400)]
mediawiki.htmlform: Fix broken $() call

Follows-up c310e7b40cdaa92bb06e.

The $( Array ) signature requires the list to contain DOM nodes,
not jQuery objects. The fields variable should be a list of
nodes, not jQuery collections.

Also:
* Improve @return documentation for hideIfParse().
* Flag hideIfParse() and hideIfGetField() as private to remove them
  from the jQuery#htmlform API documentation as methods that would
  be mixed into the jQuery prototype (they're not).

Bug: 67685
Change-Id: I4bb93ad234cdd4a1f412b759065138e2831be2a6

9 years agoMerge "Breaking out disallowed CSS into a global variable"
jenkins-bot [Fri, 18 Jul 2014 00:13:11 +0000 (00:13 +0000)]
Merge "Breaking out disallowed CSS into a global variable"

9 years agoEditing unit tests: set title in context
Max Semenik [Thu, 17 Jul 2014 22:28:46 +0000 (15:28 -0700)]
Editing unit tests: set title in context

It is assumed that users of EditFilterMergedContent hook need to get
the page being edited from context as it happens during normal functioning,
tests shouldn't violate this convention.

Bug: 66930
Change-Id: I8d453d819aad8630d4934a15e7bf512fa828fe24

9 years agoMerge "Update OOjs UI to v0.1.0-pre (a1b99bb256)"
jenkins-bot [Thu, 17 Jul 2014 22:02:38 +0000 (22:02 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (a1b99bb256)"

9 years agoMerge "Removed NextJobDB, which was only used by the old jobs-loop.sh script"
jenkins-bot [Thu, 17 Jul 2014 21:57:04 +0000 (21:57 +0000)]
Merge "Removed NextJobDB, which was only used by the old jobs-loop.sh script"

9 years agoMerge "mediawiki.ui: Update color palette"
jenkins-bot [Thu, 17 Jul 2014 21:54:04 +0000 (21:54 +0000)]
Merge "mediawiki.ui: Update color palette"

9 years agoRemoved NextJobDB, which was only used by the old jobs-loop.sh script
Aaron Schulz [Thu, 17 Jul 2014 19:18:13 +0000 (12:18 -0700)]
Removed NextJobDB, which was only used by the old jobs-loop.sh script

Change-Id: Ia74386c65011ecca2bd4a0fae6509febd1b2d523

9 years agomediawiki.ui: Update color palette
kaldari [Wed, 5 Mar 2014 23:02:34 +0000 (15:02 -0800)]
mediawiki.ui: Update color palette

New variables have been added to encourage reuse of the preferred
color palette.

See https://trello.com/c/IRqbu8p4/15-color-swatches

Also replacing deprecated LESS variables.

Change-Id: I03620cc4acb1ea0c7c0d2e951a9913396276c27a

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Thu, 17 Jul 2014 21:19:23 +0000 (21:19 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoHygiene: Remove useless commented out code.
jdlrobson [Thu, 17 Jul 2014 21:12:08 +0000 (14:12 -0700)]
Hygiene: Remove useless commented out code.

Added in Thu May 10 17:51:44 2012
2 years later still commented.
Clearly not useful.

Change-Id: I07cd3853d40ff7a9710adff7c7d8ff8c9b717ff1

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 17 Jul 2014 20:43:21 +0000 (22:43 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I954577ed575ca296601cc974fd8ff43461576be1

9 years agoMerge "Fixed initial as-of cache time shown at Special:ActiveUsers"
jenkins-bot [Thu, 17 Jul 2014 19:41:39 +0000 (19:41 +0000)]
Merge "Fixed initial as-of cache time shown at Special:ActiveUsers"

9 years agoFixed initial as-of cache time shown at Special:ActiveUsers
Aaron Schulz [Thu, 17 Jul 2014 19:32:51 +0000 (12:32 -0700)]
Fixed initial as-of cache time shown at Special:ActiveUsers

Change-Id: I97c662a0c2b912924df07bd2cde790535026005c

9 years agoUpdate OOjs UI to v0.1.0-pre (a1b99bb256)
James D. Forrester [Thu, 17 Jul 2014 19:17:19 +0000 (12:17 -0700)]
Update OOjs UI to v0.1.0-pre (a1b99bb256)

New changes:
a1b99bb Dialog title alignment and iframe size fixes

Change-Id: Ifde08d648c2a5f6fd4d54264e0a153d899e2f1d3

9 years agoMerge "Remove oldTablePrefix from ParserTest"
jenkins-bot [Thu, 17 Jul 2014 16:06:08 +0000 (16:06 +0000)]
Merge "Remove oldTablePrefix from ParserTest"

9 years agoMerge "Remove some PHP4 microtime() compat wrappers"
jenkins-bot [Thu, 17 Jul 2014 14:57:58 +0000 (14:57 +0000)]
Merge "Remove some PHP4 microtime() compat wrappers"

9 years agoRemove oldTablePrefix from ParserTest
umherirrender [Thu, 17 Jul 2014 09:20:05 +0000 (11:20 +0200)]
Remove oldTablePrefix from ParserTest

Unused since r79094

Change-Id: I478b4624125b5103065c0244b3f471e96b2ba1ef

9 years agoAdd missing rollback to LocalFile::recordUpload2
umherirrender [Thu, 17 Jul 2014 08:39:40 +0000 (10:39 +0200)]
Add missing rollback to LocalFile::recordUpload2

When begin was called, all returns should have rollback called to
close the transaction.

Change-Id: I8197f73fb45c2e2900db6d5e588623f9b0c46ea5

9 years agoMerge "Installer: Minor change to "config-register-globals-error" message"
jenkins-bot [Thu, 17 Jul 2014 06:36:11 +0000 (06:36 +0000)]
Merge "Installer: Minor change to "config-register-globals-error" message"

9 years agoMerge "mediawiki.action.watch.ajax: Don't get wgPageName"
jenkins-bot [Thu, 17 Jul 2014 06:24:55 +0000 (06:24 +0000)]
Merge "mediawiki.action.watch.ajax: Don't get wgPageName"

9 years agoInstaller: Minor change to "config-register-globals-error" message
Kunal Mehta [Thu, 17 Jul 2014 05:09:18 +0000 (22:09 -0700)]
Installer: Minor change to "config-register-globals-error" message

Suggested in If951d152 post-merge

Change-Id: Ifca6bd7af37f8cc55c759bd066860b3e93cf2962

9 years agomediawiki.action.watch.ajax: Don't get wgPageName
Kevin Israel [Thu, 17 Jul 2014 04:59:52 +0000 (00:59 -0400)]
mediawiki.action.watch.ajax: Don't get wgPageName

Follows-up r113737 / 72c33b452369. Client-side page caching
for logged-in users should no longer be a concern by now :)

Change-Id: Ifeefa22fb2e0fc05833bf89123d744314429fe36

9 years agoRemove some PHP4 microtime() compat wrappers
Kevin Israel [Thu, 17 Jul 2014 03:21:00 +0000 (23:21 -0400)]
Remove some PHP4 microtime() compat wrappers

Trivially replaced with microtime( true ).

The following classes still use microtime() without the
argument, though I have chosen not to change them in this
commit because of a possible loss of precision:

* MWCryptHKDF
* UIDGenerator
* UpdateSpecialPages
* UploadStash

Change-Id: I4f594f6ada9e8fce3319b61844b9857d87e9aa99

9 years agoRemove AjaxAddScript hook
Chad Horohoe [Thu, 17 Jul 2014 01:46:56 +0000 (18:46 -0700)]
Remove AjaxAddScript hook

Has been obsolete since the introduction of ResourceLoader and
is unused by any extension in Git.

Change-Id: Ia8ce6a0f1c5d46811897bd75670a3d5ea76caf7d

9 years agoMerge "Added missing unlock() calls in LocalFile"
jenkins-bot [Thu, 17 Jul 2014 00:44:31 +0000 (00:44 +0000)]
Merge "Added missing unlock() calls in LocalFile"

9 years agoMerge "Fix navigation buttons on Special:Listfiles for first and last page"
jenkins-bot [Thu, 17 Jul 2014 00:20:43 +0000 (00:20 +0000)]
Merge "Fix navigation buttons on Special:Listfiles for first and last page"

9 years agoAdded missing unlock() calls in LocalFile
Aaron Schulz [Thu, 17 Jul 2014 00:14:19 +0000 (17:14 -0700)]
Added missing unlock() calls in LocalFile

Change-Id: Id427fb424bfb46670f2074664aca750014c70225

9 years agoFix navigation buttons on Special:Listfiles for first and last page
Rohan [Wed, 9 Jul 2014 11:40:35 +0000 (17:10 +0530)]
Fix navigation buttons on Special:Listfiles for first and last page

The listfiles pager was appending the username to the paging queries
for all paging queries. On the first/last page, this was appending
the username to false, thus marking the first/last page as still having
further results despite that not being the case.

Bug: 67627
Change-Id: Ib302a826fa638d7ae25c6d37951277fa8701ab69

9 years agoMerge "Adding css styling option for help option in HTMLForm"
jenkins-bot [Wed, 16 Jul 2014 23:22:00 +0000 (23:22 +0000)]
Merge "Adding css styling option for help option in HTMLForm"

9 years agoAdding css styling option for help option in HTMLForm
Derric Atzrott [Wed, 16 Jul 2014 13:38:37 +0000 (09:38 -0400)]
Adding css styling option for help option in HTMLForm

There is now a new option named csshelpclass that can be passed in form
descriptors for HTMLForm objects.  This option accepts a css class and
applies it to the help text that is provided with the help option in the
form descriptor.

Bug: 65087
Change-Id: If1bd1d12a9159895f45c9cf0fbb7992e4c7e3526

9 years agoUpdate OOjs UI to v0.1.0-pre (97dbb50137)
James D. Forrester [Wed, 16 Jul 2014 22:59:49 +0000 (15:59 -0700)]
Update OOjs UI to v0.1.0-pre (97dbb50137)

New changes:
54460ce Prevent disabled tools from stealing focus
436ac66 MenuWidget: Add option to specify an extra widget for mouse events
e67bb70 Localisation updates from https://translatewiki.net.
a2ba412 Mellow out the shadows being applied to dialog content
085d3a5 Split toolbar demo in two and add action button demo, with labels
dfd5100 Allow FieldLayouts to have help text
5f30488 Localisation updates from https://translatewiki.net.
d544ffe Remove useless documentation, add more useful documentation
e93e7cd Get OOUI working with mobile again
eb6c68b demos: Add LTR/RTL switcher to icons demo
4b874d4 Use SVG check icon

Change-Id: I03517e3aa026d9bc109dd252e489cdda1c478026

9 years agoMerge "Added "daemonized" flag to JobQueueRedis"
jenkins-bot [Wed, 16 Jul 2014 22:30:17 +0000 (22:30 +0000)]
Merge "Added "daemonized" flag to JobQueueRedis"

9 years agoAdded "daemonized" flag to JobQueueRedis
Aaron Schulz [Wed, 16 Jul 2014 00:43:29 +0000 (17:43 -0700)]
Added "daemonized" flag to JobQueueRedis

Change-Id: I6df1004a7872809bfd28ad1477b9504e76f75a92

9 years agoFix incorrect function call scope in Title.php
withoutaname [Wed, 16 Jul 2014 22:17:47 +0000 (15:17 -0700)]
Fix incorrect function call scope in Title.php

Calls to getTitleParser() and getTitleFormatter() were using $this->
but the functions were declared static.

Change-Id: If21be84c68725b2afe181229cb697b948d26d6c6

9 years agoRemove execute() from Action and subclasses
withoutaname [Tue, 15 Jul 2014 18:53:50 +0000 (11:53 -0700)]
Remove execute() from Action and subclasses

Since show() is always the preferred entry point, this is never used
nor implemented properly.

Change-Id: I5fde4bbd420a6695b01fb9220542fd3b49060675

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 16 Jul 2014 19:47:17 +0000 (21:47 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3e6fc96353152ad5a814dda8b1ea6eee2ee82b57

9 years agoMerge "In AutoLoader, move LC and UserCache to includes/cache section"
jenkins-bot [Wed, 16 Jul 2014 18:34:11 +0000 (18:34 +0000)]
Merge "In AutoLoader, move LC and UserCache to includes/cache section"

9 years agoLanguage::isValidBuiltInCode() should not accept uppercase input
Chad Horohoe [Wed, 16 Jul 2014 18:13:56 +0000 (11:13 -0700)]
Language::isValidBuiltInCode() should not accept uppercase input

The results of this function are used to decide whether a code is
valid for loading an i18n file without any further normalization.

Partially reverts 93348f3 which made the regular expression case-
insensitive. Per IRC discussion, language codes should always be
lowercase and it's up to callers to deal with that.

Change-Id: I8975c3374a37935080d9f7eca6a602e32f67a87b

9 years agoIn AutoLoader, move LC and UserCache to includes/cache section
withoutaname [Wed, 16 Jul 2014 18:08:37 +0000 (11:08 -0700)]
In AutoLoader, move LC and UserCache to includes/cache section

Change-Id: I22d2dbe105d30c78d2d6622e708b9f1344c9cff4

9 years agoAvoid breaking DB transactions in SqlBagOStuff
Aaron Schulz [Wed, 16 Jul 2014 02:07:58 +0000 (19:07 -0700)]
Avoid breaking DB transactions in SqlBagOStuff

* Callers still sees some decent time ordering since writes block
  until committed. This will not blindly flush transactions though.
* Basically reverts 59e8032

Change-Id: Ib9a91ac023f8e3fafb0bf0eef9dca6e31b867be9

9 years agoMerge "Made LCStoreDB try to use a separate DB connection"
jenkins-bot [Wed, 16 Jul 2014 17:55:35 +0000 (17:55 +0000)]
Merge "Made LCStoreDB try to use a separate DB connection"

9 years agoMerge "Remove getFormFields(), onSubmit() and onSuccess() from FormlessAction"
jenkins-bot [Wed, 16 Jul 2014 17:49:32 +0000 (17:49 +0000)]
Merge "Remove getFormFields(), onSubmit() and onSuccess() from FormlessAction"

9 years agoMerge "Make AutoLoaderTest handle namespaces"
jenkins-bot [Wed, 16 Jul 2014 17:39:19 +0000 (17:39 +0000)]
Merge "Make AutoLoaderTest handle namespaces"

9 years agoMerge "mediawiki.hidpi: Add skipFunction to forgo loading in modern browsers"
Reedy [Wed, 16 Jul 2014 17:35:41 +0000 (17:35 +0000)]
Merge "mediawiki.hidpi: Add skipFunction to forgo loading in modern browsers"

9 years agoMerge "fix args for messages mergehistory-no-source/-destination"
jenkins-bot [Wed, 16 Jul 2014 17:34:13 +0000 (17:34 +0000)]
Merge "fix args for messages mergehistory-no-source/-destination"

9 years agoMake AutoLoaderTest handle namespaces
Chad Horohoe [Wed, 16 Jul 2014 00:49:18 +0000 (17:49 -0700)]
Make AutoLoaderTest handle namespaces

Bug: 67644
Change-Id: Ibeb0833742c574afac13bfebd278f9d2b8410de6

9 years agomediawiki.hidpi: Add skipFunction to forgo loading in modern browsers
Timo Tijhof [Wed, 16 Jul 2014 02:19:04 +0000 (04:19 +0200)]
mediawiki.hidpi: Add skipFunction to forgo loading in modern browsers

Chromium 34 (stable release April 8, 2014) introduced support
for the srcset attribute.

Chroem 34+ and Opera 21+ support this now. While the jquery.hidpi
module doesn't emulate srcset in browser that support it, we do
still load it.

http://blog.chromium.org/2014/02/chrome-34-responsive-images-and_9316.html
http://googlechromereleases.blogspot.com/2014/04/stable-channel-update.html
http://caniuse.com/srcset

Change-Id: I0498c9cc0f25e3d366879d9d3430ee8371efcf11

9 years agoMerge "Use job backoff times in the case of high failure rates"
jenkins-bot [Wed, 16 Jul 2014 13:23:02 +0000 (13:23 +0000)]
Merge "Use job backoff times in the case of high failure rates"

9 years agoAdd SpecialListUsers::prefixSearchSubpages
umherirrender [Wed, 16 Jul 2014 10:26:44 +0000 (12:26 +0200)]
Add SpecialListUsers::prefixSearchSubpages

This shows the existing user groups as subpages on search suggestion

Change-Id: I8c31c31d420287dd9d668186d1d5555488a9a3e9

9 years agofix args for messages mergehistory-no-source/-destination
umherirrender [Wed, 16 Jul 2014 09:38:09 +0000 (11:38 +0200)]
fix args for messages mergehistory-no-source/-destination

Change-Id: I2502a5056a09ff1373ddfc6a0e59d35aac1647b7

9 years agoMade LCStoreDB try to use a separate DB connection
Aaron Schulz [Wed, 16 Jul 2014 02:19:54 +0000 (19:19 -0700)]
Made LCStoreDB try to use a separate DB connection

* This avoids breaking the main transaction in finishWrite().
* Also removed an unused variable in SqlBagOStuff.

Change-Id: Ia330ac362b080c1338616d95b793032c4752dc23

9 years agomw.loader: Document registry#skip
Timo Tijhof [Wed, 16 Jul 2014 02:10:19 +0000 (04:10 +0200)]
mw.loader: Document registry#skip

Follows-up 75c08916b02ac8706.

Change-Id: I98c51776f72825ee200e470faa2551f762b3a310

9 years agoMerge "benchmarkParse.php: add options for HHVM testing"
jenkins-bot [Wed, 16 Jul 2014 01:05:03 +0000 (01:05 +0000)]
Merge "benchmarkParse.php: add options for HHVM testing"

9 years agoMerge "Move ChangesFeed to includes/changes/ folder"
jenkins-bot [Wed, 16 Jul 2014 00:49:09 +0000 (00:49 +0000)]
Merge "Move ChangesFeed to includes/changes/ folder"

9 years agoMove ChangesFeed to includes/changes/ folder
withoutaname [Wed, 16 Jul 2014 00:30:46 +0000 (17:30 -0700)]
Move ChangesFeed to includes/changes/ folder

Change-Id: I4ec541e8fe4234970972904592af2e11375e974d

9 years agobenchmarkParse.php: add options for HHVM testing
Max Semenik [Wed, 16 Jul 2014 00:23:27 +0000 (17:23 -0700)]
benchmarkParse.php: add options for HHVM testing

--warmup makes a specified number of loops before measuring;
--loops repeats parsing given number of times

Change-Id: I18bff702fce1f97c4afc6c9fd618fdc1f3272732

9 years agoUse job backoff times in the case of high failure rates
Aaron Schulz [Wed, 16 Jul 2014 00:22:39 +0000 (17:22 -0700)]
Use job backoff times in the case of high failure rates

Change-Id: Ica0c81bfb127e858ec6f1aa193da351930493b2d