lhc/web/wiklou.git
5 years agoParser: Emit deprecation warnings for ParserLimitReport hook
Kunal Mehta [Sat, 24 Jun 2017 00:37:31 +0000 (17:37 -0700)]
Parser: Emit deprecation warnings for ParserLimitReport hook

Change-Id: I351f0867132acf8d5cc9ee51b575744445b28b77

5 years agoMerge "API: Fix capitalization of SpecialRecentChanges* classes"
jenkins-bot [Fri, 23 Jun 2017 21:35:47 +0000 (21:35 +0000)]
Merge "API: Fix capitalization of SpecialRecentChanges* classes"

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 23 Jun 2017 19:55:33 +0000 (21:55 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id56fbcea3887cfa2a0ba2a3bdc83a180c20bdc92

5 years agoAPI: Fix capitalization of SpecialRecentChanges* classes
Kunal Mehta [Fri, 23 Jun 2017 19:23:55 +0000 (12:23 -0700)]
API: Fix capitalization of SpecialRecentChanges* classes

And use the magic ::class instead of plain strings.

Noticed by logging added for T166759.

Change-Id: I7694c272c255b5b1f7455e55e70ecc240a4ba61c

5 years agoSpecialContributions: Fix capitalization of DateInputWidget class
Kunal Mehta [Fri, 23 Jun 2017 19:13:02 +0000 (12:13 -0700)]
SpecialContributions: Fix capitalization of DateInputWidget class

The namespace was improperly capitalized, move it to a "use" statement
while we're at it so it's only included once.

Noticed by the logging added for T166759.

Change-Id: I3fe6533a0f06dcbc37017361679dad9e77808830

5 years agoMerge "RCFilters: Unify reading filters by views and adjust unit tests"
jenkins-bot [Fri, 23 Jun 2017 18:39:02 +0000 (18:39 +0000)]
Merge "RCFilters: Unify reading filters by views and adjust unit tests"

5 years agoMerge "RCFilters: Change the input icon on interaction"
jenkins-bot [Fri, 23 Jun 2017 18:35:45 +0000 (18:35 +0000)]
Merge "RCFilters: Change the input icon on interaction"

5 years agoRCFilters: Unify reading filters by views and adjust unit tests
Moriel Schottlender [Fri, 23 Jun 2017 01:35:58 +0000 (18:35 -0700)]
RCFilters: Unify reading filters by views and adjust unit tests

- Have the initialization method read filters by views and treat
  all filters, regardless of their views, the exact same, including
  evaluating their subsets and conflicts.
- Clean up unit test file and make pass with the new initialization.

Change-Id: I200720ffde8ad8ff7a63d0cd82615d358e74949a

5 years agoMerge "Set $wgGalleryOptions in Setup.php"
jenkins-bot [Fri, 23 Jun 2017 15:05:29 +0000 (15:05 +0000)]
Merge "Set $wgGalleryOptions in Setup.php"

5 years agoMerge "Use $.noop instead of function () {}"
jenkins-bot [Fri, 23 Jun 2017 11:42:26 +0000 (11:42 +0000)]
Merge "Use $.noop instead of function () {}"

5 years agoSet $wgGalleryOptions in Setup.php
Matthias Mullie [Fri, 23 Jun 2017 11:31:49 +0000 (13:31 +0200)]
Set $wgGalleryOptions in Setup.php

Defaults will be added to the config array at a later point,
without overriding any that have already been set.
This'll make it less prone to errors in case $wgGalleryOptions
is incomplete.

Bug: T168479
Change-Id: I5f127e5ac8c8a1583301dd7aed2ae8e434987950

5 years agoMerge "resourceloader: Backport jquery-migrate.js patch for exceptionHook"
jenkins-bot [Fri, 23 Jun 2017 11:32:13 +0000 (11:32 +0000)]
Merge "resourceloader: Backport jquery-migrate.js patch for exceptionHook"

5 years agoUse $.noop instead of function () {}
Fomafix [Fri, 23 Jun 2017 06:45:29 +0000 (08:45 +0200)]
Use $.noop instead of function () {}

$.noop (https://api.jquery.com/jQuery.noop/) already provides an empty
function.

Change-Id: I7f1ca20a894d0469cb7bcb72c81722070e040956

5 years agoMerge "RCFilters: Reposition TagItemWidget to be center on the widget"
jenkins-bot [Fri, 23 Jun 2017 00:24:13 +0000 (00:24 +0000)]
Merge "RCFilters: Reposition TagItemWidget to be center on the widget"

5 years agoMerge "RCFilters: Have the model accept multiple views"
jenkins-bot [Fri, 23 Jun 2017 00:18:15 +0000 (00:18 +0000)]
Merge "RCFilters: Have the model accept multiple views"

5 years agoMerge "RCFilters: Correct unbalanced margins in active filters display"
jenkins-bot [Fri, 23 Jun 2017 00:12:02 +0000 (00:12 +0000)]
Merge "RCFilters: Correct unbalanced margins in active filters display"

5 years agoMerge "RCFilters: Remove view triggers before checking emptiness of string"
jenkins-bot [Fri, 23 Jun 2017 00:11:19 +0000 (00:11 +0000)]
Merge "RCFilters: Remove view triggers before checking emptiness of string"

5 years agoMerge "RCFilters: Change to the new views redesign"
jenkins-bot [Fri, 23 Jun 2017 00:06:45 +0000 (00:06 +0000)]
Merge "RCFilters: Change to the new views redesign"

5 years agoRCFilters: Change to the new views redesign
Moriel Schottlender [Thu, 15 Jun 2017 00:15:52 +0000 (17:15 -0700)]
RCFilters: Change to the new views redesign

- Allow for multiple footers for the menu, each configured
  for its own view (or multiple views)
- Move the switch view buttons to the right of the input
- Add a 'back' button on the menu header when we're in
  advanced filters view, moving back to default view

Bug: T167384
Change-Id: I9fd0243f88f92ddacb4c912ff974f7d325f32f5d

5 years agoresourceloader: Backport jquery-migrate.js patch for exceptionHook
Timo Tijhof [Thu, 22 Jun 2017 22:49:56 +0000 (23:49 +0100)]
resourceloader: Backport jquery-migrate.js patch for exceptionHook

jQuery Migrate has to monkey-patch jQuery.Deferred, but in doing so
it also effectively disables exceptionHook, which means exceptions
are no longer logged to the console.

<https://github.com/jquery/jquery-migrate/pull/262>

Bug: T168086
Change-Id: Id46abcc7fb5e65954532b114636bf0f1f000a551

5 years agoMerge "RCFilters: Actually recognize a saved query default and delete when removed"
jenkins-bot [Thu, 22 Jun 2017 22:48:14 +0000 (22:48 +0000)]
Merge "RCFilters: Actually recognize a saved query default and delete when removed"

5 years agoMerge "Fix the tableExists method of MysqlBase"
jenkins-bot [Thu, 22 Jun 2017 21:24:17 +0000 (21:24 +0000)]
Merge "Fix the tableExists method of MysqlBase"

5 years agoFix the tableExists method of MysqlBase
mainframe98 [Mon, 19 Jun 2017 17:20:43 +0000 (19:20 +0200)]
Fix the tableExists method of MysqlBase

The table name generated by Database::tableName() does not work in
MysqlBase's tableExist method, as the syntax of SHOW TABLES does not
function like other foreign db queries. It instead should use FROM
$database rather than the database name in front of the table name.

Bug: T168207
Change-Id: I7806090eaa647959fd34de8bc606eeb952161529

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 22 Jun 2017 20:02:22 +0000 (22:02 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie2c6873b323f3668546ee1467865fdb342900a77

5 years agoRCFilters: Have the model accept multiple views
Moriel Schottlender [Wed, 21 Jun 2017 00:37:17 +0000 (17:37 -0700)]
RCFilters: Have the model accept multiple views

Organize the way we create and process multiple views, to stop
hard-coding namespaces and tags.

Change-Id: Ib28c166052781b23a3b35c1b7b0af7d26f102e3f

5 years agoRCFilters: Actually recognize a saved query default and delete when removed
Moriel Schottlender [Thu, 22 Jun 2017 01:21:56 +0000 (18:21 -0700)]
RCFilters: Actually recognize a saved query default and delete when removed

Compare ID to saved default even if those were saved in different
formats (number vs string) when setting default on initialization
and when deleting the default when deleting the item.

Change-Id: Ia211a7166b3ff514c0e2a34bb370cf2d50057745

5 years agoMerge "Linker: Remove whiny FIXME comments"
jenkins-bot [Thu, 22 Jun 2017 18:09:46 +0000 (18:09 +0000)]
Merge "Linker: Remove whiny FIXME comments"

5 years agoLinker: Remove whiny FIXME comments
Bartosz Dziewoński [Thu, 22 Jun 2017 17:49:20 +0000 (19:49 +0200)]
Linker: Remove whiny FIXME comments

These are not actionable. Such is life, deal with it.

Change-Id: I81df045f54052b98cf798d3d42a3d730407d68ae

5 years agoMerge "API: Display message-per-value style help for submodule parameters"
jenkins-bot [Thu, 22 Jun 2017 17:10:36 +0000 (17:10 +0000)]
Merge "API: Display message-per-value style help for submodule parameters"

5 years agoMerge "Add 3D filetype for STL files"
jenkins-bot [Thu, 22 Jun 2017 16:49:40 +0000 (16:49 +0000)]
Merge "Add 3D filetype for STL files"

5 years agoMerge "Remove execute bits from non-executable files"
jenkins-bot [Thu, 22 Jun 2017 16:08:27 +0000 (16:08 +0000)]
Merge "Remove execute bits from non-executable files"

5 years agoRemove execute bits from non-executable files
Brad Jorsch [Thu, 22 Jun 2017 15:27:23 +0000 (11:27 -0400)]
Remove execute bits from non-executable files

Change-Id: I4d6a202c63bef3e52b67b55fb6daef04dc2fdd62

5 years agoCollationFa: Avoid PHP 7 Unicode escape syntax
Bartosz Dziewoński [Thu, 22 Jun 2017 14:22:49 +0000 (16:22 +0200)]
CollationFa: Avoid PHP 7 Unicode escape syntax

We still support PHP 5.5.

Change-Id: I587cb794cded95afe7ad493614a6090a108efe6c

5 years agoMerge "Ability to create tests with nested modules"
jenkins-bot [Thu, 22 Jun 2017 14:11:21 +0000 (14:11 +0000)]
Merge "Ability to create tests with nested modules"

5 years agoMerge "RC Filters: Fix tags for integrated filters"
jenkins-bot [Thu, 22 Jun 2017 00:48:38 +0000 (00:48 +0000)]
Merge "RC Filters: Fix tags for integrated filters"

5 years agoRCFilters: Remove view triggers before checking emptiness of string
Moriel Schottlender [Wed, 21 Jun 2017 20:31:35 +0000 (13:31 -0700)]
RCFilters: Remove view triggers before checking emptiness of string

Bug: T168220
Change-Id: I3ae6fba358456745cb570840211319f7eac754ce

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 21 Jun 2017 20:07:34 +0000 (22:07 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If8ff147d26d1ccf1d4c540ee7bc25cabead1da5a

5 years agoMerge "resourceloader: Add unit tests for ResourceLoader::isFileModule"
jenkins-bot [Wed, 21 Jun 2017 20:01:47 +0000 (20:01 +0000)]
Merge "resourceloader: Add unit tests for ResourceLoader::isFileModule"

5 years agoMerge "Allow $wgResourceModuleSkinStyles for any ResourceLoaderFileModule subclass"
jenkins-bot [Wed, 21 Jun 2017 19:53:24 +0000 (19:53 +0000)]
Merge "Allow $wgResourceModuleSkinStyles for any ResourceLoaderFileModule subclass"

5 years agoresourceloader: Add unit tests for ResourceLoader::isFileModule
Timo Tijhof [Wed, 21 Jun 2017 19:37:44 +0000 (20:37 +0100)]
resourceloader: Add unit tests for ResourceLoader::isFileModule

Change-Id: Ic21ae9e9cc418868ad7b93fe65bd09495f38d1b2

5 years agoMerge "Make MalformedTitleException errorMessage non-null"
jenkins-bot [Wed, 21 Jun 2017 19:42:51 +0000 (19:42 +0000)]
Merge "Make MalformedTitleException errorMessage non-null"

5 years agoMerge "Fix enhanced RC data attribute sanitizing"
jenkins-bot [Wed, 21 Jun 2017 19:38:48 +0000 (19:38 +0000)]
Merge "Fix enhanced RC data attribute sanitizing"

5 years agoAllow $wgResourceModuleSkinStyles for any ResourceLoaderFileModule subclass
Bartosz Dziewoński [Mon, 5 Jun 2017 23:04:19 +0000 (01:04 +0200)]
Allow $wgResourceModuleSkinStyles for any ResourceLoaderFileModule subclass

All ResourceLoaderFileModule subclasses are now required to support
the 'skinStyles' property in their module definition, and ideally
make use of it (but at least they must not fail violently).

Follow-up to 51eede02837a3a9d378cb35fa7c27a9f4e8e5f4e.

Bug: T167478
Bug: T168088
Change-Id: I35a12a451bf2695818702df1bbd1708173a3f9ce

5 years agoMerge "Factor out new qualifiedTableComponents() Database method"
jenkins-bot [Wed, 21 Jun 2017 18:36:42 +0000 (18:36 +0000)]
Merge "Factor out new qualifiedTableComponents() Database method"

5 years agoMerge "Load mediawiki.action.edit.styles on mobile"
jenkins-bot [Wed, 21 Jun 2017 17:07:02 +0000 (17:07 +0000)]
Merge "Load mediawiki.action.edit.styles on mobile"

5 years agoMake MalformedTitleException errorMessage non-null
Lucas Werkmeister [Tue, 20 Jun 2017 18:26:04 +0000 (20:26 +0200)]
Make MalformedTitleException errorMessage non-null

A null $errorMessage constructor argument has not been supported since
I43d988602b, since wfMessage (via the Message constructor) throws an
exception if the message key is null. It follows that getErrorMessage()
can never return null.

Bug: T99818
Change-Id: I2cbf4909e7237b0a91d100cc5478fb4cfee1d748

5 years agoRC Filters: Fix tags for integrated filters
Matthew Flaschen [Wed, 21 Jun 2017 07:15:48 +0000 (03:15 -0400)]
RC Filters: Fix tags for integrated filters

Change-Id: Ibf06ffe9338b12951caa7259304594d4fcc928d5

5 years agoFactor out new qualifiedTableComponents() Database method
Aaron Schulz [Tue, 20 Jun 2017 23:29:56 +0000 (16:29 -0700)]
Factor out new qualifiedTableComponents() Database method

Change-Id: Ib453a5a8e0cf8bb1b77e65eb6f9569819d4eb5b2

5 years agoLoad mediawiki.action.edit.styles on mobile
jdlrobson [Tue, 20 Jun 2017 21:28:35 +0000 (14:28 -0700)]
Load mediawiki.action.edit.styles on mobile

Hopefully uncontroversial.
Mobile non-js editing is currently feature flagged
by $wgMFAllowNonJavaScriptEditing so this shouldn't have
any impact on production but will ensure the editor gets
styled consistently with future changes here.

Change-Id: If8994370e9ec7fc424ce7cb22df922d029cfc035

5 years agoMerge "Replace Linker::link() with LinkRenderer in special pages"
jenkins-bot [Tue, 20 Jun 2017 21:07:22 +0000 (21:07 +0000)]
Merge "Replace Linker::link() with LinkRenderer in special pages"

5 years agoMerge "Replace a Linker::link() call in InfoAction.php"
jenkins-bot [Tue, 20 Jun 2017 21:05:15 +0000 (21:05 +0000)]
Merge "Replace a Linker::link() call in InfoAction.php"

5 years agoMerge "ApiSandbox: Indicate when login is suppressed"
jenkins-bot [Tue, 20 Jun 2017 21:02:30 +0000 (21:02 +0000)]
Merge "ApiSandbox: Indicate when login is suppressed"

5 years agoMerge "API: Add the ability to flag parameter values as deprecated"
jenkins-bot [Tue, 20 Jun 2017 20:59:17 +0000 (20:59 +0000)]
Merge "API: Add the ability to flag parameter values as deprecated"

5 years agoReplace Linker::link() with LinkRenderer in special pages
Matěj Suchánek [Thu, 23 Mar 2017 18:09:41 +0000 (18:09 +0000)]
Replace Linker::link() with LinkRenderer in special pages

Bug: T149346
Change-Id: I2735750803dc1b2e36be3989caaabbf3232b2923

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 20 Jun 2017 20:06:45 +0000 (22:06 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I1d2050c1a5d2cadf8f8e152037f7b80530612dcd

5 years agoAPI: Display message-per-value style help for submodule parameters
Brad Jorsch [Thu, 25 May 2017 21:31:59 +0000 (17:31 -0400)]
API: Display message-per-value style help for submodule parameters

The module's summary will be used as the description of the value.

Since these are often very long lists, this also changes ApiSandbox to
collapse <dl> lists in parameter descriptions by default.

Bug: T123930
Change-Id: I205b68a52a94cae4c1cdf7ec9fd3e8a04d565919

5 years agoApiSandbox: Indicate when login is suppressed
Brad Jorsch [Sat, 20 May 2017 09:40:17 +0000 (11:40 +0200)]
ApiSandbox: Indicate when login is suppressed

ApiMain will add a header to indicate that lacksSameOriginSecurity()
forced the request to be processed as if logged out, and ApiSandbox will
detect this header to display a helpful message on the results page.

Bug: T165797
Change-Id: I56390b31563c75d83cf0a8ffb1b8e4f3283895f0

5 years agoAPI: Add the ability to flag parameter values as deprecated
Brad Jorsch [Thu, 25 May 2017 20:07:25 +0000 (16:07 -0400)]
API: Add the ability to flag parameter values as deprecated

This has a number of implications:
* A deprecation warning is automatically generated if the value is used.
* action=paraminfo can list it in a machine-readable manner.
* It is automatically flagged in the help when message-per-value mode is
  used.
* In values lists in the help, it's specially marked (currently
  strike-through).
* ApiSandbox will mark it in the widgets (currently strike-through).

Deprecation of submodules is not automatically detected here, that's
left for a later patch.

Bug: T123931
Change-Id: Idad6377063e457f9352a99df5c7cc15b1563579e

5 years agoMerge "API: Split description messages into summary + additional text"
jenkins-bot [Tue, 20 Jun 2017 15:34:10 +0000 (15:34 +0000)]
Merge "API: Split description messages into summary + additional text"

5 years agoMerge "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary...
jenkins-bot [Tue, 20 Jun 2017 15:32:27 +0000 (15:32 +0000)]
Merge "mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field"

5 years agoMerge "mw.action.edit: Fix byte limit for the edit summary field"
jenkins-bot [Mon, 19 Jun 2017 22:01:42 +0000 (22:01 +0000)]
Merge "mw.action.edit: Fix byte limit for the edit summary field"

5 years agomw.action.edit: Restore modifier keys for accesskey in tooltip for summary field
Bartosz Dziewoński [Mon, 19 Jun 2017 19:50:59 +0000 (21:50 +0200)]
mw.action.edit: Restore modifier keys for accesskey in tooltip for summary field

.updateTooltipAccessKeys() is called automatically after the page
loads (from mediawiki.page.ready), but infusing the field blows away
these changes.

This is a poor workaround, the same issue will appear if e.g. the
buttons are infused. The functionality provided by jquery.accessKeyLabel
should be an OOjs UI feature, or we should somehow call it automatically
after infusing widgets.

Bug: T168042
Change-Id: I2b166be34b8394c296fbc7326570cd732284888f

5 years agomw.action.edit: Fix byte limit for the edit summary field
Bartosz Dziewoński [Mon, 19 Jun 2017 19:40:27 +0000 (21:40 +0200)]
mw.action.edit: Fix byte limit for the edit summary field

In OOUI mode, the `.byteLimit( 255 )` call must be after
the edit summary widget is infused. Otherwise, infusing
"reverts" the 'maxlength' attribute of the input field
back to the original value of 200, as set by the PHP code.
(The byte limit was still applied, but in most cases the
'maxlength' applied first.)

Bug: T168194
Change-Id: If0117a7af5bb6975c8355b42fdbc8501c6a02919

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 19 Jun 2017 20:06:49 +0000 (22:06 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic1bbc174355e07f099f0e2e0b501f5315b9de4d2

5 years agoMerge "Add a message to localize strings like "2×" and use it in enhanced RC"
jenkins-bot [Mon, 19 Jun 2017 18:50:35 +0000 (18:50 +0000)]
Merge "Add a message to localize strings like "2×" and use it in enhanced RC"

5 years agoMerge "Remove "@author Umherirrender" annotations"
jenkins-bot [Mon, 19 Jun 2017 09:28:20 +0000 (09:28 +0000)]
Merge "Remove "@author Umherirrender" annotations"

5 years agoMerge "Add missing dependencies to module 'mediawiki.api'"
jenkins-bot [Mon, 19 Jun 2017 08:37:55 +0000 (08:37 +0000)]
Merge "Add missing dependencies to module 'mediawiki.api'"

5 years agoMerge "API: Have generator=random set a non-continuation value"
jenkins-bot [Mon, 19 Jun 2017 07:07:55 +0000 (07:07 +0000)]
Merge "API: Have generator=random set a non-continuation value"

5 years agoMerge "API: Deprecate diff and parse parameters in ApiQueryRevisionsBase"
jenkins-bot [Mon, 19 Jun 2017 07:00:52 +0000 (07:00 +0000)]
Merge "API: Deprecate diff and parse parameters in ApiQueryRevisionsBase"

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 18 Jun 2017 19:56:20 +0000 (21:56 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ibbb3740e051fd168201f4664cd57417ea70716da

5 years agoMerge "Improve documentation for wfParseUrl"
jenkins-bot [Sun, 18 Jun 2017 19:18:39 +0000 (19:18 +0000)]
Merge "Improve documentation for wfParseUrl"

5 years agoImprove documentation for wfParseUrl
Gergő Tisza [Sun, 18 Jun 2017 10:30:47 +0000 (12:30 +0200)]
Improve documentation for wfParseUrl

Change-Id: I84ef76d2e3b026ed38e02a82245b559324950ede

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 17 Jun 2017 19:54:33 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I90ecf094ef908fc82a2cb1442fd7aa72405950f9

5 years agoReplace a Linker::link() call in InfoAction.php
Matěj Suchánek [Sat, 17 Jun 2017 19:37:04 +0000 (21:37 +0200)]
Replace a Linker::link() call in InfoAction.php

Bug: T149346
Change-Id: I41906d4d24468467e1c0740d748fe96ea2dab484

5 years agoRCFilters: Correct unbalanced margins in active filters display
Moriel Schottlender [Fri, 16 Jun 2017 22:25:07 +0000 (15:25 -0700)]
RCFilters: Correct unbalanced margins in active filters display

Bug: T168090
Change-Id: Ic8b8736ef108b06aa61f03ae7cfd01f37fe23c30

5 years agoMerge "build: Remove Travis CI allow_failure for Postgres"
jenkins-bot [Fri, 16 Jun 2017 22:20:49 +0000 (22:20 +0000)]
Merge "build: Remove Travis CI allow_failure for Postgres"

5 years agoRCFilters: Reposition TagItemWidget to be center on the widget
Moriel Schottlender [Fri, 16 Jun 2017 22:09:09 +0000 (15:09 -0700)]
RCFilters: Reposition TagItemWidget to be center on the widget

Bug: T168091
Change-Id: Iea714cb9c63d30163f01e35e447684af5f39f3ae

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 16 Jun 2017 20:02:53 +0000 (22:02 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ib20d54b3faab8a606f60a8e1e03d74e826ef385e

5 years agoRCFilters: Change the input icon on interaction
Moriel Schottlender [Fri, 16 Jun 2017 19:55:18 +0000 (12:55 -0700)]
RCFilters: Change the input icon on interaction

Bug: T166917
Change-Id: I72ed88c25d2dfbbafa35cd802d2b9718aa7ba6c8

5 years agoMerge "adding data-attribute to sister-search sidebar results."
jenkins-bot [Fri, 16 Jun 2017 19:39:36 +0000 (19:39 +0000)]
Merge "adding data-attribute to sister-search sidebar results."

5 years agoMerge "Hide Pig Latin language entirely if $wgUsePigLatinVariant is false"
jenkins-bot [Fri, 16 Jun 2017 19:12:01 +0000 (19:12 +0000)]
Merge "Hide Pig Latin language entirely if $wgUsePigLatinVariant is false"

5 years agoadding data-attribute to sister-search sidebar results.
Jan Drewniak [Fri, 16 Jun 2017 19:04:01 +0000 (21:04 +0200)]
adding data-attribute to sister-search sidebar results.

Adding source identifier (iwprefix) data-attribute
to interwiki search sidebar results.

Change-Id: I9e11a368fe4f5d79d81503fb4db1cc1649723839

5 years agoHide Pig Latin language entirely if $wgUsePigLatinVariant is false
Bartosz Dziewoński [Fri, 16 Jun 2017 18:43:28 +0000 (20:43 +0200)]
Hide Pig Latin language entirely if $wgUsePigLatinVariant is false

Previously, even if $wgUsePigLatinVariant was false, the language
would show up on Special:Preferences (and some other places) as
'en-x-piglatin - Igpay Atinlay'.

Follow-up to d8375bee241b4d134aff901c7d072aa1374c860b.

Change-Id: I08faacabca87c04299c7b535be8df1770e0a37ac

5 years agoAPI: Deprecate diff and parse parameters in ApiQueryRevisionsBase
Brad Jorsch [Fri, 28 Apr 2017 19:38:24 +0000 (15:38 -0400)]
API: Deprecate diff and parse parameters in ApiQueryRevisionsBase

The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto', 'rvexpandtemplates',
'rvgeneratexml', 'rvparse', and 'rvprop=parsetree' parameters to
prop=revisions are deprecated, as are the similarly named parameters to
prop=deletedrevisions, list=allrevisions, and list=alldeletedrevisions.

Use action=compare, action=parse, or action=expandtemplates instead.

Bug: T164106
Change-Id: I6deaf550a4b96f0d35488bea7bfd6637d6d1c36a

5 years agoMerge "Fix call to makeContent in SpecialChangeContentModel"
jenkins-bot [Fri, 16 Jun 2017 14:37:49 +0000 (14:37 +0000)]
Merge "Fix call to makeContent in SpecialChangeContentModel"

5 years agoMerge "Add namespace names for Atikamekw (atj)"
jenkins-bot [Fri, 16 Jun 2017 10:47:03 +0000 (10:47 +0000)]
Merge "Add namespace names for Atikamekw (atj)"

5 years agoMerge "RCFilters: Always replaceState the URL"
jenkins-bot [Thu, 15 Jun 2017 21:27:06 +0000 (21:27 +0000)]
Merge "RCFilters: Always replaceState the URL"

5 years agoMerge "Make DatabasePostgres::serverIsReadOnly() check default_transaction_read_only"
jenkins-bot [Thu, 15 Jun 2017 21:04:22 +0000 (21:04 +0000)]
Merge "Make DatabasePostgres::serverIsReadOnly() check default_transaction_read_only"

5 years agoAdd namespace names for Atikamekw (atj)
Amire80 [Thu, 15 Jun 2017 20:55:13 +0000 (23:55 +0300)]
Add namespace names for Atikamekw (atj)

Bug: T167714
Change-Id: I5e98c80a8365707d73ed7e259466ab57cca7261b

5 years agobuild: Remove Travis CI allow_failure for Postgres
Timo Tijhof [Thu, 15 Jun 2017 20:31:14 +0000 (21:31 +0100)]
build: Remove Travis CI allow_failure for Postgres

Now passing!

Follows-up 7399a3ec01.

Bug: T75174
Change-Id: I9cdd0aefa955f2bd91945969f6066ab67cda0d5f

5 years agomediawiki.storage: Document 'null' return from get()
Timo Tijhof [Thu, 15 Jun 2017 20:25:45 +0000 (21:25 +0100)]
mediawiki.storage: Document 'null' return from get()

Follows-up 7daab75414d. Forgot to document the full return scope
of HTML Storage#get, which is 'string or null'.

We may want to consider changing the 'false' return to 'null', so
that the concept of "localStorage disabled" is entirely hidden
behind the regular return values (null in case of #get).

Change-Id: I6bed62457d2e64831ec8241e16f7e8c85c6531a4

5 years agoMerge "Localisation updates from https://translatewiki.net."
L10n-bot [Thu, 15 Jun 2017 19:58:25 +0000 (19:58 +0000)]
Merge "Localisation updates from https://translatewiki.net."

5 years agoMerge "RCFilters: Add edit tags drop down"
jenkins-bot [Thu, 15 Jun 2017 19:58:10 +0000 (19:58 +0000)]
Merge "RCFilters: Add edit tags drop down"

5 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 15 Jun 2017 19:58:08 +0000 (21:58 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If38ca86942d9591ab9f86f8584de5ad0d136a27f

5 years agoRCFilters: Add edit tags drop down
Moriel Schottlender [Mon, 29 May 2017 15:04:35 +0000 (18:04 +0300)]
RCFilters: Add edit tags drop down

Fetches the tags from the wiki and displays them as additional
filters for RCFilters.

Bug: T159942
Bug: T161650
Bug: T164130
Change-Id: I7bfa99cd5aeb34b6c7de74c15aac158ee40eac2f

5 years agoMerge "Set flush mode in DatabasePostgres::reportQueryError()"
jenkins-bot [Thu, 15 Jun 2017 18:14:02 +0000 (18:14 +0000)]
Merge "Set flush mode in DatabasePostgres::reportQueryError()"

5 years agoAPI: Split description messages into summary + additional text
Brad Jorsch [Fri, 26 May 2017 17:50:06 +0000 (13:50 -0400)]
API: Split description messages into summary + additional text

To fix T123930, it would be very handy to have the summary for each
module without any of the additional explanatory text.

Bug: T166411
Change-Id: I778bab2b87971875aed4c804341ad59c1c6e021f

5 years agoMerge "Add media type based filtering to Special:NewFiles"
jenkins-bot [Thu, 15 Jun 2017 17:28:35 +0000 (17:28 +0000)]
Merge "Add media type based filtering to Special:NewFiles"

5 years agoMerge "Allow filtering on newbies in Special:NewFiles"
jenkins-bot [Thu, 15 Jun 2017 17:25:41 +0000 (17:25 +0000)]
Merge "Allow filtering on newbies in Special:NewFiles"

5 years agoMerge "Show dimensions in TraditionalImageGallery"
jenkins-bot [Thu, 15 Jun 2017 17:16:13 +0000 (17:16 +0000)]
Merge "Show dimensions in TraditionalImageGallery"