lhc/web/wiklou.git
8 years agoBetter information about downloading skins via Git
Bartosz Dziewoński [Mon, 18 May 2015 20:14:15 +0000 (22:14 +0200)]
Better information about downloading skins via Git

Rather than futilely try to explain Git in a single sentence, just link to
<https://www.mediawiki.org/wiki/Download_from_Git#Using_Git_to_download_MediaWiki_skins>.

Change-Id: Ib4323fa04309b80e3197834bdde48d4022458488

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 18 May 2015 19:35:35 +0000 (21:35 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If429c59c6cc6733a9fc4fa92bb3f18f5f045fd7e

8 years agoMerge "Support changing icon variants on hover"
jenkins-bot [Mon, 18 May 2015 19:24:43 +0000 (19:24 +0000)]
Merge "Support changing icon variants on hover"

8 years agoMerge "Better message wording."
jenkins-bot [Mon, 18 May 2015 18:38:27 +0000 (18:38 +0000)]
Merge "Better message wording."

8 years agoUse lazyPush() instead of push() in a few places for jobs
Aaron Schulz [Mon, 18 May 2015 17:26:53 +0000 (10:26 -0700)]
Use lazyPush() instead of push() in a few places for jobs

Change-Id: I56661ea29988e4ee217a63f4c3ffcb78333cc454

8 years agoAdded JobQueueGroup::lazyPush method
Aaron Schulz [Fri, 15 May 2015 23:23:51 +0000 (16:23 -0700)]
Added JobQueueGroup::lazyPush method

* Made use of this in triggerOpportunisticLinksUpdate()
* This will defer and better batch job insertion
* Lazy job insertion and other deferred updates
  make use of register_postsend_function if present
* Also cleaned up some return types and exceptions
  in JobQueueGroup

Bug: T99302
Change-Id: I3a3968d75cb37563f970be08e63f31a090e0e037

8 years agoMerge "API Import: Die when namespace and rootpage is set"
jenkins-bot [Mon, 18 May 2015 14:46:26 +0000 (14:46 +0000)]
Merge "API Import: Die when namespace and rootpage is set"

8 years agoMerge "registration: Remove duplicate "ParserTestFiles" key from schema"
jenkins-bot [Mon, 18 May 2015 10:47:42 +0000 (10:47 +0000)]
Merge "registration: Remove duplicate "ParserTestFiles" key from schema"

8 years agoMerge "Set correct default date format for ce"
jenkins-bot [Mon, 18 May 2015 08:47:31 +0000 (08:47 +0000)]
Merge "Set correct default date format for ce"

8 years agoMerge "Converted FileBackendStore to using the WAN cache"
jenkins-bot [Mon, 18 May 2015 08:34:10 +0000 (08:34 +0000)]
Merge "Converted FileBackendStore to using the WAN cache"

8 years agoChinese Conversion Table Update 2015-3
Chiefwei [Sat, 25 Apr 2015 12:48:58 +0000 (20:48 +0800)]
Chinese Conversion Table Update 2015-3

Update the Chinese conversion table routinely to fix bugs reported from
https://zh.wikipedia.org/wiki/Wikipedia:%E5%AD%97%E8%AF%8D%E8%BD%AC%E6%8D%A2/%E4%BF%AE%E5%A4%8D%E8%AF%B7%E6%B1%82.

It is only data changes and only works for Chinese WikiProjects.

Change-Id: I8c9a52a3c03031330b8be771f3c74e6007efab73

8 years agoMerge "Converted User object cache to the WAN cache"
jenkins-bot [Mon, 18 May 2015 06:38:06 +0000 (06:38 +0000)]
Merge "Converted User object cache to the WAN cache"

8 years agoMerge "Cleanups to WANObjectCache::getWithSetCallback code"
jenkins-bot [Mon, 18 May 2015 06:08:27 +0000 (06:08 +0000)]
Merge "Cleanups to WANObjectCache::getWithSetCallback code"

8 years agoMerge "Reduced the rate of RecentChangesUpdateJob insertion"
jenkins-bot [Mon, 18 May 2015 06:02:46 +0000 (06:02 +0000)]
Merge "Reduced the rate of RecentChangesUpdateJob insertion"

8 years agoMerge "Added RedisBagOStuff FIXME comments"
jenkins-bot [Mon, 18 May 2015 06:01:25 +0000 (06:01 +0000)]
Merge "Added RedisBagOStuff FIXME comments"

8 years agoregistration: Remove duplicate "ParserTestFiles" key from schema
Kunal Mehta [Mon, 18 May 2015 05:49:37 +0000 (22:49 -0700)]
registration: Remove duplicate "ParserTestFiles" key from schema

Bug: T99493
Change-Id: I43ea510162d01424171e738310b0519c85d28f68

8 years agoMerge "Log callers that trigger Title::newFromText $text type warning"
jenkins-bot [Sun, 17 May 2015 22:33:58 +0000 (22:33 +0000)]
Merge "Log callers that trigger Title::newFromText $text type warning"

8 years agoLog callers that trigger Title::newFromText $text type warning
Alex Monk [Sun, 17 May 2015 15:51:24 +0000 (16:51 +0100)]
Log callers that trigger Title::newFromText $text type warning

Follows-up Ic85d27d79, Ibedc31659. See T76305.

Change-Id: I8245744a9291d221f4e9302bb83db328a24f115f

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 17 May 2015 19:35:25 +0000 (21:35 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I766dea0aabf21c0bb94ec661d3dc55a5127bae0f

8 years agoMerge "Remove maintenance script deleteImageMemcached.php"
jenkins-bot [Sun, 17 May 2015 02:44:28 +0000 (02:44 +0000)]
Merge "Remove maintenance script deleteImageMemcached.php"

8 years agoRemove maintenance script deleteImageMemcached.php
Kevin Israel [Sat, 16 May 2015 21:32:57 +0000 (17:32 -0400)]
Remove maintenance script deleteImageMemcached.php

This script is broken; it deletes an object cache key that 1.11
(r22850 / ed4303922f4e) and newer no longer use. The most similar
working script is probably refreshImageMetadata.php --force.

Change-Id: Icf2223dc87861e02f20422492d40994f5302ad15

8 years agoApiOpenSearch: Pass second argument to ApiResult::removeValue()
Kunal Mehta [Sat, 16 May 2015 21:25:22 +0000 (14:25 -0700)]
ApiOpenSearch: Pass second argument to ApiResult::removeValue()

If $name is null, it will use $path ('warnings').

Bug: T99375
Change-Id: Iad295d2f560d1cc043f7fa64cf402983d4b0e6bd

8 years agoDeclare global in Action
Nemo bis [Sat, 16 May 2015 19:48:08 +0000 (21:48 +0200)]
Declare global in Action

Follows up e928d5bdd0fbc63.

Change-Id: I06e8490865554a0efa7678be6787deb8a22c5b82

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 16 May 2015 19:22:50 +0000 (21:22 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I3f5d2caaab8f4264574f7eb1c9aab9ba3791a7f3

8 years agoRemoved extra return in triggerOpportunisticLinksUpdate
Aaron Schulz [Fri, 15 May 2015 23:03:01 +0000 (16:03 -0700)]
Removed extra return in triggerOpportunisticLinksUpdate

Change-Id: Ifbce1ce6e940e4e7afbd1267283a4d0568713f6b

8 years agoMerge "Convert mediawiki.toc and mediawiki.user to using mw.cookie"
jenkins-bot [Sat, 16 May 2015 15:19:38 +0000 (15:19 +0000)]
Merge "Convert mediawiki.toc and mediawiki.user to using mw.cookie"

8 years agoMerge "Timestamp from Year/Month selector on forms should be wiki time"
jenkins-bot [Sat, 16 May 2015 13:48:02 +0000 (13:48 +0000)]
Merge "Timestamp from Year/Month selector on forms should be wiki time"

8 years agoAdded RedisBagOStuff FIXME comments
Aaron Schulz [Fri, 15 May 2015 22:55:09 +0000 (15:55 -0700)]
Added RedisBagOStuff FIXME comments

Change-Id: I6f4f85166584439a38d632356f3ed95e4fd4fd6f

8 years agoReduced the rate of RecentChangesUpdateJob insertion
Aaron Schulz [Fri, 15 May 2015 23:00:00 +0000 (16:00 -0700)]
Reduced the rate of RecentChangesUpdateJob insertion

Change-Id: Ic7db658f45365ca8ddf7f9dc807a30bc707fe517

8 years agoFix name of South Azerbaijani
mjbmr [Fri, 8 May 2015 01:51:51 +0000 (01:51 +0000)]
Fix name of South Azerbaijani

Change-Id: Ibae3eb2c26a4acf1e9e8a3d3ccc852e8a0b61b06

8 years agoMerge "Always pass a valid User object to LoginUserMigrated hook"
jenkins-bot [Fri, 15 May 2015 20:23:04 +0000 (20:23 +0000)]
Merge "Always pass a valid User object to LoginUserMigrated hook"

8 years agoMerge "ApiOpenSearch: Don't output warnings in JSON mode"
jenkins-bot [Fri, 15 May 2015 20:23:00 +0000 (20:23 +0000)]
Merge "ApiOpenSearch: Don't output warnings in JSON mode"

8 years agoMerge "Use touchCheckKey when purging tag usage stats"
jenkins-bot [Fri, 15 May 2015 20:14:06 +0000 (20:14 +0000)]
Merge "Use touchCheckKey when purging tag usage stats"

8 years agoAlways pass a valid User object to LoginUserMigrated hook
Kunal Mehta [Fri, 15 May 2015 19:44:38 +0000 (12:44 -0700)]
Always pass a valid User object to LoginUserMigrated hook

Follows up 777078176f0b2.

Bug: T96174
Change-Id: I76d33ff5340fbf216c11ff06e2a1b9e01d46ba90

8 years agoUse touchCheckKey when purging tag usage stats
cenarium [Fri, 15 May 2015 19:36:22 +0000 (21:36 +0200)]
Use touchCheckKey when purging tag usage stats

Follow up on Ieec931c4211323ae7b838c783e45e1a83a7bb6a1.

Change-Id: I0bcab781baeaa3f7475ef0df43389645a37a2e37

8 years agoBetter message wording.
Purodha [Fri, 15 May 2015 19:18:07 +0000 (19:18 +0000)]
Better message wording.

See https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Default-skin-not-found/en_%283%29

Change-Id: I15ad590d9bd9b327e7475701319099e9fd0c9b48

8 years agoImprove RELEASE-NOTES for recent API change
Brad Jorsch [Tue, 5 May 2015 13:55:26 +0000 (09:55 -0400)]
Improve RELEASE-NOTES for recent API change

Bug: T98086
Change-Id: Ibb8dc283965f4ac2d90dd906e040aec9441f16d1

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 15 May 2015 19:02:17 +0000 (21:02 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia192a2aff8018267a1d3fe756d6a21acd05a6bc2

8 years agoMerge "Revert "Follow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally""
jenkins-bot [Fri, 15 May 2015 18:45:50 +0000 (18:45 +0000)]
Merge "Revert "Follow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally""

8 years agoRevert "Follow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally"
Catrope [Fri, 15 May 2015 16:56:50 +0000 (16:56 +0000)]
Revert "Follow-up ee320648fd1: output mw-content-{ltr,rtl} unconditionally"

This reverts commit 143c81451eb841b8dfc886dcc6c5d794837b4fc2.

Applying mw-content-{ltr,rtl} to non-view pages caused problems, like
on the history page. MediaWiki:*.js pages always have ltr as their content
directionality, but the history page should be in the UI directionality
regardless of what the content directionality of the page is (since
none of the page content is even displayed!)

Bug: T99258
Change-Id: I87dea50e00b0833f077418ac8581d909f0b77746

8 years agoSupport changing icon variants on hover
Roan Kattouw [Wed, 13 May 2015 13:56:22 +0000 (14:56 +0100)]
Support changing icon variants on hover

This introduces .mw-ui-icon-{name}-{variant}-hover which only
displays the icon when the containing .mw-ui-hovericon element
is hovered.

Bug: T97816
Change-Id: I5be26cee39ec77daef3506be20a7a4f59787de36

8 years agoTimestamp from Year/Month selector on forms should be wiki time
umherirrender [Sat, 18 Apr 2015 20:35:00 +0000 (22:35 +0200)]
Timestamp from Year/Month selector on forms should be wiki time

When searching for a year/month with the year/month selector on
Special:Contributions or action=history the given time should be treated
as wiki time and therefore needs adjust to UTC before search in the
Database.
This has no effect on wikis with UTC like enwiki, but for example on
dewiki with an offset from 1hour/2hour.

Change-Id: Iccd41d19a360827b9c80b66582ca0daa7ed7576c

8 years agoShorter OutputPage access
Federico Leva [Fri, 15 May 2015 12:52:08 +0000 (14:52 +0200)]
Shorter OutputPage access

Change-Id: Ieb7387ece84accdc96104b23b5c237973423f768

8 years agoFix name of Central Kurdish language
mjbmr [Fri, 8 May 2015 00:34:37 +0000 (00:34 +0000)]
Fix name of Central Kurdish language

Change-Id: Ia5cf87e5c3f65f9a3d76b95b75b3bdc0f1472713

8 years agoMerge "Allow to customise addHelpLink() target via system message"
jenkins-bot [Fri, 15 May 2015 10:42:51 +0000 (10:42 +0000)]
Merge "Allow to customise addHelpLink() target via system message"

8 years agoMerge "Remove redundant line-height declarations from elements.css"
jenkins-bot [Fri, 15 May 2015 09:23:06 +0000 (09:23 +0000)]
Merge "Remove redundant line-height declarations from elements.css"

8 years agoRemove redundant line-height declarations from elements.css
Erwin Dokter [Wed, 29 Apr 2015 12:12:53 +0000 (12:12 +0000)]
Remove redundant line-height declarations from elements.css

Elements.css declares line-height of 1.5em for certain common
elements, like ol, ul and dd. These are redundant as each skin already
declares the same line-height for the content, and all elements inherit
this line-height from the body.

At the same time, these declaration override the content line-height of
1.6em set in Vector, creating inconsistencies that cannot be 'hacked'
away. Removing these line-height declarations has no impact, other
then making the typography refresh actually work as intended.

Bug: T66653
Change-Id: I5b682a9527294e96f3999773724cbf8fb9631197

8 years agoFix name of Bakthiari language
mjbmr [Mon, 11 May 2015 17:59:29 +0000 (17:59 +0000)]
Fix name of Bakthiari language

Change-Id: I684f4e7c1b1f45bbd0a1a0a6b037a369a4276d86

8 years agoAllow to customise addHelpLink() target via system message
Federico Leva [Sat, 2 May 2015 11:37:19 +0000 (13:37 +0200)]
Allow to customise addHelpLink() target via system message

Method similar to SpecialPage::outputHeader() to avoid registering
tons of system messages and to have -summary and -helppage tidily
listed together in Special:AllMessages by default.

Bug: T45591
Change-Id: Ic849dde00be7379c1909a8486cf20f48c5aea5cf

8 years agoCleanups to WANObjectCache::getWithSetCallback code
Aaron Schulz [Fri, 15 May 2015 05:52:35 +0000 (22:52 -0700)]
Cleanups to WANObjectCache::getWithSetCallback code

* Do not use lock() for tombstoned keys unless lockTSE was set
* Moved the is_callable() check down a bit further
* Also removed one inaccurate comment

Change-Id: I904e0681faa48b1dc2bc2a3c005a29d2f8347065

8 years agoMerge "resourceloader: Implement ResourceLoaderRawFileModule for 'mediawiki.js'"
jenkins-bot [Thu, 14 May 2015 22:28:31 +0000 (22:28 +0000)]
Merge "resourceloader: Implement ResourceLoaderRawFileModule for 'mediawiki.js'"

8 years agoProfilerOutputStats: tweak stat key normalization
Ori Livneh [Thu, 14 May 2015 21:49:51 +0000 (14:49 -0700)]
ProfilerOutputStats: tweak stat key normalization

When we convert a profiler entry to a statsd metric key, we replace
nonalphabetic characters with slashes. When part of the key is a file path with
a leading or trailing slash, this can result in keys that look like:
'MediaWiki._srv_mediawiki_foo_.bar', which is a bit ugly. This patch trims
leading and trailing underscores from each dot-separated key segment.

Change-Id: I71172b956f5a6120a75981a15dedf372d3893b88

8 years agoresourceloader: Implement ResourceLoaderRawFileModule for 'mediawiki.js'
Timo Tijhof [Wed, 13 May 2015 18:23:26 +0000 (19:23 +0100)]
resourceloader: Implement ResourceLoaderRawFileModule for 'mediawiki.js'

When adding files to this module, they all imply a global scope.
While most files have their own closure, it is still inconsistent
with normal modules which always have a closure via mw.loader.implement.

Base modules like 'mediawiki' are lacking such a closure, thus making
it hard to share variables within the different files that make up the
module without making it a globally public.

The use case is 13203c0a2180e5, where we could expose the sha1()
library within the scope of this module only.

Change-Id: I93fcd045f47ec6a595b26f739939e1d371832ac9

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 14 May 2015 19:33:30 +0000 (21:33 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id5d8b4b7f7325a8c32f0ea33128dc49d0a180305

8 years agoAPI Import: Die when namespace and rootpage is set
umherirrender [Thu, 14 May 2015 19:32:30 +0000 (21:32 +0200)]
API Import: Die when namespace and rootpage is set

With I11521260a88a7f4a95fbdb71ac50bcf7b4fe5cd1 the rootpage parameter
gets ignored when namespace parameter is set.
This can break the behaviour for the client. Just break the client by
returning an error instead of silent ignoring a parameter.

Change-Id: Ie1c7447b5d59ff4d3466b504d5d1afc0d296841a

8 years agoApiPageSet: Indicate why a title was invalid
Brad Jorsch [Wed, 6 May 2015 19:33:37 +0000 (15:33 -0400)]
ApiPageSet: Indicate why a title was invalid

May as well.

Bug: T98198
Change-Id: Ib17088a9685c48d7db647896ecd59aced7911374

8 years agoMerge "resourceloader: Remove only=messages"
jenkins-bot [Thu, 14 May 2015 18:10:10 +0000 (18:10 +0000)]
Merge "resourceloader: Remove only=messages"

8 years agoMerge "API: Set HTMLForm when validating field in ApiOptions"
jenkins-bot [Thu, 14 May 2015 17:34:18 +0000 (17:34 +0000)]
Merge "API: Set HTMLForm when validating field in ApiOptions"

8 years agoSet correct default date format for ce
Niklas Laxström [Thu, 14 May 2015 12:35:59 +0000 (14:35 +0200)]
Set correct default date format for ce

Bug: T94665
Change-Id: I71dbd6dd4a25d21d483b5bf8e8a3c049c98c8f67

8 years agoMerge "registration: Improve docs for return value of Processor::getExtractedInfo()"
jenkins-bot [Thu, 14 May 2015 07:00:32 +0000 (07:00 +0000)]
Merge "registration: Improve docs for return value of Processor::getExtractedInfo()"

8 years agoregistration: Improve docs for return value of Processor::getExtractedInfo()
Kunal Mehta [Thu, 14 May 2015 05:28:20 +0000 (22:28 -0700)]
registration: Improve docs for return value of Processor::getExtractedInfo()

Change-Id: I0246e705134ee3545af592c06aaf6b157bc64e5f

8 years agoAdded WANObjectCache::TTL_UNCACHEABLE for uncacheable content
Aaron Schulz [Thu, 14 May 2015 03:28:16 +0000 (20:28 -0700)]
Added WANObjectCache::TTL_UNCACHEABLE for uncacheable content

Change-Id: If7b75654c91cc5762cb49d90f40e1b7ea518ebc8

8 years agoMerge "Allow for dynamic TTLs in getWithSetCallback()"
jenkins-bot [Thu, 14 May 2015 03:23:36 +0000 (03:23 +0000)]
Merge "Allow for dynamic TTLs in getWithSetCallback()"

8 years agoConsistently name the $this callback variable "$that"
Timo Tijhof [Sat, 25 Apr 2015 03:27:13 +0000 (04:27 +0100)]
Consistently name the $this callback variable "$that"

Most are already, but some had differnet names. In PHP 5.4+ this is
redundant as they inherit automatically, but we need these for PHP 5.3
compatibility. Settle on "$that" to make these easier to find.

Change-Id: I0b68b2c550fde9c2da53d844421e34b8df0c42ed

8 years agoMerge "registration: Fix having multiple callbacks for a single hook"
jenkins-bot [Wed, 13 May 2015 21:07:25 +0000 (21:07 +0000)]
Merge "registration: Fix having multiple callbacks for a single hook"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 13 May 2015 20:06:46 +0000 (22:06 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I33c7518add142280467483b7fce6c78ba4cdcdad

8 years agoregistration: Fix having multiple callbacks for a single hook
Kunal Mehta [Wed, 13 May 2015 19:30:21 +0000 (12:30 -0700)]
registration: Fix having multiple callbacks for a single hook

Bug: T98975
Change-Id: I40ff36090d18344fabdb018519209671b7883fa1

8 years agoresourceloader: Remove only=messages
Timo Tijhof [Wed, 13 May 2015 19:17:35 +0000 (20:17 +0100)]
resourceloader: Remove only=messages

This isn't needed.

* Deprecate 'modulemessages' API, return empty result and warning.
* Remove half-implemented only=templates.

Change-Id: Ia6c87d687c6670b3ebf24251572191732651e8f5

8 years agoConvert mediawiki.toc and mediawiki.user to using mw.cookie
Yaroslav Melnychuk [Tue, 2 Dec 2014 15:58:43 +0000 (17:58 +0200)]
Convert mediawiki.toc and mediawiki.user to using mw.cookie

* Remove redundant 'path' parameter (handled by mw.cookie)
* Remove redundant 'expires' parameter (handled by mw.cookie)
* Return value for absent cookie is now reliably 'null'.

This changes the cookie name due to mw.cookie adding the standard
cookie prefix. This will cause existing values to be lost. Make
use of this oppertunity to rename some cookie names.

* mw_hidetoc -> {wikiprefix} hidetoc
* mediaWiki.user.sessionId -> {wikiprefix} mwuser-session
* mediaWiki.user.bucket -> {wikiprefix} mwuser-bucket

Bug: T67384
Change-Id: I835063f40f742a56f8d137cbaabc77e51c60a2a9

8 years agoAdd ActivityUpdateJob to autoloader
Timo Tijhof [Wed, 13 May 2015 18:23:52 +0000 (19:23 +0100)]
Add ActivityUpdateJob to autoloader

Follows-up 836ad263c. Ran generateLocalAutoload.php.

Change-Id: I12f597aa0d8100a60f2c631797a76627acbaa2ec

8 years agoMerge "objectcache: Add WANObjectCache::TTL_NONE constant for readability"
jenkins-bot [Wed, 13 May 2015 17:12:57 +0000 (17:12 +0000)]
Merge "objectcache: Add WANObjectCache::TTL_NONE constant for readability"

8 years agoAdded getDefaultInstance() return type doc
Aaron Schulz [Wed, 13 May 2015 16:55:48 +0000 (09:55 -0700)]
Added getDefaultInstance() return type doc

Change-Id: I9662738efb660f85a5c8e63c37f385d28539de75

8 years agowfBaseConvert(): Avoid PHP warning when converting zero
Kevin Israel [Wed, 13 May 2015 07:36:43 +0000 (03:36 -0400)]
wfBaseConvert(): Avoid PHP warning when converting zero

The warning occurs when gmp_init() tries to convert the empty string
that came from ltrim(). This is causing tests to fail under HHVM 3.6.1.

Follows-up 5957856c46c3.

Bug: T98882
Change-Id: Ica86c91d7897db979e09d7cfc82fb3a20b95d4ce

8 years agoobjectcache: Add WANObjectCache::TTL_NONE constant for readability
Aaron Schulz [Wed, 13 May 2015 05:33:57 +0000 (22:33 -0700)]
objectcache: Add WANObjectCache::TTL_NONE constant for readability

Change-Id: I07592ebb2794a7a8efc0fd1d718c1b5ca3d9b83f

8 years agoMerge "Create global variables related to mediawiki.ui icons"
jenkins-bot [Wed, 13 May 2015 08:42:22 +0000 (08:42 +0000)]
Merge "Create global variables related to mediawiki.ui icons"

8 years agoKSS: Make section headings links
Prateek Saxena [Wed, 13 May 2015 04:44:16 +0000 (10:14 +0530)]
KSS: Make section headings links

Change-Id: I46aec0fcd846aa40b32eee4b24852cc0ae56a35c

8 years agoAllow running code during unstrip
Jackmcbarn [Fri, 19 Dec 2014 07:05:44 +0000 (02:05 -0500)]
Allow running code during unstrip

When adding strip markers, allow closures to be passed in place of text.
The closure is then called during unstrip. Also, add a hook that runs
after unstripGeneral. This is needed for Extension:Cite's I0e136f952.

Change-Id: If83b0623671fd67e5ccc9deaaaab456a6679af8f

8 years agoMerge "Clarify Data types doc applies to API requests"
jenkins-bot [Tue, 12 May 2015 22:03:21 +0000 (22:03 +0000)]
Merge "Clarify Data types doc applies to API requests"

8 years agoMerge "Add ':' to $wgInvalidUsernameCharacters"
jenkins-bot [Tue, 12 May 2015 20:57:53 +0000 (20:57 +0000)]
Merge "Add ':' to $wgInvalidUsernameCharacters"

8 years agoAdd ':' to $wgInvalidUsernameCharacters
Kunal Mehta [Tue, 12 May 2015 00:59:07 +0000 (17:59 -0700)]
Add ':' to $wgInvalidUsernameCharacters

This will prevent the creation of new users with a colon character
in their username. Existing accounts or system users will not be affected.

Colons themselves are not an issue, however they are used as the delimiter
for namespaces and interwikis. In a global account type system where there
are wikis with multiple languages, usernames that begin with a localized
namespace prefix will be invalid on some wikis and not others, which is
problematic. Preventing the usage of colons avoids that issue entirely.

Bug: T98757
Change-Id: I3c823325e209b2c48c1eee1fbc82a130c768cd2c

8 years agoApiQuerySiteInfo: Add invalidusernamechars
Brad Jorsch [Tue, 12 May 2015 20:39:38 +0000 (16:39 -0400)]
ApiQuerySiteInfo: Add invalidusernamechars

Since T98757 is talking about changing this (whether by default or not),
we should probably make it accessible via the API.

Change-Id: I8cd08b214171866208a65181f772de9f2e315cd9

8 years agoAllow for dynamic TTLs in getWithSetCallback()
Aaron Schulz [Mon, 11 May 2015 17:03:55 +0000 (10:03 -0700)]
Allow for dynamic TTLs in getWithSetCallback()

* This gives it better parity with BagOStuff::set()
* Also updated some doc comments

Change-Id: Ib94b97715fae901bac1750656e3dc7501919d6d2

8 years agoMerge "Removed executeReadyPeriodicTasks() method"
jenkins-bot [Tue, 12 May 2015 20:03:02 +0000 (20:03 +0000)]
Merge "Removed executeReadyPeriodicTasks() method"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 12 May 2015 19:48:07 +0000 (21:48 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4516b10051ed6cec36b3628fda764390f49f5bfc

8 years agoCreate global variables related to mediawiki.ui icons
Baha Man [Tue, 12 May 2015 17:19:30 +0000 (13:19 -0400)]
Create global variables related to mediawiki.ui icons

Change-Id: I6f2e64592e8985c9c14f88b0e91df1d0314a27d0

8 years agoAdded explicit profile sections to JobRunner
Aaron Schulz [Sat, 9 May 2015 18:42:14 +0000 (11:42 -0700)]
Added explicit profile sections to JobRunner

Change-Id: Iba60204e1ab7c81686f05b36661080c000b10157

8 years agoUpdate OOjs UI to v0.11.3
James D. Forrester [Tue, 12 May 2015 12:26:13 +0000 (13:26 +0100)]
Update OOjs UI to v0.11.3

Release notes:
 https://git.wikimedia.org/blob/oojs%2Fui.git/v0.11.3/History.md

Change-Id: I3b1ffc8fd346bb6cc8f1029f64e4855afa1db168

8 years agoExtend mediaWiki.confirmCloseWindow to trigger it manually
Florian [Thu, 16 Apr 2015 16:29:02 +0000 (18:29 +0200)]
Extend mediaWiki.confirmCloseWindow to trigger it manually

Some extensions and/or functions doesn't reload the page to destroy a form
that can contain some user input. To use confirmCloseWindow to cover these forms,
too, we need a way to manually trigger this module and show the warning
to the user.

Bug: T94194
Change-Id: I897330bc62b9ef3bfd04f61f5c5d0744c8ec61d3

8 years agoMerge "Send job ACKs to statsd"
jenkins-bot [Tue, 12 May 2015 08:26:49 +0000 (08:26 +0000)]
Merge "Send job ACKs to statsd"

8 years agoMerge "More "check key" doc comments"
jenkins-bot [Tue, 12 May 2015 08:11:07 +0000 (08:11 +0000)]
Merge "More "check key" doc comments"

8 years agoMerge "gitignore: Add /images/cache"
jenkins-bot [Tue, 12 May 2015 07:39:52 +0000 (07:39 +0000)]
Merge "gitignore: Add /images/cache"

8 years agoMerge "Added common metadata caching to the djvu handler"
jenkins-bot [Tue, 12 May 2015 05:59:16 +0000 (05:59 +0000)]
Merge "Added common metadata caching to the djvu handler"

8 years agoMerge "jobrunner: Change logging level for STARTING messages"
jenkins-bot [Tue, 12 May 2015 03:08:25 +0000 (03:08 +0000)]
Merge "jobrunner: Change logging level for STARTING messages"

8 years agoMore "check key" doc comments
Aaron Schulz [Tue, 12 May 2015 02:15:35 +0000 (19:15 -0700)]
More "check key" doc comments

Change-Id: Ide66bc396e811776a58fd6aa7c1af2337ea185bd

8 years agogitignore: Add /images/cache
Timo Tijhof [Tue, 12 May 2015 01:45:17 +0000 (02:45 +0100)]
gitignore: Add /images/cache

This is the default directory for FileCache (as enabled with $wgUseFileCache).
Used by HTMLFileCache (article views) and ResourceFileCache (load.php).

Change-Id: I8c3ccb734268b0902b693c2c19125f7f858898f1

8 years agoresourceloader: Using file cache, prepend warnings after creating response
Timo Tijhof [Tue, 12 May 2015 01:18:31 +0000 (02:18 +0100)]
resourceloader: Using file cache, prepend warnings after creating response

Follows-up a4379d8f9e0 which broke the warning output.

Previously it was appending warnings to a non-existent "$response"
variable and then re-assigning it with the actual response, thus
never outputting this anywhere.

Change-Id: I6c53e7ccb4ae4783d496c06c7174c9d8a1a88b55

8 years agoresourceloader: Use makeComment() in tryRespondFromFileCache() for safety
Timo Tijhof [Tue, 12 May 2015 00:50:28 +0000 (01:50 +0100)]
resourceloader: Use makeComment() in tryRespondFromFileCache() for safety

Other code paths in this class already make use of this method,
but this was still embedding arbitrary strings directly, at the
risk of producting invalid CSS or invalid JavaScript.

Change-Id: Ied6c420536a3dd1ef8f3816a078705136e8475b1

8 years agoSend job ACKs to statsd
Aaron Schulz [Mon, 11 May 2015 23:55:42 +0000 (16:55 -0700)]
Send job ACKs to statsd

Change-Id: Idf6dcd6baf39484ac6fcf14465e13ae12405dd3a

8 years agoMerge "Made triggerOpportunisticLinksUpdate() jobs make use of parser cache"
jenkins-bot [Mon, 11 May 2015 20:40:18 +0000 (20:40 +0000)]
Merge "Made triggerOpportunisticLinksUpdate() jobs make use of parser cache"

8 years agoMerge "Remove conflicting parser function alias"
jenkins-bot [Mon, 11 May 2015 20:40:14 +0000 (20:40 +0000)]
Merge "Remove conflicting parser function alias"