lhc/web/wiklou.git
9 years agoSync up with Parsoid parserTests.
Arlo Breault [Wed, 4 Feb 2015 23:46:08 +0000 (15:46 -0800)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 028a41e2c1a52476c0d5607ab5c3c6235efd9e3e

Change-Id: I476508ebce3dc9c783f466d190f26e2ed84c8d96

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 4 Feb 2015 20:45:31 +0000 (21:45 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie2283d3f5487405235f10474589b858b59066fb7

9 years agoMerge "Creation, deletion and improved management of change tags"
jenkins-bot [Wed, 4 Feb 2015 19:52:17 +0000 (19:52 +0000)]
Merge "Creation, deletion and improved management of change tags"

9 years agoCreation, deletion and improved management of change tags
This, that and the other [Wed, 4 Feb 2015 11:32:00 +0000 (22:32 +1100)]
Creation, deletion and improved management of change tags

This allows users with the `managechangetags` right to create tags for
use by wiki users. (Currently there is no way for editors to apply tags
to their edits; that's to come in a later patch.)

Extensions can reserve tag names for their own use, even if they do not
define them or mark them as active.

Tag managers can also delete tags with <= 5000 uses. Currently, if a tag is
misspelt ("vandlaism") or no longer wanted (testing of OAuth, etc), the
wiki is stuck with it forever. This change allows users with the
"managechangetags" right to delete change tags from the database,
including removing them from all revisions to which they are applied.

Obviously this is a powerful thing to be able to do, but I view change
tags as a "light" kind of interface, useful for revision patrolling and
spam/vandalism fighting but not something that necessarily needs to hang
around forever. It's not a big deal for this kind of data to be thrown
away without being archived anywhere.

Tags defined by an extension can only be deleted if the extension allows
it.

Changes to tags are logged in the new "tag management" log. There's even
a nice API module, just for fun.

Bug: T20670
Change-Id: I77f476c8d0f32c80f720aa2c5e66869c81faa282

9 years agoRemove LanguageGetMagic profile point
Chad Horohoe [Wed, 4 Feb 2015 18:46:02 +0000 (10:46 -0800)]
Remove LanguageGetMagic profile point

The hook call is already captured in profiling data and this
function is too.

Change-Id: I69ad54b9a66e24a419f492238f45c46922c112eb

9 years agoUpdate OOjs UI to v0.6.6
James D. Forrester [Wed, 4 Feb 2015 16:52:31 +0000 (08:52 -0800)]
Update OOjs UI to v0.6.6

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

Change-Id: I8e0ea18c23df5fe0530cc841799830c4f0082eff

9 years agoMerge "Improve documentation of ChannelFeed and AtomFeed class"
jenkins-bot [Wed, 4 Feb 2015 13:46:50 +0000 (13:46 +0000)]
Merge "Improve documentation of ChannelFeed and AtomFeed class"

9 years agoImprove documentation of ChannelFeed and AtomFeed class
ayush_garg [Tue, 3 Feb 2015 19:09:15 +0000 (00:39 +0530)]
Improve documentation of ChannelFeed and AtomFeed class

Change-Id: I1bebaf2d17ac71490aab3ab9cd1f08a4bb1fc3fb

9 years agoMerge "mediawiki.action.edit.preview: Remove <span dir="auto">"
jenkins-bot [Wed, 4 Feb 2015 07:47:57 +0000 (07:47 +0000)]
Merge "mediawiki.action.edit.preview: Remove <span dir="auto">"

9 years agoMerge "Don't double escape in Linker::formatLinksInComment"
jenkins-bot [Wed, 4 Feb 2015 07:16:20 +0000 (07:16 +0000)]
Merge "Don't double escape in Linker::formatLinksInComment"

9 years agoMade ArticleRevisionVisibilitySet include the revision IDs
Aaron Schulz [Wed, 4 Feb 2015 01:40:49 +0000 (17:40 -0800)]
Made ArticleRevisionVisibilitySet include the revision IDs

Change-Id: I6a14c7b95041fdd44d7962af6dc139bcc29f7223

9 years agoUnbreak interwiki user rights granting
Kunal Mehta [Wed, 4 Feb 2015 02:27:28 +0000 (18:27 -0800)]
Unbreak interwiki user rights granting

UserRightsProxy does not have an equals method, nor does
CentralAuthGroupMembershipProxy.

This reverts the problematic part of 80ca508ed117bbf547 which
caused fatal errors.

Bug: T88505
Change-Id: I6c1dfe14bc08193c33f86482c8f835500c0dc21c

9 years agoMerge "Remove explicit require of ExternalStoreDB.php"
jenkins-bot [Tue, 3 Feb 2015 22:15:45 +0000 (22:15 +0000)]
Merge "Remove explicit require of ExternalStoreDB.php"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 3 Feb 2015 21:26:48 +0000 (22:26 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I9b62abdd26a0f66e449f4f683be83db5c74fb1f5

9 years agoRemove explicit require of ExternalStoreDB.php
Reedy [Tue, 3 Feb 2015 07:49:49 +0000 (07:49 +0000)]
Remove explicit require of ExternalStoreDB.php

AutoLoader should take care of this.

Change-Id: Iabe335cd14e2739df9c184d6ab2e6ee98205b550

9 years agoMerge "Remove unused REPORTING_INTERVAL from resolveStubs.php"
jenkins-bot [Tue, 3 Feb 2015 19:59:34 +0000 (19:59 +0000)]
Merge "Remove unused REPORTING_INTERVAL from resolveStubs.php"

9 years agoNo such method Exception::getText()
Erik Bernhardson [Tue, 3 Feb 2015 18:18:56 +0000 (10:18 -0800)]
No such method Exception::getText()

It looks like a recent change converted this try/catch
statement from MWException to Exception, unfortunatly it
is still calling a method that only exists on MWException.

We arn't doing anything with the exception but exiting.  Lets
just allow the exception to be uncaught and fail naturally. The
uncaught exception will still output an error and return
a non-0 exit code.

Change-Id: I3e0e9d283c255d2aba8139d675943e93d7cb021a

9 years agoAPI: Don't dump Title object into API result
Brad Jorsch [Tue, 3 Feb 2015 15:01:08 +0000 (10:01 -0500)]
API: Don't dump Title object into API result

The intention here is to return the title as a text string, not to dump
all the internal fields of Title.

Bug: T88397
Change-Id: I43ad3c98bc1fc056a13f57e2e95a122108049334

9 years agomediawiki.action.edit.preview: Remove <span dir="auto">
Fomafix [Tue, 3 Feb 2015 14:15:25 +0000 (14:15 +0000)]
mediawiki.action.edit.preview: Remove <span dir="auto">

In Ibf408bc6c5d2f8c05667107a547b0b02e06de270 the <span dir="auto">
around the title was removed. Remove it here also.

Change-Id: Ie774b7746caadc28be11782058deb17dbd96388f

9 years agoRemove unused REPORTING_INTERVAL from resolveStubs.php
Reedy [Tue, 3 Feb 2015 08:06:03 +0000 (08:06 +0000)]
Remove unused REPORTING_INTERVAL from resolveStubs.php

It causes a notice when moveToExternal.php is run

Change-Id: I50429742f87ab13a5428cbc282c2ce7eda37f714

9 years agoMerge "registration: Fix handling of MessagesDirs array and add tests"
jenkins-bot [Tue, 3 Feb 2015 00:26:33 +0000 (00:26 +0000)]
Merge "registration: Fix handling of MessagesDirs array and add tests"

9 years agoMerge "Update OOjs UI to v0.6.5"
jenkins-bot [Tue, 3 Feb 2015 00:26:27 +0000 (00:26 +0000)]
Merge "Update OOjs UI to v0.6.5"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 2 Feb 2015 20:47:55 +0000 (21:47 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I03277966c3b2a86316dbdae595370b9540f982bb

9 years agoMerge "Gruntfile: Clean up Karma config"
jenkins-bot [Mon, 2 Feb 2015 19:04:24 +0000 (19:04 +0000)]
Merge "Gruntfile: Clean up Karma config"

9 years agoMerge "Output wikiid/api in meta=siteinfo only when non-empty"
jenkins-bot [Mon, 2 Feb 2015 17:23:18 +0000 (17:23 +0000)]
Merge "Output wikiid/api in meta=siteinfo only when non-empty"

9 years agoUpdate OOjs UI to v0.6.5
James D. Forrester [Mon, 2 Feb 2015 03:30:18 +0000 (19:30 -0800)]
Update OOjs UI to v0.6.5

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

Change-Id: I1278a9d0f3b63977f293a79c73283593c65bf910

9 years agoMerge "Remove dir=auto from firstHeading"
jenkins-bot [Sun, 1 Feb 2015 18:08:58 +0000 (18:08 +0000)]
Merge "Remove dir=auto from firstHeading"

9 years agocomposer.json: Correct license identifier
Kevin Israel [Sat, 31 Jan 2015 23:49:49 +0000 (18:49 -0500)]
composer.json: Correct license identifier

According to <https://spdx.org/licenses/>, "GPL-2.0" means "GNU General
Public License v2.0 only", not "GNU General Public License v2.0 or later",
which has the identifier "GPL-2.0+".

Also made the same change in the documentation for $wgExtensionCredits.

Change-Id: If25c15d03a71d7c50c9c85a04c2a589a3d978ad0

9 years agoMerge "codepointToUtf8(): Throw exception rather than calling die()"
jenkins-bot [Sat, 31 Jan 2015 22:33:44 +0000 (22:33 +0000)]
Merge "codepointToUtf8(): Throw exception rather than calling die()"

9 years agoMerge "Pass user to FileRepo::getUploadStash"
jenkins-bot [Sat, 31 Jan 2015 21:01:24 +0000 (21:01 +0000)]
Merge "Pass user to FileRepo::getUploadStash"

9 years agoPass user to FileRepo::getUploadStash
umherirrender [Fri, 30 Jan 2015 20:06:07 +0000 (21:06 +0100)]
Pass user to FileRepo::getUploadStash

This avoids use of $wgUser in UploadStash

Change-Id: I82ca69818317508109b4d5f4823a20de47f29b01

9 years agoMerge "Revert "CategoryView modified to use css columns""
jenkins-bot [Sat, 31 Jan 2015 13:11:12 +0000 (13:11 +0000)]
Merge "Revert "CategoryView modified to use css columns""

9 years agoRevert "CategoryView modified to use css columns"
Bartosz Dziewoński [Sat, 31 Jan 2015 13:04:56 +0000 (13:04 +0000)]
Revert "CategoryView modified to use css columns"

The new feature does not work very well, and the commit
breaks several unrelated things. Sorry, let's try again.

This reverts commit cb5a0f20a436b90a5cfabfba84554e712b32794a.

Bug: T85496
Change-Id: I018050ec0bf773e6e22e99819fe3cad91171bbd2

9 years agocodepointToUtf8(): Throw exception rather than calling die()
Kevin Israel [Sat, 31 Jan 2015 08:15:36 +0000 (03:15 -0500)]
codepointToUtf8(): Throw exception rather than calling die()

Change-Id: I0f2c05be95d34e069a3e9965f581d2adfc0a1b9d

9 years agoGruntfile: Clean up Karma config
Timo Tijhof [Fri, 30 Jan 2015 05:29:15 +0000 (21:29 -0800)]
Gruntfile: Clean up Karma config

Change-Id: I8197c2b0169983c32a44397faec95ad7eb47ab86

9 years agoUpdate OOjs UI to v0.6.4
James D. Forrester [Sat, 31 Jan 2015 01:18:26 +0000 (17:18 -0800)]
Update OOjs UI to v0.6.4

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

Change-Id: I75746e6f702e2108e5282f9a37827a1a533ab57a

9 years agoMerge "StringUtils: throw InvalidArgumentException and move into libs/"
jenkins-bot [Sat, 31 Jan 2015 00:43:58 +0000 (00:43 +0000)]
Merge "StringUtils: throw InvalidArgumentException and move into libs/"

9 years agoMerge "Kill hitcounter remains"
jenkins-bot [Fri, 30 Jan 2015 23:53:26 +0000 (23:53 +0000)]
Merge "Kill hitcounter remains"

9 years agoobjectcache: Use Psr\Log\LoggerInterface instead of wfDebug
Kunal Mehta [Wed, 19 Nov 2014 06:42:33 +0000 (22:42 -0800)]
objectcache: Use Psr\Log\LoggerInterface instead of wfDebug

ObjectCache::newFromParams() will handle a 'loggroup' parameter
specially, getting an instance of \Psr\Log\LoggerInterface to
pass to the BagsOStuff.

BagOStuff implementations can use $this->logger which will be
an implementation of \Psr\Log\LoggerInterface. As this is set in
BagOStuff::__construct(), all subclasses must now call the
parent constructor.

The goal of this is to make the logging in BagOStuff non-MediaWiki
specific, in the hopes of separating it out into a separate library
in the future.

Change-Id: I8a8e278e6f028814499d8457d6d5341d03eabc7a

9 years agoUpdate karma to latest version
Alex Monk [Fri, 30 Jan 2015 21:44:09 +0000 (13:44 -0800)]
Update karma to latest version

Per Timo, hopefully this should fix our issues with Chromium timing out
after 10 seconds?

Related patch: https://github.com/karma-runner/karma/commit/840ee5f7

Change-Id: Idbac350e2c612290f860ae740ef6ba242c9e0896

9 years agoMerge "PostgreSQL: Drop unneeded foreign key constraint"
jenkins-bot [Fri, 30 Jan 2015 21:33:18 +0000 (21:33 +0000)]
Merge "PostgreSQL: Drop unneeded foreign key constraint"

9 years agoPostgreSQL: Drop unneeded foreign key constraint
Jeff Janes [Mon, 8 Dec 2014 20:27:11 +0000 (12:27 -0800)]
PostgreSQL: Drop unneeded foreign key constraint

Change I1c7f3a84f10df05d6b37dccbad4c8232edf51580 causes
an existing foreign key assumption (under PostgreSQL) to be
violated upon deleting a page.  This foreign key assumption does not
explicitly exist in MySQL, and is not implied via documentation.  So
it was probably never needed in the first place.

Don't create the foreign key constraint in PostgreSQL, and drop it
if it already exists when running update.php.

The constraint was previously created with an implicit name, so
drop the constraint involving the specified column name (rc_cur_id),
rather than hard-coding the name of the constraint itself.

This bug probably exists under Oracle and MSSQL as well, but no attempt
was made to address it there.

Bug: T76254
Change-Id: I2abd650c8ce83c5b725aec0545fff14a927a305a

9 years agoMerge "Tweaked BagOStuff::lock() retry times slightly to be faster"
jenkins-bot [Fri, 30 Jan 2015 21:02:14 +0000 (21:02 +0000)]
Merge "Tweaked BagOStuff::lock() retry times slightly to be faster"

9 years agoregistration: Fix handling of MessagesDirs array and add tests
Kunal Mehta [Fri, 30 Jan 2015 20:56:02 +0000 (12:56 -0800)]
registration: Fix handling of MessagesDirs array and add tests

Previously the code was designed to handle:
  "MessagesDirs": {
    "FooBar": "i18n"
  }

However, it can also be an array, and some extensions (VisualEditor)
use it like:

  "MessagesDirs": {
    "FooBar": [
      "i18n",
      "also-i18n"
    ]
  }

This properly handles both strings and arrays and adds tests to verify
the behavior.

Change-Id: Iff1523b86f754cac1f5b8d822d4324c5fbfc1a50

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 30 Jan 2015 20:20:05 +0000 (21:20 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I88b24823903debcef363e6c0f79bbf86e0b7a978

9 years agoMerge "break up long line that phpcs whinges about in DefaultSettings"
jenkins-bot [Fri, 30 Jan 2015 19:57:50 +0000 (19:57 +0000)]
Merge "break up long line that phpcs whinges about in DefaultSettings"

9 years agoMerge "Fix typo in Release note"
jenkins-bot [Fri, 30 Jan 2015 19:56:01 +0000 (19:56 +0000)]
Merge "Fix typo in Release note"

9 years agobreak up long line that phpcs whinges about in DefaultSettings
Brion Vibber [Fri, 30 Jan 2015 19:49:19 +0000 (11:49 -0800)]
break up long line that phpcs whinges about in DefaultSettings

Change-Id: Ic2cc583c112e8235725dffa78e98f18ba6998b72

9 years agoOutput wikiid/api in meta=siteinfo only when non-empty
umherirrender [Fri, 30 Jan 2015 19:12:33 +0000 (20:12 +0100)]
Output wikiid/api in meta=siteinfo only when non-empty

When using interwiki data from the database the value for iw_wikiid and
iw_api maybe empty strings, because the database does not allow NULL
here.
Suppress the output of the attribute in that case, because there are not
useful.
This should not break clients, because using .cdb (like WMF wikis)
already missing these attributes in the result.

Change-Id: I60b97b4b58fdeaf699951544d418e5dc06e3830a

9 years agoFill the iw_api column of the interwiki table when installing
Alex Monk [Wed, 17 Sep 2014 19:42:35 +0000 (20:42 +0100)]
Fill the iw_api column of the interwiki table when installing

Was added in r69542 for interwiki-transclusion, but not populated.

Also make link for 'mw' consistent with 'mediawikiwiki' by using HTTPS.

Bug: 46992
Change-Id: Ieb6c4121ae4cd4e1aefbc372bbe82bdb0ce53b5d

9 years agoMerge "CategoryView modified to use css columns"
jenkins-bot [Fri, 30 Jan 2015 18:09:51 +0000 (18:09 +0000)]
Merge "CategoryView modified to use css columns"

9 years agoEscape unescaped messages shown in action=info
Niklas Laxström [Sat, 6 Dec 2014 10:31:32 +0000 (11:31 +0100)]
Escape unescaped messages shown in action=info

Change-Id: Id16d8c8dff73fdacad6c9a4ff7f2919945b7e893

9 years agoAdd missing </ul> in Article::getRedirectHeaderHtml
Fomafix [Fri, 30 Jan 2015 14:59:56 +0000 (14:59 +0000)]
Add missing </ul> in Article::getRedirectHeaderHtml

Change-Id: I673213fc424c859ce81b1cf1a85e6ed9e508d0b6

9 years agoFix typo in Release note
umherirrender [Fri, 30 Jan 2015 14:12:49 +0000 (15:12 +0100)]
Fix typo in Release note

Follow-Up: I433e29866fe184ba80c5dda35722e228e79f9307
Change-Id: Ic35ee4a3acefd23ee006a50210a4cb2eedbdacba

9 years agoCategoryView modified to use css columns
Sumit Asthana [Wed, 28 Jan 2015 19:35:20 +0000 (01:05 +0530)]
CategoryView modified to use css columns

The categories on Category page were listed using table layout. This layout has
been changed to the responsive css column structure, which is 3 column wide
beyond 768px otherwise shrinks to a single column.

Bug: T85496
Change-Id: I2d3583efd470500c374965a433538845fcfade26

9 years agoMerge "Escape message 'version-poweredby-others' on Special:Version"
jenkins-bot [Fri, 30 Jan 2015 03:20:23 +0000 (03:20 +0000)]
Merge "Escape message 'version-poweredby-others' on Special:Version"

9 years agoMerge "convertExtensionToRegistration: Add --skin option"
jenkins-bot [Thu, 29 Jan 2015 22:07:47 +0000 (22:07 +0000)]
Merge "convertExtensionToRegistration: Add --skin option"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 29 Jan 2015 21:35:41 +0000 (22:35 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I4af632da08565b289d5fca22efd6bb6df0d115b8

9 years agoMerge "normal: Add @covers tag to UtfNormal test"
jenkins-bot [Thu, 29 Jan 2015 20:55:13 +0000 (20:55 +0000)]
Merge "normal: Add @covers tag to UtfNormal test"

9 years agoMerge "DeferredStringifier: Clean up comments and indentation in tests"
jenkins-bot [Thu, 29 Jan 2015 20:54:53 +0000 (20:54 +0000)]
Merge "DeferredStringifier: Clean up comments and indentation in tests"

9 years agoMerge "ProcessCacheLRU: Clean up doc comments and add @covers tags to tests"
jenkins-bot [Thu, 29 Jan 2015 20:54:06 +0000 (20:54 +0000)]
Merge "ProcessCacheLRU: Clean up doc comments and add @covers tags to tests"

9 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Thu, 29 Jan 2015 20:47:31 +0000 (20:47 +0000)]
Merge "Sync up with Parsoid parserTests."

9 years agoEscape message 'version-poweredby-others' on Special:Version
umherirrender [Thu, 29 Jan 2015 20:32:58 +0000 (21:32 +0100)]
Escape message 'version-poweredby-others' on Special:Version

Bug: T85864
Change-Id: I1e90962c3c94c8b72aadfc4c0d041d52e2cde3f1

9 years agonormal: Add @covers tag to UtfNormal test
Timo Tijhof [Thu, 29 Jan 2015 20:38:34 +0000 (12:38 -0800)]
normal: Add @covers tag to UtfNormal test

Change-Id: Ib0d64bda44cbb1f72ea69025785442967bb26d74

9 years agoconvertExtensionToRegistration: Add --skin option
Kunal Mehta [Thu, 29 Jan 2015 20:24:49 +0000 (12:24 -0800)]
convertExtensionToRegistration: Add --skin option

To write to skin.json instead of extension.json

Change-Id: I0e7dfbd871b7f80958fe7033d4595a205bb34293

9 years agoMerge "Avoid double escaped expiry time on action=protect"
jenkins-bot [Thu, 29 Jan 2015 20:14:37 +0000 (20:14 +0000)]
Merge "Avoid double escaped expiry time on action=protect"

9 years agoDeferredStringifier: Clean up comments and indentation in tests
Timo Tijhof [Thu, 29 Jan 2015 20:10:08 +0000 (12:10 -0800)]
DeferredStringifier: Clean up comments and indentation in tests

Change-Id: Ifdf2fe711a0be495465255c6fabb55fe34b79b27

9 years agoProcessCacheLRU: Clean up doc comments and add @covers tags to tests
Timo Tijhof [Thu, 29 Jan 2015 20:06:25 +0000 (12:06 -0800)]
ProcessCacheLRU: Clean up doc comments and add @covers tags to tests

Change-Id: Ie7e8f4b31d89fc0bee748c03d94cb54b23ab4f83

9 years agoMerge "Escape all return values from ProtectedPagesPager::formatValue"
Nikerabbit [Thu, 29 Jan 2015 20:05:56 +0000 (20:05 +0000)]
Merge "Escape all return values from ProtectedPagesPager::formatValue"

9 years agoCSSMin: Optimise isLocalUrl by moving fast comparison forward
Timo Tijhof [Mon, 26 Jan 2015 23:07:49 +0000 (15:07 -0800)]
CSSMin: Optimise isLocalUrl by moving fast comparison forward

Change-Id: I668e248bd51fb75dfeeef3b74973f517a188c7ba

9 years agoCSSMin: Add tests for isRemoteUrl and isLocalUrl
Timo Tijhof [Mon, 26 Jan 2015 23:07:15 +0000 (15:07 -0800)]
CSSMin: Add tests for isRemoteUrl and isLocalUrl

Change-Id: I5a84eb62eaac96d0dd7f7e27bf76f64e7d7657cf

9 years agoMerge "Localisation updates from https://translatewiki.net."
jenkins-bot [Thu, 29 Jan 2015 19:46:27 +0000 (19:46 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Thu, 29 Jan 2015 19:39:32 +0000 (20:39 +0100)]
Localisation updates from https://translatewiki.net.

Updates for magic words.

Change-Id: Ic564d36de395c9a30be5f1390591da723f47edce

9 years agoMerge "Fully escape return value from FileDuplicateSearchPage::formatResult"
jenkins-bot [Thu, 29 Jan 2015 19:34:55 +0000 (19:34 +0000)]
Merge "Fully escape return value from FileDuplicateSearchPage::formatResult"

9 years agoLocalisation updates from https://translatewiki.net.
Siebrand Mazeland [Thu, 29 Jan 2015 19:11:58 +0000 (20:11 +0100)]
Localisation updates from https://translatewiki.net.

Updates for special page aliases.

Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2

9 years agoStringUtils: throw InvalidArgumentException and move into libs/
Kunal Mehta [Thu, 29 Jan 2015 18:30:57 +0000 (10:30 -0800)]
StringUtils: throw InvalidArgumentException and move into libs/

Bug: T87863
Change-Id: Iac5bd958c27cad834e35930d0b99adb75c60411b

9 years agoMerge "Use context when parsing messages in Article::setOldSubtitle"
jenkins-bot [Thu, 29 Jan 2015 17:59:25 +0000 (17:59 +0000)]
Merge "Use context when parsing messages in Article::setOldSubtitle"

9 years agoMerge "Set context when parsing message 'redirectpagesub' in Article"
jenkins-bot [Thu, 29 Jan 2015 17:59:08 +0000 (17:59 +0000)]
Merge "Set context when parsing message 'redirectpagesub' in Article"

9 years agoMerge "Set context when parsing message in SpecialLog::addHeader"
jenkins-bot [Thu, 29 Jan 2015 17:54:45 +0000 (17:54 +0000)]
Merge "Set context when parsing message in SpecialLog::addHeader"

9 years agoMerge "Pass user to Title::quickUserCan in DifferenceEngine"
jenkins-bot [Thu, 29 Jan 2015 17:53:19 +0000 (17:53 +0000)]
Merge "Pass user to Title::quickUserCan in DifferenceEngine"

9 years agoSet context when parsing message 'redirectpagesub' in Article
umherirrender [Thu, 29 Jan 2015 16:45:22 +0000 (17:45 +0100)]
Set context when parsing message 'redirectpagesub' in Article

Change-Id: I53fc0855fc8dd57cdfcae68751c9800969208310

9 years agoUse context when parsing messages in Article::setOldSubtitle
umherirrender [Thu, 29 Jan 2015 16:01:58 +0000 (17:01 +0100)]
Use context when parsing messages in Article::setOldSubtitle

Change-Id: Iec4985021b862d6e99f5531545b7db287325263b

9 years agoSet context when parsing message in SpecialLog::addHeader
umherirrender [Thu, 29 Jan 2015 15:51:49 +0000 (16:51 +0100)]
Set context when parsing message in SpecialLog::addHeader

Also direct passing a message object to OutputPage::setPageTitle

Change-Id: If88ca673bffa033f9cd9cc7a680b73aa701578f3

9 years agoPass user to Title::quickUserCan in DifferenceEngine
umherirrender [Thu, 29 Jan 2015 15:46:28 +0000 (16:46 +0100)]
Pass user to Title::quickUserCan in DifferenceEngine

Change-Id: I2e984a51b7ad357a08ed1827b76f7f9803785cfc

9 years agoReplacementArray: Set explicit visiblity on functions
Kunal Mehta [Thu, 29 Jan 2015 05:28:56 +0000 (21:28 -0800)]
ReplacementArray: Set explicit visiblity on functions

Also add a type-hint

Change-Id: I78a322dfa11a71e22a3d0b7064b808aec6bfbf83

9 years agoMove ReplacementArray into includes/libs/
Kunal Mehta [Thu, 29 Jan 2015 05:21:46 +0000 (21:21 -0800)]
Move ReplacementArray into includes/libs/

Change-Id: I95b748c77522027753fb5bd0237f25e254938c16

9 years agoExplodeIterator: Set explicit visiblity on functions
Kunal Mehta [Thu, 29 Jan 2015 05:05:04 +0000 (21:05 -0800)]
ExplodeIterator: Set explicit visiblity on functions

Change-Id: I407280a432098d13ad75ff2d3468aa6a7d653da7

9 years agoMove ExplodeIterator into includes/libs/
Kunal Mehta [Thu, 29 Jan 2015 04:59:50 +0000 (20:59 -0800)]
Move ExplodeIterator into includes/libs/

Change-Id: Ibb3b36dbce223454b9cd485743d7e7845f729bfb

9 years agoreplacers: Make Replacer abstract, and add abstract Replacer::replace()
Kunal Mehta [Thu, 29 Jan 2015 04:49:57 +0000 (20:49 -0800)]
replacers: Make Replacer abstract, and add abstract Replacer::replace()

Change-Id: Ib00dc8585e8ba599491e51e0b99a8667c3b4cd63

9 years agoreplacers: Set explicit visiblity on functions
Kunal Mehta [Thu, 29 Jan 2015 04:46:13 +0000 (20:46 -0800)]
replacers: Set explicit visiblity on functions

Change-Id: I4f35ea9b4bd2503bc612dc25dc8d34fc5ca040a0

9 years agoMove "Replacers" into includes/libs/replacers/
Kunal Mehta [Thu, 29 Jan 2015 04:42:25 +0000 (20:42 -0800)]
Move "Replacers" into includes/libs/replacers/

Split into separate files while we're at it

Change-Id: I0bba4dcea686de088bd96964833fe6fb649a41e9

9 years agoTurn Utf8Test into a PHPUnit test case
Kunal Mehta [Wed, 7 Jan 2015 19:12:09 +0000 (11:12 -0800)]
Turn Utf8Test into a PHPUnit test case

Change-Id: I7e709f475a37a592fb3052f367894ebce32310f3

9 years agoMove includes/normal to includes/libs/normal
Kunal Mehta [Wed, 7 Jan 2015 18:41:51 +0000 (10:41 -0800)]
Move includes/normal to includes/libs/normal

Change-Id: Ib530ad9dbe1d3a33dc53ef8b9620f61d4e1a2d62

9 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Wed, 28 Jan 2015 23:49:10 +0000 (15:49 -0800)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 88605a4a7a37a61da76238db6d3fff756e8514f1

Change-Id: Ia6d103bec95019eaece64166172a166f8eabdd09

9 years agoMerge "Output COPYING files as plain text in Special:Version/License/*"
jenkins-bot [Wed, 28 Jan 2015 23:37:59 +0000 (23:37 +0000)]
Merge "Output COPYING files as plain text in Special:Version/License/*"

9 years agoMerge "Add OutputPage::enableOOUI() to set up OOUI stuff when needed"
jenkins-bot [Wed, 28 Jan 2015 23:33:50 +0000 (23:33 +0000)]
Merge "Add OutputPage::enableOOUI() to set up OOUI stuff when needed"

9 years agoMerge "Update and enrich API documentation"
jenkins-bot [Wed, 28 Jan 2015 23:31:37 +0000 (23:31 +0000)]
Merge "Update and enrich API documentation"

9 years agoEscape all return values from ProtectedPagesPager::formatValue
umherirrender [Tue, 27 Jan 2015 20:25:53 +0000 (21:25 +0100)]
Escape all return values from ProtectedPagesPager::formatValue

Bug: T85864
Change-Id: Ifb58bd3823aa633135a701ae3e2ae9c955b422c0

9 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Wed, 28 Jan 2015 21:17:46 +0000 (21:17 +0000)]
Merge "Localisation updates from https://translatewiki.net."

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 28 Jan 2015 21:12:34 +0000 (22:12 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I421056addc820a66a5912b9d4c23255302768cba