[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Avoid master queries when old filter checks are viewed

2017-01-18 Thread Aaron Schulz (Code Review)
Aaron Schulz has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332891 )

Change subject: Avoid master queries when old filter checks are viewed
..

Avoid master queries when old filter checks are viewed

Bug: T154554
Change-Id: I5ca7f0ea22c337c38083532291400df8c7db1e11
---
M includes/page/WikiPage.php
1 file changed, 6 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/91/332891/1

diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php
index 920ba87..d582d51 100644
--- a/includes/page/WikiPage.php
+++ b/includes/page/WikiPage.php
@@ -2150,8 +2150,12 @@
);
} else {
// Try to avoid a second parse if 
{{REVISIONID}} is used
-   $edit->popts->setSpeculativeRevIdCallback( 
function () {
-   return 1 + (int)wfGetDB( DB_MASTER 
)->selectField(
+   $dbIndex = ( $this->mDataLoadedFrom & 
self::READ_LATEST ) === self::READ_LATEST
+   ? DB_MASTER // use the best possible 
guess
+   : DB_REPLICA; // T154554
+
+   $edit->popts->setSpeculativeRevIdCallback( 
function () use ( $dbIndex ) {
+   return 1 + (int)wfGetDB( $dbIndex 
)->selectField(
'revision',
'MAX(rev_id)',
[],

-- 
To view, visit https://gerrit.wikimedia.org/r/332891
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ca7f0ea22c337c38083532291400df8c7db1e11
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] integration/config[master]: test: mw ext/skins have test templates in Zuul

2017-01-18 Thread Hashar (Code Review)
Hashar has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332890 )

Change subject: test: mw ext/skins have test templates in Zuul
..

test: mw ext/skins have test templates in Zuul

Add a test that crawl the Zuul layout.yaml files for MediaWiki
extensions and skins. Make sure each have a Zuul template that contains
PHPUnit jobs (extension-unittests-*, skin-tests*, extension-gate).

Skip archived repos and sub repositories of extensions.

Change-Id: Iaecaaa3457af4426d130ff25f6bc1100b312f7ef
---
M tests/test_zuul_layout.py
1 file changed, 38 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/90/332890/1

diff --git a/tests/test_zuul_layout.py b/tests/test_zuul_layout.py
index 3d2d55d..08c77bb 100644
--- a/tests/test_zuul_layout.py
+++ b/tests/test_zuul_layout.py
@@ -10,6 +10,12 @@
 
 
 class TestZuulLayout(unittest.TestCase):
+"""
+Tests solely asserting on the Zuul YAML configuration.
+
+Notably expansion of templates are not available which is provied by the
+scheduler and tested via test_zuul_scheduler.py
+"""
 
 layout = None
 
@@ -20,3 +26,35 @@
 '../zuul/layout.yaml')
 with open(wmf_zuul_layout, 'r') as f:
 cls.layout = yaml.load(f)
+
+def test_mediawiki_ext_skins_have_test_templates(self):
+one_of_templates = (
+'archived',
+'extension-unittests',
+'skin-tests',
+'extension-gate',
+)
+errors = []
+for project in self.layout['projects']:
+try:
+if not project['name'].startswith((
+'mediawiki/skins', 'mediawiki/extensions')):
+continue
+
+if len(project['name'].split('/')) != 3:
+# Skip sub repositories
+continue
+
+has_extension_unittests = any([
+template['name'].startswith(one_of_templates)
+for template in project.get('template', {})
+])
+self.assertTrue(
+has_extension_unittests,
+'Project %s in Zuul lacks an extension-unittests* '
+'template' % project['name'])
+except AssertionError, e:
+errors.append(str(e))
+
+self.maxDiff = None
+self.assertListEqual([], errors)

-- 
To view, visit https://gerrit.wikimedia.org/r/332890
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaecaaa3457af4426d130ff25f6bc1100b312f7ef
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[wmf/1.29.0-wmf.8]: Unbreak extensions from ShowSearchHitTitle signature change

2017-01-18 Thread Chad (Code Review)
Chad has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332888 )

Change subject: Unbreak extensions from ShowSearchHitTitle signature change
..

Unbreak extensions from ShowSearchHitTitle signature change

Fixes If78cb0c29ae394f16e465c15a8e8246c1b56dcea

Change-Id: Ia56f2eb4a5ed98f727f924666322e1c97b3ee183
(cherry picked from commit 256a5cf1c44b9bed611a005daca53b2a28fed26d)
---
M docs/hooks.txt
M includes/widget/search/FullSearchResultWidget.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/88/332888/1

diff --git a/docs/hooks.txt b/docs/hooks.txt
index 1da39cf..2f99fff 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -2877,7 +2877,7 @@
   function returned false.
 
 'ShowSearchHitTitle': Customise display of search hit title/link.
-$title: Title to link to
+&$title: Title to link to
 &$text: Text to use for the link
 $result: The search result
 $terms: The search terms entered
diff --git a/includes/widget/search/FullSearchResultWidget.php 
b/includes/widget/search/FullSearchResultWidget.php
index a93e1fc..69bfa6d 100644
--- a/includes/widget/search/FullSearchResultWidget.php
+++ b/includes/widget/search/FullSearchResultWidget.php
@@ -134,7 +134,7 @@
$queryString = [];
 
Hooks::run( 'ShowSearchHitTitle',
-   [ $title, &$snippet, $result, $terms, 
$this->specialPage, &$queryString ] );
+   [ &$title, &$snippet, $result, $terms, 
$this->specialPage, &$queryString ] );
 
$link = $this->linkRenderer->makeLink(
$title,

-- 
To view, visit https://gerrit.wikimedia.org/r/332888
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia56f2eb4a5ed98f727f924666322e1c97b3ee183
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.29.0-wmf.8
Gerrit-Owner: Chad 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...LiquidThreads[wmf/1.29.0-wmf.8]: Revert "Hook no longer passes $title by reference"

2017-01-18 Thread Chad (Code Review)
Chad has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332889 )

Change subject: Revert "Hook no longer passes $title by reference"
..

Revert "Hook no longer passes $title by reference"

Hook signature change was reverted

This reverts commit eb0a03e65f984c25c0660297467391b00f241b99.

Change-Id: Ica8cc91486f70560e9905b96d4f5d3211f73f7ca
---
M classes/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiquidThreads 
refs/changes/89/332889/1

diff --git a/classes/Hooks.php b/classes/Hooks.php
index 660008d..18aebbc 100644
--- a/classes/Hooks.php
+++ b/classes/Hooks.php
@@ -256,7 +256,7 @@
return true;
}
 
-   static function customiseSearchResultTitle( $title, &$text, $result, 
$terms, $page ) {
+   static function customiseSearchResultTitle( &$title, &$text, $result, 
$terms, $page ) {
if ( $title->getNamespace() != NS_LQT_THREAD ) {
return true;
}

-- 
To view, visit https://gerrit.wikimedia.org/r/332889
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica8cc91486f70560e9905b96d4f5d3211f73f7ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: wmf/1.29.0-wmf.8
Gerrit-Owner: Chad 
Gerrit-Reviewer: Legoktm 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...jobrunner[master]: Fix return type doc

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332817 )

Change subject: Fix return type doc
..


Fix return type doc

Change-Id: I1422f5405e362b614feedd53f9b4a5a75dbb4bf5
---
M src/RedisJobService.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/RedisJobService.php b/src/RedisJobService.php
index af5f10f..c7fdea1 100755
--- a/src/RedisJobService.php
+++ b/src/RedisJobService.php
@@ -71,7 +71,7 @@
 
/**
 * @param array $args
-* @return RedisJobRunnerService
+* @return RedisJobService
 * @throws Exception
 */
public static function init( array $args ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/332817
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1422f5405e362b614feedd53f9b4a5a75dbb4bf5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/jobrunner
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 
Gerrit-Reviewer: Krinkle 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...InterwikiSorting[master]: Remove out of date doc

2017-01-18 Thread Addshore (Code Review)
Addshore has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332886 )

Change subject: Remove out of date doc
..

Remove out of date doc

Change-Id: I1e9bb4cc4ac5b29fa088bb2b60a1eed4131f8730
---
M src/InterwikiSorter.php
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/InterwikiSorting 
refs/changes/86/332886/1

diff --git a/src/InterwikiSorter.php b/src/InterwikiSorter.php
index 02ced82..1456286 100644
--- a/src/InterwikiSorter.php
+++ b/src/InterwikiSorter.php
@@ -12,9 +12,6 @@
  */
 class InterwikiSorter {
 
-   /**
-* @see Documentation of "sort" and "interwikiSortOrders" options in 
docs/options.wiki.
-*/
const SORT_CODE = 'code';
 
/**

-- 
To view, visit https://gerrit.wikimedia.org/r/332886
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e9bb4cc4ac5b29fa088bb2b60a1eed4131f8730
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/InterwikiSorting
Gerrit-Branch: master
Gerrit-Owner: Addshore 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...LiquidThreads[master]: Revert "Hook no longer passes $title by reference"

2017-01-18 Thread Legoktm (Code Review)
Hello Chad, jenkins-bot,

I'd like you to do a code review.  Please visit

https://gerrit.wikimedia.org/r/332887

to review the following change.


Change subject: Revert "Hook no longer passes $title by reference"
..

Revert "Hook no longer passes $title by reference"

Hook signature change was reverted

This reverts commit eb0a03e65f984c25c0660297467391b00f241b99.

Change-Id: Ica8cc91486f70560e9905b96d4f5d3211f73f7ca
---
M classes/Hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/LiquidThreads 
refs/changes/87/332887/1

diff --git a/classes/Hooks.php b/classes/Hooks.php
index 660008d..18aebbc 100644
--- a/classes/Hooks.php
+++ b/classes/Hooks.php
@@ -256,7 +256,7 @@
return true;
}
 
-   static function customiseSearchResultTitle( $title, &$text, $result, 
$terms, $page ) {
+   static function customiseSearchResultTitle( &$title, &$text, $result, 
$terms, $page ) {
if ( $title->getNamespace() != NS_LQT_THREAD ) {
return true;
}

-- 
To view, visit https://gerrit.wikimedia.org/r/332887
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica8cc91486f70560e9905b96d4f5d3211f73f7ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Legoktm 
Gerrit-Reviewer: Chad 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...TwoColConflict[master]: Update beta features previews to use latest template and col...

2017-01-18 Thread Esanders (Code Review)
Esanders has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332885 )

Change subject: Update beta features previews to use latest template and colours
..

Update beta features previews to use latest template and colours

Change-Id: I2b9cef3d710282286056480ecb8a56f9ec50b53b
---
M resources/TwoColConflict-beta-features-ltr.svg
M resources/TwoColConflict-beta-features-rtl.svg
2 files changed, 322 insertions(+), 83 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TwoColConflict 
refs/changes/85/332885/1

diff --git a/resources/TwoColConflict-beta-features-ltr.svg 
b/resources/TwoColConflict-beta-features-ltr.svg
index b3aa30b..5b7b5f2 100644
--- a/resources/TwoColConflict-beta-features-ltr.svg
+++ b/resources/TwoColConflict-beta-features-ltr.svg
@@ -1,45 +1,163 @@
 
-http://www.w3.org/2000/svg"; width="1365.412" height="837.897" 
viewBox="0 0 1280.074 785.5283" id="svg6145">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   version="1.1"
+   width="264"
+   height="162"
+   viewBox="0 0 264 162"
+   id="svg2">
+  
+
+  
+image/svg+xml
+http://purl.org/dc/dcmitype/StillImage"; />
+
+  
+
+  
+  
+
+  
+
+  
+  
+
+
+
+
+  
 
+
+  
+  
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+  
 
diff --git a/resources/TwoColConflict-beta-features-rtl.svg 
b/resources/TwoColConflict-beta-features-rtl.svg
index 5e0ebbc..fe36b4d 100644
--- a/resources/TwoColConflict-beta-features-rtl.svg
+++ b/resources/TwoColConflict-beta-features-rtl.svg
@@ -1,44 +1,165 @@
 
-http://www.w3.org/2000/svg"; width="1365.412" height="837.897" 
viewBox="0 0 1280.074 785.5283" id="svg6145">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   version="1.1"
+   width="264"
+   height="162"
+   viewBox="0 0 264 162"
+   id="svg2">
+  
+
+  
+image/svg+xml
+http://purl.org/dc/dcmitype/StillImage"; />
+
+  
+
+  
+  
+
+  
+
+  
+  
+
+
+
+
+  
 
+
+  
+  
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+  
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332885
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b9cef3d710282286056480ecb8a56f9ec50b53b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwoColConflict
Gerrit-Branch: master
Gerrit-Owner: Esanders 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] purtle[master]: Do not double-quote quotes in NTriples format

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332816 )

Change subject: Do not double-quote quotes in NTriples format
..


Do not double-quote quotes in NTriples format

Bug: T154531
Change-Id: I9f9ed50e083542191c8eecfeff4a56920e34f0e5
---
M src/UnicodeEscaper.php
A tests/data/TextWithSpecialChars.nt
A tests/data/TextWithSpecialChars.rdf
A tests/data/TextWithSpecialChars.ttl
M tests/phpunit/RdfWriterTestBase.php
M tests/phpunit/UnicodeEscaperTest.php
6 files changed, 39 insertions(+), 11 deletions(-)

Approvals:
  Daniel Kinzler: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/UnicodeEscaper.php b/src/UnicodeEscaper.php
index d10f717..e2660f1 100644
--- a/src/UnicodeEscaper.php
+++ b/src/UnicodeEscaper.php
@@ -100,16 +100,8 @@
return '\r'; /* #xD (13) */
} elseif ( $no < 32 ) {
return '\u' . sprintf( '%04X', $no ); /* #xE-#x1F 
(14-31) */
-   } elseif ( $no < 34 ) {
-   return $c; /* #x20-#x21 (32-33) */
-   } elseif ( $no == 34 ) {
-   return '\"'; /* #x22 (34) */
-   } elseif ( $no < 92 ) {
-   return $c; /* #x23-#x5B (35-91) */
-   } elseif ( $no == 92 ) {
-   return '\\'; /* #x5C (92) */
} elseif ( $no < 127 ) {
-   return $c; /* #x5D-#x7E (93-126) */
+   return $c; /* #x20-#x7E (32-126) */
} elseif ( $no < 65536 ) {
return '\u' . sprintf( '%04X', $no ); /* #x7F-#x 
(128-65535) */
} elseif ( $no < 1114112 ) {
diff --git a/tests/data/TextWithSpecialChars.nt 
b/tests/data/TextWithSpecialChars.nt
new file mode 100644
index 000..d84ebcb
--- /dev/null
+++ b/tests/data/TextWithSpecialChars.nt
@@ -0,0 +1,3 @@
+  "Duck 
says: \"Quack!\"" .
+  "Cow 
says:\n\r 'Moo! \\Moo!'" .
+  "Bear 
says: \u041F\u0440\u0435\u0432\u0435\u0434!" .
diff --git a/tests/data/TextWithSpecialChars.rdf 
b/tests/data/TextWithSpecialChars.rdf
new file mode 100644
index 000..7952698
--- /dev/null
+++ b/tests/data/TextWithSpecialChars.rdf
@@ -0,0 +1,12 @@
+
+http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"; 
xmlns:exterms="http://www.example.org/terms/";>
+   http://www.example.org/terms/Duck";>
+   Duck says: "Quack!"
+   
+   http://www.example.org/terms/Cow";>
+   Cow says:
+
 'Moo! \Moo!'
+   
+   http://www.example.org/terms/Bear";>
+   Bear says: Превед!
+   
diff --git a/tests/data/TextWithSpecialChars.ttl 
b/tests/data/TextWithSpecialChars.ttl
new file mode 100644
index 000..6b2f4ae
--- /dev/null
+++ b/tests/data/TextWithSpecialChars.ttl
@@ -0,0 +1,9 @@
+@prefix rdf:  .
+@prefix xsd:  .
+@prefix exterms:  .
+
+exterms:Duck exterms:says "Duck says: \"Quack!\"" .
+
+exterms:Cow exterms:says "Cow says:\n\r 'Moo! \\Moo!'" .
+
+exterms:Bear exterms:says "Bear says: Превед!" .
diff --git a/tests/phpunit/RdfWriterTestBase.php 
b/tests/phpunit/RdfWriterTestBase.php
index 327e88b..74db61d 100644
--- a/tests/phpunit/RdfWriterTestBase.php
+++ b/tests/phpunit/RdfWriterTestBase.php
@@ -309,6 +309,17 @@
$this->assertOutputLines( 'NumberedBlankNode', $rdf );
}
 
+   public function testQuotesAndSpecials() {
+   $writer = $this->newWriter();
+   $writer->prefix( 'exterms', 'http://www.example.org/terms/' );
+   $writer->start();
+   $writer->about('exterms', 'Duck')->say('exterms', 
'says')->text('Duck says: "Quack!"');
+   $writer->about('exterms', 'Cow')->say('exterms', 
'says')->text("Cow says:\n\r 'Moo! \\Moo!'");
+   $writer->about('exterms', 'Bear')->say('exterms', 
'says')->text("Bear says: Превед!");
+   $rdf = $writer->drain();
+   $this->assertOutputLines( 'TextWithSpecialChars', $rdf );
+   }
+
/**
 * @param string $datasetName
 * @param string[]|string $actual
@@ -360,7 +371,6 @@
$this->assertEquals( $missing, $extra, $message );
}
 
-   //FIXME: test quoting/escapes!
//FIXME: test non-ascii literals!
//FIXME: test uerl-encoding
//FIXME: test IRIs!
diff --git a/tests/phpunit/UnicodeEscaperTest.php 
b/tests/phpunit/UnicodeEscaperTest.php
index 12ccb37..cb4e698 100644
--- a/tests/phpunit/UnicodeEscaperTest.php
+++ b/tests/phpunit/UnicodeEscaperTest.php
@@ -30,9 +30,11 @@
 

[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Unbreak extensions from ShowSearchHitTitle signature change

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332878 )

Change subject: Unbreak extensions from ShowSearchHitTitle signature change
..


Unbreak extensions from ShowSearchHitTitle signature change

Fixes If78cb0c29ae394f16e465c15a8e8246c1b56dcea

Change-Id: Ia56f2eb4a5ed98f727f924666322e1c97b3ee183
---
M docs/hooks.txt
M includes/widget/search/FullSearchResultWidget.php
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/docs/hooks.txt b/docs/hooks.txt
index 4057cce..a000bb1 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -2822,7 +2822,7 @@
   function returned false.
 
 'ShowSearchHitTitle': Customise display of search hit title/link.
-$title: Title to link to
+&$title: Title to link to
 &$text: Text to use for the link
 $result: The search result
 $terms: The search terms entered
diff --git a/includes/widget/search/FullSearchResultWidget.php 
b/includes/widget/search/FullSearchResultWidget.php
index a93e1fc..69bfa6d 100644
--- a/includes/widget/search/FullSearchResultWidget.php
+++ b/includes/widget/search/FullSearchResultWidget.php
@@ -134,7 +134,7 @@
$queryString = [];
 
Hooks::run( 'ShowSearchHitTitle',
-   [ $title, &$snippet, $result, $terms, 
$this->specialPage, &$queryString ] );
+   [ &$title, &$snippet, $result, $terms, 
$this->specialPage, &$queryString ] );
 
$link = $this->linkRenderer->makeLink(
$title,

-- 
To view, visit https://gerrit.wikimedia.org/r/332878
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia56f2eb4a5ed98f727f924666322e1c97b3ee183
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad 
Gerrit-Reviewer: Chad 
Gerrit-Reviewer: EBernhardson 
Gerrit-Reviewer: Florianschmidtwelzow 
Gerrit-Reviewer: Legoktm 
Gerrit-Reviewer: Smalyshev 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Unbreak extensions using SpecialSearchResults hook

2017-01-18 Thread Chad (Code Review)
Chad has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332884 )

Change subject: Unbreak extensions using SpecialSearchResults hook
..

Unbreak extensions using SpecialSearchResults hook

Changing hook signatures with no deprecation period is a no-no.

Fixes Ib527fc3a3c39eb2e56985e5d1e4905fc4562353c
Reverts I153a7d590faceb1e2c4fe7d95a5cb931cda0c301

Bug: T155625
Change-Id: I2b408691fc4435ef24fc62360bd7ad6114f385c7
---
M docs/hooks.txt
M includes/specials/SpecialSearch.php
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/84/332884/1

diff --git a/docs/hooks.txt b/docs/hooks.txt
index 4057cce..ef47218 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -3148,8 +3148,8 @@
 
 'SpecialSearchResults': Called before search result display
 $term: string of search term
-$titleMatches: empty or SearchResultSet object
-$textMatches: empty or SearchResultSet object
+&$titleMatches: empty or SearchResultSet object
+&$textMatches: empty or SearchResultSet object
 
 'SpecialSearchResultsPrepend': Called immediately before returning HTML
 on the search results page.  Useful for including an external search
diff --git a/includes/specials/SpecialSearch.php 
b/includes/specials/SpecialSearch.php
index 9356a3a..34620ff 100644
--- a/includes/specials/SpecialSearch.php
+++ b/includes/specials/SpecialSearch.php
@@ -371,7 +371,7 @@
// Show the create link ahead
$this->showCreateLink( $title, $num, $titleMatches, 
$textMatches );
 
-   Hooks::run( 'SpecialSearchResults', [ $term, $titleMatches, 
$textMatches ] );
+   Hooks::run( 'SpecialSearchResults', [ $term, &$titleMatches, 
&$textMatches ] );
 
// If we have no results and have not already displayed an 
error message
if ( $num === 0 && !$hasErrors ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/332884
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b408691fc4435ef24fc62360bd7ad6114f385c7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Avoid fatal error with FlaggedRevs when running rebuildFileC...

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332729 )

Change subject: Avoid fatal error with FlaggedRevs when running 
rebuildFileCache.php
..


Avoid fatal error with FlaggedRevs when running rebuildFileCache.php

Change-Id: I8d335c64cfc74a227528fbd85d333eaaa8157f41
---
M maintenance/rebuildFileCache.php
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/maintenance/rebuildFileCache.php b/maintenance/rebuildFileCache.php
index da8a6bc..d073282 100644
--- a/maintenance/rebuildFileCache.php
+++ b/maintenance/rebuildFileCache.php
@@ -122,6 +122,9 @@
$article = Article::newFromTitle( $title, 
$context );
$context->setWikiPage( $article->getPage() );
 
+   // Some extensions like FlaggedRevs while error 
out if this is unset
+   RequestContext::getMain()->setTitle( $title );
+
// If the article is cacheable, then load it
if ( $article->isFileCacheable( 
HTMLFileCache::MODE_REBUILD ) ) {
$viewCache = new HTMLFileCache( $title, 
'view' );

-- 
To view, visit https://gerrit.wikimedia.org/r/332729
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8d335c64cfc74a227528fbd85d333eaaa8157f41
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 
Gerrit-Reviewer: BryanDavis 
Gerrit-Reviewer: Parent5446 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Check extension_loaded() in RedisConnectionPool since class_...

2017-01-18 Thread Aaron Schulz (Code Review)
Aaron Schulz has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332883 )

Change subject: Check extension_loaded() in RedisConnectionPool since 
class_exist() fails sometimes
..

Check extension_loaded() in RedisConnectionPool since class_exist() fails 
sometimes

This avoids the exception in cases were the build-in zend extension class *is* 
present.

Change-Id: I1f053896abeb13a56d3f3f6ac826678ee6b62314
---
M includes/libs/redis/RedisConnectionPool.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/83/332883/1

diff --git a/includes/libs/redis/RedisConnectionPool.php 
b/includes/libs/redis/RedisConnectionPool.php
index 7f43436..961 100644
--- a/includes/libs/redis/RedisConnectionPool.php
+++ b/includes/libs/redis/RedisConnectionPool.php
@@ -74,7 +74,7 @@
 * @throws Exception
 */
protected function __construct( array $options ) {
-   if ( !class_exists( 'Redis' ) ) {
+   if ( !class_exists( 'Redis' ) && !extension_loaded( 'redis' ) ) 
{
throw new RuntimeException(
__CLASS__ . ' requires a Redis client library. 
' .
'See 
https://www.mediawiki.org/wiki/Redis#Setup' );

-- 
To view, visit https://gerrit.wikimedia.org/r/332883
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f053896abeb13a56d3f3f6ac826678ee6b62314
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...MobileFrontend[branding]: Update hamburger asset

2017-01-18 Thread Jdlrobson (Code Review)
Jdlrobson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332882 )

Change subject: Update hamburger asset
..

Update hamburger asset

Change-Id: I49ee4fd030228303d395c840e8159a94e684c12c
---
M resources/skins.minerva.icons.images/hamburger.svg
1 file changed, 10 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/82/332882/1

diff --git a/resources/skins.minerva.icons.images/hamburger.svg 
b/resources/skins.minerva.icons.images/hamburger.svg
index e37d2d3..a2b33ad 100644
--- a/resources/skins.minerva.icons.images/hamburger.svg
+++ b/resources/skins.minerva.icons.images/hamburger.svg
@@ -1,14 +1,13 @@
-
-http://www.w3.org/2000/svg"; viewBox="0 0 24 24">
-
-
-
-
-
-
-
-
-
+
+http://www.w3.org/2000/svg";>
+
+icon-export
+
+
+
+
+
+
 
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332882
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I49ee4fd030228303d395c840e8159a94e684c12c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: branding
Gerrit-Owner: Jdlrobson 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...SemanticComments[master]: Fix remaining usage of doEdit in SemanticComments

2017-01-18 Thread Reedy (Code Review)
Reedy has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332881 )

Change subject: Fix remaining usage of doEdit in SemanticComments
..

Fix remaining usage of doEdit in SemanticComments

Bug: T145736
Change-Id: Icd897f910bed0ceb51d00f1ca3447bd7f3321f63
---
M specials/Comment/CE_CommentAjaxAccess.php
1 file changed, 6 insertions(+), 6 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticComments 
refs/changes/81/332881/1

diff --git a/specials/Comment/CE_CommentAjaxAccess.php 
b/specials/Comment/CE_CommentAjaxAccess.php
index 9027329..18da4e8 100644
--- a/specials/Comment/CE_CommentAjaxAccess.php
+++ b/specials/Comment/CE_CommentAjaxAccess.php
@@ -81,16 +81,16 @@
$title = Title::makeTitle( CE_COMMENT_NS, 
$title );
}
$article = new Article( $title );
-   $articleContent = ContentHandler::getContentText( 
$article->getPage()->getContent() );
+   $articleContentText = ContentHandler::getContentText( 
$article->getPage()->getContent() );
$date = new Datetime( null, new DateTimeZone( 'UTC' ) );
-   $articleContent = preg_replace( 
'/\|CommentContent.*}}/',
+   $articleContentText = preg_replace( 
'/\|CommentContent.*}}/',
'|CommentContent=' . $wgUser->getName() . ' ' .
wfMessage( 'ce_comment_has_deleted' )->text() . 
' ' .
$date->format( 'r' ) . 
'|CommentWasDeleted=true|}}',
-   $articleContent
+   $articleContentText
);
-   $article->doEdit( $articleContent, wfMessage( 
'ce_comment_delete_reason' )->text() );
-   CEComment::updateRelatedArticle( $articleContent );
+   $article->doEditContent( ContentHandler::makeContent( 
$articleContentText, $title ), wfMessage( 'ce_comment_delete_reason' )->text() 
);
+   CEComment::updateRelatedArticle( $articleContentText );
$result = wfMessage( 'ce_comment_deletion_successful' 
)->text();
wfProfileOut( __METHOD__ . ' [Semantic Comments]' );
return CECommentUtils::createXMLResponse( $result, '0', 
$pageName );
@@ -139,4 +139,4 @@
wfProfileOut( __METHOD__ . ' [Semantic Comments]' );
return CECommentUtils::createXMLResponse( 'sth went wrong 
here', '1', $pageNames );
}
-}
\ No newline at end of file
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332881
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd897f910bed0ceb51d00f1ca3447bd7f3321f63
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticComments
Gerrit-Branch: master
Gerrit-Owner: Reedy 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...MobileFrontend[branding]: Change close icon asset and move it to right of search

2017-01-18 Thread Jdlrobson (Code Review)
Jdlrobson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332880 )

Change subject: Change close icon asset and move it to right of search
..

Change close icon asset and move it to right of search

Change-Id: I3b7c5b2ba9888e10fb61d30587389cde0cee5f96
---
M resources/mobile.overlay.images/close.svg
M resources/mobile.search/SearchOverlay.less
M resources/mobile.search/header.hogan
3 files changed, 13 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/80/332880/1

diff --git a/resources/mobile.overlay.images/close.svg 
b/resources/mobile.overlay.images/close.svg
index 9df07a6..47f100b 100644
--- a/resources/mobile.overlay.images/close.svg
+++ b/resources/mobile.overlay.images/close.svg
@@ -1,11 +1,12 @@
-http://www.w3.org/2000/svg"; viewBox="0 0 24 24">
-
-
-
-
-
-
-
+
+http://www.w3.org/2000/svg";>
+
+icon-export
+
+
+
+
+
 
 
 
diff --git a/resources/mobile.search/SearchOverlay.less 
b/resources/mobile.search/SearchOverlay.less
index 63a9228..575c78c 100644
--- a/resources/mobile.search/SearchOverlay.less
+++ b/resources/mobile.search/SearchOverlay.less
@@ -28,6 +28,7 @@
.overlay-title {
// because the clear icon is absolutely positioned
position: relative;
+   padding-left: 15px;
}
 
.header input {
diff --git a/resources/mobile.search/header.hogan 
b/resources/mobile.search/header.hogan
index 61f51ec..b6529a5 100644
--- a/resources/mobile.search/header.hogan
+++ b/resources/mobile.search/header.hogan
@@ -1,6 +1,3 @@
-
-   {{{cancelButton}}}
-
 


@@ -8,3 +5,6 @@
{{! See: T136243. Do not put the clear button inside the form as 
hitting enter on the input element triggers a button click, rather than 
submitting the form. }}
{{#clearIcon}}{{>icon}}{{/clearIcon}}
 
+
+   {{{cancelButton}}}
+

-- 
To view, visit https://gerrit.wikimedia.org/r/332880
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b7c5b2ba9888e10fb61d30587389cde0cee5f96
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: branding
Gerrit-Owner: Jdlrobson 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] VisualEditor/VisualEditor[master]: [BREAKING CHANGE] Merge Mobile/DesktopSurface into Surface

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332650 )

Change subject: [BREAKING CHANGE] Merge Mobile/DesktopSurface into Surface
..


[BREAKING CHANGE] Merge Mobile/DesktopSurface into Surface

Use OO.ui.isMobile() flag to change behaviour instead.

Change-Id: Ib463485105cd7decb5039927e9ed90d342b6d7ea
---
M build/modules.json
M demos/ve/desktop.html
M demos/ve/mobile.html
M src/init/sa/ve.init.sa.MobileTarget.js
M src/init/ve.init.Target.js
M src/ui/styles/ve.ui.MobileContext.css
D src/ui/styles/ve.ui.MobileSurface.css
M src/ui/styles/ve.ui.Overlay.css
D src/ui/ve.ui.DesktopSurface.js
D src/ui/ve.ui.MobileSurface.js
M src/ui/ve.ui.Surface.js
M tests/index.html
12 files changed, 109 insertions(+), 225 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/build/modules.json b/build/modules.json
index 40c33a2..36d0ab8 100644
--- a/build/modules.json
+++ b/build/modules.json
@@ -775,7 +775,6 @@
},
"visualEditor.desktop.build": {
"scripts": [
-   "src/ui/ve.ui.DesktopSurface.js",
"src/ui/contexts/ve.ui.DesktopContext.js",

"src/ui/windowmanagers/ve.ui.DesktopInspectorWindowManager.js"
],
@@ -797,14 +796,12 @@
},
"visualEditor.mobile.build": {
"scripts": [
-   "src/ui/ve.ui.MobileSurface.js",
"src/ui/contexts/ve.ui.MobileContext.js",

"src/ui/contextitems/ve.ui.MobileTableCellContextItem.js",
"src/ui/windowmanagers/ve.ui.MobileWindowManager.js"
],
"styles": [
-   "src/ui/styles/ve.ui.MobileContext.css",
-   "src/ui/styles/ve.ui.MobileSurface.css"
+   "src/ui/styles/ve.ui.MobileContext.css"
],
"dependencies": [
"visualEditor.core.build"
diff --git a/demos/ve/desktop.html b/demos/ve/desktop.html
index 3f009fc..6c2ad05 100644
--- a/demos/ve/desktop.html
+++ b/demos/ve/desktop.html
@@ -490,7 +490,6 @@

 

-   


 
diff --git a/demos/ve/mobile.html b/demos/ve/mobile.html
index 79946b2..5e8a06d 100644
--- a/demos/ve/mobile.html
+++ b/demos/ve/mobile.html
@@ -76,7 +76,6 @@
 


-   
 


@@ -491,7 +490,6 @@

 

-   



diff --git a/src/init/sa/ve.init.sa.MobileTarget.js 
b/src/init/sa/ve.init.sa.MobileTarget.js
index 2bccc3a..c7422a2 100644
--- a/src/init/sa/ve.init.sa.MobileTarget.js
+++ b/src/init/sa/ve.init.sa.MobileTarget.js
@@ -17,8 +17,6 @@
 ve.init.sa.MobileTarget = function VeInitSaMobileTarget( config ) {
// Parent constructor
ve.init.sa.MobileTarget.super.call( this, config );
-
-   this.$element.addClass( 've-init-sa-mobileTarget' );
 };
 
 /* Inheritance */
@@ -72,13 +70,6 @@
 ];
 
 /* Methods */
-
-/**
- * @inheritdoc
- */
-ve.init.sa.MobileTarget.prototype.createSurface = function ( dmDoc, config ) {
-   return new ve.ui.MobileSurface( dmDoc, this.getSurfaceConfig( config ) 
);
-};
 
 /**
  * @inheritdoc
diff --git a/src/init/ve.init.Target.js b/src/init/ve.init.Target.js
index 5b54549..0213b08 100644
--- a/src/init/ve.init.Target.js
+++ b/src/init/ve.init.Target.js
@@ -370,10 +370,10 @@
  * @method
  * @param {ve.dm.Document} dmDoc Document model
  * @param {Object} [config] Configuration options
- * @return {ve.ui.DesktopSurface}
+ * @return {ve.ui.Surface}
  */
 ve.init.Target.prototype.createSurface = function ( dmDoc, config ) {
-   return new ve.ui.DesktopSurface( dmDoc, this.getSurfaceConfig( config ) 
);
+   return new ve.ui.Surface( dmDoc, this.getSurfaceConfig( config ) );
 };
 
 /**
@@ -403,7 +403,7 @@
  *
  * @param {ve.dm.Document} dmDoc Document model
  * @param {Object} [config] Configuration options
- * @return {ve.ui.DesktopSurface}
+ * @return {ve.ui.Surface}
  */
 ve.init.Target.prototype.addSurface = function ( dmDoc, config ) {
var surface = this.createSurface( dmDoc, ve.extendObject( { mode: 
this.getDefaultMode() }, config ) );
diff --git a/src/ui/styles/ve.ui.MobileContext.css 
b/src/ui/styles/ve.ui.MobileContext.css
index 04eeb2c..b5cf829 100644
--- a/src/ui/styles/ve.ui.MobileContext.css
+++ b/src/ui/styles/ve.ui.MobileContext.css
@@ -1,5 +1,5 @@
 /*!
- * VisualEditor UserInterface MobileSurface styles.
+ * VisualEditor UserInterface MobileContext styles.
  *
  * @copyright 2011-2017 VisualEditor Team and others; see 
http://ve.mit-license.org
  */
diff --git a/src/ui/styles/ve.ui.MobileSurface.css 
b/src/ui/styles/ve.ui.MobileSurface.css
deleted file mode 10

[MediaWiki-commits] [Gerrit] mediawiki...VisualEditor[master]: Update VE core submodule to master (6eba2e2)

2017-01-18 Thread Jforrester (Code Review)
Jforrester has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332879 )

Change subject: Update VE core submodule to master (6eba2e2)
..

Update VE core submodule to master (6eba2e2)

New changes:
a38905d ui.AnnotationInspector: Don't assume previousSelection exists
fdbeef4 ui.AnnotationInspector: In source mode, provide fallback insertionData
a1a7ea7 build: Bump grunt-css-url-embed to latest
de4e5bc Localisation updates from https://translatewiki.net.
d37b453 Update OOjs UI to v0.18.4
8a3f09b ve.dm.TableMatrix: Indent ASCII-art comments
b2538e1 build: Bump grunt-css-url-embed to 1.9.0
9759f3f Fix minimal demo

Bug: T152781
Bug: T153378
Change-Id: I020083725c4e9663e2e468a3e68ecc237604c256
---
M lib/ve
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/79/332879/1

diff --git a/lib/ve b/lib/ve
index 538c3a2..6eba2e2 16
--- a/lib/ve
+++ b/lib/ve
@@ -1 +1 @@
-Subproject commit 538c3a2815e28559cb67432267ff0c0dde81fdda
+Subproject commit 6eba2e2f4c1eb3470ceea44e7313d37a84687acd

-- 
To view, visit https://gerrit.wikimedia.org/r/332879
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I020083725c4e9663e2e468a3e68ecc237604c256
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: Update: include Wikipedia apps in the regular export schedule

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/328292 )

Change subject: Update: include Wikipedia apps in the regular export schedule
..


Update: include Wikipedia apps in the regular export schedule

• Add "auto-merge" config option to repoconfig.json defaulting to true.
  This option is currently only applicable to Wikimedia Gerrit repos

• Sync Wikipedia Android and iOS apps in the regular export schedule;
  disable auto-merge for the Wikipedia Android app

• Change Wikipedia iOS push branch from "develop" to "twn"

• Change Wikipedia Android repo back from Phabricator to Gerrit for sync
  compatibility

• Don't auto +2 merge Wikipedia Android patches

Change-Id: I5a76295d887d427c3a260139aa4c31e2cbe53700
---
M bin/merge-wmgerrit-patches
M bin/nike-export-all
M bin/repocommit
M repoconfig.commit.json
M repoconfig.json
M repong/repong.php
6 files changed, 42 insertions(+), 47 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/bin/merge-wmgerrit-patches b/bin/merge-wmgerrit-patches
index cbc97f4..05448f8 100755
--- a/bin/merge-wmgerrit-patches
+++ b/bin/merge-wmgerrit-patches
@@ -2,8 +2,9 @@
 
 U="l10n-bot"
 GERRIT="$u...@gerrit.wikimedia.org -p 29418 gerrit"
+PROJECT="$1"
 
-for i in `ssh $GERRIT query --format=TEXT owner:$U status:open | grep '  url:' 
|cut -d/ -f5 |sort`
+for i in `ssh $GERRIT query --format=TEXT owner:$U project:$PROJECT 
status:open | grep '  url:' |cut -d/ -f5 |sort`
 do
 ssh $GERRIT review $i,1 --code-review 2 --verified 2 --submit
 done
diff --git a/bin/nike-export-all b/bin/nike-export-all
index 5405e11..4c35d50 100755
--- a/bin/nike-export-all
+++ b/bin/nike-export-all
@@ -53,6 +53,8 @@
 wikiedudashboard
 wikimania
 wikimedia-portals
+wikipedia-android
+wikipedia-ios
 "
 
 for i in $PROJECTS; do
diff --git a/bin/repocommit b/bin/repocommit
index 601af56..d6cdccf 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -27,14 +27,6 @@
git commit -q -m "$COMMITMSG" && git review -r origin -t l10n || :
 }
 
-mergeL10n-bot() {
-   for i in `ssh l10n-...@gerrit.wikimedia.org -p 29418 gerrit query 
--format=TEXT owner:l10n-bot status:open |grep "  url:" |cut -d/ -f5 |sort`
-   do
-   echo "Merging ${i}..."
-   ssh l10n-...@gerrit.wikimedia.org -p 29418 gerrit review $i,1 
--code-review 2 --verified 2 --submit
-   done
-}
-
 # TODO: Move to separate file?
 GITPROJECTS="\
 eol \
@@ -97,6 +89,7 @@
do
gitCommitGerrit "$DIR/$PROJECT/$BRANCH"
done
+   "$DIRSCRIPT/merge-wmgerrit-patches" "mediawiki/core"
 
 elif [ "$PROJECT" = "mediawiki-extensions" ]
 then
@@ -104,9 +97,8 @@
do
echo "--> $i"
gitCommitGerrit "$DIR/$PROJECT/extensions/$i"
+   "$DIRSCRIPT/merge-wmgerrit-patches" "mediawiki/extensions/$i"
done
-
-   mergeL10n-bot
 
 elif [ "$PROJECT" = "mediawiki-skins" ]
 then
@@ -114,9 +106,8 @@
do
echo "--> $i"
gitCommitGerrit "$DIR/$PROJECT/$i"
+   "$DIRSCRIPT/merge-wmgerrit-patches" "mediawiki/skins/$i"
done
-
-   mergeL10n-bot
 
 elif [ "$PROJECT" = "mifos" ]
 then
diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index abcb4e4..122f54f 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -475,8 +475,19 @@
"group": "out-wikimedia-mobile-wikipedia-android-*",
"repos": {
"wikipedia-android": {
-   "type": "git",
-   "url": 
"https://phabricator.wikimedia.org/diffusion/APAW";
+   "type": "wmgerrit",
+   "url": 
"https://gerrit.wikimedia.org/r/apps/android/wikipedia";,
+   "auto-merge": false
+   }
+   }
+   },
+   "wikipedia-ios": {
+   "group": "out-wikimedia-mobile-wikipedia-ios",
+   "repos": {
+   "wikipedia-ios": {
+   "type": "github",
+   "branch": "twn",
+   "url": 
"g...@github.com:wikimedia/wikipedia-ios.git"
}
}
},
@@ -495,16 +506,6 @@
"wikimedia-portals": {
"type": "wmgerrit",
"url": 
"ssh://l10n-...@gerrit.wikimedia.org:29418/wikimedia/portals"
-   }
-   }
-   },
-   "wikipedia-ios": {
-   "group": "out-wikimedia-mobile-wikipedia-ios",
-   "repos": {
-   "wikipedia-ios": {
-   "type": "git",
-   "branch": "develop",
-   "url": 
"g

[MediaWiki-commits] [Gerrit] mediawiki...TwoColConflict[master]: Use stylelint-disable-next-line for id selector

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332797 )

Change subject: Use stylelint-disable-next-line for id selector
..


Use stylelint-disable-next-line for id selector

Change-Id: I3956426d6e881c7a47012c0e461055980a7fe98e
---
M modules/ext.TwoColConflict.css
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Esanders: Looks good to me, approved
  jenkins-bot: Verified
  Thiemo Mättig (WMDE): Looks good to me, but someone else must approve



diff --git a/modules/ext.TwoColConflict.css b/modules/ext.TwoColConflict.css
index aa64fd7..49fbb02 100644
--- a/modules/ext.TwoColConflict.css
+++ b/modules/ext.TwoColConflict.css
@@ -63,11 +63,10 @@
line-height: 1.5em;
 }
 
-/* stylelint-disable selector-no-id */
+/* stylelint-disable-next-line selector-no-id */
 .mw-twocolconflict-editor-col #wpTextbox1 {
height: 400px;
 }
-/* stylelint-enable selector-no-id */
 
 .mw-twocolconflict-lastuser,
 del.mw-twocolconflict-diffchange {

-- 
To view, visit https://gerrit.wikimedia.org/r/332797
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3956426d6e881c7a47012c0e461055980a7fe98e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TwoColConflict
Gerrit-Branch: master
Gerrit-Owner: WMDE-Fisch 
Gerrit-Reviewer: Esanders 
Gerrit-Reviewer: Thiemo Mättig (WMDE) 
Gerrit-Reviewer: Tobias Gritschacher 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Unbreak extensions from ShowSearchHitTitle signature change

2017-01-18 Thread Chad (Code Review)
Chad has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332878 )

Change subject: Unbreak extensions from ShowSearchHitTitle signature change
..

Unbreak extensions from ShowSearchHitTitle signature change

Fixes If78cb0c29ae394f16e465c15a8e8246c1b56dcea

Change-Id: Ia56f2eb4a5ed98f727f924666322e1c97b3ee183
---
M docs/hooks.txt
M includes/widget/search/FullSearchResultWidget.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/78/332878/1

diff --git a/docs/hooks.txt b/docs/hooks.txt
index 4057cce..a000bb1 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -2822,7 +2822,7 @@
   function returned false.
 
 'ShowSearchHitTitle': Customise display of search hit title/link.
-$title: Title to link to
+&$title: Title to link to
 &$text: Text to use for the link
 $result: The search result
 $terms: The search terms entered
diff --git a/includes/widget/search/FullSearchResultWidget.php 
b/includes/widget/search/FullSearchResultWidget.php
index a93e1fc..69bfa6d 100644
--- a/includes/widget/search/FullSearchResultWidget.php
+++ b/includes/widget/search/FullSearchResultWidget.php
@@ -134,7 +134,7 @@
$queryString = [];
 
Hooks::run( 'ShowSearchHitTitle',
-   [ $title, &$snippet, $result, $terms, 
$this->specialPage, &$queryString ] );
+   [ &$title, &$snippet, $result, $terms, 
$this->specialPage, &$queryString ] );
 
$link = $this->linkRenderer->makeLink(
$title,

-- 
To view, visit https://gerrit.wikimedia.org/r/332878
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia56f2eb4a5ed98f727f924666322e1c97b3ee183
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Chad 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: Bump some dep minor versions

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332872 )

Change subject: Bump some dep minor versions
..


Bump some dep minor versions

Change-Id: Ib51c361b7ef9782a00bfc5298280c5ec7687ee18
---
M npm-shrinkwrap.json
M package.json
2 files changed, 82 insertions(+), 104 deletions(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index 27f5c21..a92091c 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -27,8 +27,8 @@
   }
 },
 "body-parser": {
-  "version": "1.15.2",
-  "resolved": 
"https://registry.npmjs.org/body-parser/-/body-parser-1.15.2.tgz";,
+  "version": "1.16.0",
+  "resolved": 
"https://registry.npmjs.org/body-parser/-/body-parser-1.16.0.tgz";,
   "dependencies": {
 "bytes": {
   "version": "2.4.0",
@@ -39,12 +39,12 @@
   "resolved": 
"https://registry.npmjs.org/content-type/-/content-type-1.0.2.tgz";
 },
 "debug": {
-  "version": "2.2.0",
-  "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz";,
+  "version": "2.6.0",
+  "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.0.tgz";,
   "dependencies": {
 "ms": {
-  "version": "0.7.1",
-  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz";
+  "version": "0.7.2",
+  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz";
 }
   }
 },
@@ -53,26 +53,26 @@
   "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.0.tgz";
 },
 "http-errors": {
-  "version": "1.5.0",
-  "resolved": 
"https://registry.npmjs.org/http-errors/-/http-errors-1.5.0.tgz";,
+  "version": "1.5.1",
+  "resolved": 
"https://registry.npmjs.org/http-errors/-/http-errors-1.5.1.tgz";,
   "dependencies": {
 "inherits": {
-  "version": "2.0.1",
-  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
+  "version": "2.0.3",
+  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz";
 },
 "setprototypeof": {
-  "version": "1.0.1",
-  "resolved": 
"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.1.tgz";
+  "version": "1.0.2",
+  "resolved": 
"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.2.tgz";
 },
 "statuses": {
-  "version": "1.3.0",
-  "resolved": 
"https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz";
+  "version": "1.3.1",
+  "resolved": 
"https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz";
 }
   }
 },
 "iconv-lite": {
-  "version": "0.4.13",
-  "resolved": 
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.13.tgz";
+  "version": "0.4.15",
+  "resolved": 
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.15.tgz";
 },
 "on-finished": {
   "version": "2.3.0",
@@ -85,12 +85,12 @@
   }
 },
 "qs": {
-  "version": "6.2.0",
-  "resolved": "https://registry.npmjs.org/qs/-/qs-6.2.0.tgz";
+  "version": "6.2.1",
+  "resolved": "https://registry.npmjs.org/qs/-/qs-6.2.1.tgz";
 },
 "raw-body": {
-  "version": "2.1.7",
-  "resolved": 
"https://registry.npmjs.org/raw-body/-/raw-body-2.1.7.tgz";,
+  "version": "2.2.0",
+  "resolved": 
"https://registry.npmjs.org/raw-body/-/raw-body-2.2.0.tgz";,
   "dependencies": {
 "unpipe": {
   "version": "1.0.0",
@@ -99,20 +99,20 @@
   }
 },
 "type-is": {
-  "version": "1.6.13",
-  "resolved": 
"https://registry.npmjs.org/type-is/-/type-is-1.6.13.tgz";,
+  "version": "1.6.14",
+  "resolved": 
"https://registry.npmjs.org/type-is/-/type-is-1.6.14.tgz";,
   "dependencies": {
 "media-typer": {
   "version": "0.3.0",
   "resolved": 
"https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz";
 },
 "mime-types": {
-  "version": "2.1.11",
-  "resolved": 
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.11.tgz";,
+  "version": "2.1.14",
+  "resolved": 
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz";,
   "dependencies": {
 "mime-db": {
-  "version": "1.23.0",
-  "resolved": 
"https://registry.npmjs.org/mime-db/-/mime-db-1.23.0.tgz";
+  "version": "1.26.0",
+  "resolved": 

[MediaWiki-commits] [Gerrit] VisualEditor/VisualEditor[master]: Fix minimal demo

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332875 )

Change subject: Fix minimal demo
..


Fix minimal demo

* Append before setting up surface to fix toolbar measurement
* Use 0.8em globally
* Use OOUI widgets for HTML output

Bug: T152781
Change-Id: Icb4dd0293874eb26d694593b63d477238612786a
---
M demos/ve/demo.minimal.css
M demos/ve/demo.minimal.js
M demos/ve/minimal-rtl.html
M demos/ve/minimal.html
M demos/ve/minimal.html.template
5 files changed, 22 insertions(+), 21 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jforrester: Looks good to me, approved



diff --git a/demos/ve/demo.minimal.css b/demos/ve/demo.minimal.css
index 770e36d..e233882 100644
--- a/demos/ve/demo.minimal.css
+++ b/demos/ve/demo.minimal.css
@@ -6,6 +6,7 @@
 
 body {
font-family: sans-serif;
+   font-size: 0.8em;
 }
 
 .ve-instance {
@@ -24,6 +25,6 @@
 
 .ve-demo-html {
margin-top: 1em;
-   width: 100%;
-   height: 10em;
+   max-width: none;
+   font-family: monospace, 'Courier';
 }
diff --git a/demos/ve/demo.minimal.js b/demos/ve/demo.minimal.js
index 493c600..ddad9eb 100644
--- a/demos/ve/demo.minimal.js
+++ b/demos/ve/demo.minimal.js
@@ -10,8 +10,12 @@
$( '.ve-instance' ).text( 'Sorry, this browser is not 
supported.' );
} )
.done( function () {
-   // Create the target
-   var target = new ve.init.sa.Target();
+   var convertButton, convertText,
+   // Create the target
+   target = new ve.init.sa.Target();
+
+   // Append the target to the document
+   $( '.ve-instance' ).append( target.$element );
 
// Create a document model for a new surface
target.addSurface(
@@ -22,11 +26,16 @@
)
);
 
-   // Append the target to the document
-   $( '.ve-instance' ).append( target.$element );
-
-   $( '.ve-demo-convert' ).on( 'click', function () {
+   // Button and textarea for showing HTML output
+   convertButton = new OO.ui.ButtonWidget( { label: 'Convert to 
HTML', icon: 'expand' } ).on( 'click', function () {
// Get the current HTML from the surface and display
-   $( '.ve-demo-html' ).val( target.getSurface().getHtml() 
);
+   convertText.setValue( target.getSurface().getHtml() );
} );
+
+   convertText = new OO.ui.TextInputWidget( { multiline: true, 
autosize: true, classes: [ 've-demo-html' ] } );
+
+   $( '.ve-demo-output' ).append(
+   convertButton.$element,
+   convertText.$element
+   );
} );
diff --git a/demos/ve/minimal-rtl.html b/demos/ve/minimal-rtl.html
index 60387ec..2bc64ce 100644
--- a/demos/ve/minimal-rtl.html
+++ b/demos/ve/minimal-rtl.html
@@ -31,10 +31,7 @@



-   
-   
-   
-   
+   
 


diff --git a/demos/ve/minimal.html b/demos/ve/minimal.html
index 277e4e5..b195623 100644
--- a/demos/ve/minimal.html
+++ b/demos/ve/minimal.html
@@ -31,10 +31,7 @@



-   
-   
-   
-   
+   
 


diff --git a/demos/ve/minimal.html.template b/demos/ve/minimal.html.template
index d8ad050..b4dd589 100644
--- a/demos/ve/minimal.html.template
+++ b/demos/ve/minimal.html.template
@@ -17,10 +17,7 @@



-   
-   
-   
-   
+   
 
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332875
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icb4dd0293874eb26d694593b63d477238612786a
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders 
Gerrit-Reviewer: Jforrester 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: intuition: switch to repong, github

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332680 )

Change subject: intuition: switch to repong, github
..


intuition: switch to repong, github

Change-Id: Icb41d07828ab5bc51c3562d4329b86d9af58a33f
---
M REPOCONF
M REPOCONF.commit
M bin/REPONG-PROJECTS
M bin/repocommit
M bin/repoexport
M bin/repoupdate
M repoconfig.commit.json
M repoconfig.json
8 files changed, 21 insertions(+), 8 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/REPOCONF b/REPOCONF
index 164bf2c..047828e 100644
--- a/REPOCONF
+++ b/REPOCONF
@@ -11,7 +11,6 @@
 REPO_IHRIS=http://bazaar.launchpad.net/~intrahealth%2Binformatics
 REPO_IHRIS_BRANCH="4.2-dev"
 REPO_IHRIS_MODULES="i2ce ihris-common ihris-manage ihris-qualify ihris-train"
-REPO_INTUITION=https://github.com/Krinkle/intuition.git
 REPO_INTREFILL=https://github.com/zhaofengli/refill.git
 REPO_MATHJAX=https://github.com/mathjax/MathJax-i18n.git
 REPO_MIFOS=https://github.com/openMF/community-app.git
diff --git a/REPOCONF.commit b/REPOCONF.commit
index ed22366..c26734a 100644
--- a/REPOCONF.commit
+++ b/REPOCONF.commit
@@ -20,7 +20,6 @@
 REPO_IHRIS=http://bazaar.launchpad.net/~intrahealth%2Binformatics
 REPO_IHRIS_BRANCH="4.2"
 REPO_IHRIS_MODULES="i2ce ihris-common ihris-manage ihris-qualify ihris-train"
-REPO_INTUITION=g...@github.com:Krinkle/intuition.git
 REPO_INTREFILL=g...@github.com:zhaofengli/refill.git
 REPO_MATHJAX=g...@github.com:mathjax/MathJax-i18n.git
 REPO_MIFOS=g...@github.com:openMF/community-app.git
diff --git a/bin/REPONG-PROJECTS b/bin/REPONG-PROJECTS
index fca8947..f17d04a 100644
--- a/bin/REPONG-PROJECTS
+++ b/bin/REPONG-PROJECTS
@@ -13,6 +13,7 @@
 hivejs
 huggle
 inaturalist
+intuition
 int-dcatap
 int-heritage
 int-orphantalk
diff --git a/bin/repocommit b/bin/repocommit
index 498d217..601af56 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -38,7 +38,6 @@
 # TODO: Move to separate file?
 GITPROJECTS="\
 eol \
-intuition \
 int-refill \
 mathjax \
 osm \
diff --git a/bin/repoexport b/bin/repoexport
index 7730ccd..71b91bd 100755
--- a/bin/repoexport
+++ b/bin/repoexport
@@ -41,10 +41,6 @@
 then
php "$EXPORTER" --target . --group=out-ihris* --lang='*' --skip en,qqq 
$THRESHOLD --ppgettext=/resources/projects
 
-elif [ "$PROJECT" = "intuition" ]
-then
-   php "$EXPORTER" --target . --group=tsint* --lang='*' --skip "$SKIPLANGS"
-
 elif [ "$PROJECT" = "int-refill" ]
 then
php "$EXPORTER" --target . --group=int-refill --lang='*' --skip en 
$HOURS
diff --git a/bin/repoupdate b/bin/repoupdate
index 66280ae..b3ac698 100755
--- a/bin/repoupdate
+++ b/bin/repoupdate
@@ -46,7 +46,6 @@
 
 GITCLUPDATE="\
 eol \
-intuition \
 int-refill \
 mathjax \
 vicuna \
diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index 3e3cb5e..abcb4e4 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -61,6 +61,16 @@
}
}
},
+   "intuition": {
+   "group": "tsint-*",
+   "export-threshold": 1,
+   "repos": {
+   "intuition": {
+   "type": "github",
+   "url": "g...@github.com:Krinkle/intuition.git"
+   }
+   }
+   },
"int-dcatap": {
"group": "int-dcatap",
"no-export-languages": 
"ady,aeb,bbc,be-x-old,crh,dk,en,fiu-vro,gan,gom,got,hif,iu,kbd,kk,kk-cn,kk-kz,kk-tr,ko-kp,ku,ku-arab,no,ruq,simple,sr,test,tg,tp,tt,ug,zh,zh-classical,zh-cn,zh-hk,zh-min-nan,zh-mo,zh-my,zh-sg,zh-tw,zh-yue",
diff --git a/repoconfig.json b/repoconfig.json
index c654863..f3580fd 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -60,6 +60,16 @@
}
}
},
+   "intuition": {
+   "group": "tsint-*",
+   "export-threshold": 1,
+   "repos": {
+   "intuition": {
+   "type": "github",
+   "url": 
"https://github.com/Krinkle/intuition.git";
+   }
+   }
+   },
"int-dcatap": {
"group": "int-dcatap",
"repos": {

-- 
To view, visit https://gerrit.wikimedia.org/r/332680
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icb41d07828ab5bc51c3562d4329b86d9af58a33f
Gerrit-PatchSet: 6
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Nemo bis 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: Bump some dev deps

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332868 )

Change subject: Bump some dev deps
..


Bump some dev deps

Change-Id: I2f4370d26dd71d50ac75394cb5afef702adba995
---
M npm-shrinkwrap.json
M package.json
2 files changed, 156 insertions(+), 278 deletions(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index fe0dc96..27f5c21 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -256,60 +256,36 @@
   "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz";
 },
 "coveralls": {
-  "version": "2.11.11",
-  "resolved": 
"https://registry.npmjs.org/coveralls/-/coveralls-2.11.11.tgz";,
+  "version": "2.11.15",
+  "resolved": 
"https://registry.npmjs.org/coveralls/-/coveralls-2.11.15.tgz";,
   "dependencies": {
-"js-yaml": {
-  "version": "3.0.1",
-  "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.0.1.tgz";,
-  "dependencies": {
-"argparse": {
-  "version": "0.1.16",
-  "resolved": 
"https://registry.npmjs.org/argparse/-/argparse-0.1.16.tgz";,
-  "dependencies": {
-"underscore": {
-  "version": "1.7.0",
-  "resolved": 
"https://registry.npmjs.org/underscore/-/underscore-1.7.0.tgz";
-},
-"underscore.string": {
-  "version": "2.4.0",
-  "resolved": 
"https://registry.npmjs.org/underscore.string/-/underscore.string-2.4.0.tgz";
-}
-  }
-},
-"esprima": {
-  "version": "1.0.4",
-  "resolved": 
"https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz";
-}
-  }
-},
 "lcov-parse": {
-  "version": "0.0.6",
-  "resolved": 
"https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.6.tgz";
+  "version": "0.0.10",
+  "resolved": 
"https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.10.tgz";
 },
 "log-driver": {
-  "version": "1.2.4",
-  "resolved": 
"https://registry.npmjs.org/log-driver/-/log-driver-1.2.4.tgz";
+  "version": "1.2.5",
+  "resolved": 
"https://registry.npmjs.org/log-driver/-/log-driver-1.2.5.tgz";
 },
 "minimist": {
   "version": "1.2.0",
   "resolved": 
"https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz";
 },
 "request": {
-  "version": "2.69.0",
-  "resolved": 
"https://registry.npmjs.org/request/-/request-2.69.0.tgz";,
+  "version": "2.75.0",
+  "resolved": 
"https://registry.npmjs.org/request/-/request-2.75.0.tgz";,
   "dependencies": {
 "aws-sign2": {
   "version": "0.6.0",
   "resolved": 
"https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz";
 },
 "aws4": {
-  "version": "1.4.1",
-  "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.4.1.tgz";
+  "version": "1.5.0",
+  "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.5.0.tgz";
 },
 "bl": {
-  "version": "1.0.3",
-  "resolved": "https://registry.npmjs.org/bl/-/bl-1.0.3.tgz";,
+  "version": "1.1.2",
+  "resolved": "https://registry.npmjs.org/bl/-/bl-1.1.2.tgz";,
   "dependencies": {
 "readable-stream": {
   "version": "2.0.6",
@@ -320,8 +296,8 @@
   "resolved": 
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
 },
 "inherits": {
-  "version": "2.0.1",
-  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
+  "version": "2.0.3",
+  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz";
 },
 "isarray": {
   "version": "1.0.0",
@@ -366,12 +342,12 @@
   "resolved": 
"https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz";
 },
 "form-data": {
-  "version": "1.0.0-rc4",
-  "resolved": 
"https://registry.npmjs.org/form-data/-/form-data-1.0.0-rc4.tgz";,
+  "version": "2.0.0",
+  "resolved": 
"https://registry.npmjs.org/form-data/-/form-data-2.0.0.tgz";,
   "dependencies": {
-"async": {
-  "version": "1.5.2",
-  "resolved": 
"https://registry.npmjs.org/async/-/async-1.5.2.tgz";
+"asynckit": {
+  "version": "0.4.0",
+  "resolved": 
"http

[MediaWiki-commits] [Gerrit] wikimedia/TransparencyReport-private[master]: add bubble graph footnote

2017-01-18 Thread Siddparmar (Code Review)
Siddparmar has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332877 )

Change subject: add bubble graph footnote
..


add bubble graph footnote

Change-Id: I378cf9ba57a985007ae0b47b77aabf26837cef69
---
M build/privacy.html
M locales/en.yml
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Siddparmar: Verified; Looks good to me, approved



diff --git a/build/privacy.html b/build/privacy.html
index 64d09f2..f147c01 100644
--- a/build/privacy.html
+++ b/build/privacy.html
@@ -219,7 +219,7 @@
Requests where information was 
produced


-   *Due to the inconsistent release 
dates across different organizations, comparison data for the period covered by 
this report (January 2016 - June 2016) was not available, so we are presenting 
the comparison data above for July 2015 - December 2015. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details.
+   *Due to the inconsistent release 
dates across different organizations, comparison data for the period covered by 
this report (July 2016 - December 2016) was not available, so we are presenting 
the comparison data above for January 2016 - July 2016. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details.



diff --git a/locales/en.yml b/locales/en.yml
index 3d87a52..6289be7 100644
--- a/locales/en.yml
+++ b/locales/en.yml
@@ -76,7 +76,7 @@
 information_was_produced: "Requests where information was produced"
 content_requests: "Content requests"
 non-content_requests: "Non-content requests"
-bubble_graph_fineprint: "Due to the inconsistent release dates across 
different organizations, comparison data for the period covered by this report 
(January 2016 - June 2016) was not available, so we are presenting the 
comparison data above for July 2015 - December 2015. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details."
+bubble_graph_fineprint: "Due to the inconsistent release dates across 
different organizations, comparison data for the period covered by this report 
(July 2016 - December 2016) was not available, so we are presenting the 
comparison data above for January 2016 - July 2016. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details."
 show_all: "Show All"
 request_type: "Request Type"
 information_produced_title: "Information Produced?"
@@ -273,7 +273,7 @@
 a_national_security_request: "“National security requests” 
include national 
security letters and orders issued under the Foreign 
Intelligence Surveillance Act (50 U.S.C. §1801 
et seq.)."
 
 q_wiretap: "What is a  “wiretap” or a  “pen 
register”, and why doesn’t the Wikimedia Foundation list them in its 
Transparency Report?"
-a_wiretap: "A wiretap order (see The 
Wiretap Act, 18 U.S.C. 
§ 2511 et seq.) is an order that requires the real-time 
interception of the content of telephone or internet communications. A pen register order (see The Pen 
Register Statute, 18 U.S.C. 
§ 3121 et seq.) requires the real-time interception of 
non-content information associated with telephone or internet communications 
(such as routing information). We have never received a wiretap or pen register 
order. Should we receive such an order, we will disclose it in this report if 
allowed to do so by law."
+a_wiretap: "A wiretap order (see The 
Wiretap Act, 18 U.S.C. 
§ 2511 et seq.) is an order that requires the real-time 
interception of the content of telephone or internet communications. A pen register order (see The Pen 
Register Statute, 18 U.S.C. 
§ 3121 et seq.) requires the real-time interception of 
non-content information associated with telephone or internet communications 
(such as routing information). We have never received a wiretap or pen register 
order. Should we receive such an order, we will disclose it in this report if 
allowed to do so by law."
 
 q_potentially_affected: "What do you mean by “user accounts 
potentially affected”?"
 a_potentially_affected: "This number represents the number of unique 
user accounts implicated by requests for user data and whose data would have 
been disclosed if we had granted every request we received. This number may not 
reflect the number of unique individuals implicated by requests for user data, 
sin

[MediaWiki-commits] [Gerrit] wikimedia/TransparencyReport-private[master]: add bubble graph footnote

2017-01-18 Thread Siddparmar (Code Review)
Siddparmar has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332877 )

Change subject: add bubble graph footnote
..

add bubble graph footnote

Change-Id: I378cf9ba57a985007ae0b47b77aabf26837cef69
---
M build/privacy.html
M locales/en.yml
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/wikimedia/TransparencyReport-private 
refs/changes/77/332877/1

diff --git a/build/privacy.html b/build/privacy.html
index 64d09f2..f147c01 100644
--- a/build/privacy.html
+++ b/build/privacy.html
@@ -219,7 +219,7 @@
Requests where information was 
produced


-   *Due to the inconsistent release 
dates across different organizations, comparison data for the period covered by 
this report (January 2016 - June 2016) was not available, so we are presenting 
the comparison data above for July 2015 - December 2015. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details.
+   *Due to the inconsistent release 
dates across different organizations, comparison data for the period covered by 
this report (July 2016 - December 2016) was not available, so we are presenting 
the comparison data above for January 2016 - July 2016. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details.



diff --git a/locales/en.yml b/locales/en.yml
index 3d87a52..6289be7 100644
--- a/locales/en.yml
+++ b/locales/en.yml
@@ -76,7 +76,7 @@
 information_was_produced: "Requests where information was produced"
 content_requests: "Content requests"
 non-content_requests: "Non-content requests"
-bubble_graph_fineprint: "Due to the inconsistent release dates across 
different organizations, comparison data for the period covered by this report 
(January 2016 - June 2016) was not available, so we are presenting the 
comparison data above for July 2015 - December 2015. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details."
+bubble_graph_fineprint: "Due to the inconsistent release dates across 
different organizations, comparison data for the period covered by this report 
(July 2016 - December 2016) was not available, so we are presenting the 
comparison data above for January 2016 - July 2016. Please also note that 
figures for Wikimedia include additional types of requests for user data that 
are not included in the other organizations' figures. See the FAQ for more details."
 show_all: "Show All"
 request_type: "Request Type"
 information_produced_title: "Information Produced?"
@@ -273,7 +273,7 @@
 a_national_security_request: "“National security requests” 
include national 
security letters and orders issued under the Foreign 
Intelligence Surveillance Act (50 U.S.C. §1801 
et seq.)."
 
 q_wiretap: "What is a  “wiretap” or a  “pen 
register”, and why doesn’t the Wikimedia Foundation list them in its 
Transparency Report?"
-a_wiretap: "A wiretap order (see The 
Wiretap Act, 18 U.S.C. 
§ 2511 et seq.) is an order that requires the real-time 
interception of the content of telephone or internet communications. A pen register order (see The Pen 
Register Statute, 18 U.S.C. 
§ 3121 et seq.) requires the real-time interception of 
non-content information associated with telephone or internet communications 
(such as routing information). We have never received a wiretap or pen register 
order. Should we receive such an order, we will disclose it in this report if 
allowed to do so by law."
+a_wiretap: "A wiretap order (see The 
Wiretap Act, 18 U.S.C. 
§ 2511 et seq.) is an order that requires the real-time 
interception of the content of telephone or internet communications. A pen register order (see The Pen 
Register Statute, 18 U.S.C. 
§ 3121 et seq.) requires the real-time interception of 
non-content information associated with telephone or internet communications 
(such as routing information). We have never received a wiretap or pen register 
order. Should we receive such an order, we will disclose it in this report if 
allowed to do so by law."
 
 q_potentially_affected: "What do you mean by “user accounts 
potentially affected”?"
 a_potentially_affected: "This number represents the number of unique 
user accounts implicated by requests for user data and whose data would have 
been disclosed if we had granted every request we received. This number may not 
reflect the number of unique individuals impli

[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: Bump service-runner to 2.1.13

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332818 )

Change subject: Bump service-runner to 2.1.13
..


Bump service-runner to 2.1.13

 * And match yargs versions.

 * The required change bin/parse.js is because of the first yargs.parse call
   overwrites the process args after v4.8.1

   https://github.com/yargs/yargs/commit/063a866

   Looks like we could alternatively pass a second value, true, for
   shortCircuit but that isn't really advertised externally.  We should
   probably be careful that any file that includes bin/parse.js as a
   library and uses yargs needs a similar workaround.  So far, just
   lib/index.js includes it, but doesn't use yargs.

Change-Id: I9a12f1f6aac7c49b62f33fa18cf25db65fc6a0c1
---
M bin/parse.js
M npm-shrinkwrap.json
M package.json
3 files changed, 65 insertions(+), 195 deletions(-)

Approvals:
  Subramanya Sastry: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/bin/parse.js b/bin/parse.js
index 01047a8..55f9096 100755
--- a/bin/parse.js
+++ b/bin/parse.js
@@ -355,7 +355,7 @@
standardOpts
).strict();
 
-   var argv = opts.argv;
+   var argv = opts.parse(process.argv);
 
if (Util.booleanOption(argv.help)) {
opts.showHelp();
diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index e642f9a..fe0dc96 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -4068,16 +4068,16 @@
   }
 },
 "service-runner": {
-  "version": "2.1.0",
-  "resolved": 
"https://registry.npmjs.org/service-runner/-/service-runner-2.1.0.tgz";,
+  "version": "2.1.13",
+  "resolved": 
"https://registry.npmjs.org/service-runner/-/service-runner-2.1.13.tgz";,
   "dependencies": {
 "bluebird": {
-  "version": "3.4.6",
-  "resolved": 
"https://registry.npmjs.org/bluebird/-/bluebird-3.4.6.tgz";
+  "version": "3.4.7",
+  "resolved": 
"https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz";
 },
 "bunyan": {
-  "version": "1.8.1",
-  "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.1.tgz";
+  "version": "1.8.5",
+  "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.5.tgz";
 },
 "bunyan-syslog-udp": {
   "version": "0.1.0",
@@ -4098,8 +4098,8 @@
   }
 },
 "hot-shots": {
-  "version": "2.4.0",
-  "resolved": 
"https://registry.npmjs.org/hot-shots/-/hot-shots-2.4.0.tgz";
+  "version": "4.3.1",
+  "resolved": 
"https://registry.npmjs.org/hot-shots/-/hot-shots-4.3.1.tgz";
 },
 "limitation": {
   "version": "0.1.9",
@@ -4145,56 +4145,28 @@
   "resolved": 
"https://registry.npmjs.org/merge/-/merge-1.2.0.tgz";
 },
 "ms": {
-  "version": "0.7.1",
-  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz";
+  "version": "0.7.2",
+  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz";
 },
 "msgpack5": {
-  "version": "3.4.0",
-  "resolved": 
"https://registry.npmjs.org/msgpack5/-/msgpack5-3.4.0.tgz";,
+  "version": "3.4.1",
+  "resolved": 
"https://registry.npmjs.org/msgpack5/-/msgpack5-3.4.1.tgz";,
   "dependencies": {
 "bl": {
-  "version": "1.1.2",
-  "resolved": 
"https://registry.npmjs.org/bl/-/bl-1.1.2.tgz";,
-  "dependencies": {
-"readable-stream": {
-  "version": "2.0.6",
-  "resolved": 
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz";,
-  "dependencies": {
-"core-util-is": {
-  "version": "1.0.2",
-  "resolved": 
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
-},
-"isarray": {
-  "version": "1.0.0",
-  "resolved": 
"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz";
-},
-"process-nextick-args": {
-  "version": "1.0.7",
-  "resolved": 
"https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz";
-},
-"string_decoder": {
-  "version": "0.10.31",
-  "resolved": 
"https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz";
-   

[MediaWiki-commits] [Gerrit] integration/config[master]: Add non-voting unit tests

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332810 )

Change subject: Add non-voting unit tests
..


Add non-voting unit tests

Add non-voting unit tests for ImageTweaks, MOOC, SemanticBundle and
SemanticLinks

Starting with non-voting, maybe changed later, when test passed.

Change-Id: I9d243f4d530a7b605f5851ea50e4cbbde4dbd0a1
---
M zuul/layout.yaml
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index da3ced5..681a2b3 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -5566,6 +5566,7 @@
   - name: mediawiki/extensions/ImageTweaks
 template:
   - name: composer-test
+  - name: extension-unittests-non-voting
   - name: npm
 check:
   - jsonlint
@@ -5852,6 +5853,10 @@
   - name: npm
 check:
   - jsonlint
+
+  - name: mediawiki/extensions/MOOC
+template:
+  - name: extension-unittests-non-voting
 
   - name: mediawiki/extensions/Moodle
 template:
@@ -8125,6 +8130,7 @@
 
   - name: mediawiki/extensions/SemanticBundle
 template:
+  - name: extension-unittests-non-voting
   - name: npm
 check: &semanticbundle_jobs
  - jshint
@@ -8191,6 +8197,10 @@
   - name: jsonlint
   - name: npm
 
+  - name: mediawiki/extensions/SemanticLinks
+template:
+  - name: extension-unittests-non-voting
+
   - name: mediawiki/extensions/SemanticMediaWiki
 template:
   - name: jshint

-- 
To view, visit https://gerrit.wikimedia.org/r/332810
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9d243f4d530a7b605f5851ea50e4cbbde4dbd0a1
Gerrit-PatchSet: 2
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Paladox 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] VisualEditor/VisualEditor[master]: Fix minimal demo

2017-01-18 Thread Esanders (Code Review)
Esanders has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332875 )

Change subject: Fix minimal demo
..

Fix minimal demo

* Append before setting up surface to fix toolbar measurement
* Use 0.8em globally
* Use OOUI widgets for HTML output

Bug: T152781
Change-Id: Icb4dd0293874eb26d694593b63d477238612786a
---
M demos/ve/demo.minimal.css
M demos/ve/demo.minimal.js
M demos/ve/minimal-rtl.html
M demos/ve/minimal.html
M demos/ve/minimal.html.template
5 files changed, 22 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/75/332875/1

diff --git a/demos/ve/demo.minimal.css b/demos/ve/demo.minimal.css
index 770e36d..e233882 100644
--- a/demos/ve/demo.minimal.css
+++ b/demos/ve/demo.minimal.css
@@ -6,6 +6,7 @@
 
 body {
font-family: sans-serif;
+   font-size: 0.8em;
 }
 
 .ve-instance {
@@ -24,6 +25,6 @@
 
 .ve-demo-html {
margin-top: 1em;
-   width: 100%;
-   height: 10em;
+   max-width: none;
+   font-family: monospace, 'Courier';
 }
diff --git a/demos/ve/demo.minimal.js b/demos/ve/demo.minimal.js
index 493c600..ddad9eb 100644
--- a/demos/ve/demo.minimal.js
+++ b/demos/ve/demo.minimal.js
@@ -10,8 +10,12 @@
$( '.ve-instance' ).text( 'Sorry, this browser is not 
supported.' );
} )
.done( function () {
-   // Create the target
-   var target = new ve.init.sa.Target();
+   var convertButton, convertText,
+   // Create the target
+   target = new ve.init.sa.Target();
+
+   // Append the target to the document
+   $( '.ve-instance' ).append( target.$element );
 
// Create a document model for a new surface
target.addSurface(
@@ -22,11 +26,16 @@
)
);
 
-   // Append the target to the document
-   $( '.ve-instance' ).append( target.$element );
-
-   $( '.ve-demo-convert' ).on( 'click', function () {
+   // Button and textarea for showing HTML output
+   convertButton = new OO.ui.ButtonWidget( { label: 'Convert to 
HTML', icon: 'expand' } ).on( 'click', function () {
// Get the current HTML from the surface and display
-   $( '.ve-demo-html' ).val( target.getSurface().getHtml() 
);
+   convertText.setValue( target.getSurface().getHtml() );
} );
+
+   convertText = new OO.ui.TextInputWidget( { multiline: true, 
autosize: true, classes: [ 've-demo-html' ] } );
+
+   $( '.ve-demo-output' ).append(
+   convertButton.$element,
+   convertText.$element
+   );
} );
diff --git a/demos/ve/minimal-rtl.html b/demos/ve/minimal-rtl.html
index 60387ec..2bc64ce 100644
--- a/demos/ve/minimal-rtl.html
+++ b/demos/ve/minimal-rtl.html
@@ -31,10 +31,7 @@



-   
-   
-   
-   
+   
 


diff --git a/demos/ve/minimal.html b/demos/ve/minimal.html
index 277e4e5..b195623 100644
--- a/demos/ve/minimal.html
+++ b/demos/ve/minimal.html
@@ -31,10 +31,7 @@



-   
-   
-   
-   
+   
 


diff --git a/demos/ve/minimal.html.template b/demos/ve/minimal.html.template
index d8ad050..b4dd589 100644
--- a/demos/ve/minimal.html.template
+++ b/demos/ve/minimal.html.template
@@ -17,10 +17,7 @@



-   
-   
-   
-   
+   
 
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332875
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb4dd0293874eb26d694593b63d477238612786a
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/puppet[production]: Enable instance restbase-dev1001-b.eqiad.wmnet

2017-01-18 Thread Eevans (Code Review)
Eevans has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332876 )

Change subject: Enable instance restbase-dev1001-b.eqiad.wmnet
..

Enable instance restbase-dev1001-b.eqiad.wmnet

Bug: T153880
Change-Id: I0d8af1bcc1b7626df2263ada92e8269c35686c2f
---
M hieradata/hosts/restbase-dev1001.yaml
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/76/332876/1

diff --git a/hieradata/hosts/restbase-dev1001.yaml 
b/hieradata/hosts/restbase-dev1001.yaml
index b3b5303..482406d 100644
--- a/hieradata/hosts/restbase-dev1001.yaml
+++ b/hieradata/hosts/restbase-dev1001.yaml
@@ -5,10 +5,10 @@
 listen_address: 10.64.0.36
 rpc_address: 10.64.0.36
 rpc_interface: eth0
-#  b:
-#jmx_port: 7190
-#listen_address: 10.64.0.37
-#rpc_address: 10.64.0.37
-#rpc_interface: eth0
+  b:
+jmx_port: 7190
+listen_address: 10.64.0.37
+rpc_address: 10.64.0.37
+rpc_interface: eth0
 
 do_paging: false

-- 
To view, visit https://gerrit.wikimedia.org/r/332876
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d8af1bcc1b7626df2263ada92e8269c35686c2f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Eevans 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...WikiObjectModel[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread Hashar (Code Review)
Hashar has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332784 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: Id4ed1e6bbcc3acbcfd5229b650cd037c2100ad4f
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Verified; Looks good to me, approved



diff --git a/.gitignore b/.gitignore
index 98b092a..e62fc28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+node_modules/
+vendor/
+
 .svn
 *~
 *.kate-swp
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332784
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4ed1e6bbcc3acbcfd5229b650cd037c2100ad4f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiObjectModel
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Umherirrender 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...YotpoReviews[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332792 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: I3cbd5ef1a9557ce17a5cd5d890208097b4ea3bf6
---
A .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..a7abe44
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+node_modules/
+vendor/
+
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332792
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3cbd5ef1a9557ce17a5cd5d890208097b4ea3bf6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/YotpoReviews
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...EventBus[master]: Encode titles in event URIs complient to MW rules.

2017-01-18 Thread Ppchelko (Code Review)
Ppchelko has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332873 )

Change subject: Encode titles in event URIs complient to MW rules.
..

Encode titles in event URIs complient to MW rules.

Change-Id: I9b83766f04a5272534acb70b39dab83e8bcb43e8
Depends-On: Iea5051bc413001e58d0d80aecff575ae64d5123e
Bug: T155066
---
M EventBus.php
1 file changed, 3 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EventBus 
refs/changes/73/332873/1

diff --git a/EventBus.php b/EventBus.php
index 498b5bd..50a029e 100644
--- a/EventBus.php
+++ b/EventBus.php
@@ -142,10 +142,8 @@
 */
public static function getArticleURL( $title ) {
global $wgCanonicalServer, $wgArticlePath;
-   // can't use wfUrlencode, because it doesn't encode slashes. 
RESTBase
-   // and services expect slashes to be encoded, so encode the 
whole title
-   // right away to avoid reencoding it in change-propagation
-   $titleURL = rawurlencode( $title->getPrefixedDBkey() );
+
+   $titleURL = wfUrlencode( $title->getPrefixedDBkey() );
// The $wgArticlePath contains '$1' string where the article 
title should appear.
return $wgCanonicalServer . str_replace( '$1', $titleURL, 
$wgArticlePath );
}
@@ -176,7 +174,7 @@
public static function getUserPageURL( $userName ) {
global $wgCanonicalServer, $wgArticlePath, $wgContLang;
$prefixedUserURL = $wgContLang->getNsText( NS_USER ) . ':' . 
$userName;
-   $encodedUserURL = rawurlencode( strtr( $prefixedUserURL, ' ', 
'_' ) );
+   $encodedUserURL = wfUrlencode( strtr( $prefixedUserURL, ' ', 
'_' ) );
// The $wgArticlePath contains '$1' string where the article 
title should appear.
return $wgCanonicalServer . str_replace( '$1', $encodedUserURL, 
$wgArticlePath );
}

-- 
To view, visit https://gerrit.wikimedia.org/r/332873
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b83766f04a5272534acb70b39dab83e8bcb43e8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventBus
Gerrit-Branch: master
Gerrit-Owner: Ppchelko 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...XMLContentExtension[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332790 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: Iaa9efc7e541199d57eebb1cbd1ccb3c6886261fd
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index 98b092a..e62fc28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+node_modules/
+vendor/
+
 .svn
 *~
 *.kate-swp
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332790
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaa9efc7e541199d57eebb1cbd1ccb3c6886261fd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/XMLContentExtension
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...YetAnotherKeywords[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332791 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: Ibc68661d664e65f2ca5d41e0e3261fd8aed79c90
---
A .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..a7abe44
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+node_modules/
+vendor/
+
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332791
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibc68661d664e65f2ca5d41e0e3261fd8aed79c90
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/YetAnotherKeywords
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...WindowsAzureStorage[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332789 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: I7e71ccc0f913424cab60f67ca8e335ce34f87292
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index 98b092a..e62fc28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+node_modules/
+vendor/
+
 .svn
 *~
 *.kate-swp
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332789
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7e71ccc0f913424cab60f67ca8e335ce34f87292
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WindowsAzureStorage
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...WindowsAzureSDK[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332788 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: Iaf766129f4b040066dbe0f76b399e1954f890e0f
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index 98b092a..e62fc28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+node_modules/
+vendor/
+
 .svn
 *~
 *.kate-swp
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332788
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf766129f4b040066dbe0f76b399e1954f890e0f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WindowsAzureSDK
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: Bump some dep minor versions

2017-01-18 Thread Arlolra (Code Review)
Arlolra has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332872 )

Change subject: Bump some dep minor versions
..

Bump some dep minor versions

Change-Id: Ib51c361b7ef9782a00bfc5298280c5ec7687ee18
---
M npm-shrinkwrap.json
M package.json
2 files changed, 82 insertions(+), 104 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/72/332872/1

diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index 27f5c21..a92091c 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -27,8 +27,8 @@
   }
 },
 "body-parser": {
-  "version": "1.15.2",
-  "resolved": 
"https://registry.npmjs.org/body-parser/-/body-parser-1.15.2.tgz";,
+  "version": "1.16.0",
+  "resolved": 
"https://registry.npmjs.org/body-parser/-/body-parser-1.16.0.tgz";,
   "dependencies": {
 "bytes": {
   "version": "2.4.0",
@@ -39,12 +39,12 @@
   "resolved": 
"https://registry.npmjs.org/content-type/-/content-type-1.0.2.tgz";
 },
 "debug": {
-  "version": "2.2.0",
-  "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz";,
+  "version": "2.6.0",
+  "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.0.tgz";,
   "dependencies": {
 "ms": {
-  "version": "0.7.1",
-  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz";
+  "version": "0.7.2",
+  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz";
 }
   }
 },
@@ -53,26 +53,26 @@
   "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.0.tgz";
 },
 "http-errors": {
-  "version": "1.5.0",
-  "resolved": 
"https://registry.npmjs.org/http-errors/-/http-errors-1.5.0.tgz";,
+  "version": "1.5.1",
+  "resolved": 
"https://registry.npmjs.org/http-errors/-/http-errors-1.5.1.tgz";,
   "dependencies": {
 "inherits": {
-  "version": "2.0.1",
-  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
+  "version": "2.0.3",
+  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz";
 },
 "setprototypeof": {
-  "version": "1.0.1",
-  "resolved": 
"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.1.tgz";
+  "version": "1.0.2",
+  "resolved": 
"https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.2.tgz";
 },
 "statuses": {
-  "version": "1.3.0",
-  "resolved": 
"https://registry.npmjs.org/statuses/-/statuses-1.3.0.tgz";
+  "version": "1.3.1",
+  "resolved": 
"https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz";
 }
   }
 },
 "iconv-lite": {
-  "version": "0.4.13",
-  "resolved": 
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.13.tgz";
+  "version": "0.4.15",
+  "resolved": 
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.15.tgz";
 },
 "on-finished": {
   "version": "2.3.0",
@@ -85,12 +85,12 @@
   }
 },
 "qs": {
-  "version": "6.2.0",
-  "resolved": "https://registry.npmjs.org/qs/-/qs-6.2.0.tgz";
+  "version": "6.2.1",
+  "resolved": "https://registry.npmjs.org/qs/-/qs-6.2.1.tgz";
 },
 "raw-body": {
-  "version": "2.1.7",
-  "resolved": 
"https://registry.npmjs.org/raw-body/-/raw-body-2.1.7.tgz";,
+  "version": "2.2.0",
+  "resolved": 
"https://registry.npmjs.org/raw-body/-/raw-body-2.2.0.tgz";,
   "dependencies": {
 "unpipe": {
   "version": "1.0.0",
@@ -99,20 +99,20 @@
   }
 },
 "type-is": {
-  "version": "1.6.13",
-  "resolved": 
"https://registry.npmjs.org/type-is/-/type-is-1.6.13.tgz";,
+  "version": "1.6.14",
+  "resolved": 
"https://registry.npmjs.org/type-is/-/type-is-1.6.14.tgz";,
   "dependencies": {
 "media-typer": {
   "version": "0.3.0",
   "resolved": 
"https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz";
 },
 "mime-types": {
-  "version": "2.1.11",
-  "resolved": 
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.11.tgz";,
+  "version": "2.1.14",
+  "resolved": 
"https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz";,
   "dependencies": {
 "mime-db": {
-  "version": "1.23.0",
-  "resolved": 
"https://registry.npmjs.org/mime-db/-/mime-db-1.23.0.tgz";
+  "version": "1.26.0",
+  "resolved": 

[MediaWiki-commits] [Gerrit] mediawiki...WikipediaExtracts[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332785 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: I95f8bbbe0a4421492983aa97932031175a73ca8e
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index 496ee2c..bbaaf56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,4 @@
+node_modules/
+vendor/
+
 .DS_Store
\ No newline at end of file
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332785
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I95f8bbbe0a4421492983aa97932031175a73ca8e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikipediaExtracts
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...WikivoteMapsYandex[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332787 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: I9cbffce7509465d8165554b2d23d09f073661ecc
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index 98b092a..e62fc28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+node_modules/
+vendor/
+
 .svn
 *~
 *.kate-swp
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332787
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9cbffce7509465d8165554b2d23d09f073661ecc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikivoteMapsYandex
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...WikiTextLoggedInOut[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332786 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: Ia2863becebbc4c598145150551d7cf8e267fa355
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index 98b092a..e62fc28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+node_modules/
+vendor/
+
 .svn
 *~
 *.kate-swp
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332786
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia2863becebbc4c598145150551d7cf8e267fa355
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiTextLoggedInOut
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...deploy[master]: Re-encode page title for mw_purge and null_edit rules.

2017-01-18 Thread Ppchelko (Code Review)
Ppchelko has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332871 )

Change subject: Re-encode page title for mw_purge and null_edit rules.
..

Re-encode page title for mw_purge and null_edit rules.

To allow using MW-specific encoding in EventBus events
we need to re-encode the titles for mw_purge and null_edit
rules.

Depends on https://github.com/wikimedia/swagger-router/pull/53
Bug: T155066

Change-Id: Iea5051bc413001e58d0d80aecff575ae64d5123e
---
M scap/templates/config.yaml.j2
1 file changed, 6 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/services/change-propagation/deploy 
refs/changes/71/332871/1

diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 853b0a6..be363bb 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -134,7 +134,9 @@
 domain: /\.wikidata\.org$/
 exec:
   method: get
-  uri: '<%= restbase_uri 
%>/{{message.meta.domain}}/v1/page/html/{{match.meta.uri.title}}'
+  # This even comes directly from MediaWiki, so title is 
encoded in MW-specific way.
+  # Re-encode the title in standard `encodeURIComponent` 
encoding.
+  uri: '<%= restbase_uri 
%>/{{message.meta.domain}}/v1/page/html/{decode(match.meta.uri.title)}'
   headers:
 cache-control: no-cache
 if-unmodified-since: '{{date(message.meta.dt)}}'
@@ -157,7 +159,9 @@
 domain: /\.wikidata\.org$/
 exec:
   method: get
-  uri: '<%= restbase_uri 
%>/{{message.meta.domain}}/v1/page/html/{{match.meta.uri.title}}'
+  # This even comes directly from MediaWiki, so title is 
encoded in MW-specific way.
+  # Re-encode the title in standard `encodeURIComponent` 
encoding.
+  uri: '<%= restbase_uri 
%>/{{message.meta.domain}}/v1/page/html/{decode(match.meta.uri.title)}'
   headers:
 cache-control: no-cache
 if-unmodified-since: '{{date(message.meta.dt)}}'

-- 
To view, visit https://gerrit.wikimedia.org/r/332871
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iea5051bc413001e58d0d80aecff575ae64d5123e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/change-propagation/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...WikiLovesMonuments[master]: Add grunt-jsonlint and grunt-banana-checker

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332783 )

Change subject: Add grunt-jsonlint and grunt-banana-checker
..


Add grunt-jsonlint and grunt-banana-checker

jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: Iecfdbd7b8cdb4fbd448ba9723fc41dc69ac2d178
---
M .gitignore
A Gruntfile.js
A package.json
3 files changed, 35 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/.gitignore b/.gitignore
index 98b092a..e62fc28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
+node_modules/
+vendor/
+
 .svn
 *~
 *.kate-swp
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 000..a45071e
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+/*jshint node:true */
+module.exports = function ( grunt ) {
+   grunt.loadNpmTasks( 'grunt-jsonlint' );
+   grunt.loadNpmTasks( 'grunt-banana-checker' );
+
+   grunt.initConfig( {
+   banana: {
+   all: 'i18n/'
+   },
+   jsonlint: {
+   all: [
+   '**/*.json',
+   '!node_modules/**',
+   '!vendor/**'
+   ]
+   }
+   } );
+
+   grunt.registerTask( 'test', [ 'jsonlint', 'banana' ] );
+   grunt.registerTask( 'default', 'test' );
+};
diff --git a/package.json b/package.json
new file mode 100644
index 000..bcf5b13
--- /dev/null
+++ b/package.json
@@ -0,0 +1,11 @@
+{
+   "private": true,
+   "scripts": {
+   "test": "grunt test"
+   },
+   "devDependencies": {
+   "grunt": "1.0.1",
+   "grunt-banana-checker": "0.5.0",
+   "grunt-jsonlint": "1.1.0"
+   }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/332783
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iecfdbd7b8cdb4fbd448ba9723fc41dc69ac2d178
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiLovesMonuments
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] integration/config[master]: Add npm jobs

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332795 )

Change subject: Add npm jobs
..


Add npm jobs

Related changes:
WikiLovesMonuments: Iecfdbd7b8cdb4fbd448ba9723fc41dc69ac2d178
WikiObjectModel: Id4ed1e6bbcc3acbcfd5229b650cd037c2100ad4f
WikiTextLoggedInOut: Ia2863becebbc4c598145150551d7cf8e267fa355
WikipediaExtracts: I95f8bbbe0a4421492983aa97932031175a73ca8e
WikivoteMapsYandex: I9cbffce7509465d8165554b2d23d09f073661ecc
WindowsAzureSDK: Iaf766129f4b040066dbe0f76b399e1954f890e0f
WindowsAzureStorage: I7e71ccc0f913424cab60f67ca8e335ce34f87292
XMLContentExtension: Iaa9efc7e541199d57eebb1cbd1ccb3c6886261fd
YetAnotherKeywords: Ibc68661d664e65f2ca5d41e0e3261fd8aed79c90
YotpoReviews: I3cbd5ef1a9557ce17a5cd5d890208097b4ea3bf6

Change-Id: I849edc2e17bfadae54817f037a58d6d966a50eda
---
M zuul/layout.yaml
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index 67290c0..da3ced5 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -7357,11 +7357,13 @@
 template:
   - name: jsonlint
   - name: extension-unittests-generic
+  - name: npm
 
   - name: mediawiki/extensions/WikipediaExtracts
 template:
   - name: extension-unittests-generic
   - name: jsonlint
+  - name: npm
 
   - name: mediawiki/extensions/WikiPinger
 template:
@@ -7377,6 +7379,7 @@
   - name: mediawiki/extensions/WikiTextLoggedInOut
 template:
   - name: extension-unittests-generic
+  - name: npm
 
   - name: mediawiki/extensions/WikiTwidget
 template:
@@ -7388,14 +7391,17 @@
 template:
   - name: jsonlint
   - name: extension-unittests-non-voting
+  - name: npm
 
   - name: mediawiki/extensions/WindowsAzureSDK
 template:
   - name: extension-unittests-non-voting
+  - name: npm
 
   - name: mediawiki/extensions/WindowsAzureStorage
 template:
   - name: extension-unittests-generic
+  - name: npm
 
   - name: mediawiki/extensions/WYSIWYG
 template:
@@ -7407,14 +7413,17 @@
   - name: jsonlint
   - name: jshint
   - name: extension-unittests-generic
+  - name: npm
 
   - name: mediawiki/extensions/YetAnotherKeywords
 template:
   - name: extension-unittests-generic
+  - name: npm
 
   - name: mediawiki/extensions/YotpoReviews
 template:
   - name: extension-unittests-generic
+  - name: npm
 
   - name: mediawiki/extensions/YouTube
 template:
@@ -8830,6 +8839,7 @@
   - name: mediawiki/extensions/WikiObjectModel
 template:
   - name: extension-unittests-generic
+  - name: npm
 
   - name: mediawiki/extensions/Wikispeech
 template:

-- 
To view, visit https://gerrit.wikimedia.org/r/332795
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I849edc2e17bfadae54817f037a58d6d966a50eda
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Paladox 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations...git-fat[master]: First iteration at making git-fat somewhat legible

2017-01-18 Thread Chad (Code Review)
Chad has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/330454 )

Change subject: First iteration at making git-fat somewhat legible
..


First iteration at making git-fat somewhat legible

This code is ugly and upstream has abandoned it, let's tidy things up

Change-Id: Ib82a6e3eca28792bab6fef6df1d7412d5f173aec
---
M git-fat
1 file changed, 204 insertions(+), 82 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/git-fat b/git-fat
index dd6af72..24a1fd5 100755
--- a/git-fat
+++ b/git-fat
@@ -16,7 +16,8 @@
 import collections
 
 if not type(sys.version_info) is tuple and sys.version_info.major > 2:
-sys.stderr.write('git-fat does not support Python-3 yet.  Please use 
python2.\n')
+sys.stderr.write(
+'git-fat does not support Python-3 yet.  Please use python2.\n')
 sys.exit(1)
 
 try:
@@ -26,12 +27,13 @@
 def backport_check_output(*popenargs, **kwargs):
 r"""Run command with arguments and return its output as a byte string.
 
-Backported from Python 2.7 as it's implemented as pure python on 
stdlib.
+Backported from Python 2.7 as it's implemented as pure python on stdlib
 
 >>> check_output(['/usr/bin/python', '--version'])
 Python 2.6.2
 """
-process = subprocess.Popen(stdout=subprocess.PIPE, *popenargs, 
**kwargs)
+process = subprocess.Popen(stdout=subprocess.PIPE,
+   *popenargs, **kwargs)
 output, unused_err = process.communicate()
 retcode = process.poll()
 if retcode:
@@ -46,25 +48,32 @@
 
 BLOCK_SIZE = 4096
 
+
 def verbose_stderr(*args, **kwargs):
 return print(*args, file=sys.stderr, **kwargs)
+
+
 def verbose_ignore(*args, **kwargs):
 pass
+
 
 def mkdir_p(path):
 import errno
 try:
 os.makedirs(path)
-except OSError as exc: # Python >2.5
+except OSError as exc:  # Python >2.5
 if exc.errno == errno.EEXIST and os.path.isdir(path):
 pass
-else: raise
+else:
+raise
+
 
 def umask():
 """Get umask without changing it."""
 old = os.umask(0)
 os.umask(old)
 return old
+
 
 def readblocks(stream):
 bytes = 0
@@ -74,11 +83,17 @@
 if not data:
 break
 yield data
+
+
 def cat_iter(initer, outstream):
 for block in initer:
 outstream.write(block)
+
+
 def cat(instream, outstream):
 return cat_iter(readblocks(instream), outstream)
+
+
 def difftreez_reader(input):
 """Incremental reader for git diff-tree -z output
 
@@ -102,6 +117,8 @@
 path = buffer[1]
 yield (newhash, modflag, path)
 buffer = []
+
+
 def gitconfig_get(name, file=None):
 args = ['git', 'config', '--get']
 if file is not None:
@@ -115,6 +132,8 @@
 return gitconfig_get(name)
 else:
 return output
+
+
 def gitconfig_set(name, value, file=None):
 args = ['git', 'config']
 if file is not None:
@@ -122,50 +141,68 @@
 args += [name, value]
 p = subprocess.check_call(args)
 
+
 class GitFat(object):
 DecodeError = RuntimeError
+
 def __init__(self):
-self.verbose = verbose_stderr if os.environ.get('GIT_FAT_VERBOSE') 
else verbose_ignore
+self.verbose = (verbose_stderr if os.environ.get('GIT_FAT_VERBOSE')
+else verbose_ignore)
 try:
-self.gitroot = subprocess.check_output('git rev-parse 
--show-toplevel'.split()).strip()
+self.gitroot = subprocess.check_output(
+'git rev-parse --show-toplevel'.split()).strip()
 except subprocess.CalledProcessError:
 sys.exit(1)
-self.gitdir = subprocess.check_output('git rev-parse 
--git-dir'.split()).strip()
+self.gitdir = subprocess.check_output(
+'git rev-parse --git-dir'.split()).strip()
 self.objdir = os.path.join(self.gitdir, 'fat', 'objects')
 if os.environ.get('GIT_FAT_VERSION') == '1':
 self.encode = self.encode_v1
 else:
 self.encode = self.encode_v2
+
 def magiclen(enc):
 return len(enc(hashlib.sha1('dummy').hexdigest(), 5))
-self.magiclen = magiclen(self.encode) # Current version
-self.magiclens = [magiclen(enc) for enc in [self.encode_v1, 
self.encode_v2]] # All prior versions
+
+# Current version
+self.magiclen = magiclen(self.encode)
+# All prior versions
+self.magiclens = [magiclen(enc) for enc in [self.encode_v1,
+self.encode_v2]]
+
 def setup(self):
 mkdir_p(self.objdir)
+
 def is_init_done(self):
-return gitconfig_get('filter.fat.clean') or 
gitconfig_get('filter.fat.smudge')
+return (gitconfig_get('filter.fat.clean') or
+git

[MediaWiki-commits] [Gerrit] operations...git-fat[master]: Pull in all upstream changes from https://github.com/jedbrow...

2017-01-18 Thread Chad (Code Review)
Chad has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/330464 )

Change subject: Pull in all upstream changes from 
https://github.com/jedbrown/git-fat/blob/master/git-fat
..


Pull in all upstream changes from 
https://github.com/jedbrown/git-fat/blob/master/git-fat

Change-Id: I9916149b4f4e8cd16a384753fda6fd72346ff695
---
M README.md
M git-fat
M test-retroactive.sh
M test.sh
4 files changed, 134 insertions(+), 20 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/README.md b/README.md
index 3889ad2..1db7de8 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
 Some people recommend checking binaries into different repositories or even 
not versioning them at all, but these are not satisfying solutions for most 
workflows.
 
 ## Features of `git-fat`
-* clones of the source repository are small and fast because no binaries are 
transferred, yet fully functional (unlike `git clone --depth`)
+* clones of the source repository are small and fast because no binaries are 
transferred, yet fully functional with complete metadata and incremental 
retrieval (`git clone --depth` has limited granularity and couples metadata to 
content)
 * `git-fat` supports the same workflow for large binaries and traditionally 
versioned files, but internally manages the "fat" files separately
 * `git-bisect` works properly even when versions of the binary files change 
over time
 * selective control of which large files to pull into the local store
@@ -19,8 +19,9 @@
 # Installation and configuration
 Place `git-fat` in your `PATH`.
 
-Edit `.gitattributes` to regard any desired extensions as fat files.
+Edit (or create) `.gitattributes` to regard any desired extensions as fat 
files.
 
+$ cd path-to-your-repository
 $ cat >> .gitattributes
 *.png filter=fat -crlf
 *.jpg filter=fat -crlf
diff --git a/git-fat b/git-fat
index 7edb7ba..dd6af72 100755
--- a/git-fat
+++ b/git-fat
@@ -15,6 +15,10 @@
 import time
 import collections
 
+if not type(sys.version_info) is tuple and sys.version_info.major > 2:
+sys.stderr.write('git-fat does not support Python-3 yet.  Please use 
python2.\n')
+sys.exit(1)
+
 try:
 from subprocess import check_output
 del check_output
@@ -105,8 +109,10 @@
 args.append(name)
 p = subprocess.Popen(args, stdout=subprocess.PIPE)
 output = p.communicate()[0].strip()
-if p.returncode != 0:
+if p.returncode and file is None:
 return None
+elif p.returncode:
+return gitconfig_get(name)
 else:
 return output
 def gitconfig_set(name, value, file=None):
@@ -120,7 +126,10 @@
 DecodeError = RuntimeError
 def __init__(self):
 self.verbose = verbose_stderr if os.environ.get('GIT_FAT_VERBOSE') 
else verbose_ignore
-self.gitroot = subprocess.check_output('git rev-parse 
--show-toplevel'.split()).strip()
+try:
+self.gitroot = subprocess.check_output('git rev-parse 
--show-toplevel'.split()).strip()
+except subprocess.CalledProcessError:
+sys.exit(1)
 self.gitdir = subprocess.check_output('git rev-parse 
--git-dir'.split()).strip()
 self.objdir = os.path.join(self.gitdir, 'fat', 'objects')
 if os.environ.get('GIT_FAT_VERSION') == '1':
@@ -133,6 +142,13 @@
 self.magiclens = [magiclen(enc) for enc in [self.encode_v1, 
self.encode_v2]] # All prior versions
 def setup(self):
 mkdir_p(self.objdir)
+def is_init_done(self):
+return gitconfig_get('filter.fat.clean') or 
gitconfig_get('filter.fat.smudge')
+def assert_init_done(self):
+if not self.is_init_done():
+sys.stderr.write('fatal: git-fat is not yet configured in this 
repository.\n')
+sys.stderr.write('Run "git fat init" to configure.\n')
+sys.exit(1)
 def get_rsync(self):
 cfgpath   = os.path.join(self.gitroot,'.gitfat')
 remote= gitconfig_get('rsync.remote', file=cfgpath)
@@ -193,7 +209,10 @@
 return itertools.chain([preamble], readblocks(stream)), None
 def decode_file(self, fname):
 # Fast check
-stat = os.lstat(fname)
+try:
+stat = os.lstat(fname)
+except OSError:
+return False, None
 if stat.st_size != self.magiclen:
 return False, None
 # read file
@@ -282,25 +301,61 @@
 rev = '--all'
 elif rev is None:
 rev = self.revparse('HEAD')
+# Revision list gives us object names to inspect with cat-file...
 p1 = subprocess.Popen(['git','rev-list','--objects',rev], 
stdout=subprocess.PIPE)
-p2 = subprocess.Popen(['git','cat-file','--batch-check'], 
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
 def cut_sha1hash(input, output):
 for line in input:
 output.write(line.split()[0] 

[MediaWiki-commits] [Gerrit] mediawiki...MobileFrontend[master]: Search input is shown on tablet resolutions

2017-01-18 Thread Jdlrobson (Code Review)
Jdlrobson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332870 )

Change subject: Search input is shown on tablet resolutions
..

Search input is shown on tablet resolutions

* Re-enable browser tests, updating them to use the
new search icon and to test in mobile resolution
* return placeholder text to search inputs
* Search input not shown at mobile resolutions
* Add browser test to describe different search behaviour for tablet
Bug: T152459
Change-Id: I55c93e81dde786622a17488bbcb0e81b97dec732
---
M includes/skins/minerva.mustache
M resources/skins.minerva.base.styles/ui.less
M resources/skins.minerva.tablet.styles/common.less
M tests/browser/features/search.feature
M tests/browser/features/search_loggedin.feature
A tests/browser/features/search_tablet.feature
M tests/browser/features/special.feature
M tests/browser/features/step_definitions/search_steps.rb
M tests/browser/features/support/pages/article_page.rb
9 files changed, 43 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/70/332870/1

diff --git a/includes/skins/minerva.mustache b/includes/skins/minerva.mustache
index 0593af9..a7bd521 100644
--- a/includes/skins/minerva.mustache
+++ b/includes/skins/minerva.mustache
@@ -15,6 +15,11 @@

{{{headinghtml}}}

+   
+   
+   

{{{searchButton}}}

{{^isAnon}}{{{secondaryButton}}}{{/isAnon}}
diff --git a/resources/skins.minerva.base.styles/ui.less 
b/resources/skins.minerva.base.styles/ui.less
index ffbc386..eef9ac1 100644
--- a/resources/skins.minerva.base.styles/ui.less
+++ b/resources/skins.minerva.base.styles/ui.less
@@ -34,6 +34,18 @@
}
 }
 
+.search-box-main {
+   // To enforce consistent vertical alignment we use visibility rather 
than display
+   visibility: hidden;
+   // On mobile screen when hidden search box should take up no horizontal 
space
+   width: 0;
+
+   .search {
+   width: 375px;
+   margin-left: 95px;
+   }
+}
+
 .search-box {
// FIXME: remove when micro.tap in stable and rule from common-js.less 
too
-webkit-tap-highlight-color: rgba( 255, 255, 255, 0 );
diff --git a/resources/skins.minerva.tablet.styles/common.less 
b/resources/skins.minerva.tablet.styles/common.less
index 2fd741b..91c938b 100644
--- a/resources/skins.minerva.tablet.styles/common.less
+++ b/resources/skins.minerva.tablet.styles/common.less
@@ -7,12 +7,16 @@
 @paddingVertical: 1.4em;
 
 @media all and ( min-width: @deviceWidthTablet ) {
-   .header {
-   .search-box {
-   display: block;
+   .main {
+   .search-box-main {
+   visibility: visible;
}
}
 
+   #searchIcon {
+   display: none;
+   }
+
.toc-mobile {
// Reset the rule for mobile mode (but not for .client-nojs)
display: block;
diff --git a/tests/browser/features/search.feature 
b/tests/browser/features/search.feature
index b85c60b..b2df021 100644
--- a/tests/browser/features/search.feature
+++ b/tests/browser/features/search.feature
@@ -5,6 +5,7 @@
 Given I am using the mobile site
   And the page "Selenium search test" exists
   And I am on the "Main Page" page
+  And I am viewing the site in mobile mode
   And I click the search icon
   And I see the search overlay
 
@@ -27,7 +28,6 @@
   And I click the search in pages button
 Then I should see a list of search results
 
-  @skip
   Scenario: Search with enter key
 When I type into search box "Test is used by Selenium web driver"
   And I press the enter key
diff --git a/tests/browser/features/search_loggedin.feature 
b/tests/browser/features/search_loggedin.feature
index d3975d8..b8895eb 100644
--- a/tests/browser/features/search_loggedin.feature
+++ b/tests/browser/features/search_loggedin.feature
@@ -6,6 +6,7 @@
   And the page "Selenium search test" exists
   And I am logged into the mobile website
   And I am on the "Main Page" page
+  And I am viewing the site in mobile mode
   And I click the search icon
   And I see the search overlay
   And I type into search box "Selenium search tes"
diff --git a/tests/browser/features/search_tablet.feature 
b/tests/browser/features/search_tablet.feature
new file mode 100644
index 000..ff14d4b
--- /dev/null
+++ b/tests/browser/features/search_tablet.feature
@@ -0,0 +1,10 @@
+@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @integration 
@test2.m.wikipedia.org @vag

[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Removed deprecated ContentHandler hooks.

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332150 )

Change subject: Removed deprecated ContentHandler hooks.
..


Removed deprecated ContentHandler hooks.

Plus removed unused "ContentHandler::runLegacyHooks"

Bug: T154498
Change-Id: Ie398fd4e06d3e286fe8e24112d0c8b4ac7d883dc
---
M RELEASE-NOTES-1.29
M docs/contenthandler.txt
M docs/hooks.txt
M includes/EditPage.php
M includes/Title.php
M includes/content/ContentHandler.php
M includes/page/WikiPage.php
M maintenance/findHooks.php
M tests/phpunit/includes/content/ContentHandlerTest.php
9 files changed, 23 insertions(+), 182 deletions(-)

Approvals:
  Reedy: Looks good to me, approved
  TTO: Looks good to me, but someone else must approve
  jenkins-bot: Verified



diff --git a/RELEASE-NOTES-1.29 b/RELEASE-NOTES-1.29
index fac6f7e..e404940 100644
--- a/RELEASE-NOTES-1.29
+++ b/RELEASE-NOTES-1.29
@@ -152,8 +152,9 @@
   were removed.
 * Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21)
   were removed.
-* Hooks ArticleViewCustom, EditPageGetDiffText and ShowRawCssJs (deprecated in 
1.21)
-  were removed.
+* Hook ArticleViewCustom (deprecated in 1.21) was removed. Use 
ArticleContentViewCustom
+  instead.
+* Hooks EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed.
 * Class RevisiondeleteAction (deprecated in 1.25) was removed.
 * WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed.
 * WikiPage::getText() (deprecated in 1.21) was removed.
@@ -184,6 +185,22 @@
 RewriteEngine On
 RewriteBase /
 RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L]
+* Hook ArticleAfterFetchContent (deprecated in 1.21) was removed.
+  Use ArticleAfterFetchContentObject instead.
+* Hook ArticleInsertComplete (deprecated in 1.21) was removed.
+  Use PageContentInsertComplete instead.
+* Hook ArticleSave (deprecated in 1.21) was removed.
+  Use PageContentSave instead.
+* Hook ArticleSaveComplete (deprecated in 1.21) was removed.
+  Use PageContentSaveComplete instead.
+* Hook EditFilterMerged (deprecated in 1.21) was removed.
+  Use EditFilterMergedContent instead.
+* Hook EditPageGetPreviewText (deprecated in 1.21) was removed.
+  Use EditPageGetPreviewContent instead.
+* Hook TitleIsCssOrJsPage (deprecated in 1.21) was removed.
+  Use ContentHandlerDefaultModelFor instead.
+* Hook TitleIsWikitextPage (deprecated in 1.21) was removed.
+  Use ContentHandlerDefaultModelFor instead.
 
 == Compatibility ==
 
diff --git a/docs/contenthandler.txt b/docs/contenthandler.txt
index 6209b14..5f379e7 100644
--- a/docs/contenthandler.txt
+++ b/docs/contenthandler.txt
@@ -21,10 +21,6 @@
 * The hook ContentHandlerDefaultModelFor may be used to override the page's 
default model.
 * Pages in NS_MEDIAWIKI and NS_USER default to the CSS or JavaScript model if 
they end in .css or .js, respectively.
   Pages in NS_MEDIAWIKI default to the wikitext model otherwise.
-* The hook TitleIsCssOrJsPage may be used to force a page to use the CSS or 
JavaScript model.
-  This is a compatibility feature. The ContentHandlerDefaultModelFor hook 
should be used instead if possible.
-* The hook TitleIsWikitextPage may be used to force a page to use the wikitext 
model.
-  This is a compatibility feature. The ContentHandlerDefaultModelFor hook 
should be used instead if possible.
 * Otherwise, the wikitext model is used.
 
 Note that is currently no mechanism to convert a page from one content model 
to another, and there is no guarantee that
diff --git a/docs/hooks.txt b/docs/hooks.txt
index adfb128..4057cce 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -603,12 +603,6 @@
   AND in the final query)
 $logTypes: Array of log types being queried
 
-'ArticleAfterFetchContent': DEPRECATED! Use ArticleAfterFetchContentObject
-instead.
-After fetching content of an article from the database.
-&$article: the article (object) being loaded from the database
-&$content: the content (string) of the article
-
 'ArticleAfterFetchContentObject': After fetching content of an article from the
 database.
 &$article: the article (object) being loaded from the database
@@ -677,18 +671,6 @@
 &$article: Article (object) that will be returned
 $context: IContextSource (object)
 
-'ArticleInsertComplete': DEPRECATED! Use PageContentInsertComplete.
-After a new article is created.
-$wikiPage: WikiPage created
-$user: User creating the article
-$text: New content
-$summary: Edit summary/comment
-$isMinor: Whether or not the edit was marked as minor
-$isWatch: (No longer used)
-$section: (No longer used)
-$flags: Flags passed to WikiPage::doEditContent()
-$revision: New Revision of the article
-
 'ArticleMergeComplete': After merging to article using Special:Mergehistory.
 $targetTitle: target title (object)
 $destTitle: destination title (object)
@@ -739,31 +721,6 @@
 $user: the user who did the rollback
 $revision: the revision the page was reverted bac

[MediaWiki-commits] [Gerrit] operations/puppet[production]: restbase-dev: rack assignment

2017-01-18 Thread Volans (Code Review)
Volans has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332823 )

Change subject: restbase-dev: rack assignment
..


restbase-dev: rack assignment

Bug: T153880
Change-Id: I420e98f3ab424372d78b6fc8d86965fc9bbf7266
---
M hieradata/hosts/restbase-dev1001.yaml
M hieradata/hosts/restbase-dev1002.yaml
M hieradata/hosts/restbase-dev1003.yaml
3 files changed, 3 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Volans: Looks good to me, approved



diff --git a/hieradata/hosts/restbase-dev1001.yaml 
b/hieradata/hosts/restbase-dev1001.yaml
index b904902..b3b5303 100644
--- a/hieradata/hosts/restbase-dev1001.yaml
+++ b/hieradata/hosts/restbase-dev1001.yaml
@@ -1,3 +1,4 @@
+cassandra::rack: 'rack1'
 cassandra::instances:
   a:
 jmx_port: 7189
diff --git a/hieradata/hosts/restbase-dev1002.yaml 
b/hieradata/hosts/restbase-dev1002.yaml
index 025eced..135f898 100644
--- a/hieradata/hosts/restbase-dev1002.yaml
+++ b/hieradata/hosts/restbase-dev1002.yaml
@@ -1,3 +1,4 @@
+#cassandra::rack: 'rack2'
 #cassandra::instances:
 #  a:
 #jmx_port: 7189
diff --git a/hieradata/hosts/restbase-dev1003.yaml 
b/hieradata/hosts/restbase-dev1003.yaml
index 8a95351..27de4f0 100644
--- a/hieradata/hosts/restbase-dev1003.yaml
+++ b/hieradata/hosts/restbase-dev1003.yaml
@@ -1,3 +1,4 @@
+#cassandra::rack: 'rack3'
 #cassandra::instances:
 #  a:
 #jmx_port: 7189

-- 
To view, visit https://gerrit.wikimedia.org/r/332823
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I420e98f3ab424372d78b6fc8d86965fc9bbf7266
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Eevans 
Gerrit-Reviewer: Dzahn 
Gerrit-Reviewer: Elukey 
Gerrit-Reviewer: Filippo Giunchedi 
Gerrit-Reviewer: Mobrovac 
Gerrit-Reviewer: Volans 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: Bump some dev deps

2017-01-18 Thread Arlolra (Code Review)
Arlolra has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332868 )

Change subject: Bump some dev deps
..

Bump some dev deps

Change-Id: I2f4370d26dd71d50ac75394cb5afef702adba995
---
M npm-shrinkwrap.json
M package.json
2 files changed, 135 insertions(+), 253 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/68/332868/1

diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index fe0dc96..de0da4b 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -304,8 +304,8 @@
   "resolved": 
"https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz";
 },
 "aws4": {
-  "version": "1.4.1",
-  "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.4.1.tgz";
+  "version": "1.5.0",
+  "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.5.0.tgz";
 },
 "bl": {
   "version": "1.0.3",
@@ -320,8 +320,8 @@
   "resolved": 
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
 },
 "inherits": {
-  "version": "2.0.1",
-  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz";
+  "version": "2.0.3",
+  "resolved": 
"https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz";
 },
 "isarray": {
   "version": "1.0.0",
@@ -366,12 +366,18 @@
   "resolved": 
"https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz";
 },
 "form-data": {
-  "version": "1.0.0-rc4",
-  "resolved": 
"https://registry.npmjs.org/form-data/-/form-data-1.0.0-rc4.tgz";,
+  "version": "1.0.1",
+  "resolved": 
"https://registry.npmjs.org/form-data/-/form-data-1.0.1.tgz";,
   "dependencies": {
 "async": {
-  "version": "1.5.2",
-  "resolved": 
"https://registry.npmjs.org/async/-/async-1.5.2.tgz";
+  "version": "2.1.4",
+  "resolved": 
"https://registry.npmjs.org/async/-/async-2.1.4.tgz";,
+  "dependencies": {
+"lodash": {
+  "version": "4.17.4",
+  "resolved": 
"https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz";
+}
+  }
 }
   }
 },
@@ -396,8 +402,8 @@
   "resolved": 
"https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz";,
   "dependencies": {
 "ansi-regex": {
-  "version": "2.0.0",
-  "resolved": 
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz";
+  "version": "2.1.1",
+  "resolved": 
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz";
 }
   }
 },
@@ -406,8 +412,8 @@
   "resolved": 
"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";,
   "dependencies": {
 "ansi-regex": {
-  "version": "2.0.0",
-  "resolved": 
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz";
+  "version": "2.1.1",
+  "resolved": 
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz";
 }
   }
 },
@@ -428,8 +434,8 @@
   }
 },
 "is-my-json-valid": {
-  "version": "2.13.1",
-  "resolved": 
"https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.13.1.tgz";,
+  "version": "2.15.0",
+  "resolved": 
"https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz";,
   "dependencies": {
 "generate-function": {
   "version": "2.0.0",
@@ -446,8 +452,8 @@
   }
 },
 "jsonpointer": {
-  "version": "2.0.0",
-  "resolved": 
"https://registry.npmjs.org/jsonpointer/-/jsonpointer-2.0.0.tgz";
+  "version": "4.0.1",
+  "resolved": 
"https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz";
 },
 "xtend": {
   "version": "4.0.1",
@@ -498,16 +504,16 @@
   "resolved": 
"https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz";
 },
 "jsprim": {
-

[MediaWiki-commits] [Gerrit] mediawiki...CirrusSearch[es5]: Cleanup static analysis warnings with Elastica 5.0.0

2017-01-18 Thread EBernhardson (Code Review)
EBernhardson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332867 )

Change subject: Cleanup static analysis warnings with Elastica 5.0.0
..

Cleanup static analysis warnings with Elastica 5.0.0

* es5 removes search_type=count, instead prefering the _count api.
  Unfortunately we only use counting in multi-requests, which dont
  support the _count api. change them to use standard search requests
  with size=0, as we only care about total hits.
* Index::optimize() was renamed to Index::forcemerge(). No functional
  change here, it's strictly a name change
* Query::setFields() was changed to Query::setStoredFields(). This will
  create some annoyance for us during the transition period between
  2.x and 5.x, but can probably be worked around somehow.

Change-Id: Iec71b3fe5f0f00398ea3188c92201565da4a7ebd
---
M includes/BuildDocument/RedirectsAndIncomingLinks.php
M includes/Maintenance/Reindexer.php
M includes/OtherIndexes.php
M maintenance/dumpIndex.php
M maintenance/updateSuggesterIndex.php
5 files changed, 14 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/67/332867/1

diff --git a/includes/BuildDocument/RedirectsAndIncomingLinks.php 
b/includes/BuildDocument/RedirectsAndIncomingLinks.php
index 0c963f8..9328d63 100644
--- a/includes/BuildDocument/RedirectsAndIncomingLinks.php
+++ b/includes/BuildDocument/RedirectsAndIncomingLinks.php
@@ -182,12 +182,9 @@
$search = new \Elastica\Search( $type->getIndex()->getClient() 
);
$search->addIndex( $type->getIndex() );
$search->addType( $type );
-   $search->setOption(
-   \Elastica\Search::OPTION_SEARCH_TYPE,
-   \Elastica\Search::OPTION_SEARCH_TYPE_COUNT
-   );
$search->setQuery( $bool );
$search->getQuery()->addParam( 'stats', 'link_count' );
+   $search->getQuery()->setSize( 0 );
 
return $search;
}
diff --git a/includes/Maintenance/Reindexer.php 
b/includes/Maintenance/Reindexer.php
index 259d0c9..16a8f21 100644
--- a/includes/Maintenance/Reindexer.php
+++ b/includes/Maintenance/Reindexer.php
@@ -229,7 +229,7 @@
try {
// Reset the timeout just in case we lost it somewhere 
along the line
$this->setConnectionTimeout();
-   $this->index->optimize( [ 'max_num_segments' => 5 ] );
+   $this->index->forcemerge( [ 'max_num_segments' => 5 ] );
$this->output( "Done\n" );
} catch ( HttpException $e ) {
if ( $e->getMessage() === 'Operation timed out' ) {
@@ -312,7 +312,7 @@
$scrollId = null;
try {
$query = new Query();
-   $query->setFields( [ '_id', '_source' ] );
+   $query->setStoredFields( [ '_id', '_source' ] );
if ( $filter ) {
$bool = new \Elastica\Query\BoolQuery();
$bool->addFilter( $filter );
diff --git a/includes/OtherIndexes.php b/includes/OtherIndexes.php
index 188c02b..fe97f74 100644
--- a/includes/OtherIndexes.php
+++ b/includes/OtherIndexes.php
@@ -100,7 +100,7 @@
$bool->addFilter( new \Elastica\Query\Term( [ 
'namespace' => $title->getNamespace() ] ) );
 
$query = new \Elastica\Query( $bool );
-   $query->setFields( [] ); // We only need the 
_id so don't load the _source
+   $query->setStoredFields( [] ); // We only need 
the _id so don't load the _source
$query->setSize( 1 );
 
$findIdsMultiSearch->addSearch( 
$type->createSearch( $query ) );
diff --git a/maintenance/dumpIndex.php b/maintenance/dumpIndex.php
index 0969b31..f80673c 100644
--- a/maintenance/dumpIndex.php
+++ b/maintenance/dumpIndex.php
@@ -122,7 +122,7 @@
$limit = (int) $this->getOption( 'limit', 0 );
 
$query = new Query();
-   $query->setFields( [ '_id', '_type', '_source' ] );
+   $query->setStoredFields( [ '_id', '_type', '_source' ] );
if ( $this->hasOption( 'sourceFields' ) ) {
$sourceFields = explode( ',', $this->getOption( 
'sourceFields' ) );
$query->setSource( [ 'include' => $sourceFields ] );
diff --git a/maintenance/updateSuggesterIndex.php 
b/maintenance/updateSuggesterIndex.php
index 1b99aa2..136243e 100644
--- a/maintenance/updateSuggesterIndex.php
+++ b/maintenance/updateSuggesterIndex.php
@@ -152,9 +152,9 @@
$this->addOption( 'baseName', 'What basename to use for all 

[MediaWiki-commits] [Gerrit] mediawiki...Elastica[es5]: Bump Elastica version to 5.0.0

2017-01-18 Thread EBernhardson (Code Review)
EBernhardson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332866 )

Change subject: Bump Elastica version to 5.0.0
..

Bump Elastica version to 5.0.0

To update to elasticsearch 5.x we need to update the Elastica library as
well. There are sadly a small number of breaking changes, a matching
patch for the es5 branch of CirrusSearch will be uploaded as well.

Change-Id: I88f93a90c25f1b76c1efe0fd902490da116d3c76
---
M composer.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Elastica 
refs/changes/66/332866/1

diff --git a/composer.json b/composer.json
index e2b4ee4..23c7611 100644
--- a/composer.json
+++ b/composer.json
@@ -13,6 +13,6 @@
],
"require": {
"php": ">=5.5.9",
-   "ruflin/elastica": "3.1.1"
+   "ruflin/elastica": "5.0.0"
}
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/332866
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I88f93a90c25f1b76c1efe0fd902490da116d3c76
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Elastica
Gerrit-Branch: es5
Gerrit-Owner: EBernhardson 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...CirrusSearch[master]: Cleanup static analysis warnings with Elastica 5.0.0

2017-01-18 Thread EBernhardson (Code Review)
EBernhardson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332865 )

Change subject: Cleanup static analysis warnings with Elastica 5.0.0
..

Cleanup static analysis warnings with Elastica 5.0.0

* es5 removes search_type=count, instead prefering the _count api.
  Unfortunately we only use counting in multi-requests, which dont
  support the _count api. change them to use standard search requests
  with size=0, as we only care about total hits.
* Index::optimize() was renamed to Index::forcemerge(). No functional
  change here, it's strictly a name change
* Query::setFields() was changed to Query::setStoredFields(). This will
  create some annoyance for us during the transition period between
  2.x and 5.x, but can probably be worked around somehow.

Change-Id: I1c1fe55eaf59b768feaaa4b895c3ea8bc596dd4d
---
M includes/BuildDocument/RedirectsAndIncomingLinks.php
M includes/Maintenance/Reindexer.php
M includes/OtherIndexes.php
M maintenance/dumpIndex.php
M maintenance/updateSuggesterIndex.php
5 files changed, 14 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/65/332865/1

diff --git a/includes/BuildDocument/RedirectsAndIncomingLinks.php 
b/includes/BuildDocument/RedirectsAndIncomingLinks.php
index 0c963f8..9328d63 100644
--- a/includes/BuildDocument/RedirectsAndIncomingLinks.php
+++ b/includes/BuildDocument/RedirectsAndIncomingLinks.php
@@ -182,12 +182,9 @@
$search = new \Elastica\Search( $type->getIndex()->getClient() 
);
$search->addIndex( $type->getIndex() );
$search->addType( $type );
-   $search->setOption(
-   \Elastica\Search::OPTION_SEARCH_TYPE,
-   \Elastica\Search::OPTION_SEARCH_TYPE_COUNT
-   );
$search->setQuery( $bool );
$search->getQuery()->addParam( 'stats', 'link_count' );
+   $search->getQuery()->setSize( 0 );
 
return $search;
}
diff --git a/includes/Maintenance/Reindexer.php 
b/includes/Maintenance/Reindexer.php
index 259d0c9..16a8f21 100644
--- a/includes/Maintenance/Reindexer.php
+++ b/includes/Maintenance/Reindexer.php
@@ -229,7 +229,7 @@
try {
// Reset the timeout just in case we lost it somewhere 
along the line
$this->setConnectionTimeout();
-   $this->index->optimize( [ 'max_num_segments' => 5 ] );
+   $this->index->forcemerge( [ 'max_num_segments' => 5 ] );
$this->output( "Done\n" );
} catch ( HttpException $e ) {
if ( $e->getMessage() === 'Operation timed out' ) {
@@ -312,7 +312,7 @@
$scrollId = null;
try {
$query = new Query();
-   $query->setFields( [ '_id', '_source' ] );
+   $query->setStoredFields( [ '_id', '_source' ] );
if ( $filter ) {
$bool = new \Elastica\Query\BoolQuery();
$bool->addFilter( $filter );
diff --git a/includes/OtherIndexes.php b/includes/OtherIndexes.php
index 188c02b..fe97f74 100644
--- a/includes/OtherIndexes.php
+++ b/includes/OtherIndexes.php
@@ -100,7 +100,7 @@
$bool->addFilter( new \Elastica\Query\Term( [ 
'namespace' => $title->getNamespace() ] ) );
 
$query = new \Elastica\Query( $bool );
-   $query->setFields( [] ); // We only need the 
_id so don't load the _source
+   $query->setStoredFields( [] ); // We only need 
the _id so don't load the _source
$query->setSize( 1 );
 
$findIdsMultiSearch->addSearch( 
$type->createSearch( $query ) );
diff --git a/maintenance/dumpIndex.php b/maintenance/dumpIndex.php
index 0969b31..f80673c 100644
--- a/maintenance/dumpIndex.php
+++ b/maintenance/dumpIndex.php
@@ -122,7 +122,7 @@
$limit = (int) $this->getOption( 'limit', 0 );
 
$query = new Query();
-   $query->setFields( [ '_id', '_type', '_source' ] );
+   $query->setStoredFields( [ '_id', '_type', '_source' ] );
if ( $this->hasOption( 'sourceFields' ) ) {
$sourceFields = explode( ',', $this->getOption( 
'sourceFields' ) );
$query->setSource( [ 'include' => $sourceFields ] );
diff --git a/maintenance/updateSuggesterIndex.php 
b/maintenance/updateSuggesterIndex.php
index 1b99aa2..136243e 100644
--- a/maintenance/updateSuggesterIndex.php
+++ b/maintenance/updateSuggesterIndex.php
@@ -152,9 +152,9 @@
$this->addOption( 'baseName', 'What basename to use for all 

[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: Add Tulu (tcy) to Communities

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332826 )

Change subject: Add Tulu (tcy) to Communities
..


Add Tulu (tcy) to Communities

Bug: T155666
Change-Id: Ie98da359172a07c0f645b7cae9be73da4ee03bae
---
M src/Communities.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/Communities.php b/src/Communities.php
index b5d480d..7843df1 100644
--- a/src/Communities.php
+++ b/src/Communities.php
@@ -283,6 +283,7 @@
'SW' => 'Swahili',
'SZL' => 'Silesian',
'TA' => 'Tamil',
+   'TCY' => 'Tulu',
'TE' => 'Telugu',
'TET' => 'Tetum',
'TG' => 'Tajik',

-- 
To view, visit https://gerrit.wikimedia.org/r/332826
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie98da359172a07c0f645b7cae9be73da4ee03bae
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis 
Gerrit-Reviewer: BryanDavis 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/puppet[production]: Fix 'invalid byte sequence in US-ASCII' on non Jessie passen...

2017-01-18 Thread Ottomata (Code Review)
Ottomata has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332853 )

Change subject: Fix 'invalid byte sequence in US-ASCII' on non Jessie passenger 
puppetmasters
..

Fix 'invalid byte sequence in US-ASCII' on non Jessie passenger puppetmasters

https://gerrit.wikimedia.org/r/#/c/301071/ fixes this for production
and labs self hosted, but labcontrol hosts are still on trusty.

Change-Id: I653d679e10caa71a96dc93d0782923504d7ee40e
---
M modules/puppetmaster/manifests/passenger.pp
1 file changed, 10 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/53/332853/1

diff --git a/modules/puppetmaster/manifests/passenger.pp 
b/modules/puppetmaster/manifests/passenger.pp
index c2a78fa..332fc4c 100644
--- a/modules/puppetmaster/manifests/passenger.pp
+++ b/modules/puppetmaster/manifests/passenger.pp
@@ -29,17 +29,17 @@
 if os_version('Debian >= jessie') {
 # Debian jessie needs the DH params file
 include sslcert::dhparam
+}
 
-# Set a unicode capable locale to avoid "SERVER: invalid byte sequence 
in
-# US-ASCII" errors when puppetmaster is started with LANG that doesn't
-# support non-ASCII encoding.
-# See 
-apache::env { 'use-utf-locale':
-ensure => present,
-vars   => {
-'LANG' => 'en_US.UTF-8'
-},
-}
+# Set a unicode capable locale to avoid "SERVER: invalid byte sequence in
+# US-ASCII" errors when puppetmaster is started with LANG that doesn't
+# support non-ASCII encoding.
+# See 
+apache::env { 'use-utf-locale':
+ensure => present,
+vars   => {
+'LANG' => 'en_US.UTF-8'
+},
 }
 
 apache::conf { 'passenger':

-- 
To view, visit https://gerrit.wikimedia.org/r/332853
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I653d679e10caa71a96dc93d0782923504d7ee40e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...Elastica[master]: Bump Elastica version to 5.0.0

2017-01-18 Thread EBernhardson (Code Review)
EBernhardson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332835 )

Change subject: Bump Elastica version to 5.0.0
..

Bump Elastica version to 5.0.0

To update to elasticsearch 5.x we need to update the Elastica library as
well. There are sadly a small number of breaking changes, a matching
patch for the es5 branch of CirrusSearch will be uploaded as well.

Change-Id: I53d85f0732607800a36f26b7fbb080aab2169395
---
M composer.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Elastica 
refs/changes/35/332835/1

diff --git a/composer.json b/composer.json
index e2b4ee4..23c7611 100644
--- a/composer.json
+++ b/composer.json
@@ -13,6 +13,6 @@
],
"require": {
"php": ">=5.5.9",
-   "ruflin/elastica": "3.1.1"
+   "ruflin/elastica": "5.0.0"
}
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/332835
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I53d85f0732607800a36f26b7fbb080aab2169395
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Elastica
Gerrit-Branch: master
Gerrit-Owner: EBernhardson 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: Add Tulu (tcy) to Communities

2017-01-18 Thread BryanDavis (Code Review)
BryanDavis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332826 )

Change subject: Add Tulu (tcy) to Communities
..

Add Tulu (tcy) to Communities

Bug: T155666
Change-Id: Ie98da359172a07c0f645b7cae9be73da4ee03bae
---
M src/Communities.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/wikimania-scholarships 
refs/changes/26/332826/1

diff --git a/src/Communities.php b/src/Communities.php
index b5d480d..7843df1 100644
--- a/src/Communities.php
+++ b/src/Communities.php
@@ -283,6 +283,7 @@
'SW' => 'Swahili',
'SZL' => 'Silesian',
'TA' => 'Tamil',
+   'TCY' => 'Tulu',
'TE' => 'Telugu',
'TET' => 'Tetum',
'TG' => 'Tajik',

-- 
To view, visit https://gerrit.wikimedia.org/r/332826
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie98da359172a07c0f645b7cae9be73da4ee03bae
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...ORES[master]: [WIP] Fetch thresholds from live stats for filters

2017-01-18 Thread Sbisson (Code Review)
Sbisson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332825 )

Change subject: [WIP] Fetch thresholds from live stats for filters
..

[WIP] Fetch thresholds from live stats for filters

Bug: T152161
Change-Id: Ie9520a5397b95fab5bfccad3f2d8bf7be8a88032
---
M extension.json
M includes/Api.php
M includes/Scoring.php
A includes/Stats.php
M tests/phpunit/includes/ApiTest.php
A tests/phpunit/includes/StatsTest.php
6 files changed, 366 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ORES 
refs/changes/25/332825/1

diff --git a/extension.json b/extension.json
index 7c3a30f..b559125 100644
--- a/extension.json
+++ b/extension.json
@@ -15,6 +15,7 @@
"ORES\\FetchScoreJob": "includes/FetchScoreJob.php",
"ORES\\Range": "includes/Range.php",
"ORES\\Scoring": "includes/Scoring.php",
+   "ORES\\Stats": "includes/Stats.php",
"ORES\\ApiQueryORES": "includes/ApiQueryORES.php",
"ORES\\ApiHooks": "includes/ApiHooks.php",
"ORES\\WatchedItemQueryServiceExtension": 
"includes/WatchedItemQueryServiceExtension.php"
diff --git a/includes/Api.php b/includes/Api.php
index e771d17..fe0c127 100644
--- a/includes/Api.php
+++ b/includes/Api.php
@@ -15,7 +15,7 @@
/**
 * @return string Base URL plus your wiki's `scores` API path.
 */
-   public static function getUrl() {
+   public function getUrl( $model = null ) {
global $wgOresBaseUrl, $wgOresWikiId;
 
if ( $wgOresWikiId ) {
@@ -24,6 +24,9 @@
$wikiId = wfWikiID();
}
$url = "{$wgOresBaseUrl}scores/{$wikiId}/";
+   if ( $model ) {
+   $url .= "{$model}/";
+   }
return $url;
}
 
@@ -35,10 +38,10 @@
 *
 * @throws RuntimeException
 */
-   public static function request( $params = [] ) {
+   public function request( $params = [], $model = null ) {
$logger = LoggerFactory::getInstance( 'ORES' );
 
-   $url = self::getUrl();
+   $url = self::getUrl( $model );
$url = wfAppendQuery( $url, $params );
$logger->debug( "Requesting: {$url}" );
$req = MWHttpRequest::factory( $url, null, __METHOD__ );
diff --git a/includes/Scoring.php b/includes/Scoring.php
index b573e9f..e741d37 100644
--- a/includes/Scoring.php
+++ b/includes/Scoring.php
@@ -24,7 +24,8 @@
'revids' => implode( '|', (array) $revisions ),
];
 
-   $wireData = Api::request( array_merge( $params, $extra_params ) 
);
+   $api = new Api();
+   $wireData = $api->request( array_merge( $params, $extra_params 
) );
return $wireData;
}
 
diff --git a/includes/Stats.php b/includes/Stats.php
new file mode 100644
index 000..2ddea66
--- /dev/null
+++ b/includes/Stats.php
@@ -0,0 +1,156 @@
+ [
+   'likelygood' => [
+   'min' => 0,
+   'max' => [
+   'stat' => 
'recall_at_precision(min_precision=0.98)',
+   'outcome' => 'false',
+   'default' => 0.55,
+   ]
+   ],
+   'maybebad' => [
+   'min' => [
+   'stat' => 
'recall_at_precision(min_precision=0.15)',
+   'outcome' => 'true',
+   'default' => 0.16,
+   ],
+   'max' => 1,
+   ],
+   'likelybad' => [
+   'min' => [
+   'stat' => 
'recall_at_precision(min_precision=0.45)',
+   'outcome' => 'true',
+   'default' => 0.75,
+   ],
+   'max' => 1,
+   ],
+   'verylikelybad' => [
+   'min' => [
+   'stat' => 
'recall_at_precision(min_precision=0.9)',
+   'outcome' => 'true',
+   'default' => 0.92,
+   ],
+   'max' => 1,
+   ],
+   ],
+   'goodfaith' => [
+   'good' => [
+   'min' => [
+   'stat' => 
'recall_at_precision(min_precision=0.98)',

[MediaWiki-commits] [Gerrit] labs...heritage[master]: Fix name of CommonsCat field in fr_(fr)

2017-01-18 Thread Code Review
Jean-Frédéric has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332824 )

Change subject: Fix name of CommonsCat field in fr_(fr)
..

Fix name of CommonsCat field in fr_(fr)

The name of the parameter in the template
is `catégorie commons`, not `commonscat`

See https://fr.wikipedia.org/wiki/Mod%C3%A8le:Ligne_de_tableau_MH

Change-Id: Ie5a2cb5078007ab184174c9d22e7d40580a0412e
---
M erfgoedbot/monuments_config/fr_fr.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage 
refs/changes/24/332824/1

diff --git a/erfgoedbot/monuments_config/fr_fr.json 
b/erfgoedbot/monuments_config/fr_fr.json
index 6867e28..35b174f 100644
--- a/erfgoedbot/monuments_config/fr_fr.json
+++ b/erfgoedbot/monuments_config/fr_fr.json
@@ -97,7 +97,7 @@
 },
 {
 "dest": "commonscat",
-"source": "commonscat"
+"source": "catégorie_commons"
 },
 {
 "dest": "id",

-- 
To view, visit https://gerrit.wikimedia.org/r/332824
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie5a2cb5078007ab184174c9d22e7d40580a0412e
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Jean-Frédéric 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: Add Tulu (tcy) community

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332822 )

Change subject: Add Tulu (tcy) community
..


Add Tulu (tcy) community

Bug: T155666
Change-Id: Icd8838095b3c7944b8bfa2e61e97b13df167a84c
---
A data/db/migrations/20170118-01-tulu-language.sql
M data/db/schema.mysql
2 files changed, 6 insertions(+), 1 deletion(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/data/db/migrations/20170118-01-tulu-language.sql 
b/data/db/migrations/20170118-01-tulu-language.sql
new file mode 100644
index 000..2bb2e52
--- /dev/null
+++ b/data/db/migrations/20170118-01-tulu-language.sql
@@ -0,0 +1,3 @@
+INSERT IGNORE INTO language_communities (code, language, size)
+VALUES ( 'TCY', 'Tulu', 'Small' )
+;
diff --git a/data/db/schema.mysql b/data/db/schema.mysql
index 21bf9cf..4ad70a7 100644
--- a/data/db/schema.mysql
+++ b/data/db/schema.mysql
@@ -660,4 +660,6 @@
 , ( 'HO', 'Hiri Motu', 'Small' )
 , ( 'MUS', 'Muscogee', 'Small' )
 , ( 'KR', 'Kanuri', 'Small' )
-, ( 'HZ', 'Herero', 'Small' );
+, ( 'HZ', 'Herero', 'Small' )
+, ( 'TCY', 'Tulu', 'Small' )
+;

-- 
To view, visit https://gerrit.wikimedia.org/r/332822
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icd8838095b3c7944b8bfa2e61e97b13df167a84c
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis 
Gerrit-Reviewer: BryanDavis 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/puppet[production]: restbase-dev: rack assignment

2017-01-18 Thread Eevans (Code Review)
Eevans has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332823 )

Change subject: restbase-dev: rack assignment
..

restbase-dev: rack assignment

Bug: T153880
Change-Id: I420e98f3ab424372d78b6fc8d86965fc9bbf7266
---
M hieradata/hosts/restbase-dev1001.yaml
M hieradata/hosts/restbase-dev1002.yaml
M hieradata/hosts/restbase-dev1003.yaml
3 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/23/332823/1

diff --git a/hieradata/hosts/restbase-dev1001.yaml 
b/hieradata/hosts/restbase-dev1001.yaml
index b904902..ca895f2 100644
--- a/hieradata/hosts/restbase-dev1001.yaml
+++ b/hieradata/hosts/restbase-dev1001.yaml
@@ -1,3 +1,4 @@
+cassandra::rack: 'a'
 cassandra::instances:
   a:
 jmx_port: 7189
diff --git a/hieradata/hosts/restbase-dev1002.yaml 
b/hieradata/hosts/restbase-dev1002.yaml
index 025eced..e254233 100644
--- a/hieradata/hosts/restbase-dev1002.yaml
+++ b/hieradata/hosts/restbase-dev1002.yaml
@@ -1,3 +1,4 @@
+#cassandra::rack: 'b'
 #cassandra::instances:
 #  a:
 #jmx_port: 7189
diff --git a/hieradata/hosts/restbase-dev1003.yaml 
b/hieradata/hosts/restbase-dev1003.yaml
index 8a95351..acadef6 100644
--- a/hieradata/hosts/restbase-dev1003.yaml
+++ b/hieradata/hosts/restbase-dev1003.yaml
@@ -1,3 +1,4 @@
+#cassandra::rack: 'c'
 #cassandra::instances:
 #  a:
 #jmx_port: 7189

-- 
To view, visit https://gerrit.wikimedia.org/r/332823
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I420e98f3ab424372d78b6fc8d86965fc9bbf7266
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Eevans 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: Add Tulu (tcy) community

2017-01-18 Thread BryanDavis (Code Review)
BryanDavis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332822 )

Change subject: Add Tulu (tcy) community
..

Add Tulu (tcy) community

Bug: T155666
Change-Id: Icd8838095b3c7944b8bfa2e61e97b13df167a84c
---
A data/db/migrations/20170118-01-tulu-language.sql
M data/db/schema.mysql
2 files changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/wikimania-scholarships 
refs/changes/22/332822/1

diff --git a/data/db/migrations/20170118-01-tulu-language.sql 
b/data/db/migrations/20170118-01-tulu-language.sql
new file mode 100644
index 000..2bb2e52
--- /dev/null
+++ b/data/db/migrations/20170118-01-tulu-language.sql
@@ -0,0 +1,3 @@
+INSERT IGNORE INTO language_communities (code, language, size)
+VALUES ( 'TCY', 'Tulu', 'Small' )
+;
diff --git a/data/db/schema.mysql b/data/db/schema.mysql
index 21bf9cf..4ad70a7 100644
--- a/data/db/schema.mysql
+++ b/data/db/schema.mysql
@@ -660,4 +660,6 @@
 , ( 'HO', 'Hiri Motu', 'Small' )
 , ( 'MUS', 'Muscogee', 'Small' )
 , ( 'KR', 'Kanuri', 'Small' )
-, ( 'HZ', 'Herero', 'Small' );
+, ( 'HZ', 'Herero', 'Small' )
+, ( 'TCY', 'Tulu', 'Small' )
+;

-- 
To view, visit https://gerrit.wikimedia.org/r/332822
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icd8838095b3c7944b8bfa2e61e97b13df167a84c
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/wikimania-scholarships
Gerrit-Branch: master
Gerrit-Owner: BryanDavis 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Replaced all deprecated Linker methods with proper ones in core

2017-01-18 Thread Georggi199 (Code Review)
Georggi199 has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332821 )

Change subject: Replaced all deprecated Linker methods with proper ones in core
..

Replaced all deprecated Linker methods with proper ones in core

Only avoided a few methods in DummyLinker and Linker. Should be all that was in 
core.
Extension are still to go. (Will go through them in coming days). Needs some 
testing,
especially with new HTMLArmor ($msg(..)->parse()) as I am not sure that is 100% 
correct way
to do it.

Change-Id: Ie3a718dc1eae1507f8829fcf419c64c6846d2cb6
---
M includes/CategoryViewer.php
M includes/EditPage.php
M includes/FileDeleteForm.php
M includes/Linker.php
M includes/MWGrants.php
M includes/OutputPage.php
M includes/Preferences.php
M includes/ProtectionForm.php
M includes/RevisionList.php
M includes/actions/InfoAction.php
M includes/diff/DifferenceEngine.php
M includes/gallery/TraditionalImageGallery.php
M includes/logging/LogFormatter.php
M includes/logging/LogPage.php
M includes/logging/MergeLogFormatter.php
M includes/logging/MoveLogFormatter.php
M includes/logging/PatrolLogFormatter.php
M includes/logging/ProtectLogFormatter.php
M includes/page/Article.php
M includes/page/ImageHistoryList.php
M includes/page/ImagePage.php
M includes/pager/IndexPager.php
M includes/skins/Skin.php
M includes/specialpage/PageQueryPage.php
M includes/specialpage/WantedQueryPage.php
M includes/specials/SpecialSearch.php
M includes/user/User.php
M tests/phpunit/includes/LinkerTest.php
M tests/phpunit/includes/logging/LogFormatterTest.php
29 files changed, 231 insertions(+), 140 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/21/332821/1

diff --git a/includes/CategoryViewer.php b/includes/CategoryViewer.php
index facf847..31369b0 100644
--- a/includes/CategoryViewer.php
+++ b/includes/CategoryViewer.php
@@ -632,11 +632,12 @@
private function pagingLinks( $first, $last, $type = '' ) {
$prevLink = $this->msg( 'prev-page' )->text();
 
+   $linkRenderer = 
MediaWikiServices::getInstance()->getLinkRenderer();
if ( $first != '' ) {
$prevQuery = $this->query;
$prevQuery["{$type}until"] = $first;
unset( $prevQuery["{$type}from"] );
-   $prevLink = Linker::linkKnown(
+   $prevLink = $linkRenderer->makeKnownLink(
$this->addFragmentToTitle( $this->title, $type 
),
$prevLink,
[],
@@ -650,7 +651,7 @@
$lastQuery = $this->query;
$lastQuery["{$type}from"] = $last;
unset( $lastQuery["{$type}until"] );
-   $nextLink = Linker::linkKnown(
+   $nextLink = $linkRenderer->makeKnownLink(
$this->addFragmentToTitle( $this->title, $type 
),
$nextLink,
[],
diff --git a/includes/EditPage.php b/includes/EditPage.php
index acbd130..1711cc8 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -3581,6 +3581,7 @@
 */
public function getCancelLink() {
$cancelParams = [];
+   $linkRenderer = 
MediaWikiServices::getInstance()->getLinkRenderer();
if ( !$this->isConflict && $this->oldid > 0 ) {
$cancelParams['oldid'] = $this->oldid;
} elseif ( $this->getContextTitle()->isRedirect() ) {
@@ -3588,9 +3589,9 @@
}
$attrs = [ 'id' => 'mw-editform-cancel' ];
 
-   return Linker::linkKnown(
+   return $linkRenderer->makeKnownLink(
$this->getContextTitle(),
-   $this->context->msg( 'cancel' )->parse(),
+   new HTMLArmor( $this->context->msg( 'cancel' )->parse() 
),
Html::buttonAttributes( $attrs, [ 'mw-ui-quiet' ] ),
$cancelParams
);
diff --git a/includes/FileDeleteForm.php b/includes/FileDeleteForm.php
index f850152..82af081 100644
--- a/includes/FileDeleteForm.php
+++ b/includes/FileDeleteForm.php
@@ -21,6 +21,7 @@
  * @author Rob Church 
  * @ingroup Media
  */
+use MediaWiki\MediaWikiServices;
 
 /**
  * File deletion user interface
@@ -301,9 +302,10 @@
 
if ( $wgUser->isAllowed( 'editinterface' ) ) {
$title = wfMessage( 
'filedelete-reason-dropdown' )->inContentLanguage()->getTitle();
-   $link = Linker::linkKnown(
+   $linkRenderer = 
MediaWikiServices::getInstance()->getLinkRenderer();
+   $link = $linkRenderer->makeKnownLink(
   

[MediaWiki-commits] [Gerrit] mediawiki...Wikibase[master]: Update hook usage, $link_t isn't a reference anymore

2017-01-18 Thread Chad (Code Review)
Chad has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332819 )

Change subject: Update hook usage, $link_t isn't a reference anymore
..

Update hook usage, $link_t isn't a reference anymore

Change-Id: Ifadff2a5cfdbe663534a4d82973a3bdd12c9a1f5
---
M repo/Wikibase.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/19/332819/1

diff --git a/repo/Wikibase.hooks.php b/repo/Wikibase.hooks.php
index 85ecda4..622d7c6 100644
--- a/repo/Wikibase.hooks.php
+++ b/repo/Wikibase.hooks.php
@@ -664,7 +664,7 @@
 *
 * @return bool
 */
-   public static function onShowSearchHitTitle( &$link_t, &$titleSnippet, 
SearchResult $result ) {
+   public static function onShowSearchHitTitle( $link_t, &$titleSnippet, 
SearchResult $result ) {
$title = $result->getTitle();
$namespaceLookup = 
WikibaseRepo::getDefaultInstance()->getEntityNamespaceLookup();
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332819
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifadff2a5cfdbe663534a4d82973a3bdd12c9a1f5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Chad 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: wikiedudashboard: convert to repong, github

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332661 )

Change subject: wikiedudashboard: convert to repong, github
..


wikiedudashboard: convert to repong, github

No export threshold for historical reasons, to handle the languages
already exported.

Change-Id: I3d691d37a4f33fd3709a2f573245f91dbf71a3a3
---
M REPOCONF
M REPOCONF.commit
M bin/REPONG-PROJECTS
M bin/repocommit
M bin/repoexport
M bin/repoupdate
M repoconfig.commit.json
M repoconfig.json
8 files changed, 23 insertions(+), 10 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/REPOCONF b/REPOCONF
index 21a699d..60ab4fc 100644
--- a/REPOCONF
+++ b/REPOCONF
@@ -23,4 +23,3 @@
 REPO_POTLATCH2=https://github.com/systemed/potlatch2.git
 REPO_VICUNA=https://github.com/yarl/vicuna.git
 REPO_WAYMARKEDTRAILSSITE=https://github.com/lonvia/waymarked-trails-site.git
-REPO_WIKIEDUDASHBOARD=https://github.com/WikiEducationFoundation/WikiEduDashboard.git
diff --git a/REPOCONF.commit b/REPOCONF.commit
index c24f103..1406496 100644
--- a/REPOCONF.commit
+++ b/REPOCONF.commit
@@ -32,4 +32,3 @@
 REPO_POTLATCH2=g...@github.com:systemed/potlatch2.git
 REPO_VICUNA=g...@github.com:yarl/vicuna.git
 REPO_WAYMARKEDTRAILSSITE=g...@github.com:lonvia/waymarked-trails-site.git
-REPO_WIKIEDUDASHBOARD=g...@github.com:WikiEducationFoundation/WikiEduDashboard.git
diff --git a/bin/REPONG-PROJECTS b/bin/REPONG-PROJECTS
index 6e5c68d..3cc5e37 100644
--- a/bin/REPONG-PROJECTS
+++ b/bin/REPONG-PROJECTS
@@ -28,6 +28,7 @@
 wiki-ai
 wikiblame
 wikidata
+wikiedudashboard
 wikimania
 wikimedia-portals
 wikipedia-android
diff --git a/bin/repocommit b/bin/repocommit
index c831519..4877088 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -46,8 +46,7 @@
 nfcring-control \
 osm \
 vicuna \
-waymarked-trails-site \
-wikiedudashboard"
+waymarked-trails-site"
 
 for i in $GITPROJECTS; do
if [ "$i" = "$PROJECT" ]
diff --git a/bin/repoexport b/bin/repoexport
index 9a509c3..a2f1f61 100755
--- a/bin/repoexport
+++ b/bin/repoexport
@@ -126,10 +126,6 @@
php "$EXPORTER" --target . --group=out-waymarked-trails-help --lang='*' 
--skip en,qqq,no $THRESHOLD $HOURS
php "$EXPORTER" --target . --group=out-waymarked-trails-help --lang qqq 
$HOURS
 
-elif [ "$PROJECT" = "wikiedudashboard" ]
-then
-   php "$EXPORTER" --target . --group=wikiedudashboard --lang='*' --skip en
-
 else
echo "`basename $0`: Unknown project"
exit 1
diff --git a/bin/repoupdate b/bin/repoupdate
index b823f61..c3e753c 100755
--- a/bin/repoupdate
+++ b/bin/repoupdate
@@ -53,8 +53,7 @@
 mathjax \
 nfcring-control \
 vicuna \
-waymarked-trails-site \
-wikiedudashboard"
+waymarked-trails-site"
 
 for i in $GITCLUPDATE; do
if [ "$i" = "$PROJECT" ]
diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index da483e5..779a15d 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -261,6 +261,16 @@
}
}
},
+   "wikiedudashboard": {
+   "group": "wikiedudashboard",
+   "export-threshold": 1,
+   "repos": {
+   "wikiedudashboard": {
+   "type": "github",
+   "url": 
"g...@github.com:WikiEducationFoundation/WikiEduDashboard.git"
+   }
+   }
+   },
"mwgithub": {
"group": "mwgithub-*,mediawiki-skingithub-*",
"repos": {
diff --git a/repoconfig.json b/repoconfig.json
index 0e324c1..5a0e40e 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -256,6 +256,16 @@
}
}
},
+   "wikiedudashboard": {
+   "group": "wikiedudashboard",
+   "export-threshold": 1,
+   "repos": {
+   "wikiedudashboard": {
+   "type": "github",
+   "url": 
"https://github.com/WikiEducationFoundation/WikiEduDashboard.git";
+   }
+   }
+   },
"mwgithub": {
"group": "mwgithub-*,mediawiki-skingithub-*",
"repos": {

-- 
To view, visit https://gerrit.wikimedia.org/r/332661
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3d691d37a4f33fd3709a2f573245f91dbf71a3a3
Gerrit-PatchSet: 5
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Nemo bis 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...parsoid[master]: Bump service-runner to 2.1.13

2017-01-18 Thread Arlolra (Code Review)
Arlolra has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332818 )

Change subject: Bump service-runner to 2.1.13
..

Bump service-runner to 2.1.13

 * And match yargs versions.

 * The required change bin/parse.js is because of the first yargs.parse call
   overwrites the process args after v4.8.1

   https://github.com/yargs/yargs/commit/063a866

   Looks like we could alternatively pass a second value, true, for
   shortCircuit but that isn't really advertised externally.  We should
   probably be careful that any file that includes bin/parse.js as a
   library and uses yargs needs a similar workaround.  So far, just
   lib/index.js includes it, but doesn't use yargs.

Change-Id: I9a12f1f6aac7c49b62f33fa18cf25db65fc6a0c1
---
M bin/parse.js
M npm-shrinkwrap.json
M package.json
3 files changed, 65 insertions(+), 195 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/18/332818/1

diff --git a/bin/parse.js b/bin/parse.js
index 01047a8..55f9096 100755
--- a/bin/parse.js
+++ b/bin/parse.js
@@ -355,7 +355,7 @@
standardOpts
).strict();
 
-   var argv = opts.argv;
+   var argv = opts.parse(process.argv);
 
if (Util.booleanOption(argv.help)) {
opts.showHelp();
diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index e642f9a..fe0dc96 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -4068,16 +4068,16 @@
   }
 },
 "service-runner": {
-  "version": "2.1.0",
-  "resolved": 
"https://registry.npmjs.org/service-runner/-/service-runner-2.1.0.tgz";,
+  "version": "2.1.13",
+  "resolved": 
"https://registry.npmjs.org/service-runner/-/service-runner-2.1.13.tgz";,
   "dependencies": {
 "bluebird": {
-  "version": "3.4.6",
-  "resolved": 
"https://registry.npmjs.org/bluebird/-/bluebird-3.4.6.tgz";
+  "version": "3.4.7",
+  "resolved": 
"https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz";
 },
 "bunyan": {
-  "version": "1.8.1",
-  "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.1.tgz";
+  "version": "1.8.5",
+  "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.5.tgz";
 },
 "bunyan-syslog-udp": {
   "version": "0.1.0",
@@ -4098,8 +4098,8 @@
   }
 },
 "hot-shots": {
-  "version": "2.4.0",
-  "resolved": 
"https://registry.npmjs.org/hot-shots/-/hot-shots-2.4.0.tgz";
+  "version": "4.3.1",
+  "resolved": 
"https://registry.npmjs.org/hot-shots/-/hot-shots-4.3.1.tgz";
 },
 "limitation": {
   "version": "0.1.9",
@@ -4145,56 +4145,28 @@
   "resolved": 
"https://registry.npmjs.org/merge/-/merge-1.2.0.tgz";
 },
 "ms": {
-  "version": "0.7.1",
-  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz";
+  "version": "0.7.2",
+  "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz";
 },
 "msgpack5": {
-  "version": "3.4.0",
-  "resolved": 
"https://registry.npmjs.org/msgpack5/-/msgpack5-3.4.0.tgz";,
+  "version": "3.4.1",
+  "resolved": 
"https://registry.npmjs.org/msgpack5/-/msgpack5-3.4.1.tgz";,
   "dependencies": {
 "bl": {
-  "version": "1.1.2",
-  "resolved": 
"https://registry.npmjs.org/bl/-/bl-1.1.2.tgz";,
-  "dependencies": {
-"readable-stream": {
-  "version": "2.0.6",
-  "resolved": 
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz";,
-  "dependencies": {
-"core-util-is": {
-  "version": "1.0.2",
-  "resolved": 
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
-},
-"isarray": {
-  "version": "1.0.0",
-  "resolved": 
"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz";
-},
-"process-nextick-args": {
-  "version": "1.0.7",
-  "resolved": 
"https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz";
-},
-"string_decoder": {
-  "version": "0.10.31",
-  "resolved": 
"https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz";
-  

[MediaWiki-commits] [Gerrit] translatewiki[master]: pageviews: switch to github, drop deprecated out- prefix

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332669 )

Change subject: pageviews: switch to github, drop deprecated out- prefix
..


pageviews: switch to github, drop deprecated out- prefix

Change-Id: I72781b6573e98f53c79c0d66b4e0c0652cdd4555
---
M TranslateSettings.php
M groups/Wikimedia/Pageviews.yaml
M repoconfig.commit.json
M repoconfig.json
4 files changed, 6 insertions(+), 5 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/TranslateSettings.php b/TranslateSettings.php
index 36782ea..ec5744f 100644
--- a/TranslateSettings.php
+++ b/TranslateSettings.php
@@ -254,6 +254,7 @@
 $wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/WikimediaMobile-ios.yaml";
 $wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/WikimediaMobile.yaml";
 $wgTranslateGroupFiles[] = "$GROUPS/Wikimedia/WikimediaPortals.yaml";
+$wgTranslateGroupAliases['out-pageviews'] = 'pageviews';
 
 $wgTranslateSupportUrlNamespace[NS_WIKIMEDIA] = [
'url' => "$phabUrl?projects=i18n,Wikimedia-General-or-Unknown",
diff --git a/groups/Wikimedia/Pageviews.yaml b/groups/Wikimedia/Pageviews.yaml
index 2c9bfab..0bf2792 100644
--- a/groups/Wikimedia/Pageviews.yaml
+++ b/groups/Wikimedia/Pageviews.yaml
@@ -1,5 +1,5 @@
 BASIC:
-  id: out-pageviews
+  id: pageviews
   label: Pageviews Analysis
   icon: wiki://Pageviews Analysis.svg
   description: "{{Special:MyLanguage/Translations:Group 
descriptions/pageviews/en}}"
diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index ec06f21..be8d7ef 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -234,10 +234,10 @@
}
},
"pageviews": {
-   "group": "out-pageviews",
+   "group": "pageviews",
"repos": {
"pageviews": {
-   "type": "git",
+   "type": "github",
"url": 
"g...@github.com:MusikAnimal/pageviews.git"
}
}
diff --git a/repoconfig.json b/repoconfig.json
index c03f5b2..c42deed 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -229,10 +229,10 @@
}
},
"pageviews": {
-   "group": "out-pageviews",
+   "group": "pageviews",
"repos": {
"pageviews": {
-   "type": "git",
+   "type": "github",
"url": 
"https://github.com/MusikAnimal/pageviews.git";
}
}

-- 
To view, visit https://gerrit.wikimedia.org/r/332669
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I72781b6573e98f53c79c0d66b4e0c0652cdd4555
Gerrit-PatchSet: 2
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...jobrunner[master]: Fix return type doc

2017-01-18 Thread Aaron Schulz (Code Review)
Aaron Schulz has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332817 )

Change subject: Fix return type doc
..

Fix return type doc

Change-Id: I1422f5405e362b614feedd53f9b4a5a75dbb4bf5
---
M src/RedisJobService.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/jobrunner 
refs/changes/17/332817/1

diff --git a/src/RedisJobService.php b/src/RedisJobService.php
index af5f10f..c7fdea1 100755
--- a/src/RedisJobService.php
+++ b/src/RedisJobService.php
@@ -71,7 +71,7 @@
 
/**
 * @param array $args
-* @return RedisJobRunnerService
+* @return RedisJobService
 * @throws Exception
 */
public static function init( array $args ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/332817
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1422f5405e362b614feedd53f9b4a5a75dbb4bf5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/jobrunner
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: raun: convert to repong, github

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332649 )

Change subject: raun: convert to repong, github
..


raun: convert to repong, github

Keep the int- prefix for now for consistency with the others.
Only 9 languages are below the (re)introduced threshold of 35 %.

Change-Id: I736162fd0f2ccb64cede0f5717dc3395b3dbd57c
---
M REPOCONF
M REPOCONF.commit
M bin/REPONG-PROJECTS
M bin/repocommit
M bin/repoexport
M bin/repoupdate
M repoconfig.commit.json
M repoconfig.json
8 files changed, 19 insertions(+), 8 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/REPOCONF b/REPOCONF
index 333028b..be1fea5 100644
--- a/REPOCONF
+++ b/REPOCONF
@@ -12,7 +12,6 @@
 REPO_IHRIS_BRANCH="4.2-dev"
 REPO_IHRIS_MODULES="i2ce ihris-common ihris-manage ihris-qualify ihris-train"
 REPO_INTUITION=https://github.com/Krinkle/intuition.git
-REPO_INTRAUN=https://github.com/kenrick95/Raun.git
 REPO_INTREFILL=https://github.com/zhaofengli/refill.git
 REPO_MATHJAX=https://github.com/mathjax/MathJax-i18n.git
 REPO_MIFOS=https://github.com/openMF/community-app.git
diff --git a/REPOCONF.commit b/REPOCONF.commit
index 3f1e228..a815105 100644
--- a/REPOCONF.commit
+++ b/REPOCONF.commit
@@ -21,7 +21,6 @@
 REPO_IHRIS_BRANCH="4.2"
 REPO_IHRIS_MODULES="i2ce ihris-common ihris-manage ihris-qualify ihris-train"
 REPO_INTUITION=g...@github.com:Krinkle/intuition.git
-REPO_INTRAUN=g...@github.com:kenrick95/Raun.git
 REPO_INTREFILL=g...@github.com:zhaofengli/refill.git
 REPO_MATHJAX=g...@github.com:mathjax/MathJax-i18n.git
 REPO_MIFOS=g...@github.com:openMF/community-app.git
diff --git a/bin/REPONG-PROJECTS b/bin/REPONG-PROJECTS
index 253a567..bd89838 100644
--- a/bin/REPONG-PROJECTS
+++ b/bin/REPONG-PROJECTS
@@ -16,6 +16,7 @@
 int-dcatap
 int-heritage
 int-orphantalk
+int-raun
 jquery.uls
 kiwix
 lib.reviews
diff --git a/bin/repocommit b/bin/repocommit
index aca60a6..f877b2a 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -39,7 +39,6 @@
 GITPROJECTS="\
 eol \
 intuition \
-int-raun \
 int-refill \
 mathjax \
 osm \
diff --git a/bin/repoexport b/bin/repoexport
index 3d2f351..db35a6a 100755
--- a/bin/repoexport
+++ b/bin/repoexport
@@ -45,10 +45,6 @@
 then
php "$EXPORTER" --target . --group=tsint* --lang='*' --skip "$SKIPLANGS"
 
-elif [ "$PROJECT" = "int-raun" ]
-then
-   php "$EXPORTER" --target . --group=int-raun --lang='*' --skip 
"$SKIPLANGS"
-
 elif [ "$PROJECT" = "int-refill" ]
 then
php "$EXPORTER" --target . --group=int-refill --lang='*' --skip en 
$HOURS
diff --git a/bin/repoupdate b/bin/repoupdate
index c637578..cc7d5d7 100755
--- a/bin/repoupdate
+++ b/bin/repoupdate
@@ -47,7 +47,6 @@
 GITCLUPDATE="\
 eol \
 intuition \
-int-raun \
 int-refill \
 mathjax \
 vicuna \
diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index 59da1e9..9847187 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -90,6 +90,15 @@
}
}
},
+   "int-raun": {
+   "group": "int-raun",
+   "repos": {
+   "int-raun": {
+   "type": "github",
+   "url": "g...@github.com:kenrick95/Raun.git"
+   }
+   }
+   },
"jquery.uls": {
"group": "jquery-uls",
"repos": {
diff --git a/repoconfig.json b/repoconfig.json
index 7fda2b1..be80503 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -88,6 +88,15 @@
}
}
},
+   "int-raun": {
+   "group": "int-raun",
+   "repos": {
+   "int-raun": {
+   "type": "github",
+   "url": "https://github.com/kenrick95/Raun.git";
+   }
+   }
+   },
"jquery.uls": {
"group": "jquery-uls",
"repos": {

-- 
To view, visit https://gerrit.wikimedia.org/r/332649
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I736162fd0f2ccb64cede0f5717dc3395b3dbd57c
Gerrit-PatchSet: 6
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Nemo bis 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia/TransparencyReport-private[master]: update bubble graph data

2017-01-18 Thread Siddparmar (Code Review)
Siddparmar has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332815 )

Change subject: update bubble graph data
..


update bubble graph data

Change-Id: I882a45f454b00c0f807b31e0c4c4cbfba47b086d
---
M build/data/other_companies.csv
M build/fr/privacy.html
M build/privacy.html
M source/data/other_companies.csv
M source/localizable/privacy.html.erb
5 files changed, 13 insertions(+), 13 deletions(-)

Approvals:
  Siddparmar: Verified; Looks good to me, approved



diff --git a/build/data/other_companies.csv b/build/data/other_companies.csv
index 0a37879..6bba811 100644
--- a/build/data/other_companies.csv
+++ b/build/data/other_companies.csv
@@ -1,6 +1,6 @@
 company,requests,complied
-Wikimedia,25,1
-LinkedIn,139,91
-Twitter,5560,3558
-Google,40677,26033
-Facebook,46710,31691
+Wikimedia,13,0
+LinkedIn,145,89
+Twitter,5676,3916
+Google,44943,28763
+Facebook,59229,41424
diff --git a/build/fr/privacy.html b/build/fr/privacy.html
index 8d1dced..a1a6f46 100644
--- a/build/fr/privacy.html
+++ b/build/fr/privacy.html
@@ -208,7 +208,7 @@

Comparés à d’autres entreprises, 
nous avons reçu relativement peu de requêtes.*

-   Juillet - Décembre 
2015
+   Janvier - Juin 
2016



diff --git a/build/privacy.html b/build/privacy.html
index 6492e88..64d09f2 100644
--- a/build/privacy.html
+++ b/build/privacy.html
@@ -208,7 +208,7 @@

Compared to other companies, we 
received relatively few requests*

-   Jul - Dec 
2015
+   Jan - Jun 
2016



diff --git a/source/data/other_companies.csv b/source/data/other_companies.csv
index 0a37879..6bba811 100644
--- a/source/data/other_companies.csv
+++ b/source/data/other_companies.csv
@@ -1,6 +1,6 @@
 company,requests,complied
-Wikimedia,25,1
-LinkedIn,139,91
-Twitter,5560,3558
-Google,40677,26033
-Facebook,46710,31691
+Wikimedia,13,0
+LinkedIn,145,89
+Twitter,5676,3916
+Google,44943,28763
+Facebook,59229,41424
diff --git a/source/localizable/privacy.html.erb 
b/source/localizable/privacy.html.erb
index 5e2e356..fd3e459 100644
--- a/source/localizable/privacy.html.erb
+++ b/source/localizable/privacy.html.erb
@@ -150,7 +150,7 @@

<%= t('privacy.compared_to_others') 
%>*

-   <%= t('dates.jul') 
%> - <%= t('dates.dec') %> 2015
+   <%= t('dates.jan') 
%> - <%= t('dates.jun') %> 2016




-- 
To view, visit https://gerrit.wikimedia.org/r/332815
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I882a45f454b00c0f807b31e0c4c4cbfba47b086d
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/TransparencyReport-private
Gerrit-Branch: master
Gerrit-Owner: Siddparmar 
Gerrit-Reviewer: Siddparmar 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] purtle[master]: Do not double-quote quotes in NTriples format

2017-01-18 Thread Smalyshev (Code Review)
Smalyshev has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332816 )

Change subject: Do not double-quote quotes in NTriples format
..

Do not double-quote quotes in NTriples format

Bug: T154531
Change-Id: I9f9ed50e083542191c8eecfeff4a56920e34f0e5
---
M src/UnicodeEscaper.php
A tests/data/TextWithSpecialChars.nt
A tests/data/TextWithSpecialChars.rdf
A tests/data/TextWithSpecialChars.ttl
M tests/phpunit/RdfWriterTestBase.php
5 files changed, 30 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/purtle refs/changes/16/332816/1

diff --git a/src/UnicodeEscaper.php b/src/UnicodeEscaper.php
index d10f717..e2660f1 100644
--- a/src/UnicodeEscaper.php
+++ b/src/UnicodeEscaper.php
@@ -100,16 +100,8 @@
return '\r'; /* #xD (13) */
} elseif ( $no < 32 ) {
return '\u' . sprintf( '%04X', $no ); /* #xE-#x1F 
(14-31) */
-   } elseif ( $no < 34 ) {
-   return $c; /* #x20-#x21 (32-33) */
-   } elseif ( $no == 34 ) {
-   return '\"'; /* #x22 (34) */
-   } elseif ( $no < 92 ) {
-   return $c; /* #x23-#x5B (35-91) */
-   } elseif ( $no == 92 ) {
-   return '\\'; /* #x5C (92) */
} elseif ( $no < 127 ) {
-   return $c; /* #x5D-#x7E (93-126) */
+   return $c; /* #x20-#x7E (32-126) */
} elseif ( $no < 65536 ) {
return '\u' . sprintf( '%04X', $no ); /* #x7F-#x 
(128-65535) */
} elseif ( $no < 1114112 ) {
diff --git a/tests/data/TextWithSpecialChars.nt 
b/tests/data/TextWithSpecialChars.nt
new file mode 100644
index 000..1ab33ec
--- /dev/null
+++ b/tests/data/TextWithSpecialChars.nt
@@ -0,0 +1,2 @@
+  "Duck 
says: \"Quack!\"" .
+  "Cow 
says:\n\r 'Moo! \\Moo!'" .
diff --git a/tests/data/TextWithSpecialChars.rdf 
b/tests/data/TextWithSpecialChars.rdf
new file mode 100644
index 000..96d3320
--- /dev/null
+++ b/tests/data/TextWithSpecialChars.rdf
@@ -0,0 +1,9 @@
+
+http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"; 
xmlns:exterms="http://www.example.org/terms/";>
+   http://www.example.org/terms/Duck";>
+   Duck says: "Quack!"
+   
+   http://www.example.org/terms/Cow";>
+   Cow says:
+
 'Moo! \Moo!'
+   
diff --git a/tests/data/TextWithSpecialChars.ttl 
b/tests/data/TextWithSpecialChars.ttl
new file mode 100644
index 000..6907ae7
--- /dev/null
+++ b/tests/data/TextWithSpecialChars.ttl
@@ -0,0 +1,8 @@
+@prefix rdf:  .
+@prefix xsd:  .
+@prefix exterms:  .
+
+exterms:Duck exterms:says "Duck says: \"Quack!\"" .
+
+exterms:Cow exterms:says "Cow says:\n\r 'Moo! \\Moo!'" .
+
diff --git a/tests/phpunit/RdfWriterTestBase.php 
b/tests/phpunit/RdfWriterTestBase.php
index 327e88b..1d8fcac 100644
--- a/tests/phpunit/RdfWriterTestBase.php
+++ b/tests/phpunit/RdfWriterTestBase.php
@@ -309,6 +309,16 @@
$this->assertOutputLines( 'NumberedBlankNode', $rdf );
}
 
+   public function testQuotesAndSpecials() {
+   $writer = $this->newWriter();
+   $writer->prefix( 'exterms', 'http://www.example.org/terms/' );
+   $writer->start();
+   $writer->about('exterms', 'Duck')->say('exterms', 
'says')->text('Duck says: "Quack!"');
+   $writer->about('exterms', 'Cow')->say('exterms', 
'says')->text("Cow says:\n\r 'Moo! \\Moo!'");
+   $rdf = $writer->drain();
+   $this->assertOutputLines( 'TextWithSpecialChars', $rdf );
+   }
+
/**
 * @param string $datasetName
 * @param string[]|string $actual
@@ -360,7 +370,6 @@
$this->assertEquals( $missing, $extra, $message );
}
 
-   //FIXME: test quoting/escapes!
//FIXME: test non-ascii literals!
//FIXME: test uerl-encoding
//FIXME: test IRIs!

-- 
To view, visit https://gerrit.wikimedia.org/r/332816
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f9ed50e083542191c8eecfeff4a56920e34f0e5
Gerrit-PatchSet: 1
Gerrit-Project: purtle
Gerrit-Branch: master
Gerrit-Owner: Smalyshev 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia/TransparencyReport-private[master]: update bubble graph data

2017-01-18 Thread Siddparmar (Code Review)
Siddparmar has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332815 )

Change subject: update bubble graph data
..

update bubble graph data

Change-Id: I882a45f454b00c0f807b31e0c4c4cbfba47b086d
---
M build/data/other_companies.csv
M build/fr/privacy.html
M build/privacy.html
M source/data/other_companies.csv
M source/localizable/privacy.html.erb
5 files changed, 13 insertions(+), 13 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/wikimedia/TransparencyReport-private 
refs/changes/15/332815/1

diff --git a/build/data/other_companies.csv b/build/data/other_companies.csv
index 0a37879..6bba811 100644
--- a/build/data/other_companies.csv
+++ b/build/data/other_companies.csv
@@ -1,6 +1,6 @@
 company,requests,complied
-Wikimedia,25,1
-LinkedIn,139,91
-Twitter,5560,3558
-Google,40677,26033
-Facebook,46710,31691
+Wikimedia,13,0
+LinkedIn,145,89
+Twitter,5676,3916
+Google,44943,28763
+Facebook,59229,41424
diff --git a/build/fr/privacy.html b/build/fr/privacy.html
index 8d1dced..a1a6f46 100644
--- a/build/fr/privacy.html
+++ b/build/fr/privacy.html
@@ -208,7 +208,7 @@

Comparés à d’autres entreprises, 
nous avons reçu relativement peu de requêtes.*

-   Juillet - Décembre 
2015
+   Janvier - Juin 
2016



diff --git a/build/privacy.html b/build/privacy.html
index 6492e88..64d09f2 100644
--- a/build/privacy.html
+++ b/build/privacy.html
@@ -208,7 +208,7 @@

Compared to other companies, we 
received relatively few requests*

-   Jul - Dec 
2015
+   Jan - Jun 
2016



diff --git a/source/data/other_companies.csv b/source/data/other_companies.csv
index 0a37879..6bba811 100644
--- a/source/data/other_companies.csv
+++ b/source/data/other_companies.csv
@@ -1,6 +1,6 @@
 company,requests,complied
-Wikimedia,25,1
-LinkedIn,139,91
-Twitter,5560,3558
-Google,40677,26033
-Facebook,46710,31691
+Wikimedia,13,0
+LinkedIn,145,89
+Twitter,5676,3916
+Google,44943,28763
+Facebook,59229,41424
diff --git a/source/localizable/privacy.html.erb 
b/source/localizable/privacy.html.erb
index 5e2e356..fd3e459 100644
--- a/source/localizable/privacy.html.erb
+++ b/source/localizable/privacy.html.erb
@@ -150,7 +150,7 @@

<%= t('privacy.compared_to_others') 
%>*

-   <%= t('dates.jul') 
%> - <%= t('dates.dec') %> 2015
+   <%= t('dates.jan') 
%> - <%= t('dates.jun') %> 2016




-- 
To view, visit https://gerrit.wikimedia.org/r/332815
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I882a45f454b00c0f807b31e0c4c4cbfba47b086d
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/TransparencyReport-private
Gerrit-Branch: master
Gerrit-Owner: Siddparmar 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] analytics/refinery[master]: Update jar version for webrequest load job

2017-01-18 Thread Nuria (Code Review)
Nuria has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332814 )

Change subject: Update jar version for webrequest load job
..


Update jar version for webrequest load job

refinery jars v0.0.39 contain a refactor of UDF code (backwards compatible)
This patch makes the webrequest load job use them

Change-Id: I846e533f770ca445deb7a2c4305450e40ec7a1d2
---
M oozie/webrequest/load/bundle.properties
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ottomata: Looks good to me, but someone else must approve
  Nuria: Verified; Looks good to me, approved



diff --git a/oozie/webrequest/load/bundle.properties 
b/oozie/webrequest/load/bundle.properties
index 45f2dcb..8be37b2 100644
--- a/oozie/webrequest/load/bundle.properties
+++ b/oozie/webrequest/load/bundle.properties
@@ -57,7 +57,7 @@
 webrequest_table  = wmf.webrequest
 
 # Version of Hive UDF jar to import
-refinery_jar_version  = 0.0.38
+refinery_jar_version  = 0.0.39
 
 # Record version to keep track of changes
 record_version= 0.0.16

-- 
To view, visit https://gerrit.wikimedia.org/r/332814
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I846e533f770ca445deb7a2c4305450e40ec7a1d2
Gerrit-PatchSet: 1
Gerrit-Project: analytics/refinery
Gerrit-Branch: master
Gerrit-Owner: Nuria 
Gerrit-Reviewer: Joal 
Gerrit-Reviewer: Nuria 
Gerrit-Reviewer: Ottomata 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] VisualEditor/VisualEditor[master]: build: Bump grunt-css-url-embed to 1.9.0

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332780 )

Change subject: build: Bump grunt-css-url-embed to 1.9.0
..


build: Bump grunt-css-url-embed to 1.9.0

 grunt-css-url-embed 1.8.0  →  1.9.0

Change-Id: I7905166e7c9ea65d1d10f193391f1689673f2fac
---
M package.json
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  DLynch: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/package.json b/package.json
index 75cb2fe..dc58310 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
 "grunt-contrib-concat": "1.0.1",
 "grunt-contrib-copy": "1.0.0",
 "grunt-contrib-watch": "1.0.0",
-"grunt-css-url-embed": "1.8.0",
+"grunt-css-url-embed": "1.9.0",
 "grunt-cssjanus": "0.3.2",
 "grunt-eslint": "19.0.0",
 "grunt-jsonlint": "1.1.0",

-- 
To view, visit https://gerrit.wikimedia.org/r/332780
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7905166e7c9ea65d1d10f193391f1689673f2fac
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Jforrester 
Gerrit-Reviewer: DLynch 
Gerrit-Reviewer: Jforrester 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] analytics/refinery[master]: Update jar version for webrequest load job

2017-01-18 Thread Nuria (Code Review)
Nuria has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332814 )

Change subject: Update jar version for webrequest load job
..

Update jar version for webrequest load job

refinery jars v0.0.39 contain a refactor of UDF code (backwards compatible)
This patch makes the webrequest load job use them

Change-Id: I846e533f770ca445deb7a2c4305450e40ec7a1d2
---
M oozie/webrequest/load/bundle.properties
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/refinery 
refs/changes/14/332814/1

diff --git a/oozie/webrequest/load/bundle.properties 
b/oozie/webrequest/load/bundle.properties
index 45f2dcb..8be37b2 100644
--- a/oozie/webrequest/load/bundle.properties
+++ b/oozie/webrequest/load/bundle.properties
@@ -57,7 +57,7 @@
 webrequest_table  = wmf.webrequest
 
 # Version of Hive UDF jar to import
-refinery_jar_version  = 0.0.38
+refinery_jar_version  = 0.0.39
 
 # Record version to keep track of changes
 record_version= 0.0.16

-- 
To view, visit https://gerrit.wikimedia.org/r/332814
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I846e533f770ca445deb7a2c4305450e40ec7a1d2
Gerrit-PatchSet: 1
Gerrit-Project: analytics/refinery
Gerrit-Branch: master
Gerrit-Owner: Nuria 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: apply: copy-edit

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332812 )

Change subject: apply: copy-edit
..


apply: copy-edit

Change-Id: I6755dd9e1f8885a2662a0fe72e39cffe3c04a660
---
M data/i18n/en.json
1 file changed, 5 insertions(+), 5 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/data/i18n/en.json b/data/i18n/en.json
index 9e0c9a5..44b79f5 100644
--- a/data/i18n/en.json
+++ b/data/i18n/en.json
@@ -31,7 +31,7 @@
 
"deadline-passed": "Scholarship application deadline was February 
20, 23:59 UTC.\nWe will notify applicants in April 2017 about the result 
of their application.\nPlease see the scholarships
 page on the wiki for more details.",
 
-   "form-intro": "This is the application for sponsorship to attend https://wikimania2017.wikimedia.org/wiki/Special:MyLanguage/Main_Page\";>Wikimania
 2017, the annual international conference centered on Wikimedia projects. 
Awardees will receive a scholarship which will cover conference registration 
fees, hotel, and roundtrip travel to Wikimania in Montréal, Quebec, Canada , 
Aug 9-13, 2017.\nApplications may be submitted in any language, 
but every applicant must provide evidence of English language abilities 
that are at a level which would enable them to participate in Wikimania, a 
conference which is primarily conducted in English. Sufficient English 
abilities could be demonstrated in the application itself or 
elsewhere.\nThis is not a scholarship for university study. Applications 
not obviously related to the conference will be discarded.\nPlease 
carefully consider your financial needs before applying for a scholarship to 
attend Wikimania. There are limited funds available and many applicants do not 
have the financial means to attend Wikimania without this opportunity. Thank 
you.\nPlease note that if you need more then 10 minutes to 
complete this application, please draft your answers in a text editor, 
reload this page and then copy-paste your answers into corresponding fields 
before submitting. This application may give an error (\"Missing or invalid 
CSRF token\") if it is open for more then 15 minutes before 
submitting.\nThe deadline to apply is February 20, 23:59 
UTC. ",
+   "form-intro": "This is the application for sponsorship to attend https://wikimania2017.wikimedia.org/wiki/Special:MyLanguage/Main_Page\";>Wikimania
 2017, the annual international conference centered on Wikimedia projects. 
Awardees will receive a scholarship which will cover conference registration 
fees, hotel, and roundtrip travel to Wikimania in Montréal, Quebec, Canada, Aug 
9-13, 2017.\nApplications may be submitted in any language, but 
every applicant must provide evidence of English language abilities that 
are at a level which would enable them to participate in Wikimania, a 
conference which is primarily conducted in English. Sufficient English 
abilities could be demonstrated in the application itself or 
elsewhere.\nThis is not a scholarship for university study. Applications 
not obviously related to the conference will be discarded.\nPlease 
carefully consider your financial needs before applying for a scholarship to 
attend Wikimania. There are limited funds available and many applicants do not 
have the financial means to attend Wikimania without this opportunity. Thank 
you.\nPlease note that if you need more then 10 minutes to 
complete this application, please draft your answers in a text editor, 
reload this page and then copy-paste your answers into corresponding fields 
before submitting. This application may give an error (\"Missing or invalid 
CSRF token\") if it is open for more then 15 minutes before 
submitting.\nThe deadline to apply is February 20, 23:59 
UTC. ",
 
"form-intro-faq": "Frequently asked questions",
 
@@ -116,12 +116,12 @@
"form-engagement-option4": "Wikimedia Check User, Admin, Bureaucrat, 
Steward, and/or OTRS (current or former)",
"form-engagement-option5": "Wikimedia Foundation Grantee",
"form-engagement-option6": "Wikimedia Researcher",
-   "form-engagement-option7": "Participant in a Wikimedia program (e.g. 
GLAM partnerships, Education program, etc)",
+   "form-engagement-option7": "Participant in a Wikimedia program (e.g. 
GLAM partnerships, Education program, etc.)",
"form-engagement-option8": "Participant in Wikimedia organized events 
(e.g. photographer contributing to Wiki Loves Monuments, workshop attendee)",
"form-engagement-option9": "Organizer of Wikimedia events (e.g. WLM, 
edit-a-thons)",
"form-engagement-option10": "None of the above",
 
-   "form-wikimedia-staff": "Are you currently a paid or contract staff of 
any Wikimedia organization?",
+   "form-wikimedia-staff": "Are you currently a paid or contract staff 
memeber of any Wikimedia organization?",
"form

[MediaWiki-commits] [Gerrit] wikimedia...wmf[master]: Add more Hive error/log filters

2017-01-18 Thread Bearloga (Code Review)
Bearloga has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332813 )

Change subject: Add more Hive error/log filters
..


Add more Hive error/log filters

Change-Id: I8627010207f3d75a4f066e0fa95b71625a906747
---
M DESCRIPTION
M R/hive.R
2 files changed, 8 insertions(+), 4 deletions(-)

Approvals:
  Bearloga: Verified; Looks good to me, approved



diff --git a/DESCRIPTION b/DESCRIPTION
index 6c2eb4f..4bf3a6a 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -2,7 +2,7 @@
 Type: Package
 Title: R Code for Wikimedia Foundation Internal Usage
 Version: 0.2.5
-Date: 2016-12-07
+Date: 2017-01-18
 Authors@R: c(
   person("Oliver", "Keyes", role = "aut"),
   person("Mikhail", "Popov", email = "mpo...@wikimedia.org", role = c("aut", 
"cre")))
diff --git a/R/hive.R b/R/hive.R
index 801e040..208b945 100644
--- a/R/hive.R
+++ b/R/hive.R
@@ -47,11 +47,15 @@
 cat(query, file = query_dump)
 results_dump <- tempfile()
 
+filters <- paste0(c("", paste("grep -v", c("JAVA_TOOL_OPTIONS", 
"parquet.hadoop", "WARN:", ":WARN"))), collapse = " | ")
+
 # Query and read in the results
 try({
-  system(paste0("export HADOOP_HEAPSIZE=1024 && hive -S ",
-ifelse(override_jars, "--hiveconf hive.aux.jars.path=", 
""),
-" -f ", query_dump, " 2> /dev/null | grep -v 
parquet.hadoop | grep -v WARN: > ", results_dump))
+  system(
+paste0("export HADOOP_HEAPSIZE=1024 && hive -S ",
+   ifelse(override_jars, "--hiveconf hive.aux.jars.path= ", ""),
+   "-f ", query_dump, " 2> /dev/null", filters, " > ", 
results_dump)
+  )
   results <- read.delim(results_dump, sep = "\t", quote = "", as.is = 
TRUE, header = TRUE)
 })
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332813
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8627010207f3d75a4f066e0fa95b71625a906747
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/wmf
Gerrit-Branch: master
Gerrit-Owner: Bearloga 
Gerrit-Reviewer: Bearloga 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia...wmf[master]: Add more Hive error/log filters

2017-01-18 Thread Bearloga (Code Review)
Bearloga has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332813 )

Change subject: Add more Hive error/log filters
..

Add more Hive error/log filters

Change-Id: I8627010207f3d75a4f066e0fa95b71625a906747
---
M DESCRIPTION
M R/hive.R
2 files changed, 8 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/wmf 
refs/changes/13/332813/1

diff --git a/DESCRIPTION b/DESCRIPTION
index 6c2eb4f..4bf3a6a 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -2,7 +2,7 @@
 Type: Package
 Title: R Code for Wikimedia Foundation Internal Usage
 Version: 0.2.5
-Date: 2016-12-07
+Date: 2017-01-18
 Authors@R: c(
   person("Oliver", "Keyes", role = "aut"),
   person("Mikhail", "Popov", email = "mpo...@wikimedia.org", role = c("aut", 
"cre")))
diff --git a/R/hive.R b/R/hive.R
index 801e040..208b945 100644
--- a/R/hive.R
+++ b/R/hive.R
@@ -47,11 +47,15 @@
 cat(query, file = query_dump)
 results_dump <- tempfile()
 
+filters <- paste0(c("", paste("grep -v", c("JAVA_TOOL_OPTIONS", 
"parquet.hadoop", "WARN:", ":WARN"))), collapse = " | ")
+
 # Query and read in the results
 try({
-  system(paste0("export HADOOP_HEAPSIZE=1024 && hive -S ",
-ifelse(override_jars, "--hiveconf hive.aux.jars.path=", 
""),
-" -f ", query_dump, " 2> /dev/null | grep -v 
parquet.hadoop | grep -v WARN: > ", results_dump))
+  system(
+paste0("export HADOOP_HEAPSIZE=1024 && hive -S ",
+   ifelse(override_jars, "--hiveconf hive.aux.jars.path= ", ""),
+   "-f ", query_dump, " 2> /dev/null", filters, " > ", 
results_dump)
+  )
   results <- read.delim(results_dump, sep = "\t", quote = "", as.is = 
TRUE, header = TRUE)
 })
 

-- 
To view, visit https://gerrit.wikimedia.org/r/332813
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8627010207f3d75a4f066e0fa95b71625a906747
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/wmf
Gerrit-Branch: master
Gerrit-Owner: Bearloga 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: orphantalk: switch to repong, github

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332689 )

Change subject: orphantalk: switch to repong, github
..


orphantalk: switch to repong, github

Keep the int- prefix for now for consistency with thew few others.
Add a threshold of 18 % as a compromise: only 16 languages are
below 18 % and it's easy to translate 3 messages more.

Change-Id: Iab6a5eafe4b9a27db9a5ee432a85556c004da08c
---
M REPOCONF
M REPOCONF.commit
M bin/REPONG-PROJECTS
M bin/repocommit
M bin/repoexport
M bin/repoupdate
M repoconfig.commit.json
M repoconfig.json
8 files changed, 21 insertions(+), 8 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/REPOCONF b/REPOCONF
index 21a699d..0e9bbf0 100644
--- a/REPOCONF
+++ b/REPOCONF
@@ -12,7 +12,6 @@
 REPO_IHRIS_BRANCH="4.2-dev"
 REPO_IHRIS_MODULES="i2ce ihris-common ihris-manage ihris-qualify ihris-train"
 REPO_INTUITION=https://github.com/Krinkle/intuition.git
-REPO_INTORPHANTALK=https://github.com/Krinkle/mw-tool-orphantalk.git
 REPO_INTRAUN=https://github.com/kenrick95/Raun.git
 REPO_INTREFILL=https://github.com/zhaofengli/refill.git
 REPO_MATHJAX=https://github.com/mathjax/MathJax-i18n.git
diff --git a/REPOCONF.commit b/REPOCONF.commit
index c24f103..b589711 100644
--- a/REPOCONF.commit
+++ b/REPOCONF.commit
@@ -21,7 +21,6 @@
 REPO_IHRIS_BRANCH="4.2"
 REPO_IHRIS_MODULES="i2ce ihris-common ihris-manage ihris-qualify ihris-train"
 REPO_INTUITION=g...@github.com:Krinkle/intuition.git
-REPO_INTORPHANTALK=g...@github.com:Krinkle/mw-tool-orphantalk.git
 REPO_INTRAUN=g...@github.com:kenrick95/Raun.git
 REPO_INTREFILL=g...@github.com:zhaofengli/refill.git
 REPO_MATHJAX=g...@github.com:mathjax/MathJax-i18n.git
diff --git a/bin/REPONG-PROJECTS b/bin/REPONG-PROJECTS
index 6e5c68d..fe7810e 100644
--- a/bin/REPONG-PROJECTS
+++ b/bin/REPONG-PROJECTS
@@ -15,6 +15,7 @@
 inaturalist
 int-dcatap
 int-heritage
+int-orphantalk
 jquery.uls
 kiwix
 lib.reviews
diff --git a/bin/repocommit b/bin/repocommit
index c831519..f683420 100755
--- a/bin/repocommit
+++ b/bin/repocommit
@@ -39,7 +39,6 @@
 GITPROJECTS="\
 eol \
 intuition \
-int-orphantalk \
 int-raun \
 int-refill \
 mathjax \
diff --git a/bin/repoexport b/bin/repoexport
index 9a509c3..52157d3 100755
--- a/bin/repoexport
+++ b/bin/repoexport
@@ -45,10 +45,6 @@
 then
php "$EXPORTER" --target . --group=tsint* --lang='*' --skip "$SKIPLANGS"
 
-elif [ "$PROJECT" = "int-orphantalk" ]
-then
-   php "$EXPORTER" --target . --group=int-orphantalk --lang='*' --skip 
"$SKIPLANGS"
-
 elif [ "$PROJECT" = "int-raun" ]
 then
php "$EXPORTER" --target . --group=int-raun --lang='*' --skip 
"$SKIPLANGS"
diff --git a/bin/repoupdate b/bin/repoupdate
index b823f61..0351b59 100755
--- a/bin/repoupdate
+++ b/bin/repoupdate
@@ -47,7 +47,6 @@
 GITCLUPDATE="\
 eol \
 intuition \
-int-orphantalk \
 int-raun \
 int-refill \
 mathjax \
diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index ec06f21..3523ebe 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -80,6 +80,16 @@
}
}
},
+   "int-orphantalk": {
+   "group": "int-orphantalk",
+   "export-threshold": 18,
+   "repos": {
+   "int-orphantalk": {
+   "type": "github",
+   "url": 
"g...@github.com:Krinkle/mw-tool-orphantalk.git"
+   }
+   }
+   },
"jquery.uls": {
"group": "jquery-uls",
"repos": {
diff --git a/repoconfig.json b/repoconfig.json
index c03f5b2..05c12cf 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -78,6 +78,16 @@
}
}
},
+   "int-orphantalk": {
+   "group": "int-orphantalk",
+   "export-threshold": 18,
+   "repos": {
+   "int-orphantalk": {
+   "type": "github",
+   "url": 
"https://github.com/Krinkle/mw-tool-orphantalk.git";
+   }
+   }
+   },
"jquery.uls": {
"group": "jquery-uls",
"repos": {

-- 
To view, visit https://gerrit.wikimedia.org/r/332689
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iab6a5eafe4b9a27db9a5ee432a85556c004da08c
Gerrit-PatchSet: 2
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Krinkle 
Gerrit-Reviewer: Nemo bis 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] wikimedia/wikimania-scholarships[master]: apply: copy-edit

2017-01-18 Thread Matanya (Code Review)
Matanya has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332812 )

Change subject: apply: copy-edit
..

apply: copy-edit

Change-Id: I6755dd9e1f8885a2662a0fe72e39cffe3c04a660
---
M data/i18n/en.json
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/wikimania-scholarships 
refs/changes/12/332812/1

diff --git a/data/i18n/en.json b/data/i18n/en.json
index 9e0c9a5..44b79f5 100644
--- a/data/i18n/en.json
+++ b/data/i18n/en.json
@@ -31,7 +31,7 @@
 
"deadline-passed": "Scholarship application deadline was February 
20, 23:59 UTC.\nWe will notify applicants in April 2017 about the result 
of their application.\nPlease see the scholarships
 page on the wiki for more details.",
 
-   "form-intro": "This is the application for sponsorship to attend https://wikimania2017.wikimedia.org/wiki/Special:MyLanguage/Main_Page\";>Wikimania
 2017, the annual international conference centered on Wikimedia projects. 
Awardees will receive a scholarship which will cover conference registration 
fees, hotel, and roundtrip travel to Wikimania in Montréal, Quebec, Canada , 
Aug 9-13, 2017.\nApplications may be submitted in any language, 
but every applicant must provide evidence of English language abilities 
that are at a level which would enable them to participate in Wikimania, a 
conference which is primarily conducted in English. Sufficient English 
abilities could be demonstrated in the application itself or 
elsewhere.\nThis is not a scholarship for university study. Applications 
not obviously related to the conference will be discarded.\nPlease 
carefully consider your financial needs before applying for a scholarship to 
attend Wikimania. There are limited funds available and many applicants do not 
have the financial means to attend Wikimania without this opportunity. Thank 
you.\nPlease note that if you need more then 10 minutes to 
complete this application, please draft your answers in a text editor, 
reload this page and then copy-paste your answers into corresponding fields 
before submitting. This application may give an error (\"Missing or invalid 
CSRF token\") if it is open for more then 15 minutes before 
submitting.\nThe deadline to apply is February 20, 23:59 
UTC. ",
+   "form-intro": "This is the application for sponsorship to attend https://wikimania2017.wikimedia.org/wiki/Special:MyLanguage/Main_Page\";>Wikimania
 2017, the annual international conference centered on Wikimedia projects. 
Awardees will receive a scholarship which will cover conference registration 
fees, hotel, and roundtrip travel to Wikimania in Montréal, Quebec, Canada, Aug 
9-13, 2017.\nApplications may be submitted in any language, but 
every applicant must provide evidence of English language abilities that 
are at a level which would enable them to participate in Wikimania, a 
conference which is primarily conducted in English. Sufficient English 
abilities could be demonstrated in the application itself or 
elsewhere.\nThis is not a scholarship for university study. Applications 
not obviously related to the conference will be discarded.\nPlease 
carefully consider your financial needs before applying for a scholarship to 
attend Wikimania. There are limited funds available and many applicants do not 
have the financial means to attend Wikimania without this opportunity. Thank 
you.\nPlease note that if you need more then 10 minutes to 
complete this application, please draft your answers in a text editor, 
reload this page and then copy-paste your answers into corresponding fields 
before submitting. This application may give an error (\"Missing or invalid 
CSRF token\") if it is open for more then 15 minutes before 
submitting.\nThe deadline to apply is February 20, 23:59 
UTC. ",
 
"form-intro-faq": "Frequently asked questions",
 
@@ -116,12 +116,12 @@
"form-engagement-option4": "Wikimedia Check User, Admin, Bureaucrat, 
Steward, and/or OTRS (current or former)",
"form-engagement-option5": "Wikimedia Foundation Grantee",
"form-engagement-option6": "Wikimedia Researcher",
-   "form-engagement-option7": "Participant in a Wikimedia program (e.g. 
GLAM partnerships, Education program, etc)",
+   "form-engagement-option7": "Participant in a Wikimedia program (e.g. 
GLAM partnerships, Education program, etc.)",
"form-engagement-option8": "Participant in Wikimedia organized events 
(e.g. photographer contributing to Wiki Loves Monuments, workshop attendee)",
"form-engagement-option9": "Organizer of Wikimedia events (e.g. WLM, 
edit-a-thons)",
"form-engagement-option10": "None of the above",
 
-   "form-wikimedia-staff": "Are you currently a paid or contract staff of 
any Wikimedia organization?",
+   "form-wikimedia-staff": "Are you currently a paid or contract staff 
memeber of any Wikimedia organization?",

[MediaWiki-commits] [Gerrit] analytics/refinery[master]: Update jar version for webrequest load job

2017-01-18 Thread Nuria (Code Review)
Nuria has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332811 )

Change subject: Update jar version for webrequest load job
..

Update jar version for webrequest load job

refinery jars v0.0.39 contain a refactor of UDF code (backwards compatible)
This patch makes the webrequest load job use them

Change-Id: I9983f1594605391adbce5e07bf7c3a1c50c8602c
---
M oozie/webrequest/load/bundle.properties
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/refinery 
refs/changes/11/332811/1

diff --git a/oozie/webrequest/load/bundle.properties 
b/oozie/webrequest/load/bundle.properties
index 45f2dcb..8be37b2 100644
--- a/oozie/webrequest/load/bundle.properties
+++ b/oozie/webrequest/load/bundle.properties
@@ -57,7 +57,7 @@
 webrequest_table  = wmf.webrequest
 
 # Version of Hive UDF jar to import
-refinery_jar_version  = 0.0.38
+refinery_jar_version  = 0.0.39
 
 # Record version to keep track of changes
 record_version= 0.0.16

-- 
To view, visit https://gerrit.wikimedia.org/r/332811
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9983f1594605391adbce5e07bf7c3a1c50c8602c
Gerrit-PatchSet: 1
Gerrit-Project: analytics/refinery
Gerrit-Branch: master
Gerrit-Owner: Nuria 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...ContentTranslation[master]: sql: Remove old sql file

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332697 )

Change subject: sql: Remove old sql file
..


sql: Remove old sql file

Already patched contenttranslation.sql

Change-Id: Ia6243c1828302f1c3d9a0167d50e02578fb2c415
---
D sql/patch-store-revision-ids.sql
1 file changed, 0 insertions(+), 3 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/sql/patch-store-revision-ids.sql b/sql/patch-store-revision-ids.sql
deleted file mode 100644
index 9bfcc52..000
--- a/sql/patch-store-revision-ids.sql
+++ /dev/null
@@ -1,3 +0,0 @@
-ALTER TABLE /*_*/cx_translations
-ADD translation_source_revision_id INT UNSIGNED,
-ADD translation_target_revision_id INT UNSIGNED;

-- 
To view, visit https://gerrit.wikimedia.org/r/332697
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6243c1828302f1c3d9a0167d50e02578fb2c415
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: KartikMistry 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: Santhosh 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: citationhunt: switch to github

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332808 )

Change subject: citationhunt: switch to github
..


citationhunt: switch to github

Change-Id: I20f942152a619e61cc2e2a3958d0f789bcd68651
---
M repoconfig.commit.json
M repoconfig.json
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index 49f9456..8fe0dcb 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -19,7 +19,7 @@
"group": "citationhunt",
"repos": {
"citationhunt": {
-   "type": "git",
+   "type": "github",
"url": "g...@github.com:eggpi/citationhunt.git"
}
}
diff --git a/repoconfig.json b/repoconfig.json
index 81246ab..e21c805 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -19,7 +19,7 @@
"group": "citationhunt",
"repos": {
"citationhunt": {
-   "type": "git",
+   "type": "github",
"url": 
"https://github.com/eggpi/citationhunt.git";
}
}

-- 
To view, visit https://gerrit.wikimedia.org/r/332808
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I20f942152a619e61cc2e2a3958d0f789bcd68651
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Moving group1 to wmf.8

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332793 )

Change subject: Moving group1 to wmf.8
..


Moving group1 to wmf.8

Change-Id: Ia6a97a2edf93464e24ddaf9b136bd1717cf21f8a
---
M php
M wikiversions.json
2 files changed, 598 insertions(+), 598 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/php b/php
index a76b8e9..335052b 12
--- a/php
+++ b/php
@@ -1 +1 @@
-php-1.29.0-wmf.7
\ No newline at end of file
+php-1.29.0-wmf.8
\ No newline at end of file
diff --git a/wikiversions.json b/wikiversions.json
index b43af0f..5d9473d 100644
--- a/wikiversions.json
+++ b/wikiversions.json
@@ -1,33 +1,33 @@
 {
 "aawiki": "php-1.29.0-wmf.7",
-"aawikibooks": "php-1.29.0-wmf.7",
-"aawiktionary": "php-1.29.0-wmf.7",
+"aawikibooks": "php-1.29.0-wmf.8",
+"aawiktionary": "php-1.29.0-wmf.8",
 "abwiki": "php-1.29.0-wmf.7",
-"abwiktionary": "php-1.29.0-wmf.7",
+"abwiktionary": "php-1.29.0-wmf.8",
 "acewiki": "php-1.29.0-wmf.7",
-"advisorywiki": "php-1.29.0-wmf.7",
+"advisorywiki": "php-1.29.0-wmf.8",
 "adywiki": "php-1.29.0-wmf.7",
 "afwiki": "php-1.29.0-wmf.7",
-"afwikibooks": "php-1.29.0-wmf.7",
-"afwikiquote": "php-1.29.0-wmf.7",
-"afwiktionary": "php-1.29.0-wmf.7",
+"afwikibooks": "php-1.29.0-wmf.8",
+"afwikiquote": "php-1.29.0-wmf.8",
+"afwiktionary": "php-1.29.0-wmf.8",
 "akwiki": "php-1.29.0-wmf.7",
-"akwikibooks": "php-1.29.0-wmf.7",
-"akwiktionary": "php-1.29.0-wmf.7",
+"akwikibooks": "php-1.29.0-wmf.8",
+"akwiktionary": "php-1.29.0-wmf.8",
 "alswiki": "php-1.29.0-wmf.7",
-"alswikibooks": "php-1.29.0-wmf.7",
-"alswikiquote": "php-1.29.0-wmf.7",
-"alswiktionary": "php-1.29.0-wmf.7",
+"alswikibooks": "php-1.29.0-wmf.8",
+"alswikiquote": "php-1.29.0-wmf.8",
+"alswiktionary": "php-1.29.0-wmf.8",
 "amwiki": "php-1.29.0-wmf.7",
-"amwikiquote": "php-1.29.0-wmf.7",
-"amwiktionary": "php-1.29.0-wmf.7",
+"amwikiquote": "php-1.29.0-wmf.8",
+"amwiktionary": "php-1.29.0-wmf.8",
 "angwiki": "php-1.29.0-wmf.7",
-"angwikibooks": "php-1.29.0-wmf.7",
-"angwikiquote": "php-1.29.0-wmf.7",
-"angwikisource": "php-1.29.0-wmf.7",
-"angwiktionary": "php-1.29.0-wmf.7",
+"angwikibooks": "php-1.29.0-wmf.8",
+"angwikiquote": "php-1.29.0-wmf.8",
+"angwikisource": "php-1.29.0-wmf.8",
+"angwiktionary": "php-1.29.0-wmf.8",
 "anwiki": "php-1.29.0-wmf.7",
-"anwiktionary": "php-1.29.0-wmf.7",
+"anwiktionary": "php-1.29.0-wmf.8",
 "arbcom_cswiki": "php-1.29.0-wmf.7",
 "arbcom_dewiki": "php-1.29.0-wmf.7",
 "arbcom_enwiki": "php-1.29.0-wmf.7",
@@ -35,720 +35,720 @@
 "arbcom_nlwiki": "php-1.29.0-wmf.7",
 "arcwiki": "php-1.29.0-wmf.7",
 "arwiki": "php-1.29.0-wmf.7",
-"arwikibooks": "php-1.29.0-wmf.7",
-"arwikimedia": "php-1.29.0-wmf.7",
-"arwikinews": "php-1.29.0-wmf.7",
-"arwikiquote": "php-1.29.0-wmf.7",
-"arwikisource": "php-1.29.0-wmf.7",
-"arwikiversity": "php-1.29.0-wmf.7",
-"arwiktionary": "php-1.29.0-wmf.7",
+"arwikibooks": "php-1.29.0-wmf.8",
+"arwikimedia": "php-1.29.0-wmf.8",
+"arwikinews": "php-1.29.0-wmf.8",
+"arwikiquote": "php-1.29.0-wmf.8",
+"arwikisource": "php-1.29.0-wmf.8",
+"arwikiversity": "php-1.29.0-wmf.8",
+"arwiktionary": "php-1.29.0-wmf.8",
 "arzwiki": "php-1.29.0-wmf.7",
 "astwiki": "php-1.29.0-wmf.7",
-"astwikibooks": "php-1.29.0-wmf.7",
-"astwikiquote": "php-1.29.0-wmf.7",
-"astwiktionary": "php-1.29.0-wmf.7",
+"astwikibooks": "php-1.29.0-wmf.8",
+"astwikiquote": "php-1.29.0-wmf.8",
+"astwiktionary": "php-1.29.0-wmf.8",
 "aswiki": "php-1.29.0-wmf.7",
-"aswikibooks": "php-1.29.0-wmf.7",
-"aswikisource": "php-1.29.0-wmf.7",
-"aswiktionary": "php-1.29.0-wmf.7",
-"auditcomwiki": "php-1.29.0-wmf.7",
+"aswikibooks": "php-1.29.0-wmf.8",
+"aswikisource": "php-1.29.0-wmf.8",
+"aswiktionary": "php-1.29.0-wmf.8",
+"auditcomwiki": "php-1.29.0-wmf.8",
 "avwiki": "php-1.29.0-wmf.7",
-"avwiktionary": "php-1.29.0-wmf.7",
+"avwiktionary": "php-1.29.0-wmf.8",
 "aywiki": "php-1.29.0-wmf.7",
-"aywikibooks": "php-1.29.0-wmf.7",
-"aywiktionary": "php-1.29.0-wmf.7",
+"aywikibooks": "php-1.29.0-wmf.8",
+"aywiktionary": "php-1.29.0-wmf.8",
 "azbwiki": "php-1.29.0-wmf.7",
 "azwiki": "php-1.29.0-wmf.7",
-"azwikibooks": "php-1.29.0-wmf.7",
-"azwikiquote": "php-1.29.0-wmf.7",
-"azwikisource": "php-1.29.0-wmf.7",
-"azwiktionary": "php-1.29.0-wmf.7",
+"azwikibooks": "php-1.29.0-wmf.8",
+"azwikiquote": "php-1.29.0-wmf.8",
+"azwikisource": "php-1.29.0-wmf.8",
+"azwiktionary": "php-1.29.0-wmf.8",
 "barwiki": "php-1.29.0-wmf.7",
 "bat_smgwiki": "php-1.29.0-wmf.7",
 "bawiki": "php-1.29

[MediaWiki-commits] [Gerrit] integration/config[master]: Add non-voting unit tests

2017-01-18 Thread Umherirrender (Code Review)
Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332810 )

Change subject: Add non-voting unit tests
..

Add non-voting unit tests

Add non-voting unit tests for ImageTweaks, MOOC, SemanticBundle and
SemanticLinks

Starting with non-voting, maybe changed later, when test passed.

Change-Id: I9d243f4d530a7b605f5851ea50e4cbbde4dbd0a1
---
M zuul/layout.yaml
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/10/332810/1

diff --git a/zuul/layout.yaml b/zuul/layout.yaml
index 67290c0..3fab5d4 100644
--- a/zuul/layout.yaml
+++ b/zuul/layout.yaml
@@ -5566,6 +5566,7 @@
   - name: mediawiki/extensions/ImageTweaks
 template:
   - name: composer-test
+  - name: extension-unittests-non-voting
   - name: npm
 check:
   - jsonlint
@@ -5852,6 +5853,10 @@
   - name: npm
 check:
   - jsonlint
+
+  - name: mediawiki/extensions/MOOC
+template:
+  - name: extension-unittests-non-voting
 
   - name: mediawiki/extensions/Moodle
 template:
@@ -8116,6 +8121,7 @@
 
   - name: mediawiki/extensions/SemanticBundle
 template:
+  - name: extension-unittests-non-voting
   - name: npm
 check: &semanticbundle_jobs
  - jshint
@@ -8182,6 +8188,10 @@
   - name: jsonlint
   - name: npm
 
+  - name: mediawiki/extensions/SemanticLinks
+template:
+  - name: extension-unittests-non-voting
+
   - name: mediawiki/extensions/SemanticMediaWiki
 template:
   - name: jshint

-- 
To view, visit https://gerrit.wikimedia.org/r/332810
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d243f4d530a7b605f5851ea50e4cbbde4dbd0a1
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] analytics...source[master]: Changes for v0.0.39

2017-01-18 Thread Nuria (Code Review)
Nuria has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332809 )

Change subject: Changes for v0.0.39
..


Changes for v0.0.39

Change-Id: I3a3d49b5235ecf3f473ce8fa7d2301616abbc30d
---
M changelog.md
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Nuria: Verified; Looks good to me, approved



diff --git a/changelog.md b/changelog.md
index 9aa95ed..146f5d7 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,7 @@
+## v0.0.39
+* Standarize UDF Naming:  https://phabricator.wikimedia.org/T120131
+* Lucene Stemmer UDF https://phabricator.wikimedia.org/T148811
+
 ## v0.0.38
 * WikidataArticlePlaceholderMetrics also send search referral data 
https://phabricator.wikimedia.org/T142955
 * Adding self-identified bot to bot regex 
https://phabricator.wikimedia.org/T150990

-- 
To view, visit https://gerrit.wikimedia.org/r/332809
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3a3d49b5235ecf3f473ce8fa7d2301616abbc30d
Gerrit-PatchSet: 1
Gerrit-Project: analytics/refinery/source
Gerrit-Branch: master
Gerrit-Owner: Nuria 
Gerrit-Reviewer: Nuria 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] analytics...source[master]: Changes for v0.0.39

2017-01-18 Thread Nuria (Code Review)
Nuria has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332809 )

Change subject: Changes for v0.0.39
..

Changes for v0.0.39

Change-Id: I3a3d49b5235ecf3f473ce8fa7d2301616abbc30d
---
M changelog.md
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/refinery/source 
refs/changes/09/332809/1

diff --git a/changelog.md b/changelog.md
index 9aa95ed..146f5d7 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,3 +1,7 @@
+## v0.0.39
+* Standarize UDF Naming:  https://phabricator.wikimedia.org/T120131
+* Lucene Stemmer UDF https://phabricator.wikimedia.org/T148811
+
 ## v0.0.38
 * WikidataArticlePlaceholderMetrics also send search referral data 
https://phabricator.wikimedia.org/T142955
 * Adding self-identified bot to bot regex 
https://phabricator.wikimedia.org/T150990

-- 
To view, visit https://gerrit.wikimedia.org/r/332809
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a3d49b5235ecf3f473ce8fa7d2301616abbc30d
Gerrit-PatchSet: 1
Gerrit-Project: analytics/refinery/source
Gerrit-Branch: master
Gerrit-Owner: Nuria 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: citationhunt: switch to github

2017-01-18 Thread Nemo bis (Code Review)
Nemo bis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332808 )

Change subject: citationhunt: switch to github
..

citationhunt: switch to github

Change-Id: I20f942152a619e61cc2e2a3958d0f789bcd68651
---
M repoconfig.commit.json
M repoconfig.json
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/08/332808/1

diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index 49f9456..8fe0dcb 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -19,7 +19,7 @@
"group": "citationhunt",
"repos": {
"citationhunt": {
-   "type": "git",
+   "type": "github",
"url": "g...@github.com:eggpi/citationhunt.git"
}
}
diff --git a/repoconfig.json b/repoconfig.json
index 81246ab..e21c805 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -19,7 +19,7 @@
"group": "citationhunt",
"repos": {
"citationhunt": {
-   "type": "git",
+   "type": "github",
"url": 
"https://github.com/eggpi/citationhunt.git";
}
}

-- 
To view, visit https://gerrit.wikimedia.org/r/332808
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I20f942152a619e61cc2e2a3958d0f789bcd68651
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...FlaggedRevs[master]: Remove legacy utf-8 flag and docs

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332703 )

Change subject: Remove legacy utf-8 flag and docs
..


Remove legacy utf-8 flag and docs

The utf-8 flag was historically the encoding of the fr_text column
which was removed in 1bbd5fa.

Change-Id: I8d6c202368ebb9531ea6c1c8c7eac0c46daed65a
---
M backend/schema/mysql/FlaggedRevs.sql
M maintenance/clearCachedText.php
2 files changed, 2 insertions(+), 3 deletions(-)

Approvals:
  BryanDavis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/backend/schema/mysql/FlaggedRevs.sql 
b/backend/schema/mysql/FlaggedRevs.sql
index 1f610ba..a783f6d 100644
--- a/backend/schema/mysql/FlaggedRevs.sql
+++ b/backend/schema/mysql/FlaggedRevs.sql
@@ -57,9 +57,8 @@
   -- colon separated tag:value pairs
   fr_tags mediumblob NOT NULL,
   -- Comma-separated list of flags:
-  -- dynamic: no text, templates must be fetched
+  -- dynamic: conversion marker for inclusion handling (legacy schema had 
fr_text with PST text)
   -- auto: revision reviewed automatically
-  -- utf8: in UTF-8
   fr_flags tinyblob NOT NULL,
   -- Parameters for revisions of File pages:
   -- Name of included image (NULL if n/a)
diff --git a/maintenance/clearCachedText.php b/maintenance/clearCachedText.php
index 6a6288b..1cbd47e 100644
--- a/maintenance/clearCachedText.php
+++ b/maintenance/clearCachedText.php
@@ -49,7 +49,7 @@
$dbw->update( 'flaggedrevs', 
array( /* SET */
'fr_text' => '',
-   'fr_flags' => 'utf-8,dynamic',
+   'fr_flags' => 'dynamic',
),
array( /* WHERE */
'fr_page_id' => $row->fr_page_id,

-- 
To view, visit https://gerrit.wikimedia.org/r/332703
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8d6c202368ebb9531ea6c1c8c7eac0c46daed65a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/FlaggedRevs
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz 
Gerrit-Reviewer: BryanDavis 
Gerrit-Reviewer: Jackmcbarn 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...ContentTranslation[master]: Stylelint error fixes

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/330377 )

Change subject: Stylelint error fixes
..


Stylelint error fixes

Fixes:
* declaration-block-no-duplicate-properties
* selector-pseudo-element-colon-notation
* declaration-block-no-shorthand-property-overrides

Bug: T152079
Change-Id: I3d6fa23815552972461b80f8a39bd1a99f072069
---
M modules/tools/styles/ext.cx.tools.link.less
M modules/tools/styles/ext.cx.tools.mt.card.less
M modules/tools/styles/ext.cx.tools.reference.less
M modules/tools/styles/ext.cx.tools.template.card.less
M modules/tools/styles/ext.cx.tools.template.editor.less
M modules/ui/styles/mw.cx.ui.Header.less
M modules/widgets/translator/ext.cx.translator.less
7 files changed, 9 insertions(+), 9 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/modules/tools/styles/ext.cx.tools.link.less 
b/modules/tools/styles/ext.cx.tools.link.less
index 0284ade..5a9fbb4 100644
--- a/modules/tools/styles/ext.cx.tools.link.less
+++ b/modules/tools/styles/ext.cx.tools.link.less
@@ -44,6 +44,7 @@
.mw-ui-one-whole;
float: none;
padding: @vertical-margin @horizontal-margin;
+   padding: 5px 10px 5px 32px;
font-size: large;
color: @gray-dark;
.background-image-svg('../images/clear.svg', '../images/clear.png');
@@ -51,7 +52,6 @@
background-color: #fff;
background-position: left 10px center;
background-size: 15px;
-   padding: 5px 10px 5px 32px;
cursor: pointer;
clear: both;
border-top: 1px solid #ddd;
@@ -63,6 +63,7 @@
.mw-ui-item;
.mw-ui-one-whole;
padding: @vertical-margin @horizontal-margin;
+   padding: 5px 10px 5px 32px;
font-size: large;
color: @gray-dark;
.background-image-svg('../images/add.svg', '../images/add.png');
@@ -70,7 +71,6 @@
background-position: left 10px center;
background-size: 15px;
background-color: #fff;
-   padding: 5px 10px 5px 32px;
cursor: pointer;
border-top: 1px solid #ddd;
 }
diff --git a/modules/tools/styles/ext.cx.tools.mt.card.less 
b/modules/tools/styles/ext.cx.tools.mt.card.less
index 54a262f..fc83b04 100644
--- a/modules/tools/styles/ext.cx.tools.mt.card.less
+++ b/modules/tools/styles/ext.cx.tools.mt.card.less
@@ -24,6 +24,7 @@
.mw-ui-item;
.mw-ui-two-thirds;
padding: 5px 10px 10px;
+   padding: 0;
list-style: none;
position: absolute;
margin: 30px 10px;
@@ -31,7 +32,6 @@
border: 1px solid #aaa;
border-radius: 2px;
box-shadow: 0 1px 0 #c9c9c9;
-   padding: 0;
z-index: 1;
 
> li {
diff --git a/modules/tools/styles/ext.cx.tools.reference.less 
b/modules/tools/styles/ext.cx.tools.reference.less
index 2f2b2ee..580c0d3 100644
--- a/modules/tools/styles/ext.cx.tools.reference.less
+++ b/modules/tools/styles/ext.cx.tools.reference.less
@@ -8,6 +8,7 @@
.mw-ui-one-whole;
float: none;
padding: @vertical-margin @horizontal-margin;
+   padding: 5px 10px 5px 32px;
font-size: large;
color: @gray-dark;
.background-image-svg('../images/add.svg', '../images/add.png');
@@ -15,7 +16,6 @@
background-position: left 10px center;
background-repeat: no-repeat;
background-size: 15px;
-   padding: 5px 10px 5px 32px;
cursor: pointer;
clear: both;
border-top: 1px solid #ddd;
@@ -28,6 +28,7 @@
.mw-ui-one-whole;
float: none;
padding: @vertical-margin @horizontal-margin;
+   padding: 5px 10px 5px 32px;
font-size: large;
color: @gray-dark;
.background-image-svg('../images/clear.svg', '../images/clear.png');
@@ -35,7 +36,6 @@
background-position: 10px center;
background-repeat: no-repeat;
background-size: 15px;
-   padding: 5px 10px 5px 32px;
cursor: pointer;
clear: both;
border-top: 1px solid #ddd;
diff --git a/modules/tools/styles/ext.cx.tools.template.card.less 
b/modules/tools/styles/ext.cx.tools.template.card.less
index c67f5b3..694f20e 100644
--- a/modules/tools/styles/ext.cx.tools.template.card.less
+++ b/modules/tools/styles/ext.cx.tools.template.card.less
@@ -6,6 +6,7 @@
.mw-ui-item;
.mw-ui-two-thirds;
padding: 5px 10px 10px;
+   padding: 0;
list-style: none;
position: absolute;
margin: 0 10px;
@@ -13,7 +14,6 @@
border: 1px solid #aaa;
border-radius: 2px;
box-shadow: 0 1px 0 #c9c9c9;
-   padding: 0;
z-index: 1;
 
> li {
diff --git a/modu

[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Remove deprecated mediawiki.UI Less variables

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/331417 )

Change subject: Remove deprecated mediawiki.UI Less variables
..


Remove deprecated mediawiki.UI Less variables

Removing Less variables, which have been deprecated since MW 1.24, and
are not longer in use in any Wikimedia projects as of today.

Bug: T154950
Depends-on: I9bcd90ebbebbaece13e0cf9f36afd5964d49dc3b
Change-Id: Icbf146eb409b85a89c4dc4fb8b46eda4cf2d3193
---
M resources/src/mediawiki.less/mediawiki.ui/variables.less
1 file changed, 0 insertions(+), 13 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jdlrobson: Looks good to me, approved



diff --git a/resources/src/mediawiki.less/mediawiki.ui/variables.less 
b/resources/src/mediawiki.less/mediawiki.ui/variables.less
index 9688f1f..d4937c6 100644
--- a/resources/src/mediawiki.less/mediawiki.ui/variables.less
+++ b/resources/src/mediawiki.less/mediawiki.ui/variables.less
@@ -65,16 +65,3 @@
 // Form input sizes
 @checkboxSize: 2em;
 @radioSize: 2em;
-
-// The following rules are deprecated
-@colorWhite: #fff;
-@colorOffWhite: #fafafa;
-@colorGrayDark: #898989;
-@colorGrayLight: #ccc;
-@colorGrayLighter: #ddd;
-@colorGrayLightest: #eee;
-// Green; for contextual use of a positive finalizing action
-@colorConstructive: #00af89;
-@colorConstructiveHighlight: #1c6665;
-@colorConstructiveActive: #134645;
-

-- 
To view, visit https://gerrit.wikimedia.org/r/331417
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icbf146eb409b85a89c4dc4fb8b46eda4cf2d3193
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: VolkerE 
Gerrit-Reviewer: Fomafix 
Gerrit-Reviewer: Jack Phoenix 
Gerrit-Reviewer: Jdlrobson 
Gerrit-Reviewer: Jforrester 
Gerrit-Reviewer: Krinkle 
Gerrit-Reviewer: VolkerE 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Remove deprecated `.mw-ui-constructive` class for text and a...

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/331936 )

Change subject: Remove deprecated `.mw-ui-constructive` class for text and 
anchors
..


Remove deprecated `.mw-ui-constructive` class for text and anchors

Removing deprecated, no longer in use `.mw-ui-constructive` modifier
CSS class for mediawiki.UI text and anchors.

Bug: T155203
Change-Id: I9bcd90ebbebbaece13e0cf9f36afd5964d49dc3b
---
M resources/src/mediawiki.ui/components/anchors.less
M resources/src/mediawiki.ui/components/text.less
2 files changed, 3 insertions(+), 11 deletions(-)

Approvals:
  jenkins-bot: Verified
  Jdlrobson: Looks good to me, approved



diff --git a/resources/src/mediawiki.ui/components/anchors.less 
b/resources/src/mediawiki.ui/components/anchors.less
index 4c4e129..ff38d0d 100644
--- a/resources/src/mediawiki.ui/components/anchors.less
+++ b/resources/src/mediawiki.ui/components/anchors.less
@@ -48,22 +48,16 @@
&.mw-ui-destructive {
.mixin-mw-ui-anchor-styles( @colorDestructive );
}
-
-   //`.mw-ui-constructive` is deprecated; consolidated with `progressive`, 
see T110555
-   &.mw-ui-constructive {
-   .mixin-mw-ui-anchor-styles( @colorConstructive );
-   }
 }
 
 /*
 Quiet anchors
 
-Use quiet anchors when they are less important and alongside other 
progressive/destructive/progressive
+Use quiet anchors when they are less important and alongside other 
progressive/destructive
 anchors. Use of quiet anchors is not recommended on mobile/tablet due to lack 
of hover state.
 
 Markup:
 Progressive
-Constructive
 Destructive
 
 Styleguide 6.2.1.
diff --git a/resources/src/mediawiki.ui/components/text.less 
b/resources/src/mediawiki.ui/components/text.less
index 5551745..30593bf 100644
--- a/resources/src/mediawiki.ui/components/text.less
+++ b/resources/src/mediawiki.ui/components/text.less
@@ -16,7 +16,6 @@
 Context classes may be used on elements with only plain-text content with the 
mw-ui-text base. When the context classes
 are used on interactive and block-level elements, the appropriate alternative 
base type classes should also be used. For
 example, mw-ui-anchor with A, or mw-ui-button with buttons.
-'Constructive' is deprecated and merged with 'Progressive'.
 
 Markup:
 Progressive
@@ -28,11 +27,10 @@
 .mw-ui-text {
// The selector order is like this on purpose; IE 6 ignores the second 
selector,
// so we don't want to accidentally apply this color on all 
mw-ui-CONTEXT classes
-   .mw-ui-progressive&,
-   .mw-ui-constructive& {
+   &.mw-ui-progressive {
color: @colorProgressive;
}
-   .mw-ui-destructive& {
+   &.mw-ui-destructive {
color: @colorDestructive;
}
 }
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/331936
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9bcd90ebbebbaece13e0cf9f36afd5964d49dc3b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: VolkerE 
Gerrit-Reviewer: Jack Phoenix 
Gerrit-Reviewer: Jdlrobson 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Explicit dblist name for compact language links

2017-01-18 Thread Chad (Code Review)
Chad has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/315983 )

Change subject: Explicit dblist name for compact language links
..


Explicit dblist name for compact language links

Change-Id: Ibb3678cf6c81eedf37f53983397f813090115967
---
R dblists/compact-language-links.dblist
D docroot/noc/conf/clldefault.dblist
A docroot/noc/conf/compact-language-links.dblist
M tests/cirrusTest.php
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
6 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Chad: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/dblists/clldefault.dblist b/dblists/compact-language-links.dblist
similarity index 100%
rename from dblists/clldefault.dblist
rename to dblists/compact-language-links.dblist
diff --git a/docroot/noc/conf/clldefault.dblist 
b/docroot/noc/conf/clldefault.dblist
deleted file mode 12
index f9fbe3f..000
--- a/docroot/noc/conf/clldefault.dblist
+++ /dev/null
@@ -1 +0,0 @@
-../../../dblists/clldefault.dblist
\ No newline at end of file
diff --git a/docroot/noc/conf/compact-language-links.dblist 
b/docroot/noc/conf/compact-language-links.dblist
new file mode 12
index 000..00649d9
--- /dev/null
+++ b/docroot/noc/conf/compact-language-links.dblist
@@ -0,0 +1 @@
+../../../dblists/compact-language-links.dblist
\ No newline at end of file
diff --git a/tests/cirrusTest.php b/tests/cirrusTest.php
index e40ba44..eec305a 100644
--- a/tests/cirrusTest.php
+++ b/tests/cirrusTest.php
@@ -106,7 +106,7 @@
foreach ( [ 'private', 'fishbowl', 'special', 'closed', 'flow', 
'flaggedrevs', 'small', 'medium',
'large', 'wikimania', 'wikidata', 
'wikidataclient', 'visualeditor-nondefault',
'commonsuploads', 'nonbetafeatures', 'group0', 
'group1', 'group2', 'wikipedia', 'nonglobal',
-   'wikitech', 'nonecho', 'mobilemainpagelegacy', 
'clldefault', 'nowikidatadescriptiontaglines',
+   'wikitech', 'nonecho', 'mobilemainpagelegacy', 
'compact-language-links', 'nowikidatadescriptiontaglines',
'top6-wikipedia'
] as $tag ) {
$dblist = MWWikiversions::readDbListFile( $tag );
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index fc7e0e0..15de867 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -166,7 +166,7 @@
foreach ( [ 'private', 'fishbowl', 'special', 'closed', 'flow', 
'flaggedrevs', 'small', 'medium',
'large', 'wikimania', 'wikidata', 'wikidataclient', 
'visualeditor-nondefault',
'commonsuploads', 'nonbetafeatures', 'group0', 
'group1', 'group2', 'wikipedia', 'nonglobal',
-   'wikitech', 'nonecho', 'mobilemainpagelegacy', 
'clldefault', 'nowikidatadescriptiontaglines',
+   'wikitech', 'nonecho', 'mobilemainpagelegacy', 
'compact-language-links', 'nowikidatadescriptiontaglines',
'related-articles-footer-blacklisted-skins',
'top6-wikipedia'
] as $tag ) {
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 65a911c..4957c13 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -13059,7 +13059,7 @@
'wikiquote' => false,
'wiktionary' => false,
'incubatorwiki' => false,
-   'clldefault' => false,
+   'compact-language-links' => false,
 ],
 
 // Whether Compact Links is enabled for new accounts *by default*

-- 
To view, visit https://gerrit.wikimedia.org/r/315983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb3678cf6c81eedf37f53983397f813090115967
Gerrit-PatchSet: 5
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Dereckson 
Gerrit-Reviewer: Chad 
Gerrit-Reviewer: Dereckson 
Gerrit-Reviewer: Florianschmidtwelzow 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/puppet[production]: varnish: use UNIX agnostic shebang

2017-01-18 Thread Ema (Code Review)
Ema has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/327711 )

Change subject: varnish: use UNIX agnostic shebang
..


varnish: use UNIX agnostic shebang

Change-Id: I14599b1b171117b242748fafd617e9cf00991d87
---
M modules/varnish/files/zerofetch.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ema: Verified; Looks good to me, approved



diff --git a/modules/varnish/files/zerofetch.py 
b/modules/varnish/files/zerofetch.py
index c50a49b..0773856 100755
--- a/modules/varnish/files/zerofetch.py
+++ b/modules/varnish/files/zerofetch.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 # This script fetches the Zero carriers and proxies JSON data
 #  and deposits it on-disk for vmod_netmapper consumption.

-- 
To view, visit https://gerrit.wikimedia.org/r/327711
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I14599b1b171117b242748fafd617e9cf00991d87
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dereckson 
Gerrit-Reviewer: BBlack 
Gerrit-Reviewer: Ema 
Gerrit-Reviewer: Volans 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Configure RCFeeds to use EventBus extension to send recentch...

2017-01-18 Thread Ottomata (Code Review)
Ottomata has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332807 )

Change subject: Configure RCFeeds to use EventBus extension to send 
recentchange events
..

Configure RCFeeds to use EventBus extension to send recentchange events

Bug: T152030
Change-Id: If33bf0b215b62a2d803d77fd7f14a9a323cf5789
---
M wmf-config/CommonSettings.php
1 file changed, 13 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/07/332807/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index fc7e0e0..e3588fa 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -3367,6 +3367,19 @@
 if ( $wmgUseEventBus ) {
wfLoadExtension( 'EventBus' );
$wgEventServiceUrl = "{$wmfLocalServices['eventbus']}/v1/events";
+
+   // Configure RecentChange to send recentchange events to EventBus 
service.
+   // Add a mapping from eventbus:// RCFeed URIs to the 
EventBusRCFeedEngine.
+   $wgRCEngines['eventbus'] = 'EventBusRCFeedEngine';
+   $wgRCFeeds['eventbus'] = [
+   'formatter' => 'EventBusRCFeedFormatter',
+   // Replace 'http://' in eventbus service endpoint with 
'eventbus://'.
+   // This is necessary so that the URI can properly map to an 
entry in
+   // $wgRCEngines.  This hack can be removed after
+   // https://gerrit.wikimedia.org/r/#/c/330833/ is merged.
+   'uri' => str_replace( 'http://', 'eventbus://', 
$wmfLocalServices['eventbus'] ) .
+   '/v1/events'
+   ];
 }
 
 if ( $wmgUseCapiunto ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/332807
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If33bf0b215b62a2d803d77fd7f14a9a323cf5789
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ottomata 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] translatewiki[master]: copypatrol: switch to github

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332671 )

Change subject: copypatrol: switch to github
..


copypatrol: switch to github

Change-Id: I4e09b2c3ef8c569142ea960f066df3c7f557f686
---
M repoconfig.commit.json
M repoconfig.json
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  jenkins-bot: Verified
  Nikerabbit: Looks good to me, approved



diff --git a/repoconfig.commit.json b/repoconfig.commit.json
index ec06f21..226c941 100644
--- a/repoconfig.commit.json
+++ b/repoconfig.commit.json
@@ -47,7 +47,7 @@
"group": "copypatrol",
"repos": {
"copypatrol": {
-   "type": "git",
+   "type": "github",
"url": 
"g...@github.com:wikimedia/CopyPatrol.git"
}
}
diff --git a/repoconfig.json b/repoconfig.json
index c03f5b2..e2c5f30 100644
--- a/repoconfig.json
+++ b/repoconfig.json
@@ -46,7 +46,7 @@
"group": "copypatrol",
"repos": {
"copypatrol": {
-   "type": "git",
+   "type": "github",
"url": 
"https://github.com/wikimedia/CopyPatrol.git";
}
}

-- 
To view, visit https://gerrit.wikimedia.org/r/332671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4e09b2c3ef8c569142ea960f066df3c7f557f686
Gerrit-PatchSet: 2
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Nemo bis 
Gerrit-Reviewer: Nikerabbit 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Add throttle rule for KCES IMR edit-a-thon

2017-01-18 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/332738 )

Change subject: Add throttle rule for KCES IMR edit-a-thon
..


Add throttle rule for KCES IMR edit-a-thon

Bug: T154312
Change-Id: Ibd5f3edf77049a0d6cbe65aacd51f5aac7fe196b
---
M wmf-config/throttle.php
1 file changed, 17 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Dereckson: Looks good to me, approved



diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 5893890..d5f11e4 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -28,6 +28,15 @@
 # ];
 ## Add throttling definitions below.
 
+$wmgMaharashtraEventsWikis = [
+"mrwiki",
+"mrwiktionary",
+"mrwikisource",
+"mrwikibooks",
+"mrwikiquote",
+"enwiki",
+"commonswiki",
+];
 
 $wmgThrottlingExceptions[] = [ // T154245
'from' => '2017-01-20T0:00 +0:00',
@@ -69,6 +78,14 @@
'value' => 30 // 20 expected
 ];
 
+$wmgThrottlingExceptions[] = [ // T154312
+   'from' => '2017-01-19T09:00 +5:30',
+   'to' => '2017-01-19T18:00 +5:30',
+   'range' => '103.19.18.0/24',
+   'dbname' => $wmgMaharashtraEventsWikis,
+   'value' => 60 // 40-50 expected
+];
+
 ## Add throttling definitions above.
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/332738
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibd5f3edf77049a0d6cbe65aacd51f5aac7fe196b
Gerrit-PatchSet: 3
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Urbanecm 
Gerrit-Reviewer: Dereckson 
Gerrit-Reviewer: Florianschmidtwelzow 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...BlueSpiceSubPageTree[master]: Remove non-exist descriptionmsg key

2017-01-18 Thread Umherirrender (Code Review)
Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332806 )

Change subject: Remove non-exist descriptionmsg key
..

Remove non-exist descriptionmsg key

There are no message files at all

Change-Id: I2ae9f2e9e30370105da294cab86c9ed151f85d23
---
M extension.json
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceSubPageTree 
refs/changes/06/332806/1

diff --git a/extension.json b/extension.json
index 9bf1bda..e9fa388 100644
--- a/extension.json
+++ b/extension.json
@@ -3,7 +3,6 @@
"version": "2.27.1-alpha",
"url": "https://help.bluespice.com/index.php/BlueSpiceSubPageTree";,
"author": "Leonid Verhovskij",
-   "descriptionmsg": "bs-subagetreee-desc",
"type": "bluespice",
"AutoloadClasses": {
"BlueSpiceSubPageTree": "BlueSpiceSubPageTree.class.php"

-- 
To view, visit https://gerrit.wikimedia.org/r/332806
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ae9f2e9e30370105da294cab86c9ed151f85d23
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceSubPageTree
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Make most methods in DateFormatter private

2017-01-18 Thread MaxSem (Code Review)
MaxSem has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332805 )

Change subject: Make most methods in DateFormatter private
..

Make most methods in DateFormatter private

As discussed in https://gerrit.wikimedia.org/r/#/c/332702/ , they
shouldn't have been marked public in the first place. No outside callers.

Change-Id: I7775978c87d983784a484ee2ad901d25c42499b3
---
M includes/parser/DateFormatter.php
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/05/332805/1

diff --git a/includes/parser/DateFormatter.php 
b/includes/parser/DateFormatter.php
index 40da368..5fbd64c 100644
--- a/includes/parser/DateFormatter.php
+++ b/includes/parser/DateFormatter.php
@@ -225,7 +225,7 @@
 * @param bool $link
 * @return string
 */
-   public function formatDate( $bits, $link = true ) {
+   private function formatDate( $bits, $link = true ) {
$format = $this->targets[$this->mTarget];
 
if ( !$link ) {
@@ -323,7 +323,7 @@
 * Return a regex that can be used to find month names in string
 * @return string regex to find the months with
 */
-   public function getMonthRegex() {
+   private function getMonthRegex() {
$names = [];
for ( $i = 1; $i <= 12; $i++ ) {
$names[] = $this->lang->getMonthName( $i );
@@ -337,7 +337,7 @@
 * @param string $monthName Month name
 * @return string ISO month name
 */
-   public function makeIsoMonth( $monthName ) {
+   private function makeIsoMonth( $monthName ) {
$n = $this->xMonths[$this->lang->lc( $monthName )];
return sprintf( '%02d', $n );
}
@@ -347,7 +347,7 @@
 * @param string $year Year name
 * @return string ISO year name
 */
-   public function makeIsoYear( $year ) {
+   private function makeIsoYear( $year ) {
# Assumes the year is in a nice format, as enforced by the regex
if ( substr( $year, -2 ) == 'BC' ) {
$num = intval( substr( $year, 0, -3 ) ) - 1;
@@ -366,7 +366,7 @@
 * @return int|string int representing year number in case of AD dates, 
or string containing
 *   year number and 'BC' at the end otherwise.
 */
-   public function makeNormalYear( $iso ) {
+   private function makeNormalYear( $iso ) {
if ( $iso[0] == '-' ) {
$text = ( intval( substr( $iso, 1 ) ) + 1 ) . ' BC';
} else {

-- 
To view, visit https://gerrit.wikimedia.org/r/332805
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7775978c87d983784a484ee2ad901d25c42499b3
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MaxSem 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


<    1   2   3   4   >