jenkins-bot [Sat, 16 May 2015 15:19:38 +0000 (15:19 +0000)]
Merge "Convert mediawiki.toc and mediawiki.user to using mw.cookie"
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"
mjbmr [Fri, 8 May 2015 01:51:51 +0000 (01:51 +0000)]
Fix name of South Azerbaijani
Change-Id: Ibae3eb2c26a4acf1e9e8a3d3ccc852e8a0b61b06
jenkins-bot [Fri, 15 May 2015 20:23:04 +0000 (20:23 +0000)]
Merge "Always pass a valid User object to LoginUserMigrated hook"
jenkins-bot [Fri, 15 May 2015 20:23:00 +0000 (20:23 +0000)]
Merge "ApiOpenSearch: Don't output warnings in JSON mode"
jenkins-bot [Fri, 15 May 2015 20:14:06 +0000 (20:14 +0000)]
Merge "Use touchCheckKey when purging tag usage stats"
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
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
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
Translation updater bot [Fri, 15 May 2015 19:02:17 +0000 (21:02 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Ia192a2aff8018267a1d3fe756d6a21acd05a6bc2
jenkins-bot [Fri, 15 May 2015 18:45:50 +0000 (18:45 +0000)]
Merge "Revert "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
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
Federico Leva [Fri, 15 May 2015 12:52:08 +0000 (14:52 +0200)]
Shorter OutputPage access
Change-Id: Ieb7387ece84accdc96104b23b5c237973423f768
mjbmr [Fri, 8 May 2015 00:34:37 +0000 (00:34 +0000)]
Fix name of Central Kurdish language
Change-Id: Ia5cf87e5c3f65f9a3d76b95b75b3bdc0f1472713
jenkins-bot [Fri, 15 May 2015 10:42:51 +0000 (10:42 +0000)]
Merge "Allow to customise addHelpLink() target via system message"
jenkins-bot [Fri, 15 May 2015 09:23:06 +0000 (09:23 +0000)]
Merge "Remove 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
mjbmr [Mon, 11 May 2015 17:59:29 +0000 (17:59 +0000)]
Fix name of Bakthiari language
Change-Id: I684f4e7c1b1f45bbd0a1a0a6b037a369a4276d86
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
jenkins-bot [Thu, 14 May 2015 22:28:31 +0000 (22:28 +0000)]
Merge "resourceloader: Implement ResourceLoaderRawFileModule for 'mediawiki.js'"
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
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
Translation updater bot [Thu, 14 May 2015 19:33:30 +0000 (21:33 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: Id5d8b4b7f7325a8c32f0ea33128dc49d0a180305
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
jenkins-bot [Thu, 14 May 2015 18:10:10 +0000 (18:10 +0000)]
Merge "resourceloader: Remove only=messages"
jenkins-bot [Thu, 14 May 2015 17:34:18 +0000 (17:34 +0000)]
Merge "API: Set HTMLForm when validating field in ApiOptions"
jenkins-bot [Thu, 14 May 2015 07:00:32 +0000 (07:00 +0000)]
Merge "registration: 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
Aaron Schulz [Thu, 14 May 2015 03:28:16 +0000 (20:28 -0700)]
Added WANObjectCache::TTL_UNCACHEABLE for uncacheable content
Change-Id: If7b75654c91cc5762cb49d90f40e1b7ea518ebc8
jenkins-bot [Thu, 14 May 2015 03:23:36 +0000 (03:23 +0000)]
Merge "Allow for dynamic TTLs in getWithSetCallback()"
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
jenkins-bot [Wed, 13 May 2015 21:07:25 +0000 (21:07 +0000)]
Merge "registration: Fix having multiple callbacks for a single hook"
Translation updater bot [Wed, 13 May 2015 20:06:46 +0000 (22:06 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I33c7518add142280467483b7fce6c78ba4cdcdad
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
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
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
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
jenkins-bot [Wed, 13 May 2015 17:12:57 +0000 (17:12 +0000)]
Merge "objectcache: Add WANObjectCache::TTL_NONE constant for readability"
Aaron Schulz [Wed, 13 May 2015 16:55:48 +0000 (09:55 -0700)]
Added getDefaultInstance() return type doc
Change-Id: I9662738efb660f85a5c8e63c37f385d28539de75
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
Aaron Schulz [Wed, 13 May 2015 05:33:57 +0000 (22:33 -0700)]
objectcache: Add WANObjectCache::TTL_NONE constant for readability
Change-Id: I07592ebb2794a7a8efc0fd1d718c1b5ca3d9b83f
jenkins-bot [Wed, 13 May 2015 08:42:22 +0000 (08:42 +0000)]
Merge "Create global variables related to mediawiki.ui icons"
Prateek Saxena [Wed, 13 May 2015 04:44:16 +0000 (10:14 +0530)]
KSS: Make section headings links
Change-Id: I46aec0fcd846aa40b32eee4b24852cc0ae56a35c
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
jenkins-bot [Tue, 12 May 2015 22:03:21 +0000 (22:03 +0000)]
Merge "Clarify Data types doc applies to API requests"
jenkins-bot [Tue, 12 May 2015 20:57:53 +0000 (20:57 +0000)]
Merge "Add ':' 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
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
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
jenkins-bot [Tue, 12 May 2015 20:03:02 +0000 (20:03 +0000)]
Merge "Removed executeReadyPeriodicTasks() method"
Translation updater bot [Tue, 12 May 2015 19:48:07 +0000 (21:48 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I4516b10051ed6cec36b3628fda764390f49f5bfc
Baha Man [Tue, 12 May 2015 17:19:30 +0000 (13:19 -0400)]
Create global variables related to mediawiki.ui icons
Change-Id: I6f2e64592e8985c9c14f88b0e91df1d0314a27d0
Aaron Schulz [Sat, 9 May 2015 18:42:14 +0000 (11:42 -0700)]
Added explicit profile sections to JobRunner
Change-Id: Iba60204e1ab7c81686f05b36661080c000b10157
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
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
jenkins-bot [Tue, 12 May 2015 08:26:49 +0000 (08:26 +0000)]
Merge "Send job ACKs to statsd"
jenkins-bot [Tue, 12 May 2015 08:11:07 +0000 (08:11 +0000)]
Merge "More "check key" doc comments"
jenkins-bot [Tue, 12 May 2015 07:39:52 +0000 (07:39 +0000)]
Merge "gitignore: Add /images/cache"
jenkins-bot [Tue, 12 May 2015 05:59:16 +0000 (05:59 +0000)]
Merge "Added common metadata caching to the djvu handler"
jenkins-bot [Tue, 12 May 2015 03:08:25 +0000 (03:08 +0000)]
Merge "jobrunner: Change logging level for STARTING messages"
Aaron Schulz [Tue, 12 May 2015 02:15:35 +0000 (19:15 -0700)]
More "check key" doc comments
Change-Id: Ide66bc396e811776a58fd6aa7c1af2337ea185bd
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
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
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
Aaron Schulz [Mon, 11 May 2015 23:55:42 +0000 (16:55 -0700)]
Send job ACKs to statsd
Change-Id: Idf6dcd6baf39484ac6fcf14465e13ae12405dd3a
jenkins-bot [Mon, 11 May 2015 20:40:18 +0000 (20:40 +0000)]
Merge "Made triggerOpportunisticLinksUpdate() jobs make use of parser cache"
jenkins-bot [Mon, 11 May 2015 20:40:14 +0000 (20:40 +0000)]
Merge "Remove conflicting parser function alias"
S Page [Mon, 11 May 2015 20:36:40 +0000 (13:36 -0700)]
Clarify Data types doc applies to API requests
A minor tweak only to i18n message.
Change-Id: Ia6451f8d5b47879b63823894cb92b7b9e60b2daf
Aaron Schulz [Sat, 9 May 2015 05:20:25 +0000 (22:20 -0700)]
Made triggerOpportunisticLinksUpdate() jobs make use of parser cache
* On Wikipedia, for example, these jobs are good percent of
all refreshLinks jobs; skipping the parse step should avoid
runner CPU overhead
* Also fixed bad TS_MW/TS_UNIX comparison
* Moved the fudge factor to a constant and raised it a bit
Bug: T98621
Change-Id: Id6d64972739df4b26847e4374f30ddcc7f93b54a
umherirrender [Mon, 11 May 2015 19:19:50 +0000 (21:19 +0200)]
Remove conflicting parser function alias
The alias "speciale" for parser function "special" is conflicting with
the parser function "speciale". The canonical form wins over the local
alias, so the existing alias cannot be used. Therefore removed.
Change-Id: I0fac6315384afb61c49c45b26508d4a3e1cd7b13
Translation updater bot [Mon, 11 May 2015 19:18:17 +0000 (21:18 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: I50d2f517ecb5bc99f5f6f6086273b817d937564e
Ori Livneh [Wed, 22 Apr 2015 19:03:36 +0000 (12:03 -0700)]
Follow-up for I68b1ae842: Deprecate $wgScriptExtension as well
Change-Id: I3690f78bc57030d3f1e3992554ba0ae7eb393273
jenkins-bot [Mon, 11 May 2015 18:15:44 +0000 (18:15 +0000)]
Merge "Start using the Assert helper class for checking parameters."
jenkins-bot [Mon, 11 May 2015 18:11:41 +0000 (18:11 +0000)]
Merge "Update OOjs UI to v0.11.2"
daniel [Wed, 22 Apr 2015 16:46:29 +0000 (18:46 +0200)]
Start using the Assert helper class for checking parameters.
This introduces https://github.com/wmde/Assert as a dependency,
as discussed in the RFC T91071.
This change uses assertions to check some parameters in some places,
to showcase the main intended use case for assertions in MediaWiki.
Bug: T91071
Change-Id: I93ac39b7c146f10532e37b51d973b59b9c424b2f
James D. Forrester [Mon, 11 May 2015 17:30:52 +0000 (18:30 +0100)]
Update OOjs UI to v0.11.2
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.11.2/History.md
Change-Id: I0188c5b80958d9a6a3d063292df724f507b7287f
Aaron Schulz [Mon, 11 May 2015 17:20:20 +0000 (10:20 -0700)]
Fixed variable collision in LocalFile::saveToCache()
Bug: T98754
Change-Id: I656b0c415e1b7ec64ee6c15d9a91ebc427663009
jenkins-bot [Mon, 11 May 2015 16:55:50 +0000 (16:55 +0000)]
Merge "Remove PHP4 "support" from using constant in update.php"
jenkins-bot [Mon, 11 May 2015 16:52:48 +0000 (16:52 +0000)]
Merge "Converted User touched key to using the WAN cache"
jenkins-bot [Mon, 11 May 2015 16:42:16 +0000 (16:42 +0000)]
Merge "Include transaction details log entry for trx write time violations"
jenkins-bot [Mon, 11 May 2015 16:41:55 +0000 (16:41 +0000)]
Merge "Avoid cache stampedes in ChangeTag class"
Bryan Davis [Mon, 11 May 2015 16:36:04 +0000 (10:36 -0600)]
jobrunner: Change logging level for STARTING messages
Mark debug log events describing the start of processing a job as debug
level information rather than informative.
Bug: T87521
Change-Id: I1ce3dabf4a344369fe396c5bb056ed5ed6308c87
jenkins-bot [Mon, 11 May 2015 16:21:20 +0000 (16:21 +0000)]
Merge "Converted LocalFile to using the WAN cache"
Aaron Schulz [Sun, 10 May 2015 19:27:38 +0000 (12:27 -0700)]
Added common metadata caching to the djvu handler
* This should reduce expensive metadata fetches
for djvu files with large (~2mb) img_metadata
Bug: T96360
Change-Id: I7273ea083f90948f8c1d8948a64929bfb759ee72
Reedy [Mon, 11 May 2015 14:34:02 +0000 (15:34 +0100)]
Remove PHP4 "support" from using constant in update.php
Change-Id: I4743d10a3084a7dc4806d73662b19aa6751b0c18
jenkins-bot [Mon, 11 May 2015 06:19:22 +0000 (06:19 +0000)]
Merge "Unbreak --profile=text for CLI scrips"
jenkins-bot [Mon, 11 May 2015 02:11:57 +0000 (02:11 +0000)]
Merge "WebRequest::getHeader: add optional flag to get back list"
Derk-Jan Hartman [Sun, 10 May 2015 14:30:14 +0000 (16:30 +0200)]
LivePreview: Process jsconfigvars
Any jsconfigvars added by the new previewed content needs to added to
the context, so that it can be used by the modules.
Bug: T92944
Change-Id: Ib990f00ebe974008cea4dccbaa212ec20c846674
Brad Jorsch [Fri, 23 Jan 2015 23:27:11 +0000 (15:27 -0800)]
API: Add output of JS config vars to action=parse
Modules will sometimes depend on these.
Bug: T67015
Change-Id: Ida3fd5f8808202892001f66c4a534c1725e769a6
Aaron Schulz [Sun, 10 May 2015 19:49:43 +0000 (12:49 -0700)]
Set isExpensiveToThumbnail for the djvu handler
* This makes FileRenderExpensive pool logic apply for large files
to cut down on DB load from getMetaTree()
Bug: T96360
Change-Id: If892d77077607ffcaba0510355175a1e4d780ae9
Aaron Schulz [Sun, 10 May 2015 18:15:25 +0000 (11:15 -0700)]
Avoid cache stampedes in ChangeTag class
Change-Id: Ieec931c4211323ae7b838c783e45e1a83a7bb6a1
Aaron Schulz [Sat, 9 May 2015 18:44:29 +0000 (11:44 -0700)]
Bump ReplicatedBagOStuff @since
Removed from 1.25 with I961d642e056f3c8087e1c2155e884a5ca5fcbe51
Change-Id: I1b84a03e35c9fe7ea58ef1b80514af062e3d635a
Translation updater bot [Sat, 9 May 2015 18:53:00 +0000 (20:53 +0200)]
Localisation updates from https://translatewiki.net.
Change-Id: If24737f37cbf0682d7e90f300b16ee30a6316b19
Timo Tijhof [Sat, 9 May 2015 04:28:10 +0000 (05:28 +0100)]
resourceloader: Use absolute file path in SpecialCharactersDataModule
Follows-up
ec2330f.
When called, it fails fails:
> file_get_contents(resources/src/mediawiki.language/specialcharacters.json):
> failed to open stream: No such file or directory
Needs to be expanded relative to $IP, just like ResourceLoaderFileModule
and others do already.
Not previously caught by unit tests because this method was never
called from any tests.
Change-Id: Id87b3de29a61039d87b630202f1f71f112cbd752
Aaron Schulz [Sat, 9 May 2015 01:59:42 +0000 (18:59 -0700)]
Unbreak --profile=text for CLI scrips
* Fixes "Undefined index: threshold" and
"Invalid argument supplied for foreach()" errors
so that output actually can show
Change-Id: Ibf8090f265d988c58d1752319336a5146a28f4d0
Ori Livneh [Sat, 9 May 2015 00:42:15 +0000 (17:42 -0700)]
WebRequest::getHeader: add optional flag to get back list
* Add a stub FauxRequest::initHeaders method. This allows FauxRequest to
use WebRequest's getHeader implemention, leading to less code duplication.
* Add an optional $flags parameter to WebRequest::getHeader. When the flag
WebRequest::GETHEADER_LIST is set, treat the header as a comma-separated
list of values (per RFC 2616 ยง 4.2) and return an array.
(Initial use-case: Ibb292d241's treatment of If-None-Match header.)
* Add test.
See <http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html>.
Change-Id: I2760f57adfa7b886c84044a6e9348a47ac307229
Aaron Schulz [Fri, 8 May 2015 19:08:15 +0000 (12:08 -0700)]
Include transaction details log entry for trx write time violations
* This makes it possible to see what is being done by matching
the trx IDs of the (normally) adjacent log entries
Change-Id: I515de99acfe159856930d8e259c00eb744f43213
Aaron Schulz [Tue, 28 Apr 2015 00:26:58 +0000 (17:26 -0700)]
Converted LocalFile to using the WAN cache
Bug: T93141
Change-Id: Iecb182428ae0d8e7511bc28340b57f6e7042b723
jenkins-bot [Fri, 8 May 2015 08:29:34 +0000 (08:29 +0000)]
Merge "Converted Interwiki using WAN cache"