lhc/web/wiklou.git
7 years agoMerge "Include AuthManager API endpoints in authmanager channel"
jenkins-bot [Sat, 6 Aug 2016 08:47:47 +0000 (08:47 +0000)]
Merge "Include AuthManager API endpoints in authmanager channel"

7 years agoMerge "Add dependency to 'jquery.textSelection' for 'mediawiki.toolbar'"
jenkins-bot [Sat, 6 Aug 2016 08:45:59 +0000 (08:45 +0000)]
Merge "Add dependency to 'jquery.textSelection' for 'mediawiki.toolbar'"

7 years agoMerge "Show wgPageParseReport on page previews too"
jenkins-bot [Sat, 6 Aug 2016 08:42:06 +0000 (08:42 +0000)]
Merge "Show wgPageParseReport on page previews too"

7 years agoMerge "Fix increment() statsd call in JobRunner"
jenkins-bot [Sat, 6 Aug 2016 01:02:40 +0000 (01:02 +0000)]
Merge "Fix increment() statsd call in JobRunner"

7 years agoFix increment() statsd call in JobRunner
Aaron Schulz [Thu, 4 Aug 2016 19:35:23 +0000 (12:35 -0700)]
Fix increment() statsd call in JobRunner

Change-Id: I17e04db59a44a491aae99c4542216316361010a0

7 years agoFix for "Invalid key type: integer"
Ben Davis [Mon, 18 Jul 2016 19:26:07 +0000 (14:26 -0500)]
Fix for "Invalid key type: integer"

MWCryptHash::hmac requires a string, but mt_rand() returns an integer.
This issue resulted in an uncaught exception in a fresh installation
of mediawiki.

Imported from https://github.com/wikimedia/mediawiki/pull/55

Change-Id: Idccf5f230bfc2de30357b03c78c51cdad4839515

7 years agoFix inconsistent RevDelFileItem visibilities
Aaron Schulz [Fri, 5 Aug 2016 21:52:14 +0000 (14:52 -0700)]
Fix inconsistent RevDelFileItem visibilities

Bug: T142228
Change-Id: Ib5a0a1adbea2daf2b035cf6be367841362de03cc

7 years agoMerge "Keep $user->mEditCount up to date"
jenkins-bot [Fri, 5 Aug 2016 22:09:20 +0000 (22:09 +0000)]
Merge "Keep $user->mEditCount up to date"

7 years agoMerge "SpecialProtectedpages: Use LinkRenderer instead of Linker::link()"
jenkins-bot [Fri, 5 Aug 2016 21:48:56 +0000 (21:48 +0000)]
Merge "SpecialProtectedpages: Use LinkRenderer instead of Linker::link()"

7 years agoMerge "Unify Special:Contribs/DeletedContribs subtitle implementation"
jenkins-bot [Fri, 5 Aug 2016 21:44:51 +0000 (21:44 +0000)]
Merge "Unify Special:Contribs/DeletedContribs subtitle implementation"

7 years agoShow wgPageParseReport on page previews too
Aaron Schulz [Fri, 5 Aug 2016 21:41:40 +0000 (14:41 -0700)]
Show wgPageParseReport on page previews too

Also make EditPage::getPreviewLimitReport return the same
output instead of using copy-pasted code from the old hook.

Bug: T142210
Bug: T142214
Change-Id: I16c3c2da067fd24bf7ae564cb1d61beaa3be58c1

7 years agoMerge "SpecialContributions: Use LinkRenderer instead of Linker::link()"
jenkins-bot [Fri, 5 Aug 2016 21:40:48 +0000 (21:40 +0000)]
Merge "SpecialContributions: Use LinkRenderer instead of Linker::link()"

7 years agoMerge "Provide context in ContributionsToolLinks hook"
jenkins-bot [Fri, 5 Aug 2016 21:34:03 +0000 (21:34 +0000)]
Merge "Provide context in ContributionsToolLinks hook"

7 years agoMerge "Change explicit class to self in AutoloadGenerator"
jenkins-bot [Fri, 5 Aug 2016 20:54:20 +0000 (20:54 +0000)]
Merge "Change explicit class to self in AutoloadGenerator"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 5 Aug 2016 19:58:23 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I049258472a2111a94733403ee8eb8a36bd0280cc

7 years agoChange explicit class to self in AutoloadGenerator
Florian [Fri, 5 Aug 2016 18:04:10 +0000 (20:04 +0200)]
Change explicit class to self in AutoloadGenerator

Follow-up: I3a426b92892f4c00cab33a13f6a717751120367c

Change-Id: I9d91ca42dbf41604639fff2ca00efa6fb262cb3d

7 years agobuild: Fix stylelint devDependencies
James D. Forrester [Fri, 5 Aug 2016 18:04:02 +0000 (11:04 -0700)]
build: Fix stylelint devDependencies

Change-Id: I26cee89c27e3cd8f3c1fc48088b2a8e8b3927e4a

7 years agoKeep $user->mEditCount up to date
Stephane Bisson [Wed, 3 Aug 2016 15:26:47 +0000 (11:26 -0400)]
Keep $user->mEditCount up to date

Whenever User::incEditCount() is called,
this tries to keep the user object up
to date so hooks can read the edit count
without reloading the user from the db.

Another option would be invalidate the
instance cache and let the read
repopulate it. It would add a db access
on each edit.

Bug: T128249
Change-Id: I79194c41d6b2fd84ad658909a2941d9d3d28d94e

7 years agoAdd dependency to 'jquery.textSelection' for 'mediawiki.toolbar'
Fomafix [Fri, 5 Aug 2016 13:01:03 +0000 (13:01 +0000)]
Add dependency to 'jquery.textSelection' for 'mediawiki.toolbar'

Change-Id: Ie3b001551802364b488ba84588a028c44c73e755

7 years agoInclude AuthManager API endpoints in authmanager channel
Gergő Tisza [Fri, 5 Aug 2016 02:17:28 +0000 (02:17 +0000)]
Include AuthManager API endpoints in authmanager channel

Change-Id: I0fa6e9687d02a67c5d36e16b3827e7cc3beb8259

7 years agoMerge "Balancer style tweaks"
jenkins-bot [Fri, 5 Aug 2016 00:54:57 +0000 (00:54 +0000)]
Merge "Balancer style tweaks"

7 years agoMerge "Balancer: remove redundant assignment"
jenkins-bot [Fri, 5 Aug 2016 00:27:25 +0000 (00:27 +0000)]
Merge "Balancer: remove redundant assignment"

7 years agoMerge "Balancer: consistent single-line comment style"
jenkins-bot [Fri, 5 Aug 2016 00:05:36 +0000 (00:05 +0000)]
Merge "Balancer: consistent single-line comment style"

7 years agoMerge "resourceloader: Add missing @private and @protected to mw.loader methods"
jenkins-bot [Thu, 4 Aug 2016 23:18:14 +0000 (23:18 +0000)]
Merge "resourceloader: Add missing @private and @protected to mw.loader methods"

7 years agoresourceloader: Add missing @private and @protected to mw.loader methods
Timo Tijhof [Thu, 4 Aug 2016 22:45:39 +0000 (15:45 -0700)]
resourceloader: Add missing @private and @protected to mw.loader methods

Several local functions were indexed by JSDuck as mw.loader methods whereas
they are in fact they don't even exist on that object. Mark them as @private.

Also add @protected on the internal methods 'work()' and 'require()',
which are public but not for general use (and may change without warning).

Change-Id: If521cc5ae4a565a46161890cf32e95a8c7f4ca50

7 years agoSpecialProtectedpages: Use LinkRenderer instead of Linker::link()
Kunal Mehta [Thu, 4 Aug 2016 22:25:13 +0000 (15:25 -0700)]
SpecialProtectedpages: Use LinkRenderer instead of Linker::link()

And remove an unused variable while we're at it.

Change-Id: I494caccfff4fb0510f26554395150e59c728c5a1

7 years agoUnify Special:Contribs/DeletedContribs subtitle implementation
Kunal Mehta [Thu, 4 Aug 2016 22:19:59 +0000 (15:19 -0700)]
Unify Special:Contribs/DeletedContribs subtitle implementation

Basically all of the code was duplicated, except that Contribs had a
link to DeletedContribs, and DeletedContribs had a link to Contribs.

Now DeletedContribs will call the function in Contribs, and remove the
DeletedContribs link, and add its own link to Contribs instead of
needing to duplicate the entire list of links.

Change-Id: Ia004a4a69427fd5b554131b19b0e263523b7da67

7 years agoBalancer style tweaks
Tim Starling [Mon, 1 Aug 2016 06:27:09 +0000 (16:27 +1000)]
Balancer style tweaks

* Use for loops where appropriate, instead of while
* De-indent a large block which was unnecessarily indented
* Use camel case for variable names, per the style guide

Change-Id: I0b2c37fdcab7f7238db0393085c43297e7a03ab2

7 years agoBalancer: remove redundant assignment
Tim Starling [Mon, 1 Aug 2016 02:12:43 +0000 (12:12 +1000)]
Balancer: remove redundant assignment

Change-Id: I6c22d6227e43a2c5be454955eff6b053a94a1657

7 years agoresourceloader: Disable filesystem cache for Less
Timo Tijhof [Thu, 4 Aug 2016 21:47:57 +0000 (14:47 -0700)]
resourceloader: Disable filesystem cache for Less

Follows-up ea862efa7, which enables use of Less_Cache as part
of the switch from leafo/lessphp to oyejorge/less.php.

Since then 12afb3607 introduced a better caching method in
FileModule::compileLessFile(), which:

* Uses APC where possible, with fallback to main objectcache.
* Verifies both the input file and the indirectly used files have
  not changed before using the cache. The built-in cache system
  only seems to check the root file.

As such, we're incurring the overhead of generating them and storing
on-disk, but raraly ever making use of them. (And even if we do
use it when the APC object first expires, it's risky due to the
lack of indirect file validation).

Bug: T121519
Change-Id: I6e3c66f86a536463488697efc166fb704be0715c

7 years agoSpecialContributions: Use LinkRenderer instead of Linker::link()
Kunal Mehta [Thu, 4 Aug 2016 21:48:55 +0000 (14:48 -0700)]
SpecialContributions: Use LinkRenderer instead of Linker::link()

Change-Id: I9d6b81d5c71ab56fef2fe4bd95cfa1a6c38cbc32

7 years agoProvide context in ContributionsToolLinks hook
Kunal Mehta [Thu, 4 Aug 2016 21:48:29 +0000 (14:48 -0700)]
Provide context in ContributionsToolLinks hook

Most of the hook functions need context to see what the current user's
permissions are, to generate messages, or the LinkRenderer service to
generate the tool links.

Change-Id: I19fa27c8115ee39dded6cb98f29c35b66b934f8a

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 4 Aug 2016 20:50:42 +0000 (22:50 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I7f4659b50dcebe65487d1cc01ab9b1b6aeefbcec

7 years agoMerge "Add search-ignored-headings string, copied from cirrus-search-ignored-headings."
jenkins-bot [Thu, 4 Aug 2016 19:44:28 +0000 (19:44 +0000)]
Merge "Add search-ignored-headings string, copied from cirrus-search-ignored-headings."

7 years agoBalancer: consistent single-line comment style
Tim Starling [Mon, 1 Aug 2016 01:51:46 +0000 (11:51 +1000)]
Balancer: consistent single-line comment style

Also break a line that was over 100 bytes

Change-Id: I875d572d4147f2438526a49ca6cb5b73907bdc9b

7 years agoMerge "Allow closures as HTMLInfoField values"
jenkins-bot [Thu, 4 Aug 2016 19:10:09 +0000 (19:10 +0000)]
Merge "Allow closures as HTMLInfoField values"

7 years agoMerge "resourceloader: Implement 'deprecated' option for FileModule"
jenkins-bot [Thu, 4 Aug 2016 18:48:39 +0000 (18:48 +0000)]
Merge "resourceloader: Implement 'deprecated' option for FileModule"

7 years agoAdd search-ignored-headings string, copied from cirrus-search-ignored-headings.
Stanislav Malyshev [Tue, 14 Jun 2016 21:01:13 +0000 (14:01 -0700)]
Add search-ignored-headings string, copied from cirrus-search-ignored-headings.

Change-Id: I4178f872996800379843301f7119840f4a4551df

7 years agoresourceloader: Implement 'deprecated' option for FileModule
jdlrobson [Thu, 14 Jul 2016 22:09:06 +0000 (15:09 -0700)]
resourceloader: Implement 'deprecated' option for FileModule

ResourceLoader modules can now carry a 'deprecated' option which can
be a boolean or an object with message key. This message or a default
deprecation message will be show whenever that module is used in production.

Note: This will not work in debug mode for ResourceLoaderFile modules
and this is deemed acceptable for the time being. We can revisit later.

Bug: T137772
Change-Id: Ib9ebd2d39a59fd41d8537e06884699f77b03580c

7 years agoAutodiscover extension unittests
Kunal Mehta [Thu, 4 Aug 2016 16:44:55 +0000 (09:44 -0700)]
Autodiscover extension unittests

Instead of requiring every extension that wants to add unit tests to
copy the exact same boilerplate over and over, let's just automatically
discover them. We now have an extension registry, so we know exactly
which extensions are loaded (this won't work for extensions not being
loaded through extension.json).

For each extension, we check to see if the directory "tests/phpunit/"
exists, and if it does, add those unit tests. If there is a
`UnitTestsList` subscriber already set, PHPUnit will automatically
de-duplicate test cases so we won't be running anything twice.

Change-Id: I6ec654ef2d8ee3630b121b1277b4ee21ba0b6cd4

7 years agoMerge "Make content handlers assemble content for search"
jenkins-bot [Thu, 4 Aug 2016 15:54:36 +0000 (15:54 +0000)]
Merge "Make content handlers assemble content for search"

7 years agoMerge "MediaHandlerFactory: Don't use any global state"
jenkins-bot [Thu, 4 Aug 2016 09:34:34 +0000 (09:34 +0000)]
Merge "MediaHandlerFactory: Don't use any global state"

7 years agoMerge "Move MediaHandler defaults out of global scope"
jenkins-bot [Thu, 4 Aug 2016 09:30:53 +0000 (09:30 +0000)]
Merge "Move MediaHandler defaults out of global scope"

7 years agoMerge "Override MediaHandlers in tests using MediaWikiServices"
jenkins-bot [Thu, 4 Aug 2016 09:27:33 +0000 (09:27 +0000)]
Merge "Override MediaHandlers in tests using MediaWikiServices"

7 years agoMerge "Introduce MediaHandlerFactory to create MediaHandler objects"
jenkins-bot [Thu, 4 Aug 2016 09:27:23 +0000 (09:27 +0000)]
Merge "Introduce MediaHandlerFactory to create MediaHandler objects"

7 years agoMerge "OutputPage: Add addHeadItems() method"
jenkins-bot [Thu, 4 Aug 2016 02:14:01 +0000 (02:14 +0000)]
Merge "OutputPage: Add addHeadItems() method"

7 years agoMerge "Pass $archivedRevisionCount to the ArticleDeleteComplete hook"
jenkins-bot [Thu, 4 Aug 2016 01:18:54 +0000 (01:18 +0000)]
Merge "Pass $archivedRevisionCount to the ArticleDeleteComplete hook"

7 years agoPass $archivedRevisionCount to the ArticleDeleteComplete hook
Andrew Otto [Tue, 12 Jul 2016 18:42:33 +0000 (14:42 -0400)]
Pass $archivedRevisionCount to the ArticleDeleteComplete hook

Bug: T134502
Change-Id: I1df89beeadbec2a3592e51fbb525ed6db2424619

7 years agoMerge "phpdoc File::makeTransformTmpFile can return null"
jenkins-bot [Thu, 4 Aug 2016 00:14:34 +0000 (00:14 +0000)]
Merge "phpdoc File::makeTransformTmpFile can return null"

7 years agoMediaHandlerFactory: Don't use any global state
Kunal Mehta [Fri, 29 Jul 2016 00:01:08 +0000 (17:01 -0700)]
MediaHandlerFactory: Don't use any global state

Instead inject the configured MediaHandlers in the service constructor.

Change-Id: I039c01ef531389c74524cb7adcb8cf1229d9a95d

7 years agoMove MediaHandler defaults out of global scope
Kunal Mehta [Tue, 26 Jul 2016 02:56:16 +0000 (19:56 -0700)]
Move MediaHandler defaults out of global scope

The defaults that were in $wgMediaHandlers are now listed in
MediaHandlerFactory.

The main advantage of doing this is we get O(1) replacement when
extensions set a media handler in their extension.json.

Bug: T141305
Change-Id: I05771a673837ab8d6331eedc24eb707be7f3a250

7 years agoOverride MediaHandlers in tests using MediaWikiServices
Kunal Mehta [Tue, 26 Jul 2016 02:46:13 +0000 (19:46 -0700)]
Override MediaHandlers in tests using MediaWikiServices

Change-Id: Ie39fd9243e7817191b87179f792d932f7b96de0c

7 years agoIntroduce MediaHandlerFactory to create MediaHandler objects
Kunal Mehta [Tue, 26 Jul 2016 02:19:25 +0000 (19:19 -0700)]
Introduce MediaHandlerFactory to create MediaHandler objects

This will allow further refactoring of override logic in parser tests.

Ideally the factory class would not use $wgMediaHandlers directly, but
that ends up breaking too many tests for now.

Change-Id: I34a63ee7089ff26f86f3dd6f3cd1a37928bc4005

7 years agoMerge "Wrap revision info and nav in a div for easy formatting in MobileFrontend"
jenkins-bot [Wed, 3 Aug 2016 21:17:02 +0000 (21:17 +0000)]
Merge "Wrap revision info and nav in a div for easy formatting in MobileFrontend"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 3 Aug 2016 19:59:27 +0000 (21:59 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I0ac53363139c522e4b35b8fbe49a7ac8d5ccbf45

7 years agoMerge "Pingback: Fix phpdoc"
jenkins-bot [Wed, 3 Aug 2016 18:31:23 +0000 (18:31 +0000)]
Merge "Pingback: Fix phpdoc"

7 years agoMerge "auth: Fix case of function call"
jenkins-bot [Wed, 3 Aug 2016 18:27:27 +0000 (18:27 +0000)]
Merge "auth: Fix case of function call"

7 years agophpdoc File::makeTransformTmpFile can return null
addshore [Wed, 3 Aug 2016 17:42:54 +0000 (18:42 +0100)]
phpdoc File::makeTransformTmpFile can return null

Change-Id: Ibeefb87919dfa2e5f850570942cbeab01e84e8a7

7 years agoUpdate OOjs UI to v0.17.7
James D. Forrester [Wed, 3 Aug 2016 16:41:35 +0000 (09:41 -0700)]
Update OOjs UI to v0.17.7

Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.17.7

Change-Id: I0f36a3485a75ad0346eef9ae98aa47eddb099faf

7 years agoStructure test: Add autoload.php order check
Florian [Wed, 20 Jan 2016 18:27:47 +0000 (19:27 +0100)]
Structure test: Add autoload.php order check

If a class is added manually to the autoload.php another run of
the maintenance script will probably add unnecessary noise to
another change. The added structure test checks, if the output of
the maintenance script equals to the contents of the commited
autoload.php.

Bug: T121921
Change-Id: I3a426b92892f4c00cab33a13f6a717751120367c

7 years agoPingback: Fix phpdoc
Kunal Mehta [Wed, 3 Aug 2016 08:56:28 +0000 (01:56 -0700)]
Pingback: Fix phpdoc

Change-Id: Ib4fd932a9b65e46e9b43e594a6e1ab5a4dac76d9

7 years agoauth: Fix case of function call
Kunal Mehta [Wed, 3 Aug 2016 06:53:51 +0000 (23:53 -0700)]
auth: Fix case of function call

Change-Id: I415a7f7ba2ea97515a110cd963ed96bb77ec7b97

7 years agoWrap revision info and nav in a div for easy formatting in MobileFrontend
Baha [Tue, 2 Aug 2016 18:45:22 +0000 (14:45 -0400)]
Wrap revision info and nav in a div for easy formatting in MobileFrontend

Revision info and nav used to be combined with breadcrumbs which made
styling the revision info and nav complicated. The patch wraps these
two divs into an outer div so that MF can style them together easily.

Also make sure rev info and nav appear on different lines as the
`br` tag between them has been removed because of wrapping.

Bug: T139930
Change-Id: Ic7ecf3be7eac6500c20cfc3b3b1fa49d4b4e0d19

7 years agoMerge "UploadBase: Formally deprecate old methods for stashing files"
jenkins-bot [Wed, 3 Aug 2016 00:10:52 +0000 (00:10 +0000)]
Merge "UploadBase: Formally deprecate old methods for stashing files"

7 years agoUploadBase: Formally deprecate old methods for stashing files
Bartosz Dziewoński [Tue, 2 Aug 2016 21:24:32 +0000 (23:24 +0200)]
UploadBase: Formally deprecate old methods for stashing files

Change-Id: I4c60083a4e773e401aae8c90b99a051cbca4c961

7 years agoMerge "Add 'targets' => [ 'desktop', 'mobile' ] to all UploadWizard dependencies"
jenkins-bot [Tue, 2 Aug 2016 23:28:25 +0000 (23:28 +0000)]
Merge "Add 'targets' => [ 'desktop', 'mobile' ] to all UploadWizard dependencies"

7 years agoMerge "Skin: Remove long-deprecated aliases for Linker methods"
jenkins-bot [Tue, 2 Aug 2016 23:03:39 +0000 (23:03 +0000)]
Merge "Skin: Remove long-deprecated aliases for Linker methods"

7 years agoMerge "Canonicalise '@deprecated since' doc comments"
jenkins-bot [Tue, 2 Aug 2016 22:55:19 +0000 (22:55 +0000)]
Merge "Canonicalise '@deprecated since' doc comments"

7 years agoCanonicalise '@deprecated since' doc comments
Bartosz Dziewoński [Tue, 2 Aug 2016 21:53:25 +0000 (23:53 +0200)]
Canonicalise '@deprecated since' doc comments

Change-Id: I440041512feb47a998efb45e76e3fd00e0655752

7 years agoresourceloader: Separate 'user.styles' module from 'user'
Timo Tijhof [Tue, 26 Jul 2016 23:54:30 +0000 (00:54 +0100)]
resourceloader: Separate 'user.styles' module from 'user'

Fixes addModuleStyles() violation from T92459 (a464d1d41).

Similar to 93ed259cf and Id2342454b for the 'site' module.
Doesn't need to be in separate commits since per-user HTML isn't
cached the same way.

Bug: T92459
Bug: T108590
Change-Id: I195f67d061de1306c97413aada7919e9f1b1d12c

7 years agoSkin: Remove long-deprecated aliases for Linker methods
Bartosz Dziewoński [Tue, 2 Aug 2016 21:48:24 +0000 (23:48 +0200)]
Skin: Remove long-deprecated aliases for Linker methods

They don't seem to be used anymore in any skins in our version control.
I searched for:

  (->|(?<!Linker)::)(commentBlock|generateRollback|link|linkKnown|userLink|userToolLinks)

Change-Id: Id558c2d307dc6e9fbf0e642d5d638f7c2c9544b2

7 years agoAllow closures as HTMLInfoField values
Gergő Tisza [Tue, 2 Aug 2016 07:27:44 +0000 (00:27 -0700)]
Allow closures as HTMLInfoField values

This makes it possible to parametrize info fields so they can be
easily altered.

Change-Id: I17328cf3f1a710096c64b17dde0864cb9be3892d

7 years agoMerge "Remove unused conds.mustache test file"
jenkins-bot [Tue, 2 Aug 2016 21:16:17 +0000 (21:16 +0000)]
Merge "Remove unused conds.mustache test file"

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 2 Aug 2016 20:08:19 +0000 (22:08 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If70dbb59179e6529b838f963aca55c4dab68f663

7 years agoMerge "Provide missing system message corresponding to "right-purge""
jenkins-bot [Tue, 2 Aug 2016 19:23:35 +0000 (19:23 +0000)]
Merge "Provide missing system message corresponding to "right-purge""

7 years agoMerge "Move HTMLFormField subclasses to a separate directory"
jenkins-bot [Tue, 2 Aug 2016 19:06:30 +0000 (19:06 +0000)]
Merge "Move HTMLFormField subclasses to a separate directory"

7 years agoMerge "Avoid stack overflow in LoadBalancer with CACHE_DB WAN/server cache"
jenkins-bot [Tue, 2 Aug 2016 13:19:50 +0000 (13:19 +0000)]
Merge "Avoid stack overflow in LoadBalancer with CACHE_DB WAN/server cache"

7 years agoAvoid stack overflow in LoadBalancer with CACHE_DB WAN/server cache
Aaron Schulz [Tue, 2 Aug 2016 10:57:52 +0000 (03:57 -0700)]
Avoid stack overflow in LoadBalancer with CACHE_DB WAN/server cache

* Add the ability to expose key BagOStuff attributes like whether the
  emulation SQL cache is being used. Several callers use hacks to detect
  this and can be updated later.
* Fallback to a safe empty WAN cache in the CACHE_DB case. This fixes
  a regression from f4bf52e8438.
* Also add this protection to the server cache, which could break
  similarly before too.
* Also fix CACHE_ANYTHING by avoid the recursion risk from
  fc1d4d796024 by just checking the disabled service map.

Bug: T123829
Bug: T141804
Change-Id: I17ee26138f69e01ec1aaddb55ab27caa4d542193

7 years agoMerge "MessagesGom_deva: Correct syntax in namespace alias"
jenkins-bot [Tue, 2 Aug 2016 11:10:47 +0000 (11:10 +0000)]
Merge "MessagesGom_deva: Correct syntax in namespace alias"

7 years agoMerge "resourceloader: Remove styles from 'site', depend on 'site.styles'"
jenkins-bot [Tue, 2 Aug 2016 09:18:30 +0000 (09:18 +0000)]
Merge "resourceloader: Remove styles from 'site', depend on 'site.styles'"

7 years agoMerge "Unification of Czech terminology in Special:Listgrants"
jenkins-bot [Tue, 2 Aug 2016 09:06:45 +0000 (09:06 +0000)]
Merge "Unification of Czech terminology in Special:Listgrants"

7 years agoProvide missing system message corresponding to "right-purge"
Kghbln [Tue, 2 Aug 2016 08:57:51 +0000 (10:57 +0200)]
Provide missing system message corresponding to "right-purge"

Change-Id: I2f98da7e1537da9d9b9a02f881465be11c31d698

7 years agoUnification of Czech terminology in Special:Listgrants
Martin Urbanec [Mon, 1 Aug 2016 20:03:27 +0000 (22:03 +0200)]
Unification of Czech terminology in Special:Listgrants

The title of Special:Listgrants was "Svolení" in Czech
and the name of the special page was "Seznam grantů".
None of this has the exact meaning as the original title/name.
The Czech word "Grant" (another form of "grantů")
usualy means a financial gift from somebody limited by its purpose.

The Czech word "Svolení" has similar meaning as "agreement" in English.

"Skupina oprávnění" can be translated as "Group of permissions".

I've changed related pages in translatewiki.net to update
the description, displayed title and the title of the first
column in table which is generated by this special page.

It has been suggested by Dvorapa at my talk page in cswiki, see
https://cs.wikipedia.org/?oldid=13980091#Granty.3F_Svolen.C3.AD.3F
(in Czech).

Change-Id: Ic3148fc689de32bcba6344ad1f98491c5f540973

7 years agoRemove unused conds.mustache test file
Timo Tijhof [Tue, 2 Aug 2016 00:16:52 +0000 (17:16 -0700)]
Remove unused conds.mustache test file

Follows-up 2b7d281 which added the file but no use of it.

Change-Id: I59faab7f50abedeb1d57663128872032b6ec28a2

7 years agoMerge "phpdoc File::transform can return ThumbnailImage"
jenkins-bot [Mon, 1 Aug 2016 22:58:54 +0000 (22:58 +0000)]
Merge "phpdoc File::transform can return ThumbnailImage"

7 years agophpdoc File::transform can return ThumbnailImage
addshore [Mon, 1 Aug 2016 21:18:24 +0000 (22:18 +0100)]
phpdoc File::transform can return ThumbnailImage

Change-Id: I463176d06c8d519a52c5713eacd44bff87e72f56

7 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 1 Aug 2016 20:03:35 +0000 (22:03 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If2dbb58d65cef8c68255275a70d3ecc96bc47488

7 years agoMerge "Allow SVGs encoded as WINDOWS-125[0-8]."
jenkins-bot [Mon, 1 Aug 2016 13:06:35 +0000 (13:06 +0000)]
Merge "Allow SVGs encoded as WINDOWS-125[0-8]."

7 years agoMerge "$namespaceNames for tcy language"
jenkins-bot [Mon, 1 Aug 2016 12:26:53 +0000 (12:26 +0000)]
Merge "$namespaceNames for tcy language"

7 years agoAllow SVGs encoded as WINDOWS-125[0-8].
Brian Wolff [Mon, 1 Aug 2016 08:01:46 +0000 (08:01 +0000)]
Allow SVGs encoded as WINDOWS-125[0-8].

The check is meant to prevent weird encodings like UTF-7 or HZ.
Encodings like the WINDOWS-125X family which are extensions of ascii
are safe. Additionally people still use windows-1252 on rare occasion.

Bug: T72937
Change-Id: I6cd63274cc04a7fca3afd244b4122ea64042dced

7 years agoMove HTMLFormField subclasses to a separate directory
Bartosz Dziewoński [Sat, 30 Jul 2016 21:59:24 +0000 (23:59 +0200)]
Move HTMLFormField subclasses to a separate directory

It's getting more difficult to navigate the files in includes/htmlform/
with every new field and every new helper class that is being added.

Change-Id: I92ce2356baf6151f17b2440970d5abdf86503820

7 years ago$namespaceNames for tcy language
MarcoAurelio [Sun, 31 Jul 2016 10:43:27 +0000 (12:43 +0200)]
$namespaceNames for tcy language

Bug: T140898
See-also: I3ddfc12efff0911b547ac93ab31c92d49447b224
Change-Id: Ie8a22d4d679d368aa5777a485ab5e18282c55a4c

7 years agoMerge "Make recordUpload2() deferred updates PRESEND again"
jenkins-bot [Mon, 1 Aug 2016 05:21:05 +0000 (05:21 +0000)]
Merge "Make recordUpload2() deferred updates PRESEND again"

7 years agoMake recordUpload2() deferred updates PRESEND again
Aaron Schulz [Mon, 1 Aug 2016 02:55:45 +0000 (19:55 -0700)]
Make recordUpload2() deferred updates PRESEND again

Bug: T141687
Change-Id: Ica1a09a6e580b9da659d22183f396d88f694f256

7 years agoMerge "Revert "README: Changed link from bugs.mediawiki.org...""
jenkins-bot [Sun, 31 Jul 2016 23:39:42 +0000 (23:39 +0000)]
Merge "Revert "README: Changed link from bugs.mediawiki.org...""

7 years agoRevert "README: Changed link from bugs.mediawiki.org..."
Legoktm [Sun, 31 Jul 2016 23:30:29 +0000 (23:30 +0000)]
Revert "README: Changed link from bugs.mediawiki.org..."

The link is intentional as that is the canonical location
of where bugs should be filed, and is independent of any
future software change.

Finally, changes to the README should be drafted on-wiki first
at [[mw:README]].

This reverts commit af9258794cfd59d1209b97080c365060cbbd2e89.

Change-Id: Ie453cee5218261cba4f6e18d13c4089c23ff2166

7 years agoMerge "Remove DifferenceEngine::generateDiffBody()"
jenkins-bot [Sun, 31 Jul 2016 23:17:13 +0000 (23:17 +0000)]
Merge "Remove DifferenceEngine::generateDiffBody()"

7 years agoMerge "Localisation, minior cleanup, minor changes"
jenkins-bot [Sun, 31 Jul 2016 22:56:15 +0000 (22:56 +0000)]
Merge "Localisation, minior cleanup, minor changes"

7 years agoLocalisation, minior cleanup, minor changes
zppix1 [Sun, 31 Jul 2016 20:51:47 +0000 (15:51 -0500)]
Localisation, minior cleanup, minor changes

Bug: T141743
Change-Id: I6eb7a4ae2bba0708ec96568d90b43170dbde7f6b

7 years agoRemove DifferenceEngine::generateDiffBody()
Florian [Sat, 2 Apr 2016 11:44:17 +0000 (13:44 +0200)]
Remove DifferenceEngine::generateDiffBody()

Bug: T122754
Change-Id: Iedd319fa5e7b7218ee5341f18f31a8f1101b5eee