lhc/web/wiklou.git
6 years agoMerge "Add some devs with significant contributions to core"
jenkins-bot [Mon, 11 Sep 2017 21:59:59 +0000 (21:59 +0000)]
Merge "Add some devs with significant contributions to core"

6 years agoMerge "FeedbackDialog: Improve alignment"
jenkins-bot [Mon, 11 Sep 2017 20:46:26 +0000 (20:46 +0000)]
Merge "FeedbackDialog: Improve alignment"

6 years agoMerge "Add <body> class marking whether RCFilters is enabled"
jenkins-bot [Mon, 11 Sep 2017 20:36:39 +0000 (20:36 +0000)]
Merge "Add <body> class marking whether RCFilters is enabled"

6 years agoMerge "RCFilters: Live update: disable peek param"
jenkins-bot [Mon, 11 Sep 2017 20:32:28 +0000 (20:32 +0000)]
Merge "RCFilters: Live update: disable peek param"

6 years agoAdd <body> class marking whether RCFilters is enabled
Matthew Flaschen [Mon, 11 Sep 2017 07:12:03 +0000 (03:12 -0400)]
Add <body> class marking whether RCFilters is enabled

Also added OutputPage->addBodyClasses to allow this

Bug: T175062
Change-Id: I2111d0762328f2e59038c92d63583a9bb267fc9f

6 years agoMerge "Show a warning in edit preview when a template loop is detected"
jenkins-bot [Mon, 11 Sep 2017 18:26:11 +0000 (18:26 +0000)]
Merge "Show a warning in edit preview when a template loop is detected"

6 years agoMerge "Use CommentStore::getCommentLegacy with CommentStore::getFields"
jenkins-bot [Mon, 11 Sep 2017 18:13:29 +0000 (18:13 +0000)]
Merge "Use CommentStore::getCommentLegacy with CommentStore::getFields"

6 years agoApiQuery: Fix type docs for $groups in ApiQueryBase::selectNamedDB() call chain
Kunal Mehta [Sun, 10 Sep 2017 22:14:33 +0000 (15:14 -0700)]
ApiQuery: Fix type docs for $groups in ApiQueryBase::selectNamedDB() call chain

Change-Id: Iaa2ed914347fc4a1b477406cc8b83d7f21adf1a7

6 years agoMerge "ApiQueryWatchlist: Document type of $commentStore property"
jenkins-bot [Mon, 11 Sep 2017 14:54:07 +0000 (14:54 +0000)]
Merge "ApiQueryWatchlist: Document type of $commentStore property"

6 years agoMerge "ApiQueryWatchlist: Don't reinvent Title::newFromLinkTarget()"
jenkins-bot [Mon, 11 Sep 2017 14:43:23 +0000 (14:43 +0000)]
Merge "ApiQueryWatchlist: Don't reinvent Title::newFromLinkTarget()"

6 years agoUse CommentStore::getCommentLegacy with CommentStore::getFields
Brad Jorsch [Mon, 11 Sep 2017 14:33:29 +0000 (10:33 -0400)]
Use CommentStore::getCommentLegacy with CommentStore::getFields

It doesn't matter when $wgCommentTableSchemaMigrationStage is
MIGRATION_OLD, but it'll fail when we start changing that to later
migration stages.

Follows up I3447a412.

Change-Id: I6c010cefedd99324080ec078b83159d12709c1b1

6 years agoApiQueryWatchlist: Document type of $commentStore property
Kunal Mehta [Sun, 10 Sep 2017 22:13:26 +0000 (15:13 -0700)]
ApiQueryWatchlist: Document type of $commentStore property

Change-Id: I884bdd347aeddadfd4a7de89261e5ab1a0d8f6f2

6 years agoRCFilters: Live update: disable peek param
Stephane Bisson [Mon, 11 Sep 2017 12:38:53 +0000 (08:38 -0400)]
RCFilters: Live update: disable peek param

Temporarily disable the peek parameter until
we figure out why it doesn't work in betalabs.

This makes the responses larger but still much
smaller than they were originally.

Bug: T173613
Change-Id: I15af48d520644e3da073f0cc3bc63a7f7b7b3850

6 years agotests: ensure parserTestRunner restores $wgParser
Antoine Musso [Mon, 11 Sep 2017 10:58:13 +0000 (12:58 +0200)]
tests: ensure parserTestRunner restores $wgParser

ParserTestRunner::addArticle() set a dummy $wgParser to ease test
running. However if doEditContent() fails, it would abort and never
restore $wgParser.

Make sure the restoration is done even on exception.

I caught that one while running parser tests with Scribunto and Cite. My
setup lacked a luastandalone which causes Scribunto to throw an
exception. When the Cite tests are run, the MessageCache parser ended up
using $wgParser = ParserTestMockParser;

Change-Id: I33a0a5c1f40f197405d40b7925cc043342e6757e

6 years agoMerge "build: Updating mediawiki/mediawiki-codesniffer to 0.12.0"
jenkins-bot [Sun, 10 Sep 2017 23:06:47 +0000 (23:06 +0000)]
Merge "build: Updating mediawiki/mediawiki-codesniffer to 0.12.0"

6 years agoMerge "Improve some parameter docs"
jenkins-bot [Sun, 10 Sep 2017 22:57:48 +0000 (22:57 +0000)]
Merge "Improve some parameter docs"

6 years agoApiQueryWatchlist: Don't reinvent Title::newFromLinkTarget()
Kunal Mehta [Sun, 10 Sep 2017 22:13:07 +0000 (15:13 -0700)]
ApiQueryWatchlist: Don't reinvent Title::newFromLinkTarget()

Change-Id: I1591c517ad8325e7c249197e6601fcc3d3efcc99

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 10 Sep 2017 19:54:28 +0000 (21:54 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic79b226d568bfe5c9c6c4e016ea273d74dc055e3

6 years agobuild: Updating mediawiki/mediawiki-codesniffer to 0.12.0
Umherirrender [Sun, 10 Sep 2017 19:11:37 +0000 (21:11 +0200)]
build: Updating mediawiki/mediawiki-codesniffer to 0.12.0

Change-Id: Iefaae5043fa77d5d556c31079549dab8f61bd3ef

6 years agoImprove some parameter docs
Umherirrender [Sat, 9 Sep 2017 20:47:04 +0000 (22:47 +0200)]
Improve some parameter docs

Add missing @return and @param to function docs and fixed some @param

Change-Id: I810727961057cfdcc274428b239af5975c57468d

6 years agoMerge "FancyCaptcha: Align to WikimediaUI Style Guide"
jenkins-bot [Sun, 10 Sep 2017 12:24:02 +0000 (12:24 +0000)]
Merge "FancyCaptcha: Align to WikimediaUI Style Guide"

6 years agoMerge "HTMLForm: Implement OOUI version of HTMLTagFilter"
jenkins-bot [Sun, 10 Sep 2017 12:17:03 +0000 (12:17 +0000)]
Merge "HTMLForm: Implement OOUI version of HTMLTagFilter"

6 years agoMerge "Replace wfShellExec() with a class"
jenkins-bot [Sun, 10 Sep 2017 11:37:53 +0000 (11:37 +0000)]
Merge "Replace wfShellExec() with a class"

6 years agoMerge "Minor fixes to ParsoidVirtualRESTService"
jenkins-bot [Sun, 10 Sep 2017 01:11:30 +0000 (01:11 +0000)]
Merge "Minor fixes to ParsoidVirtualRESTService"

6 years agoMerge "Avoid using the deprecated ParserCache::singleton()"
jenkins-bot [Sun, 10 Sep 2017 00:59:15 +0000 (00:59 +0000)]
Merge "Avoid using the deprecated ParserCache::singleton()"

6 years agoAvoid using the deprecated ParserCache::singleton()
Kunal Mehta [Sat, 9 Sep 2017 00:19:17 +0000 (17:19 -0700)]
Avoid using the deprecated ParserCache::singleton()

Change-Id: I0da6d9cbfad26c89bf5dab564071ef97acaf44f9

6 years agoFix return in ParserTestTopLevelSuite::debug
Umherirrender [Sat, 9 Sep 2017 20:50:23 +0000 (22:50 +0200)]
Fix return in ParserTestTopLevelSuite::debug

wfDebugLog does not return anything

Change-Id: I85274a85342036b76a72ba82bb7de1d05382cf14

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 9 Sep 2017 19:53:59 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I6486b0d6441be32dad0c2404691ce2cd3383f3d2

6 years agoLocalFile: Fix setting $this->description after CommentStore changes
Kunal Mehta [Sat, 9 Sep 2017 09:10:41 +0000 (02:10 -0700)]
LocalFile: Fix setting $this->description after CommentStore changes

Bug: T175444
Bug: T175443
Change-Id: I3447a4129300c2c7dc0d585404e7747b6a5e2b77

6 years agoFeedbackDialog: Improve alignment
Volker E [Sat, 9 Sep 2017 17:44:08 +0000 (10:44 -0700)]
FeedbackDialog: Improve alignment

Improving alignment of FeedbackDialog items and increasing
`line-height` slightly for better readability.

Change-Id: Ic1d569efbdd1340fadb696e76c7a871f29794077

6 years agoAdd some devs with significant contributions to core
Ed Sanders [Sat, 9 Sep 2017 12:31:04 +0000 (13:31 +0100)]
Add some devs with significant contributions to core

Change-Id: I2f904c3c6748a4ad42d38dd89166cc5090365f67

6 years agoFancyCaptcha: Align to WikimediaUI Style Guide
Volker E [Sat, 9 Sep 2017 08:39:13 +0000 (01:39 -0700)]
FancyCaptcha: Align to WikimediaUI Style Guide

Aligning FancyCaptcha appearance to WikimediaUI color palette and
guidelines, adding `border-radius`, reducing `padding` slightly to
`8px` base and bring captcha and input closer together.

Bug: T152025
Change-Id: I26d9aadb7456ea6b7ba68a40cb4c624e995d9341

6 years agoReplace outdated greys with WCAG conformant WikimediaUI palette ones
Volker E [Sat, 9 Sep 2017 08:27:16 +0000 (01:27 -0700)]
Replace outdated greys with WCAG conformant WikimediaUI palette ones

Replacing outdated greys with WCAG level AA conformant ones from
WikimediaUI color palette.

Bug: T152025
Change-Id: Ide230784be654def9f120d5242d036f7423e65b2

6 years agoReplace wfShellExec() with a class
Max Semenik [Thu, 3 Nov 2016 00:27:15 +0000 (17:27 -0700)]
Replace wfShellExec() with a class

This function has gotten so unwieldy that a helper was
introduced. Instead, here's this class that makes
shelling out easier and more readable.

Example usage:
  $result = Shell::command( 'shell command' )
       ->environment( [ 'ENVIRONMENT_VARIABLE' => 'VALUE' ] )
       ->limits( [ 'time' => 300 ] )
       ->execute();

  $exitCode = $result->getExitCode();
  $output = $result->getStdout();

This is a minimal change, so lots of stuff remains
unrefactored - I'd rather limit the scope of this commit.
A future improvement could be an ability to get stderr
separately from stdout.

Caveat: execution errors (proc_open is disabled/returned error) now
throw errors instead of returning a status code. wfShellExec() still
emulates this behavior though.

Competing commit: I7dccb2b67a4173a8a89b035e444fbda9102e4d0f
<legoktm> MaxSem: so you should continue working on your patch and I'll
          probably refactor on top of it later after its merged :P

Change-Id: I8ac9858b80d7908cf7e7981d7e19d0fc9c2265c0

6 years agoRemove deprecated function wfFixSessionID()
Max Semenik [Sat, 9 Sep 2017 01:26:11 +0000 (18:26 -0700)]
Remove deprecated function wfFixSessionID()

Deprecated since 1.27, no callers anywhere.

Change-Id: I2d1019fdb21fe4a9d0aa767a71eb18739f841dfb

6 years agoDeprecate wfUsePHP()
Max Semenik [Sat, 9 Sep 2017 01:03:09 +0000 (18:03 -0700)]
Deprecate wfUsePHP()

No callers anywhere.

Change-Id: I47256448d313983e3cebd713f7c149e3c3a9ab47

6 years agoMerge "registration: Improve error message for invalid "callback" in extension.json"
jenkins-bot [Sat, 9 Sep 2017 00:13:46 +0000 (00:13 +0000)]
Merge "registration: Improve error message for invalid "callback" in extension.json"

6 years agoregistration: Improve error message for invalid "callback" in extension.json
Umherirrender [Wed, 6 Sep 2017 19:44:49 +0000 (21:44 +0200)]
registration: Improve error message for invalid "callback" in extension.json

Getting the following error for an invalid callback is not helpful:
Warning: Invalid argument: function: class not found in
/includes/registration/ExtensionRegistry.php on line 335

Change-Id: I4dfc011cb0a5cd06f1836d73e58f407d468e4546

6 years agoAdd Title::isValid method
daniel [Mon, 12 Jun 2017 19:11:42 +0000 (21:11 +0200)]
Add Title::isValid method

Make the notion of Title objects representing invalid titles explicit.

Bug: T165149
Change-Id: I89aaabdff9614fe63bd1244784a1d677dbc26f9e

6 years agoMerge "RCFilters: Remove getValue and use FormOptions"
jenkins-bot [Fri, 8 Sep 2017 21:33:07 +0000 (21:33 +0000)]
Merge "RCFilters: Remove getValue and use FormOptions"

6 years agoRCFilters: Remove getValue and use FormOptions
Matthew Flaschen [Fri, 8 Sep 2017 20:56:00 +0000 (16:56 -0400)]
RCFilters: Remove getValue and use FormOptions

Ensure the default is boolean, then FormOptions will
do the rest for us.

Bug: T174725
Change-Id: I92f2f77e1225f536a38f592578012855b948050c

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 8 Sep 2017 21:13:33 +0000 (23:13 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I80104ab312390512e35c648847ec49f179e6a046

6 years agoMerge "WLFilters: Respect default values"
jenkins-bot [Fri, 8 Sep 2017 17:31:27 +0000 (17:31 +0000)]
Merge "WLFilters: Respect default values"

6 years agoMerge "postEdit: Move MonoBook style to separate file"
jenkins-bot [Fri, 8 Sep 2017 15:54:24 +0000 (15:54 +0000)]
Merge "postEdit: Move MonoBook style to separate file"

6 years agoFix typo
Brad Jorsch [Fri, 8 Sep 2017 14:25:02 +0000 (10:25 -0400)]
Fix typo

Followup to Ic3a434c0

Change-Id: Ie57ab2dab2f9ae801de49e8e3998ec5a56a4541e

6 years agoWLFilters: Respect default values
Stephane Bisson [Fri, 8 Sep 2017 14:01:00 +0000 (10:01 -0400)]
WLFilters: Respect default values

Followup to I3e48a9f2d9b70f0b9f6d7c6329db9c8e8001ee49
Reported in T174725#3590145

Comparing current value and active value with
different representation ("1" !== true) leads to
not applying filters that are ON by default.

Bug: T174725
Change-Id: If083610c0294756589adfc32a59388cc7422ad5d

6 years agopostEdit: Move MonoBook style to separate file
Fomafix [Fri, 8 Sep 2017 09:32:04 +0000 (11:32 +0200)]
postEdit: Move MonoBook style to separate file

This avoids loading the MonoBook specific style on other skins.

The !important is not necessary because the skin sepecific styles are
at the end of the file and have a higher priority.

Change-Id: I4ba6c8f63b0082ac82260b20202d31d85328aa40

6 years agoAdd `border-radius` to align to WikimediaUI Style Guide
Volker E [Fri, 8 Sep 2017 04:27:58 +0000 (21:27 -0700)]
Add `border-radius` to align to WikimediaUI Style Guide

Adding `border-radius` in order to align to WikimediaUI Style Guide
and be more harmonious.

Change-Id: I4bda42c03a5dbf35866df4413cdb43233334912a

6 years agoActually delete extensions/ArticleCreationWorkflow
Kunal Mehta [Fri, 8 Sep 2017 01:18:36 +0000 (18:18 -0700)]
Actually delete extensions/ArticleCreationWorkflow

Change-Id: Ia1dfd909b9a0d3a91be3dc6108ba1f2e749f7c31

6 years agoRevert "Creating new WMF 1.30.0-wmf.17 branch"
Kunal Mehta [Fri, 8 Sep 2017 01:03:28 +0000 (18:03 -0700)]
Revert "Creating new WMF 1.30.0-wmf.17 branch"

This reverts commit 579f1bb11996f5e83d02828ab460335ebb7c1272.

Change-Id: I59e97e578d4c7e46f4aecc330fc14047a40c3495

6 years agoUpdate git submodules
Chad Horohoe [Fri, 8 Sep 2017 00:21:50 +0000 (17:21 -0700)]
Update git submodules

* Update extensions/AbuseFilter from branch 'wmf/1.30.0-wmf.17'
  - Avoid CommentStore errors by selecting correct set of columns

    Change-Id: I7d83a45fbf86dc0144d50e8b6258b97f1b0c7188

6 years agoMerge "ApiQueryLinks: Remove index forcing"
MaxSem [Thu, 7 Sep 2017 22:49:38 +0000 (22:49 +0000)]
Merge "ApiQueryLinks: Remove index forcing"

6 years agoMerge "Bump ACW"
jenkins-bot [Thu, 7 Sep 2017 22:37:20 +0000 (22:37 +0000)]
Merge "Bump ACW"

6 years agoBump ACW
Max Semenik [Thu, 7 Sep 2017 22:30:11 +0000 (15:30 -0700)]
Bump ACW

Change-Id: I3c88a2242f7fc738da2f952dca0f5e4639959aa9

6 years agoMerge "Branch ArticleCreationWorkflow" into wmf/1.30.0-wmf.17
jenkins-bot [Thu, 7 Sep 2017 21:23:14 +0000 (21:23 +0000)]
Merge "Branch ArticleCreationWorkflow" into wmf/1.30.0-wmf.17

6 years agoApiQueryRecentChanges: Fetch comment fields if rctoken is used
Brad Jorsch [Thu, 7 Sep 2017 20:58:57 +0000 (16:58 -0400)]
ApiQueryRecentChanges: Fetch comment fields if rctoken is used

When the deprecated rctoken parameter is used, the module calls
RecentChange::newFromRow(), which now requires that the comment fields
be present.

Bug: T175307
Change-Id: Ida025f419e43809c34fff386f1a1ee8881393b80
(cherry picked from commit 5ec0132821f4dca98a53b466a3d35b7a2853c616)

6 years agoApiQueryRecentChanges: Fetch comment fields if rctoken is used
Brad Jorsch [Thu, 7 Sep 2017 20:58:57 +0000 (16:58 -0400)]
ApiQueryRecentChanges: Fetch comment fields if rctoken is used

When the deprecated rctoken parameter is used, the module calls
RecentChange::newFromRow(), which now requires that the comment fields
be present.

Bug: T175307
Change-Id: Ida025f419e43809c34fff386f1a1ee8881393b80

6 years agoBranch ArticleCreationWorkflow
Max Semenik [Thu, 7 Sep 2017 20:41:20 +0000 (13:41 -0700)]
Branch ArticleCreationWorkflow

Bug: T175302
Change-Id: Ic3f277a7e8727a188ed4a8bb046928592d137598

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 7 Sep 2017 20:00:49 +0000 (22:00 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If7c3b4e60e84dac723997bd6e2f97d23b861847a

6 years agoUpdate git submodules
jdlrobson [Thu, 7 Sep 2017 16:31:39 +0000 (12:31 -0400)]
Update git submodules

* Update extensions/MobileFrontend from branch 'wmf/1.30.0-wmf.17'
  - Do not use deprecated fallback handling for History/Contributions

    The Contributions page extends the History page so this change
    also fixes the warnings there.

    Bug: T175161
    Change-Id: Ia79d6e72c185fb3ffd47d62a0dc5342b31382294

6 years agoMerge "Move OrderedStreamingForkController class from CirrusSearch to core."
jenkins-bot [Thu, 7 Sep 2017 18:27:49 +0000 (18:27 +0000)]
Merge "Move OrderedStreamingForkController class from CirrusSearch to core."

6 years agoMove OrderedStreamingForkController class from CirrusSearch to core.
Stanislav Malyshev [Fri, 1 Sep 2017 22:50:59 +0000 (15:50 -0700)]
Move OrderedStreamingForkController class from CirrusSearch to core.

This class may be useful for scripts outside CirrusSearch.

Change-Id: I1ed993a3b0b64d828ae5caba6c4b540b77b2f6f5

6 years agoMerge "exception: Support message normalisation for structured logging"
jenkins-bot [Thu, 7 Sep 2017 17:08:33 +0000 (17:08 +0000)]
Merge "exception: Support message normalisation for structured logging"

6 years agoMerge "Title: Make getOtherPage() check canHaveTalkPage()"
jenkins-bot [Thu, 7 Sep 2017 09:38:24 +0000 (09:38 +0000)]
Merge "Title: Make getOtherPage() check canHaveTalkPage()"

6 years agoMinor fixes to ParsoidVirtualRESTService
Gergő Tisza [Thu, 7 Sep 2017 03:13:17 +0000 (03:13 +0000)]
Minor fixes to ParsoidVirtualRESTService

* fix URL standardization (follow-up to I675f8252a2)
* avoid warning when timeout is not provided

Change-Id: I2a6c099f52f78017f92de4c078e79de04f230dda

6 years agoTitle: Make getOtherPage() check canHaveTalkPage()
Kunal Mehta [Tue, 29 Aug 2017 19:53:53 +0000 (12:53 -0700)]
Title: Make getOtherPage() check canHaveTalkPage()

Practically this doesn't make any difference, but once it's possible for
namespaces to not have talk pages, this function would have returned an
invalid Title.

Bug: T165149
Change-Id: I940433c22193d406d8b4a6cab0e6ad37e88e62c6

6 years agoMerge "ContribsPager: Batch page existence lookup for IP range contributions"
jenkins-bot [Thu, 7 Sep 2017 02:23:06 +0000 (02:23 +0000)]
Merge "ContribsPager: Batch page existence lookup for IP range contributions"

6 years agoDocument DB_SLAVE as deprecated
Kunal Mehta [Thu, 7 Sep 2017 01:09:42 +0000 (18:09 -0700)]
Document DB_SLAVE as deprecated

Change-Id: I50c127b7857b6dbccfd09014d72a130071870fab

6 years agoContribsPager: Batch page existence lookup for IP range contributions
Kunal Mehta [Thu, 7 Sep 2017 00:08:29 +0000 (17:08 -0700)]
ContribsPager: Batch page existence lookup for IP range contributions

When looking up contributions for a range of IP addresses, include the
IP's talk page in page existence lookup batch so it doesn't get looked
up individually.

Change-Id: I5151c10569a92805f79b59f68f9c57c451dc4597

6 years agoContribsPager: Don't call non-static function statically
Kunal Mehta [Thu, 7 Sep 2017 00:07:20 +0000 (17:07 -0700)]
ContribsPager: Don't call non-static function statically

Change-Id: Ic0753e96009f65f1599c9952784c52034b4ec096

6 years agoUpdate git submodules
Erik Bernhardson [Mon, 28 Aug 2017 19:58:12 +0000 (12:58 -0700)]
Update git submodules

* Update extensions/WikimediaEvents from branch 'wmf/1.30.0-wmf.17'
  - Encode human search relevance survey into html output

    Moves the search relevance configuration from javascript into php
    configuration so it can be run on a larger number of pages without
    exploding the size of javascript delivered to everyone with all
    that config.

    The downside of this approach is that because the config is cached
    into the page html any updates have to work their way through varnish
    caching. For the initial test this should be fine as we can purge the
    relevant pages over some small time period. In the future when we are
    doing larger scale collection we just have to keep in mind that
    configuration changes take around 7 days to propogate.

    Bug: T174387
    Change-Id: I7ae522155e67610d25b5857d7b3918559bce8bc7
    (cherry picked from commit e722fe1a9b0d41c3597f9f9326e7fc6f0e1cd9c6)

6 years agoMerge "RCFilters: Live Update: download less data"
jenkins-bot [Wed, 6 Sep 2017 21:10:08 +0000 (21:10 +0000)]
Merge "RCFilters: Live Update: download less data"

6 years agoMerge "Sync up with Parsoid parserTests.txt"
jenkins-bot [Wed, 6 Sep 2017 21:00:31 +0000 (21:00 +0000)]
Merge "Sync up with Parsoid parserTests.txt"

6 years agoMerge "Align "What's this" vertically"
jenkins-bot [Wed, 6 Sep 2017 20:56:48 +0000 (20:56 +0000)]
Merge "Align "What's this" vertically"

6 years agoSync up with Parsoid parserTests.txt
C. Scott Ananian [Wed, 6 Sep 2017 20:32:34 +0000 (16:32 -0400)]
Sync up with Parsoid parserTests.txt

This now aligns with Parsoid commit 3648950432dd65a7cb4a1f80184e72f301a9ca57

Change-Id: I6ec86f7296eb51683b53dbbf0d26f5a87b84e6c7

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 6 Sep 2017 20:12:31 +0000 (22:12 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I2aaed9c1c21b38c46c8ef3981ec629aab2af2027

6 years agoMerge "Making numerous fields unsigned to match their target referenced column"
jenkins-bot [Wed, 6 Sep 2017 19:37:29 +0000 (19:37 +0000)]
Merge "Making numerous fields unsigned to match their target referenced column"

6 years agoMerge "Remove outdated comment"
jenkins-bot [Wed, 6 Sep 2017 18:42:46 +0000 (18:42 +0000)]
Merge "Remove outdated comment"

6 years agoMaking numerous fields unsigned to match their target referenced column
Reedy [Wed, 26 Apr 2017 16:08:51 +0000 (17:08 +0100)]
Making numerous fields unsigned to match their target referenced column

Bug: T157227
Change-Id: Ic11822d6c893103adcc99a3e188a592f13c968b8

6 years agoUpdate git submodules
Brad Jorsch [Wed, 30 Aug 2017 17:06:22 +0000 (13:06 -0400)]
Update git submodules

* Update extensions/Flow from branch 'wmf/1.30.0-wmf.17'
  - Handle new fields for RecentChange object attributes

    See core change Ic3a434c0.

    Bug: T166732
    Change-Id: I284b5aae6979cd97ab53241c00a84077afd1e95d
    (cherry picked from commit 088142f6f0e6e92fc6f1c92c4861216b769c740e)

6 years agoRCFilters: Live Update: download less data
Stephane Bisson [Tue, 5 Sep 2017 15:45:55 +0000 (11:45 -0400)]
RCFilters: Live Update: download less data

Make ChangesListSpecialPage respect action=render
to exclude the MW chrome (header, logo, sidebar, etc).

Introduce peek=1 in ChangesListSpecialPage to skip
the form and changes list rendering and return
200 when there is new data and 304 (not modified)
where there isn't.

Together, they reduce the page size from 49.9k to 275b on polling
and eliminate most HTTP 404 console errors.

Bug: T173613
Change-Id: I0aec878ae80e22814b196b26e944db8c78a5f91a

6 years agoMerge "Move around "ا" to after "آ" and not before"
jenkins-bot [Wed, 6 Sep 2017 13:12:13 +0000 (13:12 +0000)]
Merge "Move around "ا" to after "آ" and not before"

6 years agoNote whether a category was added in a machine readable way
Mark A. Hershberger [Tue, 5 Sep 2017 18:18:02 +0000 (14:18 -0400)]
Note whether a category was added in a machine readable way

CategoryMembershipChange is great, but it doesn't have a
machine-readable way to see if the category has been added or removed
from the page. We could parse the comments, but that would rely on
reading the comments and matching the message against the translated
strings.

This patch adds a couple of parameters and notes whether the change
was an addition or removal in rc_params.

Also, puts the evaluation of the AbortEmailNotification hook before
the check of rc_type in the hopes that the extension CatWatch can send
out emails at the right time.

Bug: T175052
Change-Id: I3e2ac0cc148b9d618e2f8b7853b14bff827ee443

6 years agoApiQueryLinks: Remove index forcing
Brad Jorsch [Wed, 12 Apr 2017 14:07:03 +0000 (10:07 -0400)]
ApiQueryLinks: Remove index forcing

Appears to have been added for T16102, which has hopefully been fixed
since. Let's try it and see if queries break.

Bug: T162774
Change-Id: If60442b9c8856b80a071ed9df830f9a3397218c9

6 years agoMerge "WLFilters: hide watchlist-details during loading of the app"
jenkins-bot [Wed, 6 Sep 2017 00:22:51 +0000 (00:22 +0000)]
Merge "WLFilters: hide watchlist-details during loading of the app"

6 years agoMerge "RCLFilters: Bring back Saved Queries"
jenkins-bot [Wed, 6 Sep 2017 00:21:57 +0000 (00:21 +0000)]
Merge "RCLFilters: Bring back Saved Queries"

6 years agoUpdate git submodules
Brad Jorsch [Tue, 5 Sep 2017 19:37:39 +0000 (15:37 -0400)]
Update git submodules

* Update extensions/Scribunto from branch 'wmf/1.30.0-wmf.17'
  - Fix tests

    Iaa880531 added extra frames in the call stack, so the frame being
    tested by the "setfenv invalid level" and "getfenv invalid level" tests
    was no longer invalid.

    Bug: T175065
    Change-Id: Id1028e7c8bbb92fb9d7d01ebeabd94e8ba284b1c
    (cherry picked from commit 7418a571ac59cc25b682c681a9c2dd330c4a983a)

6 years agoMore thorough documentation for ChangesListSpecialPageStructuredFilters
Matthew Flaschen [Tue, 5 Sep 2017 23:43:39 +0000 (19:43 -0400)]
More thorough documentation for ChangesListSpecialPageStructuredFilters

Change-Id: Iacb3f36c0c2eaf109c39005b4cbd5ff434eb1d84

6 years agoMerge "Update OOjs UI to v0.23.0"
jenkins-bot [Tue, 5 Sep 2017 23:10:29 +0000 (23:10 +0000)]
Merge "Update OOjs UI to v0.23.0"

6 years agoRemove outdated comment
Arlo Breault [Tue, 5 Sep 2017 22:30:24 +0000 (18:30 -0400)]
Remove outdated comment

 * Presumably, should have been part of 3f7615be.

Change-Id: I096c65e72e07c2e1f5a8cd96f6cb930508db8568

6 years agoMerge "RCFilters: make isStructuredFilterUiEnabled public"
jenkins-bot [Tue, 5 Sep 2017 22:20:42 +0000 (22:20 +0000)]
Merge "RCFilters: make isStructuredFilterUiEnabled public"

6 years agoUpdate OOjs UI to v0.23.0
Volker E [Tue, 5 Sep 2017 22:07:32 +0000 (15:07 -0700)]
Update OOjs UI to v0.23.0

Release notes:
 https://phabricator.wikimedia.org/diffusion/GOJU/browse/master/History.md;v0.23.0

Depends-on: I26318472e5e0f5d1863525cf997d08973e2b931c
Change-Id: Icf1ad51da9d588226591366f822cabdd732f9018

6 years agoFix maintenance script that populates the ip_changes table
MusikAnimal [Tue, 5 Sep 2017 21:21:55 +0000 (17:21 -0400)]
Fix maintenance script that populates the ip_changes table

Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b914e065

6 years agoAdd basic IP range support to Special:Contributions
MusikAnimal [Fri, 21 Apr 2017 16:17:59 +0000 (12:17 -0400)]
Add basic IP range support to Special:Contributions

This works by using the new table introduced with T156318.

The only thing that differs from normal Special:Contribs is we are
showing the IP address next to each entry. This is it how it is
displayed if you request to see newbie contributions:
https://en.wikipedia.org/wiki/Special:Contributions?contribs=newbie

For the time being, Special:DeletedContributions does not support
IP ranges. Various other irrelevant links such as Uploads and Logs
are also hidden.

Refer to P4725 for a way to automate creation of edits by random
IPs in your dev environment.

IP::isValidBlock() has been deprecated with this dependent change:
https://gerrit.wikimedia.org/r/#/c/373165/

Bug: T163562
Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b914e064

6 years agoMerge "CommentStore: Try to improve description of insert()"
jenkins-bot [Tue, 5 Sep 2017 19:56:16 +0000 (19:56 +0000)]
Merge "CommentStore: Try to improve description of insert()"

6 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 5 Sep 2017 19:55:32 +0000 (21:55 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Id6736ce3f2ba9f37ec4886fd1c96956f1e7a6289

6 years agoCommentStore: Try to improve description of insert()
Kunal Mehta [Tue, 5 Sep 2017 19:02:33 +0000 (12:02 -0700)]
CommentStore: Try to improve description of insert()

And the similar insertWithTempTable() too.

Change-Id: Ibf0f96d3b9b0f7fe53eb9e11b94fabadc4580632

6 years agoRCLFilters: Bring back Saved Queries
Stephane Bisson [Tue, 5 Sep 2017 18:49:19 +0000 (14:49 -0400)]
RCLFilters: Bring back Saved Queries

Saved Queries used to be shown on Special:RecentChangesLinked
but it got lost when refactoring the top section to accomodate
Watchlist.

Change-Id: I2411dd068415a40cceef76833e94e184f57554af

6 years agoMerge "Handle comment truncation in CommentStore"
jenkins-bot [Tue, 5 Sep 2017 18:39:21 +0000 (18:39 +0000)]
Merge "Handle comment truncation in CommentStore"

6 years agoConvert INDEX into PRIMARY KEY in l10n_cache
tjlsangria [Fri, 28 Oct 2016 14:33:32 +0000 (15:33 +0100)]
Convert INDEX into PRIMARY KEY in l10n_cache

Bug: T146591
Change-Id: I85ab18bfa30e562e76253e3ef71653dbf46db041