lhc/web/wiklou.git
8 years agoValidate that $wgVariantArticlePath is absolute, too
Bartosz Dziewoński [Sun, 3 Jan 2016 01:51:12 +0000 (02:51 +0100)]
Validate that $wgVariantArticlePath is absolute, too

Follow-up to a4a3d0454069c25a24e2bfe732a665cc6a865878.
Unlikely to be a security problem, as $2 generally has to
appear somewhere before $1 in this config option.

Bug: T48998
Change-Id: I08788713d9bd7c4c8d81479c18b5a404997a778d

8 years agoMerge "Revert "Convert Special:EmailUser to use OOUIHTMLForm""
jenkins-bot [Tue, 12 Jan 2016 00:09:48 +0000 (00:09 +0000)]
Merge "Revert "Convert Special:EmailUser to use OOUIHTMLForm""

8 years agoMerge "SpecialComparePages: Float the boxes, if available space is given"
jenkins-bot [Tue, 12 Jan 2016 00:07:45 +0000 (00:07 +0000)]
Merge "SpecialComparePages: Float the boxes, if available space is given"

8 years agoUse ar_page_id on undeletion
victorbarbu [Mon, 11 Jan 2016 21:52:21 +0000 (23:52 +0200)]
Use ar_page_id on undeletion

Bug: T28123
Change-Id: I882b8ba09d68e7475e1d0934328730059574e292

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 11 Jan 2016 21:31:24 +0000 (22:31 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia4959d4266a4a08313df59426c63f66b7aab0d43

8 years agoSpecialComparePages: Float the boxes, if available space is given
Florian [Tue, 5 Jan 2016 20:27:34 +0000 (21:27 +0100)]
SpecialComparePages: Float the boxes, if available space is given

Follow up: I480c2165c908ca7c8e08ed5990e386ddb515f3b0

Bug: T122907
Change-Id: Iaf139974e850621a668c8ac32f3dc88ba3b70508

8 years agoMerge "SpecialExpandTemplates: Fix false checkbox label for nowiki tag"
jenkins-bot [Mon, 11 Jan 2016 18:36:26 +0000 (18:36 +0000)]
Merge "SpecialExpandTemplates: Fix false checkbox label for nowiki tag"

8 years agoSpecialComparePages: Remove outdated comment
Fomafix [Mon, 11 Jan 2016 17:11:57 +0000 (17:11 +0000)]
SpecialComparePages: Remove outdated comment

The class 'mw-searchInput' got removed in 828a99e7.

Change-Id: I8cd1f85b7af6bb4552764fa8210d889fcb205746

8 years agoDon't call Title::getInternalURL with 2 parameters.
Reedy [Mon, 11 Jan 2016 12:50:24 +0000 (12:50 +0000)]
Don't call Title::getInternalURL with 2 parameters.

Unnecessary, and causes a deprecated notice

Change-Id: I823b2a037260d3d50a7b074d25d51c11c165d3b8

8 years agoAPI: Avoid FOUC on help pages
Kunal Mehta [Sat, 12 Dec 2015 02:55:07 +0000 (18:55 -0800)]
API: Avoid FOUC on help pages

Loading CSS with OutputPage::addModules() causes a FOUC because the
styles are loaded through JavaScript, using addModuleStyles() fixes
this. But it doesn't load module dependencies, so load the
mediawiki.hlist styles explicitly in ApiHelp.

Bug: T117901
Change-Id: I1dfd194d686c05573eefc85d5dfd7ee2731bf286

8 years agoRemove JavaScript .hlist fallback for IE8
Kunal Mehta [Mon, 11 Jan 2016 06:36:51 +0000 (22:36 -0800)]
Remove JavaScript .hlist fallback for IE8

IE8 is no longer served JavaScript, so the fallback will never run.

Change-Id: Ic2524d7c6d019cc7b978d79ee0ae64a6371fb42e

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 10 Jan 2016 21:51:05 +0000 (22:51 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Idb71159183953e00c9476d8b3d6798e833709839

8 years agoRevert "Convert Special:EmailUser to use OOUIHTMLForm"
Florianschmidtwelzow [Sun, 10 Jan 2016 14:20:52 +0000 (14:20 +0000)]
Revert "Convert Special:EmailUser to use OOUIHTMLForm"

This reverts commit bc9b2162cbfeaabdcbfe8bdf342a33523ea4f3d0.

Just in case, this change[1] isn't merged before the next wmf-release (12 January) to unbreak the form.

[1] I3e0c02155428ae400bc3a6d3ed2e66e69ee441fa

Change-Id: I1a594485fbf8c75b4199df2e255dedc7fb90e74d

8 years agoSpecialExpandTemplates: Fix false checkbox label for nowiki tag
Florian [Fri, 8 Jan 2016 06:27:46 +0000 (07:27 +0100)]
SpecialExpandTemplates: Fix false checkbox label for nowiki tag

Bug: T122907
Change-Id: I49f4209f2e91e08ad08ba79ab3f76a0cf0dbea02

8 years agoPreferences: Use session data instead of URL parameter for success
Fomafix [Sat, 9 Jan 2016 22:41:46 +0000 (22:41 +0000)]
Preferences: Use session data instead of URL parameter for success

The session data gets set in the POST and gets deleted in the GET.

This change avoids changing the URL for the success message.
A reload of the page does not show the success message again.

The URL manipulation in mediawiki.special.preferences.js is superfluous.

Bug: T26700
Change-Id: I1c2b011e7a66b2b9379dd4a3fdcc6f978dd43b52

8 years agoAPI: Flag "user" parameters in various modules as type 'user'
Brad Jorsch [Mon, 4 Jan 2016 18:55:26 +0000 (10:55 -0800)]
API: Flag "user" parameters in various modules as type 'user'

The API 'user' type accepts both user names and IP addresses, and
applies normalization but not canonicalization. We should be using this
on basically every user parameter to ensure that e.g. IPv6 usernames get
uppercased.

Bug: T122803
Change-Id: Ic67fb54061ac311e54f325b2a1a4658f43b8fef4

8 years agoconvertExtensionToRegistration.php: die on global functions
victorbarbu [Sat, 9 Jan 2016 19:27:54 +0000 (21:27 +0200)]
convertExtensionToRegistration.php: die on global functions

Bug: T122952
Change-Id: I0fca5457aba3a7237ad7aeb96f3f6636d73863d3

8 years agoPost-document hook AfterBuildFeedLinks
Florian [Sat, 9 Jan 2016 15:24:12 +0000 (16:24 +0100)]
Post-document hook AfterBuildFeedLinks

Follow up: If48bd07a0e7e67fd1c1a94ebaa28ca9dae146c55

Change-Id: I9080a150354b978098b8bf4e279f26fdc2ac7c8e

8 years agoMerge "importImages.php: Run input file names through UTF8 normalization"
jenkins-bot [Sat, 9 Jan 2016 10:36:18 +0000 (10:36 +0000)]
Merge "importImages.php: Run input file names through UTF8 normalization"

8 years agoRemove excess newlines at the end of files
Ricordisamoa [Sat, 9 Jan 2016 08:13:37 +0000 (09:13 +0100)]
Remove excess newlines at the end of files

All of them added with commit 6d55397e7cb6f2001f8635dee7c2a78d6ad1a23e

Change-Id: I09822b8c2a32832b1875028739091dd893900783

8 years agoMerge "ParserTests: Add a video file to parser test suite"
jenkins-bot [Sat, 9 Jan 2016 07:30:54 +0000 (07:30 +0000)]
Merge "ParserTests: Add a video file to parser test suite"

8 years agoMerge "Print which file we are running parsertests for"
jenkins-bot [Sat, 9 Jan 2016 07:29:03 +0000 (07:29 +0000)]
Merge "Print which file we are running parsertests for"

8 years agoMerge "Fix last direct usage of UtfNormal in MW core"
jenkins-bot [Sat, 9 Jan 2016 07:19:23 +0000 (07:19 +0000)]
Merge "Fix last direct usage of UtfNormal in MW core"

8 years agoimportImages.php: Run input file names through UTF8 normalization
ananay [Fri, 8 Jan 2016 23:07:57 +0000 (04:37 +0530)]
importImages.php: Run input file names through UTF8 normalization

Bug: T78060
Change-Id: I545ea8f28ff3a1aac03c29d27355c0371632ef4d

8 years agoFix last direct usage of UtfNormal in MW core
Reedy [Fri, 8 Jan 2016 22:38:18 +0000 (22:38 +0000)]
Fix last direct usage of UtfNormal in MW core

Change-Id: I82789ab5ba628d974c77f026f0276cec1e22ad05

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 8 Jan 2016 21:00:12 +0000 (22:00 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I8dea4be58e78aa026c0fc8bfac81320c1d943ee2

8 years agoMerge "Add a composer.local.json-sample"
jenkins-bot [Fri, 8 Jan 2016 20:30:57 +0000 (20:30 +0000)]
Merge "Add a composer.local.json-sample"

8 years agoAdd a composer.local.json-sample
ananay [Fri, 8 Jan 2016 05:47:18 +0000 (11:17 +0530)]
Add a composer.local.json-sample

Bug: T122968
Change-Id: Ib13417b0c29b6fd2b3aaea6808fde3f3c12393e6

8 years agoMerge "build: Update jscs to latest"
jenkins-bot [Fri, 8 Jan 2016 16:44:29 +0000 (16:44 +0000)]
Merge "build: Update jscs to latest"

8 years agobuild: Update jscs to latest
Paladox [Thu, 7 Jan 2016 22:23:52 +0000 (22:23 +0000)]
build: Update jscs to latest

* grunt-jscs: 2.5.0 → 2.6.0

Change-Id: I4b1585c557b94927e593975e2e4696b88becd095

8 years agoMerge "Add documentation to clarify difference between save and upload message"
jenkins-bot [Fri, 8 Jan 2016 07:58:01 +0000 (07:58 +0000)]
Merge "Add documentation to clarify difference between save and upload message"

8 years agoAdd release notes for 4a40a5d21729
Kunal Mehta [Fri, 8 Jan 2016 03:55:43 +0000 (19:55 -0800)]
Add release notes for 4a40a5d21729

Change-Id: I38c7d710f489c54592876e7dbc16bf2871e77930

8 years agoAdd maintenance script importTextFiles.php
Andrew H [Thu, 7 Jan 2016 03:09:47 +0000 (03:09 +0000)]
Add maintenance script importTextFiles.php

importTextFiles.php can be used to import pages from text files
containing wikitext.

Also, added $userObj to WikiRevision so that it can accept a User
object instead of just a username.

This is a GCI task.

Change-Id: I20eaf2005bdd3d041f55d8c0b108f001c064d638

8 years agoMerge "Remove unused jquery.validate module"
jenkins-bot [Thu, 7 Jan 2016 23:51:12 +0000 (23:51 +0000)]
Merge "Remove unused jquery.validate module"

8 years agoRemove unused jquery.validate module
Kunal Mehta [Thu, 7 Jan 2016 23:28:07 +0000 (15:28 -0800)]
Remove unused jquery.validate module

jquery.validate was added in r99929, presumably for Gadgets 3.0 work.
However it's entirely unused in core, extensions in Gerrit, and on
Wikimedia sites. Even if Gadgets 3.0 were to require it, it should
probably live in the Gadgets extension rather than core.

Change-Id: Iebe09e853a6eb67af4a06b296606a8193df18d34

8 years agoMerge "installer: Say "APCu" for PHP >= 5.5"
jenkins-bot [Thu, 7 Jan 2016 23:26:19 +0000 (23:26 +0000)]
Merge "installer: Say "APCu" for PHP >= 5.5"

8 years agoMerge "RELEASE-NOTES-1.27: Add a note about file upload patrolling"
jenkins-bot [Thu, 7 Jan 2016 23:23:04 +0000 (23:23 +0000)]
Merge "RELEASE-NOTES-1.27: Add a note about file upload patrolling"

8 years agoRELEASE-NOTES-1.27: Add a note about file upload patrolling
Bartosz Dziewoński [Thu, 7 Jan 2016 23:07:05 +0000 (15:07 -0800)]
RELEASE-NOTES-1.27: Add a note about file upload patrolling

Bug: T11501
Change-Id: I092d247e72f73c3317a8e6321fd28f8455e598b7

8 years agoMerge "RELEASE-NOTES-1.27: Wrap lines at 80 characters"
jenkins-bot [Thu, 7 Jan 2016 23:03:33 +0000 (23:03 +0000)]
Merge "RELEASE-NOTES-1.27: Wrap lines at 80 characters"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 7 Jan 2016 23:00:08 +0000 (00:00 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I7610890e33a7d6021c1c9d3b8192c7c90ee926fd

8 years agoRELEASE-NOTES-1.27: Wrap lines at 80 characters
Bartosz Dziewoński [Thu, 7 Jan 2016 22:56:18 +0000 (14:56 -0800)]
RELEASE-NOTES-1.27: Wrap lines at 80 characters

Change-Id: Idf0cef999d798c935596e2a784b7d78a8e39f1cb

8 years agoinstaller: Say "APCu" for PHP >= 5.5
Kunal Mehta [Thu, 7 Jan 2016 21:21:11 +0000 (13:21 -0800)]
installer: Say "APCu" for PHP >= 5.5

Pre-PHP 5.5 the extension was called "APC", and provided opcode caching
and userland object caching. In 5.5, the opcode caching was built-in to
PHP, and the userland object caching was moved into an extension named
"APCu".

Bug: T61998
Change-Id: Id6f4a87bfdb59b2592a56aea9450611238e313ad

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 7 Jan 2016 22:19:57 +0000 (23:19 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I0bd123b8cdad72cc48389f4c0555cfe580316cd6

8 years agoMerge "Add datetime input widget"
jenkins-bot [Thu, 7 Jan 2016 22:11:00 +0000 (22:11 +0000)]
Merge "Add datetime input widget"

8 years agoParserTests: Add a video file to parser test suite
Derk-Jan Hartman [Thu, 7 Jan 2016 08:41:23 +0000 (00:41 -0800)]
ParserTests: Add a video file to parser test suite

Introduce an ogv video file to the parser file testsuite, so that we
can use it later in TimedMediaHandler parsertests.

Change-Id: I6a3b307ad9c82e9df0aeec025934d736eec8375f

8 years agoAdd documentation to clarify difference between save and upload message
Justin Du [Wed, 6 Jan 2016 21:21:20 +0000 (15:21 -0600)]
Add documentation to clarify difference between save and upload message

Finnish translations use the same word for save and upload.

https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Upload-dialog-button-upload/fi

Change-Id: I3caf7b550b629c5c98bca0e0efd13aa864ce10e0

8 years agoMerge "Split the classes in WebInstallerPage.php into multiple files"
jenkins-bot [Thu, 7 Jan 2016 19:10:44 +0000 (19:10 +0000)]
Merge "Split the classes in WebInstallerPage.php into multiple files"

8 years agoSplit the classes in WebInstallerPage.php into multiple files
Tim Hollmann [Tue, 5 Jan 2016 20:48:25 +0000 (21:48 +0100)]
Split the classes in WebInstallerPage.php into multiple files

Bug: T122634
Change-Id: If6606a0e1c2a5ec5651cc7f83cf7342ff8c6c765

8 years agoregistration: $wgRateLimits should be merged using array_plus_2d
Kunal Mehta [Thu, 7 Jan 2016 18:52:01 +0000 (10:52 -0800)]
registration: $wgRateLimits should be merged using array_plus_2d

Change-Id: I0d1abbb251f4a6d126d58668d1281a6f1550b459

8 years agoMerge "convertExtensionToRegistration: Detect if composer autoloader is needed"
jenkins-bot [Thu, 7 Jan 2016 17:33:09 +0000 (17:33 +0000)]
Merge "convertExtensionToRegistration: Detect if composer autoloader is needed"

8 years agoMerge "Remove Language::armourMath() and friends"
jenkins-bot [Thu, 7 Jan 2016 17:33:05 +0000 (17:33 +0000)]
Merge "Remove Language::armourMath() and friends"

8 years agoconvertExtensionToRegistration: Detect if composer autoloader is needed
Florian [Wed, 30 Dec 2015 15:11:38 +0000 (16:11 +0100)]
convertExtensionToRegistration: Detect if composer autoloader is needed

If an extension specifies a require section in its composer.json, which contains
some dependencies, we can assume that this extension needs to load the composer
autoloader.

The maintenance script convertExtensionToRegistration.php will now check if the
extension has such a composer.json and, if so, adds the load_composer_autoloader
property in extension.json, which will try to load the autoloader of composer
is it is present.

Also add a check for existence of a require section in ComposerJson library
(ComposerJson::getRequiredDependencies()).

Bug: T119766
Change-Id: Icdbc37abc44e642afee2aab4c0e9298d3471124d

8 years agoRemove Language::armourMath() and friends
Florian [Sat, 2 Jan 2016 22:01:10 +0000 (23:01 +0100)]
Remove Language::armourMath() and friends

Change-Id: I0ce18bce2d9b5787221e2dabff143de9792abb3a

8 years agoFix Race-Condition in mediawiki.page.ready OOJs-UI infusion
Florian [Thu, 7 Jan 2016 16:46:16 +0000 (17:46 +0100)]
Fix Race-Condition in mediawiki.page.ready OOJs-UI infusion

It's possible, that the "catlinks" $nodes variable is re-assigned, before
mw.loader.using finished loading the mediawiki.widgets modules (which will
trigger the execution of the passed function). The function inside the
mw.loader.using call uses the $nodes variable and expects a set of infusable
OOUI elements, but (depending on the loading time of the modules) it's already
re-assigned with the .catlinks element.

Fix this by renaming the variable $nodes to $oouiNodes to break this race
condition. It's possible to rename the variable used for catlinks, but $nodes is
used in other places of the code, too, so I think this is the nicer solution.

Bug: T123074
Change-Id: Ie18b576a16c33645ab04e2957b23169bc2e17202

8 years agoPrint which file we are running parsertests for
Derk-Jan Hartman [Thu, 7 Jan 2016 08:36:17 +0000 (00:36 -0800)]
Print which file we are running parsertests for

I spent half an hour searching which extension was causing a crash in
my parser tests. Printing the filename seems like a handy plan here...

Change-Id: I09558101be15e92eeb3841f8f4198c2bc01f3e9d

8 years agoFix parserTests after f66ff602447c
This, that and the other [Thu, 7 Jan 2016 04:51:33 +0000 (15:51 +1100)]
Fix parserTests after f66ff602447c

Change-Id: If3691cb022211e78093e1cbd36dbb76b6d5f674b

8 years agoMerge "GitInfo: Allow cache to be in the extension directory itself"
jenkins-bot [Thu, 7 Jan 2016 03:13:09 +0000 (03:13 +0000)]
Merge "GitInfo: Allow cache to be in the extension directory itself"

8 years agoLogEntry: Make associated rev id persistent (store in logging and log_search)
Bartosz Dziewoński [Tue, 29 Dec 2015 00:21:50 +0000 (01:21 +0100)]
LogEntry: Make associated rev id persistent (store in logging and log_search)

The implementation from 0160b410bd514681b1637ccab2b7c79158fbfb29 only
stored the associated rev id in the `recentchanges` table, which was
sufficient for its purpose of allowing patrol of these log entries and
provided some change tagging improvements, but ephemeral.

Now we also store it in `logging` and `log_search` tables, which makes
it possible to find a revision for the log entry and vice versa.

* For `log_search` we just add a row with 'associated_rev_id' as key,
  it was designed for exactly this purpose.
* For `logging` we store it in log_params field in ManualLogEntry, and
  transparently remove it from there when building a DatabaseLogEntry.

Bug: T122089
Change-Id: I559587ff77b3c94b31a6c5951287b6f9c1e167ce

8 years agoLogEntry: Boring whitespace and comment changes, some documentation too
Bartosz Dziewoński [Mon, 28 Dec 2015 23:56:18 +0000 (00:56 +0100)]
LogEntry: Boring whitespace and comment changes, some documentation too

Change-Id: If501a3c276c3dc341ef73d5ffdb255f68cbe0ab7

8 years agoMerge "installer: Choose CACHE_ACCEL as the default if available"
jenkins-bot [Thu, 7 Jan 2016 01:33:38 +0000 (01:33 +0000)]
Merge "installer: Choose CACHE_ACCEL as the default if available"

8 years agoMerge "Fix CONTENT-LENGTH header in WebRequestUpload"
jenkins-bot [Thu, 7 Jan 2016 01:07:38 +0000 (01:07 +0000)]
Merge "Fix CONTENT-LENGTH header in WebRequestUpload"

8 years agoMerge "Allow patrol of uploads"
jenkins-bot [Thu, 7 Jan 2016 01:06:02 +0000 (01:06 +0000)]
Merge "Allow patrol of uploads"

8 years agoMerge "startup.js: Move IE8 down from Grade A to Grade C"
jenkins-bot [Wed, 6 Jan 2016 23:53:48 +0000 (23:53 +0000)]
Merge "startup.js: Move IE8 down from Grade A to Grade C"

8 years agoMerge "WebRequest::appendQuery*() functions no longer take $onlyquery"
jenkins-bot [Wed, 6 Jan 2016 23:33:00 +0000 (23:33 +0000)]
Merge "WebRequest::appendQuery*() functions no longer take $onlyquery"

8 years agoMerge "Remove WebRequest::appendQuery()"
jenkins-bot [Wed, 6 Jan 2016 23:32:56 +0000 (23:32 +0000)]
Merge "Remove WebRequest::appendQuery()"

8 years agoMerge "jquery.accessKeyLabel: make modifier info public"
jenkins-bot [Wed, 6 Jan 2016 23:24:34 +0000 (23:24 +0000)]
Merge "jquery.accessKeyLabel: make modifier info public"

8 years agoWebRequest::appendQuery*() functions no longer take $onlyquery
Chad Horohoe [Wed, 6 Jan 2016 23:13:31 +0000 (15:13 -0800)]
WebRequest::appendQuery*() functions no longer take $onlyquery

Deprecated since 1.25, unused anywhere

Change-Id: I52224635cfeaf4748abeaa07b0c92e7f452fa93f

8 years agoRemove WebRequest::appendQuery()
Chad Horohoe [Wed, 6 Jan 2016 23:04:30 +0000 (15:04 -0800)]
Remove WebRequest::appendQuery()

Deprecated in 1.25, nothing uses it. You should use appendQueryValue()
or appendQueryArray()

Change-Id: Ia2347a1eaf6d9c6cfc600947e577c08cd482a5ac

8 years agoAllow patrol of uploads
cenarium [Sun, 17 May 2015 15:36:29 +0000 (17:36 +0200)]
Allow patrol of uploads

This allows to patrol file uploads, both new files and new file
versions, from the description page, provided $wgUseFilePatrol
is set to true. Special:NewFiles can be filtered to hide patrolled
files.

Bug: T11501
Change-Id: If71af58719a4461f12d125455b7bef07164525ca

8 years agoGitInfo: Allow cache to be in the extension directory itself
Kunal Mehta [Mon, 4 Jan 2016 17:39:09 +0000 (09:39 -0800)]
GitInfo: Allow cache to be in the extension directory itself

For ExtensionDistributor to provide git metadata, we need to be able to
store the cache file inside the extension directory itself. The GitInfo
class will now first check if the $wgGitInfoCacheDirectory is populated,
otherwise it will fallback to "$extensionDir/gitinfo.json".

Bug: T122769
Change-Id: Ib3457589ca6899925ae4610cfcdae22af8eaaaeb

8 years agoMerge "Setup.php: Ensure that defaults for 'rcdays' and 'watchlistdays' are not invalid"
jenkins-bot [Wed, 6 Jan 2016 22:24:20 +0000 (22:24 +0000)]
Merge "Setup.php: Ensure that defaults for 'rcdays' and 'watchlistdays' are not invalid"

8 years agoMerge "mediawiki.Upload: Add #getApi method, use it instead of undocumented properties"
jenkins-bot [Wed, 6 Jan 2016 22:21:40 +0000 (22:21 +0000)]
Merge "mediawiki.Upload: Add #getApi method, use it instead of undocumented properties"

8 years agoMerge "Update packages to do with karma"
jenkins-bot [Wed, 6 Jan 2016 22:19:26 +0000 (22:19 +0000)]
Merge "Update packages to do with karma"

8 years agoMerge "Option to associate a rev id to a RC log entry, allowing unpatrolled status"
jenkins-bot [Wed, 6 Jan 2016 22:04:10 +0000 (22:04 +0000)]
Merge "Option to associate a rev id to a RC log entry, allowing unpatrolled status"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 6 Jan 2016 20:38:27 +0000 (21:38 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I7744513bc9108ea64e796223fd5ec75452ffbded

8 years agoMerge "Add hook to allow extensions to modify query used by Special:ShortPages"
jenkins-bot [Wed, 6 Jan 2016 19:40:57 +0000 (19:40 +0000)]
Merge "Add hook to allow extensions to modify query used by Special:ShortPages"

8 years agoMerge "Fix false message output method on Special:ExpandTemplates"
jenkins-bot [Wed, 6 Jan 2016 19:38:44 +0000 (19:38 +0000)]
Merge "Fix false message output method on Special:ExpandTemplates"

8 years agoMerge "RequestContext: Load the request object for getRequest on first call"
jenkins-bot [Wed, 6 Jan 2016 19:10:15 +0000 (19:10 +0000)]
Merge "RequestContext: Load the request object for getRequest on first call"

8 years agoRequestContext: Load the request object for getRequest on first call
Florian [Tue, 17 Nov 2015 18:43:47 +0000 (19:43 +0100)]
RequestContext: Load the request object for getRequest on first call

Instead of relying on the global $wgRequest, which probably isn't initialized
so far, create the request object when RequestContext::getRequest() is called
the first time.

Change-Id: I6115ba44e474619d02d456a103758fe73ed298e0

8 years agoAdd hook to allow extensions to modify query used by Special:ShortPages
Kaldari [Wed, 6 Jan 2016 00:03:49 +0000 (16:03 -0800)]
Add hook to allow extensions to modify query used by Special:ShortPages

Also fix USE INDEX so that it won't break if another table is joined.

See related change at I2a7003f9.

Bug: T53124
Change-Id: I9ac910bc4c24196b1f19e2fc7f1e5b88a0dac41b

8 years agoMerge "Add largest allowed range as parameter to block form message"
jenkins-bot [Wed, 6 Jan 2016 18:42:17 +0000 (18:42 +0000)]
Merge "Add largest allowed range as parameter to block form message"

8 years agoMerge "Restore changes to WikiRevision that were lost in cdeba4cfc7c"
jenkins-bot [Wed, 6 Jan 2016 17:42:28 +0000 (17:42 +0000)]
Merge "Restore changes to WikiRevision that were lost in cdeba4cfc7c"

8 years agostartup.js: Move IE8 down from Grade A to Grade C
James D. Forrester [Wed, 11 Nov 2015 01:52:20 +0000 (17:52 -0800)]
startup.js: Move IE8 down from Grade A to Grade C

Bug: T118303
Change-Id: Icdb2d1dbcfd3ddaa98656b2b4a2ac92ddb29197d

8 years agoUpdate packages to do with karma
Paladox [Sat, 26 Dec 2015 15:17:08 +0000 (15:17 +0000)]
Update packages to do with karma

Packages updated are:

karma-chrome-launcher updated to 0.2.0

karma-firefox-launcher updated to 0.1.7

Change-Id: I542436bf8f0d782fc2af57a170faf936271b2bf9

8 years agoFix false message output method on Special:ExpandTemplates
Florian [Tue, 5 Jan 2016 19:58:03 +0000 (20:58 +0100)]
Fix false message output method on Special:ExpandTemplates

Follow up: I480c2165c908ca7c8e08ed5990e386ddb515f3b0

Bug: T122907
Change-Id: I9882f327878422b0f579cae088a7178a1e8aa00e

8 years agoMerge "htmform: Document "text" methods that take HTML as such"
jenkins-bot [Wed, 6 Jan 2016 06:59:37 +0000 (06:59 +0000)]
Merge "htmform: Document "text" methods that take HTML as such"

8 years agoMerge "Remove redundant DatabaseBase doc comments"
jenkins-bot [Wed, 6 Jan 2016 04:42:12 +0000 (04:42 +0000)]
Merge "Remove redundant DatabaseBase doc comments"

8 years agoMerge "mediawiki.messagePoster: Minor code and docs clean up"
jenkins-bot [Wed, 6 Jan 2016 04:17:26 +0000 (04:17 +0000)]
Merge "mediawiki.messagePoster: Minor code and docs clean up"

8 years agoMerge "Fix --pagelist for dumpBackup.php"
jenkins-bot [Wed, 6 Jan 2016 03:30:34 +0000 (03:30 +0000)]
Merge "Fix --pagelist for dumpBackup.php"

8 years agoFix --pagelist for dumpBackup.php
Andrew H [Tue, 5 Jan 2016 23:42:23 +0000 (23:42 +0000)]
Fix --pagelist for dumpBackup.php

Followup patch for I2473ee119c185d1b2b00ac4b1e70ee8a6cafe4a3,
which broke the --pagelist option for dumpBackup.

Somehow this slipped by in review.

Change-Id: Ifa1fd0f63f7b8db4d51a760e37ac0876430f2e88

8 years agoUpdate karma to 0.13.19
Paladox [Wed, 6 Jan 2016 01:02:50 +0000 (01:02 +0000)]
Update karma to 0.13.19

Bug: T122941
Change-Id: Iee84646b0f914bceb254ffc18d678d916c38eb20

8 years agohtmform: Document "text" methods that take HTML as such
Timo Tijhof [Wed, 6 Jan 2016 00:46:24 +0000 (16:46 -0800)]
htmform: Document "text" methods that take HTML as such

These methods have confusing names, at least document them better.

Follows-up ef8f440de.

Change-Id: Ia2d6bf474d65829d91cae3aeef7ab2d09c4023cf

8 years agoRemove redundant DatabaseBase doc comments
Aaron Schulz [Tue, 5 Jan 2016 23:27:44 +0000 (15:27 -0800)]
Remove redundant DatabaseBase doc comments

Change-Id: I7f65d46dd05c6d9f72ec2e11ebba11f0b0854983

8 years agoMerge "Move category refreshes to a deferred update"
jenkins-bot [Tue, 5 Jan 2016 23:25:47 +0000 (23:25 +0000)]
Merge "Move category refreshes to a deferred update"

8 years agoMerge "Avoid calling Block::deleteIfExpired() when not needed"
jenkins-bot [Tue, 5 Jan 2016 23:22:11 +0000 (23:22 +0000)]
Merge "Avoid calling Block::deleteIfExpired() when not needed"

8 years agoMerge "Finally: wfMsg*() was removed"
jenkins-bot [Tue, 5 Jan 2016 23:19:32 +0000 (23:19 +0000)]
Merge "Finally: wfMsg*() was removed"

8 years agoMerge "Make Maintenance::commitTransaction() do slave wait checks"
jenkins-bot [Tue, 5 Jan 2016 23:19:27 +0000 (23:19 +0000)]
Merge "Make Maintenance::commitTransaction() do slave wait checks"

8 years agoFinally: wfMsg*() was removed
Florian [Mon, 4 Jan 2016 07:32:28 +0000 (08:32 +0100)]
Finally: wfMsg*() was removed

With the great help of:
@reedy <reedy@wikimedia.org>
@MtDu <justin.d128@gmail.com>
@Unicornisaurous <crazy4sb@gmail.com>
@Victorbarbu <victorbarbu08@gmail.com>

and anyone I forgot (sorry), we did our best to find and replace any usage
of the remaining extensions, that use these functions (as you can follow in
the linked task).

Now, finally, these functions were removed from MediaWiki :)

Bug: T70750
Change-Id: Ie9e3d247bf6ab1234ff4f11383d5a4fdf7563397

8 years agoMerge "Add wikipage.categories hook"
jenkins-bot [Tue, 5 Jan 2016 22:56:55 +0000 (22:56 +0000)]
Merge "Add wikipage.categories hook"

8 years agoAdd wikipage.categories hook
Derk-Jan Hartman [Sun, 21 Jun 2015 16:59:20 +0000 (18:59 +0200)]
Add wikipage.categories hook

This will be especially useful for HotCat.

Bug: T53583
Change-Id: Id944029df180c80502840c118a58013ebb717e1f