lhc/web/wiklou.git
8 years agoProvide a .mailmap file to make git log/etc. cleaner
James D. Forrester [Mon, 25 May 2015 13:46:11 +0000 (15:46 +0200)]
Provide a .mailmap file to make git log/etc. cleaner

Produced via `git shortlog REL1_24..master --no-merges --oneline --stat -sne`,
and then manual pruning and merging.

Change-Id: Ic2dc9c9117e790f4b9e2b745bec46d6306a43a87

8 years agoMove 1.25 Release Notes to HISTORY
Tyler Cipriani [Mon, 25 May 2015 12:08:30 +0000 (05:08 -0700)]
Move 1.25 Release Notes to HISTORY

Change-Id: I28d2fee8e287a62a6597fa3ddcec893bd5b7d159

8 years agoMerge "Don't localize parentheses in version number in parserTests.php"
jenkins-bot [Mon, 25 May 2015 11:49:52 +0000 (11:49 +0000)]
Merge "Don't localize parentheses in version number in parserTests.php"

8 years agoMerge "registration: Fix 'ResourceModules' in schema"
jenkins-bot [Mon, 25 May 2015 10:23:30 +0000 (10:23 +0000)]
Merge "registration: Fix 'ResourceModules' in schema"

8 years agoMerge "add link description to wantedpages-summary"
jenkins-bot [Mon, 25 May 2015 10:20:17 +0000 (10:20 +0000)]
Merge "add link description to wantedpages-summary"

8 years agoadd link description to wantedpages-summary
Douglas Gardner [Sun, 24 May 2015 09:42:39 +0000 (11:42 +0200)]
add link description to wantedpages-summary

https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Wantedpages-summary/en

Change-Id: I0ee6fb312bf57be0a775e68553351b6094738d64

8 years agoregistration: Fix 'ResourceModules' in schema
Kunal Mehta [Mon, 25 May 2015 10:05:05 +0000 (12:05 +0200)]
registration: Fix 'ResourceModules' in schema

Change-Id: I6fb833133a6d6bde42cb40eb8fd7e02f7ca9797a

8 years agoMerge "jquery.tipsy: Improve accessibility slightly"
jenkins-bot [Mon, 25 May 2015 08:41:49 +0000 (08:41 +0000)]
Merge "jquery.tipsy: Improve accessibility slightly"

8 years agoMerge "Introduce wikipage.editform hook"
jenkins-bot [Mon, 25 May 2015 08:34:09 +0000 (08:34 +0000)]
Merge "Introduce wikipage.editform hook"

8 years agoMerge "Follow-up a43af3bc: Add Import integration test"
jenkins-bot [Mon, 25 May 2015 08:20:42 +0000 (08:20 +0000)]
Merge "Follow-up a43af3bc: Add Import integration test"

8 years agoIntroduce wikipage.editform hook
Derk-Jan Hartman [Mon, 30 Mar 2015 21:19:37 +0000 (23:19 +0200)]
Introduce wikipage.editform hook

* New wikipage.editform hook (Bug T53583)
* Make editpage module emit wikipage.editform
* Make collapsibleFooter setup the .hiddencats .limitreport and
  .templatesUsed elements from the wikipage.editform hook

Bug: T55918
Change-Id: I515f7cdf4a6bbff2da3670946a12dc8027507226

8 years agoFollow-up a43af3bc: Add Import integration test
Kunal Mehta [Thu, 12 Feb 2015 00:24:23 +0000 (16:24 -0800)]
Follow-up a43af3bc: Add Import integration test

Previously failing test until fixed by a43af3bc.

Bug: T89307
Change-Id: I2be12fa7d439ba4ad7e00fdd0f73495322c870a6

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 24 May 2015 20:23:44 +0000 (22:23 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ief31d3f05bd25c74872dcb8c2f61471242a880e0

8 years agoMerge "Reset Title cache when importing titles."
jenkins-bot [Sun, 24 May 2015 16:16:30 +0000 (16:16 +0000)]
Merge "Reset Title cache when importing titles."

8 years agoReset Title cache when importing titles.
daniel [Sun, 24 May 2015 15:50:24 +0000 (17:50 +0200)]
Reset Title cache when importing titles.

WikiImporter now uses NaiveImportTitleFactory, which in turn uses Title::makeTitleSafe,
bypassing the internal title cache. To avoid (potentially cached) Title objects obtained
via Title::newFromText getting out of sync, WikiImporter now clears the title
cache in addition to clearing the LinkCache.

NOTE: a test for this is provided by I2be12fa7d439b.

Bug: T89307
Change-Id: Ib50c48d4797fc21c62090c0be69e87f7e7d07428

8 years agoMerge "HISTORY: Note new $wgThumbnailBuckets as of 1.24.0"
jenkins-bot [Sun, 24 May 2015 15:50:24 +0000 (15:50 +0000)]
Merge "HISTORY: Note new $wgThumbnailBuckets as of 1.24.0"

8 years agoHISTORY: Note new $wgThumbnailBuckets as of 1.24.0
Jesús Martínez Novo [Sun, 24 May 2015 13:50:34 +0000 (15:50 +0200)]
HISTORY: Note new $wgThumbnailBuckets as of 1.24.0

Follow-up of 02ca7bff9b100f9def06dad4b28fe6fdc2c26b44

Bug: T78053
Change-Id: I625fee0c4ba85f80396ea396f3fc0019c612ff76

8 years agoInstaller: fix images in CSS
Chad Horohoe [Sun, 24 May 2015 13:06:54 +0000 (15:06 +0200)]
Installer: fix images in CSS

Paths are tricky and installer code is old and ugly. Somebody
should really clean this up. Prep the paths always, not just
on the environment checks page.

Co-Authored-By: Timo Tijhof <krinklemail@gmail.com>
Bug: T100145
Change-Id: I4e55c59c2bed0dc94e6bc3a8c59709ec80822235

8 years agoMerge "Implement OOUI display format for HTMLForm"
jenkins-bot [Sun, 24 May 2015 12:22:29 +0000 (12:22 +0000)]
Merge "Implement OOUI display format for HTMLForm"

8 years agoMerge "resourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFro...
jenkins-bot [Sun, 24 May 2015 11:30:30 +0000 (11:30 +0000)]
Merge "resourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFromDefinition"

8 years agoMerge "installer: Export wgResourceBasePath in LocalSettingsGenerator"
jenkins-bot [Sun, 24 May 2015 11:28:15 +0000 (11:28 +0000)]
Merge "installer: Export wgResourceBasePath in LocalSettingsGenerator"

8 years agoresourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFromDefinition
Bartosz Dziewoński [Sat, 23 May 2015 17:06:06 +0000 (19:06 +0200)]
resourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFromDefinition

The name was a result of my having a bad day when I wrote that code.

Change-Id: I6b729764a963563f0820b8063c3d04f6e676c61e

8 years agoInstaller: use proto-relative URLs for license picker
Chad Horohoe [Sun, 24 May 2015 09:49:59 +0000 (11:49 +0200)]
Installer: use proto-relative URLs for license picker

While encouraging HTTPS is nice, you pass styling to the CC picker
and when installing on a non-HTTPS host you end up with mixed
content warnings.

Bug: T100146
Change-Id: Iad706072b1b14b0ce2fb1c1597aae46e8ec15136

8 years agoMerge "API: Ignore META_BC_SUBELEMENTS elements that aren't actually set"
jenkins-bot [Sun, 24 May 2015 09:48:20 +0000 (09:48 +0000)]
Merge "API: Ignore META_BC_SUBELEMENTS elements that aren't actually set"

8 years agoMerge "On missing php-xml, don't mention Mandrake explicitly in the installer"
jenkins-bot [Sun, 24 May 2015 09:41:01 +0000 (09:41 +0000)]
Merge "On missing php-xml, don't mention Mandrake explicitly in the installer"

8 years agoinstaller: Export wgResourceBasePath in LocalSettingsGenerator
Timo Tijhof [Sun, 24 May 2015 09:30:21 +0000 (11:30 +0200)]
installer: Export wgResourceBasePath in LocalSettingsGenerator

wgRightsIcon uses wgResourceBasePath in its value, therefore it
must be exported first. Otherwise $wgResourceBasePath will still
be null (as from DefaultSettings.php) and cause an incorrect
value to be assigned.

Also fix $wgLogo to use wgResourceBasePath instead of wgScriptPath,
to match what Setup.php does already.

Bug: T75031
Change-Id: I6f18895f3caa50871327eec108fc7d70c1077f1e

8 years agoMerge "Export allowed tags from Sanitizer to mediawiki.jqueryMsg"
jenkins-bot [Sun, 24 May 2015 08:56:15 +0000 (08:56 +0000)]
Merge "Export allowed tags from Sanitizer to mediawiki.jqueryMsg"

8 years agoExport allowed tags from Sanitizer to mediawiki.jqueryMsg
Brad Jorsch [Sat, 23 May 2015 06:48:55 +0000 (08:48 +0200)]
Export allowed tags from Sanitizer to mediawiki.jqueryMsg

Specifically, we export only those that are allowed to be paired,
because its parser doesn't handle self-closing tags.

Bug: T66740
Change-Id: I9944f9af915715c57a7d9ce3c62c3e61e54a75ba

8 years agoOn missing php-xml, don't mention Mandrake explicitly in the installer
Nemo bis [Thu, 14 May 2015 13:23:08 +0000 (15:23 +0200)]
On missing php-xml, don't mention Mandrake explicitly in the installer

"Mandrake" would be "Mageia" now, but the package advice may apply (or
not) to other distributions as well as the package exists in multiple.

https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Config-xml-bad/es

Change-Id: I6910e0400f2ad9f97f54cb970165d1146d6bf0a2

8 years agoXMP: Use structured logging instead of wfDebugLog
Kunal Mehta [Sat, 23 May 2015 21:34:25 +0000 (23:34 +0200)]
XMP: Use structured logging instead of wfDebugLog

Co-Authored-By: Brian Wolff <bawolff+wn@gmail.com>
Change-Id: I486192a718576a4d1e585ffb390e297b14dde087

8 years agoMerge "XMP: Throw generic exceptions instead of MWException"
jenkins-bot [Sat, 23 May 2015 21:36:55 +0000 (21:36 +0000)]
Merge "XMP: Throw generic exceptions instead of MWException"

8 years agoXMP: Throw generic exceptions instead of MWException
Kunal Mehta [Sat, 23 May 2015 21:26:16 +0000 (23:26 +0200)]
XMP: Throw generic exceptions instead of MWException

Change-Id: I8bd81cfccedaa6f474e541b71c93c66150b6f7b3

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 23 May 2015 21:24:54 +0000 (21:24 +0000)]
Merge "Localisation updates from https://translatewiki.net."

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

Change-Id: I5b90c8fd056231ded8e22cff284d76a60539fbe3

8 years agoMerge "Remove unused 'XMPGetInfo' and 'XMPGetResults' hooks"
jenkins-bot [Sat, 23 May 2015 21:15:02 +0000 (21:15 +0000)]
Merge "Remove unused 'XMPGetInfo' and 'XMPGetResults' hooks"

8 years agoRemove unused 'XMPGetInfo' and 'XMPGetResults' hooks
Kunal Mehta [Sat, 23 May 2015 21:05:10 +0000 (23:05 +0200)]
Remove unused 'XMPGetInfo' and 'XMPGetResults' hooks

These hooks are unused in all extensions in Gerrit. We need to remove
them so we can move these classes into a separate library.

Change-Id: I66406c642168adc703361b75deb95c830c1ddab1

8 years agoMerge "Special:PageLanguage: Show log extract only when title known"
jenkins-bot [Sat, 23 May 2015 20:57:19 +0000 (20:57 +0000)]
Merge "Special:PageLanguage: Show log extract only when title known"

8 years agoMerge "Update namespace aliases for Luri (lrc) from translatewiki"
jenkins-bot [Sat, 23 May 2015 20:56:32 +0000 (20:56 +0000)]
Merge "Update namespace aliases for Luri (lrc) from translatewiki"

8 years agoMerge "Remove MWLogger and non-namespaced MWLogger* shim classes"
jenkins-bot [Sat, 23 May 2015 20:36:25 +0000 (20:36 +0000)]
Merge "Remove MWLogger and non-namespaced MWLogger* shim classes"

8 years agoRemove MWLogger and non-namespaced MWLogger* shim classes
Bryan Davis [Sat, 23 May 2015 20:10:28 +0000 (22:10 +0200)]
Remove MWLogger and non-namespaced MWLogger* shim classes

These classes were introduced and deprecated during the 1.25 development
cycle.

Bug: 100098
Change-Id: I3a479d194bdf5137f99a7e27fc71c7b438b1e136

8 years agoMerge "Add gender in message 'editinguser'"
jenkins-bot [Sat, 23 May 2015 20:27:11 +0000 (20:27 +0000)]
Merge "Add gender in message 'editinguser'"

8 years agoFix false Namespaceselector value for "all" on Special:LinkSearch
Florian [Thu, 7 May 2015 16:01:38 +0000 (18:01 +0200)]
Fix false Namespaceselector value for "all" on Special:LinkSearch

Added the ability to define the value in HTMLSelectNamespace.

Bug: T98496
Follow-Up: I8503c391a40f1654f8570578a9de9015d86c9845
Change-Id: Ic6a871507a027d28b3aeb1efeb9abbceb5734a9e

8 years agoReplaced spaces with underscores in NS_ consts
Yuri Astrakhan [Tue, 12 May 2015 20:16:47 +0000 (23:16 +0300)]
Replaced spaces with underscores in NS_ consts

* All $namespaceNames and similar messages
that reference NS_* constants seem to use '_' for spaces,
except a few cases. I suspect its a mistake, thus replacing.

Regexes used:
 ([^'"\n]*['"][^'"\n]*(['"][^'"\n]*['"])*[^'"\n]*[^A-Za-z0-9]NS_)
contains a space in front, replaced with _\1

[^A-Za-z0-9]NS_([^'"\n]*['"][^'"\n]*['"])*[^'"\n]*['"][^'"\n]*
contains a space at the very end, replaced with \1_

Change-Id: Ibbc201678ee91db2b5bf3de597c1598b86558d77

8 years agoSpecial:PageLanguage: Show log extract only when title known
umherirrender [Sat, 23 May 2015 19:41:01 +0000 (21:41 +0200)]
Special:PageLanguage: Show log extract only when title known

When open Special:PageLanguage without a page, the whole pagelang log is
shown and the notice:
Title::newFromText: $text must be a string. This will throw an
InvalidArgumentException in future. [Called from LogPager::limitTitle]
The whole log is useless at this position, so showing it only when
looking at a specific page.

Change-Id: I2a0b7ccc71789506554617e1d12797e72835a12a

8 years agoCleaned up CAS check in RevDelLogItem::setBits for recentchanges
Aaron Schulz [Fri, 22 May 2015 23:39:05 +0000 (16:39 -0700)]
Cleaned up CAS check in RevDelLogItem::setBits for recentchanges

Change-Id: I6c29653361a0937489c27891739a9dc626c20167

8 years agoCleaned up some Job doc types
Aaron Schulz [Sat, 23 May 2015 18:04:18 +0000 (11:04 -0700)]
Cleaned up some Job doc types

Change-Id: I205345819bc07575995ab9aff54f40d547bd1d6f

8 years agoActually set the $res field via doQuery() in setVisibility
Aaron Schulz [Fri, 22 May 2015 23:31:06 +0000 (16:31 -0700)]
Actually set the $res field via doQuery() in setVisibility

* Otherwise, it is thrown away and redone on a slave

Change-Id: I1252fa5bc98d908cf289f4d93cbdd8d6d33828ea

8 years agoMerge "resources: Add OOjs UI's Apex theme's files"
jenkins-bot [Sat, 23 May 2015 16:53:57 +0000 (16:53 +0000)]
Merge "resources: Add OOjs UI's Apex theme's files"

8 years agoresources: Add OOjs UI's Apex theme's files
Bartosz Dziewoński [Sat, 23 May 2015 15:16:36 +0000 (17:16 +0200)]
resources: Add OOjs UI's Apex theme's files

Currently not used, but there are big plans for them!

Change-Id: Iaa0e82a3ebda4665c5eafac5167c8912e82199d4

8 years agoAdd gender in message 'editinguser'
Seb35 [Sat, 23 May 2015 15:41:07 +0000 (17:41 +0200)]
Add gender in message 'editinguser'

Bug: T99223
Change-Id: Ie8b2a569f9f213c9d2683907c6d17dc637083359

8 years agoMerge "Check for dependencies in entry point and Maintenance.php"
jenkins-bot [Sat, 23 May 2015 15:15:58 +0000 (15:15 +0000)]
Merge "Check for dependencies in entry point and Maintenance.php"

8 years agoMerge "mediawiki.language: Respect $wgTranslateNumerals in convertNumber()"
jenkins-bot [Sat, 23 May 2015 15:15:54 +0000 (15:15 +0000)]
Merge "mediawiki.language: Respect $wgTranslateNumerals in convertNumber()"

8 years agoCheck for dependencies in entry point and Maintenance.php
aude [Sat, 18 Apr 2015 09:37:10 +0000 (05:37 -0400)]
Check for dependencies in entry point and Maintenance.php

This way, if someone tries to install MediaWiki via
either web installer or install.php maintenance script,
after obtaining from git, they get some useful information
on what to do.

Put the checks alongside the php version check, as
stuff installed via composer (mustache / lightncandy)
is used for NoLocalSettings.php and install.php
attempts to use logging stuff.

Also tried to make PHPVersionError look slightly nicer,
with some <h2> elements and more padding for the <p>
elements.

and centralized this code in one place, as much as possible,
for improved ease of maintenance.

Bug: T90438
Bug: T88951
Change-Id: Iae4eb42c4266dbe9213c5de8a96fccfbeaa9acb0

8 years agoMerge "Fix edit link for messages in $wgForceUIMsgAsContentMsg"
jenkins-bot [Sat, 23 May 2015 14:27:19 +0000 (14:27 +0000)]
Merge "Fix edit link for messages in $wgForceUIMsgAsContentMsg"

8 years agoMerge "Format number for message 'title-invalid-too-long'"
jenkins-bot [Sat, 23 May 2015 14:22:04 +0000 (14:22 +0000)]
Merge "Format number for message 'title-invalid-too-long'"

8 years agoMerge "Add explicit plural for number of bytes"
jenkins-bot [Sat, 23 May 2015 14:19:11 +0000 (14:19 +0000)]
Merge "Add explicit plural for number of bytes"

8 years agoImplement OOUI display format for HTMLForm
Mark Holmquist [Tue, 21 Apr 2015 21:03:49 +0000 (16:03 -0500)]
Implement OOUI display format for HTMLForm

Bug: T85291
Change-Id: I6ffe93c16d6b209a0ab08d714ad8ddaefb6acd52

8 years agoAdd explicit plural for number of bytes
Siebrand Mazeland [Sat, 23 May 2015 12:23:14 +0000 (14:23 +0200)]
Add explicit plural for number of bytes

Reported by Purodha at
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Title-invalid-too-long/ksh

Change-Id: I5555826ce3f71741696cbb2ef2521fe1ff7e6253

8 years agoMerge "SpecialStatsAddExtra: Format column label with msg"
jenkins-bot [Sat, 23 May 2015 13:23:52 +0000 (13:23 +0000)]
Merge "SpecialStatsAddExtra: Format column label with msg"

8 years agoAdded $res var docs for RevisionListBase
Aaron Schulz [Fri, 22 May 2015 20:49:29 +0000 (13:49 -0700)]
Added $res var docs for RevisionListBase

Change-Id: Ib71b9c662e68b64f1c6ad07c1902ed8ed432f175

8 years agoFormat number for message 'title-invalid-too-long'
umherirrender [Sat, 23 May 2015 13:04:21 +0000 (15:04 +0200)]
Format number for message 'title-invalid-too-long'

Follow-Up: I4da8ecb457a77473e32d745ba48ab8505b35e45f
Change-Id: I30ebf2a21bb09d992140baa2bd8707a674da6d51

8 years agoSpecialStatsAddExtra: Format column label with msg
Mark A. Hershberger [Thu, 30 Apr 2015 02:40:48 +0000 (22:40 -0400)]
SpecialStatsAddExtra: Format column label with msg

This allows the user of the SpecialStatsAddExtra hook to provide
formatting for the row label using an i18n message key.  If given, the
message is given the row key as a parameter.  To maintain backward
compatibility, the key is used as-is as was done previously if a message
key is not provided.

Bug: T97623
Change-Id: I43c522b24372e115ed78adf69848bf50cbab8295

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 22 May 2015 22:26:03 +0000 (00:26 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I49999070014b45d52c59ec38c4bd84202e1172c6

8 years agoMade RecentChange defer the save() method via DeferredUpdates
Aaron Schulz [Thu, 21 May 2015 07:21:03 +0000 (00:21 -0700)]
Made RecentChange defer the save() method via DeferredUpdates

* Also made it handle calling PatrolLog::record() itself

Bug: T100042
Change-Id: I58ef060e02b89a5f9dadc0dbc4edba667932beda

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

Change-Id: I0b708cf7c6301f57aa618284f960b9701157cf15

8 years agoDefer some updates in doEditUpdates()
Aaron Schulz [Thu, 21 May 2015 06:13:28 +0000 (23:13 -0700)]
Defer some updates in doEditUpdates()

* These updates add to editing time and can be done
  after sending the HTTP response for performance
* Also improved the active users job insertion logic

Change-Id: I5b25217c4f08db7fa9a05eac046283f02d45865e

8 years agoProfilerOutputStats: replace single ':' with '.', too
Ori Livneh [Thu, 21 May 2015 19:16:24 +0000 (12:16 -0700)]
ProfilerOutputStats: replace single ':' with '.', too

This maps 'hook: ' and 'query: ' to a metric name segment, instead of just a
metric name prefix.

Change-Id: I41fb71becbc862597b998c73ccfcaca5a3510ffc

8 years agoImprove ProfilerXhprof's blacklist/whitelist capabilities
Ori Livneh [Thu, 21 May 2015 18:36:51 +0000 (11:36 -0700)]
Improve ProfilerXhprof's blacklist/whitelist capabilities

* Apply the blacklist / whitelist to profiled sections, not just function names.
* Allow shell-style wildcard patterns in blacklist / whitelist.
* Prefix all profiled section names with 'section.', to distinguish them from
  functions.

Note that shell-style wildcard patterns are not supported by xhprof natively,
but it won't barf on them either, nor will they match against actual function
names (since shell wildcard characters are not valid for PHP function names),
and the filtering will still be enforced in ProfilerXhprof.

This has the side-effect of working around https://github.com/facebook/hhvm/issues/4385

Bug: T99829
Change-Id: I8354ed922fa7b42857eda03be8f62b89ac78d0d6

8 years agoMerge "API: Add 'wrfromtitle' and 'wrtotitle' to list=watchlistraw"
jenkins-bot [Thu, 21 May 2015 19:05:56 +0000 (19:05 +0000)]
Merge "API: Add 'wrfromtitle' and 'wrtotitle' to list=watchlistraw"

8 years agoMerge "Avoid calling load() in LocalFile::invalidateCache; not needed"
jenkins-bot [Thu, 21 May 2015 18:57:20 +0000 (18:57 +0000)]
Merge "Avoid calling load() in LocalFile::invalidateCache; not needed"

8 years agoMerge "ProfilerOutputStats: allow a key prefix to be specified"
jenkins-bot [Thu, 21 May 2015 18:51:21 +0000 (18:51 +0000)]
Merge "ProfilerOutputStats: allow a key prefix to be specified"

8 years agoAvoid calling load() in LocalFile::invalidateCache; not needed
Aaron Schulz [Thu, 21 May 2015 18:23:19 +0000 (11:23 -0700)]
Avoid calling load() in LocalFile::invalidateCache; not needed

Change-Id: I1e2d61722a18e4046bdf7c375ea9c1dbbea4a157

8 years agoProfilerOutputStats: allow a key prefix to be specified
Ori Livneh [Thu, 21 May 2015 18:07:39 +0000 (11:07 -0700)]
ProfilerOutputStats: allow a key prefix to be specified

If one wants to nest all metrics emitted by the profiler under a metric
namespace, one can now set the 'prefix' param.

Task: T66301
Change-Id: I6c52f20e39017f4c818ca6623bb7f48683fc8abc

8 years agoMerge "Search: Allow searchContainedSyntax to be defined by constructor"
jenkins-bot [Thu, 21 May 2015 17:54:21 +0000 (17:54 +0000)]
Merge "Search: Allow searchContainedSyntax to be defined by constructor"

8 years agoMerge "registration: Don't ignore empty array config settings when converting"
jenkins-bot [Thu, 21 May 2015 17:33:05 +0000 (17:33 +0000)]
Merge "registration: Don't ignore empty array config settings when converting"

8 years agoMerge "registration: Add test case to demonstrate T98347 is invalid"
jenkins-bot [Thu, 21 May 2015 17:27:35 +0000 (17:27 +0000)]
Merge "registration: Add test case to demonstrate T98347 is invalid"

8 years agoregistration: Don't ignore empty array config settings when converting
Kunal Mehta [Tue, 12 May 2015 16:26:24 +0000 (09:26 -0700)]
registration: Don't ignore empty array config settings when converting

Remember which settings we set to an empty array and then only skip
those settings.
The weird variable name "$__settings" is used to avoid any conflicts
similar to what eval.php does.

Bug: T98739
Change-Id: Iefbf8a98fd433cfbe0087aca6821d90c2786b0cb

8 years agoAPI: Add 'wrfromtitle' and 'wrtotitle' to list=watchlistraw
Brad Jorsch [Wed, 13 May 2015 18:42:39 +0000 (14:42 -0400)]
API: Add 'wrfromtitle' and 'wrtotitle' to list=watchlistraw

Naming is "fromtitle" rather than just "from" because "from" parameters
in API query modules generally mean a title without namespace, and this
should make use of the client-supplied namespace.

Bug: T98985
Change-Id: I8370f47f6eed71ea97a44a66eb6be2a8f89fea53

8 years agoMerge "Avoid pointless getNativeData() call in isCountable()"
jenkins-bot [Thu, 21 May 2015 10:23:49 +0000 (10:23 +0000)]
Merge "Avoid pointless getNativeData() call in isCountable()"

8 years agoAvoid pointless getNativeData() call in isCountable()
Aaron Schulz [Thu, 21 May 2015 06:56:25 +0000 (23:56 -0700)]
Avoid pointless getNativeData() call in isCountable()

Change-Id: I40ed1972a8815de645d11217b35c1060d5007e5a

8 years agoMake sure $dbw is an object in DeferredUpdates::addUpdate()
Aaron Schulz [Thu, 21 May 2015 06:06:05 +0000 (23:06 -0700)]
Make sure $dbw is an object in DeferredUpdates::addUpdate()

Change-Id: Ib52574bc7f2e13bf06f595e349a7b3ccea425056

8 years agoMerge "registration: Notify of problems before filemtime, not after"
jenkins-bot [Wed, 20 May 2015 23:56:25 +0000 (23:56 +0000)]
Merge "registration: Notify of problems before filemtime, not after"

8 years agoregistration: Notify of problems before filemtime, not after
Mark A. Hershberger [Wed, 20 May 2015 22:07:15 +0000 (18:07 -0400)]
registration: Notify of problems before filemtime, not after

Without this several lines of warning are emitted before the final error indicating the cause.

Bug: T99846
Change-Id: Ic1b9d9a80ed995273c56c447c8b044285a8843a7

8 years agoFlush lazy jobs in load.php and api.php too
Aaron Schulz [Wed, 20 May 2015 23:01:51 +0000 (16:01 -0700)]
Flush lazy jobs in load.php and api.php too

* A more proper solution will have one method for all this stuff

Bug: T99775
Bug: T99849
Change-Id: I16a32b260386a85504eb85ea58f1156b4e581a83

8 years agoMerge "Bumping lightncandy version from 0.18 to 0.21"
kaldari [Wed, 20 May 2015 21:47:14 +0000 (21:47 +0000)]
Merge "Bumping lightncandy version from 0.18 to 0.21"

8 years agoMerge "Fix Special:Preferences onBeforeUnload handler"
jenkins-bot [Wed, 20 May 2015 20:25:17 +0000 (20:25 +0000)]
Merge "Fix Special:Preferences onBeforeUnload handler"

8 years agoMerge "Pass a message key to MalformedTitleException constructor"
jenkins-bot [Wed, 20 May 2015 20:10:02 +0000 (20:10 +0000)]
Merge "Pass a message key to MalformedTitleException constructor"

8 years agoFix Special:Preferences onBeforeUnload handler
Florian [Wed, 20 May 2015 20:05:24 +0000 (22:05 +0200)]
Fix Special:Preferences onBeforeUnload handler

Bug: T94194
Change-Id: If9e3836c6061cf99dc0859dafb99b9456e6efd0e

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 20 May 2015 19:45:18 +0000 (19:45 +0000)]
Merge "Localisation updates from https://translatewiki.net."

8 years agoPass a message key to MalformedTitleException constructor
Brad Jorsch [Wed, 20 May 2015 19:44:01 +0000 (15:44 -0400)]
Pass a message key to MalformedTitleException constructor

'badtitletext' seems to be equivalent to the situation before I4da8ecb4,
so let's go with that.

Bug: T99818
Change-Id: Ifdf66d2806df3ae7d2d378343491dd8976c31981

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 20 May 2015 19:39:59 +0000 (21:39 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I606ac1f2237b561daf4bc88426e3b9f5e65a8fc9

8 years agoImprove documentation of maintenance/sql.php
Marius Hoch [Wed, 20 May 2015 19:21:11 +0000 (21:21 +0200)]
Improve documentation of maintenance/sql.php

I found this to be lacking earlier this week...

Change-Id: I409c7451baa71b88cf554af0d82d1bf5904a2c4c

8 years agoKeep jenkins happy by limiting line length.
Mark A. Hershberger [Tue, 19 May 2015 18:00:56 +0000 (14:00 -0400)]
Keep jenkins happy by limiting line length.

Just w/s changes to break up long lines.

Change-Id: I69bf30f6c05813cfa32c8cd194f121cedcc4cb8a

8 years agoMerge "Message text clarified."
jenkins-bot [Wed, 20 May 2015 09:14:00 +0000 (09:14 +0000)]
Merge "Message text clarified."

8 years agoMerge "Make JobRunner flush DeferredUpdates after each job"
jenkins-bot [Wed, 20 May 2015 07:49:07 +0000 (07:49 +0000)]
Merge "Make JobRunner flush DeferredUpdates after each job"

8 years agoMerge "Simplified doEditContent exception handling"
jenkins-bot [Wed, 20 May 2015 07:21:35 +0000 (07:21 +0000)]
Merge "Simplified doEditContent exception handling"

8 years agoMerge "Fixed wrong EnqueueJob comment"
jenkins-bot [Wed, 20 May 2015 07:08:33 +0000 (07:08 +0000)]
Merge "Fixed wrong EnqueueJob comment"

8 years agoMerge "Do not allow setting deprecated $wgSpecialPageGroups over extension.json"
jenkins-bot [Wed, 20 May 2015 04:48:59 +0000 (04:48 +0000)]
Merge "Do not allow setting deprecated $wgSpecialPageGroups over extension.json"

8 years agoFixed wrong EnqueueJob comment
Aaron Schulz [Wed, 20 May 2015 02:26:36 +0000 (19:26 -0700)]
Fixed wrong EnqueueJob comment

Change-Id: I8a84bae9cd4206eb042e5a29c91d8281e296ecd1

8 years agoUser::clearSharedCache: don't load the full user record for just the ID
Ori Livneh [Tue, 19 May 2015 22:45:46 +0000 (15:45 -0700)]
User::clearSharedCache: don't load the full user record for just the ID

Rather than call $this->load() unconditionally, get just the ID via
$this->getId(), potentially saving us a database lookup.

Change-Id: Ifa3b96956a1d66d3e877573ff01970758fad8790