lhc/web/wiklou.git
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 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

8 years agomediawiki.inspect: Use binary prefixes for human sizes
Fomafix [Tue, 3 Mar 2015 14:03:52 +0000 (14:03 +0000)]
mediawiki.inspect: Use binary prefixes for human sizes

https://en.wikipedia.org/wiki/Binary_prefix

Bug: T54687
Change-Id: I53c7e388fad54c317d99adcf9d222d8db05591e3

8 years agoMerge "Remove WaitForSlave maintenance script"
jenkins-bot [Tue, 5 Jan 2016 22:34:49 +0000 (22:34 +0000)]
Merge "Remove WaitForSlave maintenance script"

8 years agoMerge "Documentation: Remove paragraph about not creating a 2nd WebRequest"
jenkins-bot [Tue, 5 Jan 2016 22:23:55 +0000 (22:23 +0000)]
Merge "Documentation: Remove paragraph about not creating a 2nd WebRequest"

8 years agoRemove WaitForSlave maintenance script
Chad Horohoe [Tue, 5 Jan 2016 22:13:55 +0000 (14:13 -0800)]
Remove WaitForSlave maintenance script

Maxlag param for wfWaitForSlaves has been deprecated.

Change-Id: I61c09266848e248a28510e267e73ff7177d51bc0

8 years agomediawiki.messagePoster: Minor code and docs clean up
Timo Tijhof [Wed, 23 Dec 2015 01:18:15 +0000 (17:18 -0800)]
mediawiki.messagePoster: Minor code and docs clean up

* Improve and simpify various descriptions.

* Consistently use the imperative mood for the first line of
  method descriptions.

* create(): Refactor to be more stable and resilient.
  - Move variable declarations to inside the Deferred handler to avoid
    fragile code where data is transferred between different promise callbacks.
  - Remove check for 'result.query.pageids'. If it doesn't exist then neither
    does 'result.query' and it would throw either way.
  - Simplify check by asserting [0] directly instead of computing the length.
    Matches the actual code below.
  - Rename local variable 'errorCode' to match documentation of second param
    being 'error'. 'errorCode' is the first parameter passed to reject().
  - Outdent body and change to pattern of error-first returning.
  - Rename unexposed classname to be plain without MW prefix.

Change-Id: If642e94942abcbf7e5aa373fbd83a30d9202f24a

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 5 Jan 2016 21:02:49 +0000 (22:02 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: If70d2fec320a7741ad1fe6b2490e17a97164ae51

8 years agoMark AjaxExportList config as deprecated
Alex Monk [Tue, 5 Jan 2016 17:16:44 +0000 (09:16 -0800)]
Mark AjaxExportList config as deprecated

Bug: T42786
Change-Id: Ia1b3aab2f1247190522dbdb779029d7117321bc0

8 years agoMerge "PHPUnit: Added test for unknown tags"
jenkins-bot [Tue, 5 Jan 2016 14:23:10 +0000 (14:23 +0000)]
Merge "PHPUnit: Added test for unknown tags"

8 years agoMerge "Tests: Reflect recent changes to MediaWiki import structure"
jenkins-bot [Tue, 5 Jan 2016 14:23:06 +0000 (14:23 +0000)]
Merge "Tests: Reflect recent changes to MediaWiki import structure"

8 years agoPHPUnit: Added test for unknown tags
georggi [Tue, 5 Jan 2016 12:02:03 +0000 (14:02 +0200)]
PHPUnit: Added test for unknown tags

Bug: T43938
Change-Id: Idcb1576db39cc1d925207a37b4f22b40d76fea8b

8 years agoTests: Reflect recent changes to MediaWiki import structure
georggi [Mon, 4 Jan 2016 09:59:29 +0000 (11:59 +0200)]
Tests: Reflect recent changes to MediaWiki import structure

Bug: T43938
Change-Id: Id8d40d8fa0de59ac07749b3cefdd627b98fe175e

8 years agoAdd datetime input widget
Brad Jorsch [Mon, 4 Jan 2016 01:34:42 +0000 (17:34 -0800)]
Add datetime input widget

Since OOJS-UI isn't currently in a position to accept such things, the
decision is to put it in MediaWiki instead. Once OOJS-UI is
un-monolithicized and the i18n issue is solved, this should be somehow
moved there instead.

Change-Id: Ia3942c76804c865c1039904d170ee6eafcdc6793

8 years agoMerge "Slightly simplify QueryPage::outputResults"
jenkins-bot [Tue, 5 Jan 2016 01:45:24 +0000 (01:45 +0000)]
Merge "Slightly simplify QueryPage::outputResults"

8 years agoMerge "Factor page name normalization out of MediaWikiSite"
jenkins-bot [Tue, 5 Jan 2016 01:39:28 +0000 (01:39 +0000)]
Merge "Factor page name normalization out of MediaWikiSite"

8 years agoFactor page name normalization out of MediaWikiSite
Marius Hoch [Sun, 20 Dec 2015 21:00:20 +0000 (22:00 +0100)]
Factor page name normalization out of MediaWikiSite

Into a new MediaWikiPageNameNormalizer.

The code has been copied over almost 1:1, I only
left the phpunit test special handling in MediaWiki site.

Change-Id: I008cadd29a2aa1f21098339b895c35a100959b04

8 years agoSplit WebRequest.php classes
Justin Du [Mon, 4 Jan 2016 13:55:15 +0000 (07:55 -0600)]
Split WebRequest.php classes

Change autoload.php file to accomodate the split

Bug: T122633
Change-Id: I0b2260da7cc086659fdd0894f7bb94798dff1163

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

Change-Id: I2e283dc039c67cb423600c07076c466cf4237a40

8 years agoSplit PHP classes from SpecialConfirmemail.php into separate files
ananay [Mon, 4 Jan 2016 18:00:50 +0000 (23:30 +0530)]
Split PHP classes from SpecialConfirmemail.php into separate files

Bug: T122636
Change-Id: Icfdb306e0df8e3571571413d4a340235cd70f1e3

8 years agoMerge "Remove deprecated Title::userIsWatching"
jenkins-bot [Mon, 4 Jan 2016 18:16:14 +0000 (18:16 +0000)]
Merge "Remove deprecated Title::userIsWatching"

8 years agoRemove deprecated Title::userIsWatching
Florian [Sun, 3 Jan 2016 14:43:19 +0000 (15:43 +0100)]
Remove deprecated Title::userIsWatching

Bug: T122754
Change-Id: Ibb895855aa1bf6b9cbbaf68643362ea485e0427c

8 years agoAdd missing double colons to Class:static
Thiemo Mättig [Mon, 4 Jan 2016 10:34:10 +0000 (11:34 +0100)]
Add missing double colons to Class:static

Change-Id: If31932cddafd9ae0a35cdbc7d337f719acce3ded