[MediaWiki-commits] [Gerrit] data-values/value-view[master]: Remove unused messages

2017-10-13 Thread WMDE
Thiemo Mättig (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383988 )

Change subject: Remove unused messages
..

Remove unused messages

Change-Id: Ie23fc9600aece393e676b2578368399f382dde81
---
M i18n/en.json
M i18n/qqq.json
2 files changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/data-values/value-view 
refs/changes/88/383988/1

diff --git a/i18n/en.json b/i18n/en.json
index 676208b..cd3ffd0 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -5,8 +5,6 @@
"H. Snater < mediaw...@snater.com >"
]
},
-   "valueview-desc": "UI components for displaying and editing data 
values",
-   "valueview-expert-advancedadjustments": "advanced adjustments",
"valueview-expert-unsupportedvalue-unsupporteddatavalue": "Handling of 
\"$1\" values is not yet supported.",
"valueview-expert-unsupportedvalue-unsupporteddatatype": "Handling of 
values for \"$1\" data type is not yet supported.",
"valueview-expert-emptyvalue-empty": "empty",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 58ec425..6c083b3 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -9,8 +9,6 @@
"Umherirrender"
]
},
-   "valueview-desc": "{{desc|name=Value 
View|url=https://www.mediawiki.org/wiki/Extension:ValueView}};,
-   "valueview-expert-advancedadjustments": "Label of the link to unfold 
advanced adjustments regarding the data type (see [[d:Wikidata:Glossary]]) the 
user is about to enter a value of (e.g. specifying the precision of a time 
value).",
"valueview-expert-unsupportedvalue-unsupporteddatavalue": "Error shown 
if a data value of a certain data value type (see [[d:Wikidata:Glossary]]) 
should be displayed or a form for creating one should be offered while this is 
not yet possible from a technical point of view (e.g. because a valueview 
widget expert handling data values of that type has not yet been 
implemented).\n\nParameters:\n* $1 - the name of the data value type which 
lacks support",
"valueview-expert-unsupportedvalue-unsupporteddatatype": "Error shown 
if a data value for a certain data type (see [[d:Wikidata:Glossary]]) should be 
displayed or a form for creating one should be offered while this is not yet 
possible from a technical point of view (e.g. because a valueview widget expert 
handling data values for that data type has not yet been 
implemented).\n\nParameters:\n* $1 - the name of the data type which lacks 
support",
"valueview-expert-emptyvalue-empty": "Message expressing that there is 
currently no value set in a jQuery valueview.\n{{Identical|Empty}}",

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie23fc9600aece393e676b2578368399f382dde81
Gerrit-PatchSet: 1
Gerrit-Project: data-values/value-view
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) 

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: Thumbor: don't rewrite host value in logstash messages

2017-10-13 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/380943 )

Change subject: Thumbor: don't rewrite host value in logstash messages
..


Thumbor: don't rewrite host value in logstash messages

Bug: T150734
Change-Id: Ibe1f4f0242ca74d335b575366c033c2282e54b7a
---
M modules/role/files/logstash/filter-logback.conf
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  jenkins-bot: Verified
  Filippo Giunchedi: Looks good to me, approved
  Gehel: Looks good to me, but someone else must approve



diff --git a/modules/role/files/logstash/filter-logback.conf 
b/modules/role/files/logstash/filter-logback.conf
index 8af363b..2f38919 100644
--- a/modules/role/files/logstash/filter-logback.conf
+++ b/modules/role/files/logstash/filter-logback.conf
@@ -3,8 +3,13 @@
 filter {
   if [type] == "logback" {
 # General message cleanup
+if "thumbor" not in [tags] {
+  mutate {
+replace => [ "host", "%{HOSTNAME}" ]
+  }
+}
+
 mutate {
-  replace => [ "host", "%{HOSTNAME}" ]
   add_tag => [ "logback", "es" ]
 }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibe1f4f0242ca74d335b575366c033c2282e54b7a
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gilles 
Gerrit-Reviewer: Filippo Giunchedi 
Gerrit-Reviewer: Gehel 
Gerrit-Reviewer: Gilles 
Gerrit-Reviewer: Giuseppe Lavagetto 
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...WikibaseQualityConstraints[master]: Add new icons for constraint violations

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

Change subject: Add new icons for constraint violations
..


Add new icons for constraint violations

Parameter problems on the constraint statement continue to use the
standard “alert” icon, since they’re semantically different from
constraint violations of any kind.

Bug: T171586
Change-Id: Iff806b18f77f5343b4b4a7576048475ab67ecac0
---
M extension.json
M modules/gadget.js
A modules/icon/mandatory-constraint-violation.svg
A modules/icon/non-mandatory-constraint-violation.svg
4 files changed, 25 insertions(+), 1 deletion(-)

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



diff --git a/extension.json b/extension.json
index fa16c0a..d24e514 100644
--- a/extension.json
+++ b/extension.json
@@ -49,6 +49,14 @@
"styles": "modules/SpecialConstraintReportPage.css",
"scripts": "modules/SpecialConstraintReportPage.js"
},
+   "wikibase.quality.constraints.icon": {
+   "class": "ResourceLoaderImageModule",
+   "selector": ".oo-ui-icon-{name}",
+   "images": {
+   "mandatory-constraint-violation": 
"modules/icon/mandatory-constraint-violation.svg",
+   "non-mandatory-constraint-violation": 
"modules/icon/non-mandatory-constraint-violation.svg"
+   }
+   },
"wikibase.quality.constraints.ui": {
"dependencies": [
"oojs-ui-core",
@@ -86,6 +94,7 @@
"oojs-ui-core",
"oojs-ui-widgets",
"oojs-ui.styles.icons-alerts",
+   "wikibase.quality.constraints.icon",
"wikibase.quality.constraints.ui"
],
"skipFunction": "modules/gadget-skip.js"
diff --git a/modules/gadget.js b/modules/gadget.js
index 42210b3..266b4db 100644
--- a/modules/gadget.js
+++ b/modules/gadget.js
@@ -157,7 +157,7 @@
buildPopup(
list.$element,
$target,
-   haveMandatoryViolations ? 'alert' : 'info',
+   ( haveMandatoryViolations ? '' : 'non-' ) + 
'mandatory-constraint-violation',
haveMandatoryViolations ? 'wbqc-issues-long' : 
'wbqc-potentialissues-long'
);
}
@@ -260,6 +260,7 @@
'oojs-ui-core',
'oojs-ui-widgets',
'oojs-ui.styles.icons-alerts',
+   'wikibase.quality.constraints.icon',
'wikibase.quality.constraints.ui'
] ).done( function () {
var api = new mw.Api(),
diff --git a/modules/icon/mandatory-constraint-violation.svg 
b/modules/icon/mandatory-constraint-violation.svg
new file mode 100644
index 000..a6aa41c
--- /dev/null
+++ b/modules/icon/mandatory-constraint-violation.svg
@@ -0,0 +1,7 @@
+
+http://www.w3.org/2000/svg;>
+
+
+
+
+
diff --git a/modules/icon/non-mandatory-constraint-violation.svg 
b/modules/icon/non-mandatory-constraint-violation.svg
new file mode 100644
index 000..8a442a7
--- /dev/null
+++ b/modules/icon/non-mandatory-constraint-violation.svg
@@ -0,0 +1,7 @@
+
+http://www.w3.org/2000/svg;>
+
+
+
+
+

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iff806b18f77f5343b4b4a7576048475ab67ecac0
Gerrit-PatchSet: 11
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) 
Gerrit-Reviewer: Lucas Werkmeister (WMDE) 
Gerrit-Reviewer: WMDE-leszek 
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]: Add library hint for openldap

2017-10-13 Thread Muehlenhoff (Code Review)
Muehlenhoff has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/383987 )

Change subject: Add library hint for openldap
..


Add library hint for openldap

Change-Id: Ie846540dd653a0bebeb83402294d14672ecc6963
---
M modules/profile/templates/debdeploy/debdeploy.erb
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/modules/profile/templates/debdeploy/debdeploy.erb 
b/modules/profile/templates/debdeploy/debdeploy.erb
index abb1f23..9e6c270 100644
--- a/modules/profile/templates/debdeploy/debdeploy.erb
+++ b/modules/profile/templates/debdeploy/debdeploy.erb
@@ -18,6 +18,7 @@
 libonig = libonig
 libxfont = libXfont
 libxml2 = libxml2
+openldap = libldap-2.4, liblber-2.4, libldap_r-2.4
 openssl = libssl, libcrypto
 pam = libpam, libpamc, libpam_misc
 poppler = libpoppler

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie846540dd653a0bebeb83402294d14672ecc6963
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Muehlenhoff 
Gerrit-Reviewer: Muehlenhoff 
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]: Add library hint for openldap

2017-10-13 Thread Muehlenhoff (Code Review)
Muehlenhoff has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383987 )

Change subject: Add library hint for openldap
..

Add library hint for openldap

Change-Id: Ie846540dd653a0bebeb83402294d14672ecc6963
---
M modules/profile/templates/debdeploy/debdeploy.erb
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/87/383987/1

diff --git a/modules/profile/templates/debdeploy/debdeploy.erb 
b/modules/profile/templates/debdeploy/debdeploy.erb
index abb1f23..9e6c270 100644
--- a/modules/profile/templates/debdeploy/debdeploy.erb
+++ b/modules/profile/templates/debdeploy/debdeploy.erb
@@ -18,6 +18,7 @@
 libonig = libonig
 libxfont = libXfont
 libxml2 = libxml2
+openldap = libldap-2.4, liblber-2.4, libldap_r-2.4
 openssl = libssl, libcrypto
 pam = libpam, libpamc, libpam_misc
 poppler = libpoppler

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

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

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


[MediaWiki-commits] [Gerrit] mediawiki...Translate[master]: [WIP] Port Translate filters to new RC filters UI

2017-10-13 Thread Petar.petkovic (Code Review)
Petar.petkovic has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383986 )

Change subject: [WIP] Port Translate filters to new RC filters UI
..

[WIP] Port Translate filters to new RC filters UI

Bug: T159795
Change-Id: Id47e57487e13f90354e1cdfbb1e2f19fb869ac11
---
M Translate.php
M i18n/core/en.json
M i18n/core/qqq.json
M utils/RcFilter.php
4 files changed, 152 insertions(+), 10 deletions(-)


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

diff --git a/Translate.php b/Translate.php
index 19b90b8..2d825b8 100644
--- a/Translate.php
+++ b/Translate.php
@@ -131,6 +131,8 @@
 // Recent changes filters
 $wgHooks['ChangesListSpecialPageQuery'][] = 
'TranslateRcFilter::translationFilter';
 $wgHooks['SpecialRecentChangesPanel'][] = 
'TranslateRcFilter::translationFilterForm';
+$wgHooks['ChangesListSpecialPageStructuredFilters'][] =
+'TranslateRcFilter::onChangesListSpecialPageStructuredFilters';
 $wgHooks['SkinTemplateToolboxEnd'][] = 
'TranslateToolbox::toolboxAllTranslations';
 $wgHooks['AbortEmailNotification'][] = 
'TranslateHooks::onAbortEmailNotificationReview';
 
diff --git a/i18n/core/en.json b/i18n/core/en.json
index c7fcaaf..5194287 100644
--- a/i18n/core/en.json
+++ b/i18n/core/en.json
@@ -114,6 +114,13 @@
"action-translate-messagereview": "review translations",
"right-translate-groupreview": "Change workflow state of message 
groups",
"action-translate-groupreview": "change workflow state of message 
groups",
+   "translate-rcfilters-translations": "Translations",
+   "translate-rcfilters-translations-only-label": "Translations",
+   "translate-rcfilters-translations-only-desc": "Changes to translated 
pages.",
+   "translate-rcfilters-translations-filter-label": "Not translations",
+   "translate-rcfilters-translations-filter-desc": "All changes that are 
not translations.",
+   "translate-rcfilters-translations-site-label": "Site Messages",
+   "translate-rcfilters-translations-site-desc": "Customizations of site 
messages.",
"translate-rc-translation-filter": "Filter translations:",
"translate-rc-translation-filter-no": "Do nothing",
"translate-rc-translation-filter-only": "Show translations only",
diff --git a/i18n/core/qqq.json b/i18n/core/qqq.json
index 9358dbf..ad959f0 100644
--- a/i18n/core/qqq.json
+++ b/i18n/core/qqq.json
@@ -147,6 +147,13 @@
"right-translate-groupreview": "{{doc-right|translate-groupreview}}",
"action-translate-groupreview": "{{doc-action|translate-groupreview}}",
"translate-rc-translation-filter": "Name of filter in 
[[Special:RecentChanges]]. Gives a user the option to filter out translations, 
show translations only, or do nothing (default).",
+   "translate-rcfilters-translations": "Title for the filter group for 
translations. Only available on [[Special:RecentChanges]].",
+   "translate-rcfilters-translations-only-label": "Label for the filter 
for showing changes to translated pages only.",
+   "translate-rcfilters-translations-only-desc": "Description for the 
filter for showing changes to translated pages only.",
+   "translate-rcfilters-translations-filter-label": "Label for the filter 
for showing changes to pages that aren't translations.",
+   "translate-rcfilters-translations-filter-desc": "Description for the 
filter for showing changes to pages that aren't translations.",
+   "translate-rcfilters-translations-site-label": "Label for the filter 
for showing customizations of site messages.",
+   "translate-rcfilters-translations-site-desc": "Description for the 
filter for showing customizations of site messages.",
"translate-rc-translation-filter-no": "Option for filter in 
[[Special:RecentChanges]]. Selecting this option results in the filter not 
doing anything. It is the default value.",
"translate-rc-translation-filter-only": "Option for filter in 
[[Special:RecentChanges]]. Selecting this option results in the filter only 
showing recent changes that are translations.",
"translate-rc-translation-filter-filter": "Option for filter in 
[[Special:RecentChanges]]. Selecting this option results in the filter not 
showing any recent changes that are translations.",
diff --git a/utils/RcFilter.php b/utils/RcFilter.php
index 82ce523..2b865b9 100644
--- a/utils/RcFilter.php
+++ b/utils/RcFilter.php
@@ -28,12 +28,12 @@
 * @param FormOptions $opts
 * @return bool true
 */
-   public static function translationFilter( $pageName, &$tables, 
&$fields, &$conds, &$query_options,
-   &$join_conds, FormOptions $opts
+   public static function translationFilter( $pageName, &$tables, 
&$fields, &$conds,
+   &$query_options, &$join_conds, FormOptions $opts
) {
-   global $wgTranslateMessageNamespaces, 

[MediaWiki-commits] [Gerrit] mediawiki...cxserver[master]: CXSegmenter: Rewrite as ES6 class

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

Change subject: CXSegmenter: Rewrite as ES6 class
..


CXSegmenter: Rewrite as ES6 class

Change-Id: I3fdabadcba038f8095af6c65120f0598fec7a97f
---
M lib/segmentation/CXSegmenter.js
1 file changed, 40 insertions(+), 33 deletions(-)

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



diff --git a/lib/segmentation/CXSegmenter.js b/lib/segmentation/CXSegmenter.js
index dbe952e..a1f793c 100644
--- a/lib/segmentation/CXSegmenter.js
+++ b/lib/segmentation/CXSegmenter.js
@@ -3,41 +3,48 @@
 var LinearDoc = require( '../lineardoc' ),
segmenters = require( __dirname + '/languages' ).Segmenters;
 
-function CXSegmenter( content, language ) {
-   this.parser = new LinearDoc.Parser( new LinearDoc.MwContextualizer() );
-   this.parser.init();
-   this.getBoundaries = this.getSegmenter( language );
-   this.content = content;
-   this.originalDoc = null;
-   this.segmentedDoc = null;
-}
-
-CXSegmenter.prototype.segment = function () {
-   this.parser.write( this.content );
-   this.originalDoc = this.parser.builder.doc;
-   this.segmentedDoc = this.originalDoc.segment( this.getBoundaries );
-};
-
-/**
- * Get the segmenter for the given language.
- *
- * @param {string} language Language code
- * @return {Function} The segmenter function
- */
-CXSegmenter.prototype.getSegmenter = function ( language ) {
-   var segmenter;
-   if ( !segmenters[ language ] ) {
-   // fallback to default segmenter
-   segmenter = segmenters.default;
-   } else {
-   segmenter = segmenters[ language ];
+class CXSegmenter {
+   constructor( content, language ) {
+   this.parser = new LinearDoc.Parser( new 
LinearDoc.MwContextualizer() );
+   this.parser.init();
+   this.getBoundaries = this.getSegmenter( language );
+   this.content = content;
+   this.originalDoc = null;
+   this.segmentedDoc = null;
}
 
-   return segmenter.getBoundaries;
-};
+   segment() {
+   this.parser.write( this.content );
+   this.originalDoc = this.parser.builder.doc;
+   this.segmentedDoc = this.originalDoc.segment( 
this.getBoundaries );
+   }
 
-CXSegmenter.prototype.getSegmentedContent = function () {
-   return this.segmentedDoc.getHtml();
-};
+   /**
+* Get the segmenter for the given language.
+*
+* @param {string} language Language code
+* @return {Function} The segmenter function
+*/
+   getSegmenter( language ) {
+   var segmenter;
+   if ( !segmenters[ language ] ) {
+   // fallback to default segmenter
+   segmenter = segmenters.default;
+   } else {
+   segmenter = segmenters[ language ];
+   }
+
+   return segmenter.getBoundaries;
+   }
+
+   getSegmentedContent() {
+   return this.segmentedDoc.getHtml();
+   }
+
+   getSegmentedDoc() {
+   return this.segmentedDoc;
+   }
+
+}
 
 module.exports = CXSegmenter;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3fdabadcba038f8095af6c65120f0598fec7a97f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: Santhosh 
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/puppet[production]: mariadb: Add db2082 to s5 and later s8

2017-10-13 Thread Marostegui (Code Review)
Marostegui has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/383984 )

Change subject: mariadb: Add db2082 to s5 and later s8
..


mariadb: Add db2082 to s5 and later s8

Will be cloned from db2080

Bug: T170662
Change-Id: I7ceceb8583d74df6523ab684ee0344e256b5e5da
---
A hieradata/hosts/db2082.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
3 files changed, 4 insertions(+), 1 deletion(-)

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



diff --git a/hieradata/hosts/db2082.yaml b/hieradata/hosts/db2082.yaml
new file mode 100644
index 000..0ea867a
--- /dev/null
+++ b/hieradata/hosts/db2082.yaml
@@ -0,0 +1,2 @@
+mariadb::shard: 's5'
+profile::base::notifications_enabled: '0'
diff --git a/manifests/site.pp b/manifests/site.pp
index b6929c1..25dd943 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -458,7 +458,7 @@
 role(mariadb::core)
 }
 
-node /^db20(38|45|52|59|66|75|79|80|81)\.codfw\.wmnet/ {
+node /^db20(38|45|52|59|66|75|79|80|81|82)\.codfw\.wmnet/ {
 role(mariadb::core)
 }
 
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml 
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index 1d7f0f0..b3400cc 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -77,6 +77,7 @@
   - db2079:9104
   - db2080:9104
   - db2081:9104
+  - db2082:9104
 - labels:
 shard: s5
 role: master

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7ceceb8583d74df6523ab684ee0344e256b5e5da
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui 
Gerrit-Reviewer: Giuseppe Lavagetto 
Gerrit-Reviewer: Jcrespo 
Gerrit-Reviewer: Marostegui 
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/software[master]: s5.hosts: Add db2082 to s5

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

Change subject: s5.hosts: Add db2082 to s5
..


s5.hosts: Add db2082 to s5

Will be cloned from db2080

Bug: T170662
Change-Id: I008be43fc02eeaf52a838be18ac9dc8f72dea475
---
M dbtools/s5.hosts
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/dbtools/s5.hosts b/dbtools/s5.hosts
index e6bceca..39c1653 100644
--- a/dbtools/s5.hosts
+++ b/dbtools/s5.hosts
@@ -1,4 +1,5 @@
 dbstore2001.codfw.wmnet3315
+db2082.codfw.wmnet 3306
 db2081.codfw.wmnet 3306
 db2080.codfw.wmnet 3306
 db2079.codfw.wmnet 3306

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I008be43fc02eeaf52a838be18ac9dc8f72dea475
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Marostegui 
Gerrit-Reviewer: Jcrespo 
Gerrit-Reviewer: Marostegui 
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/software[master]: s5.hosts: Add db2082 to s5

2017-10-13 Thread Marostegui (Code Review)
Marostegui has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383985 )

Change subject: s5.hosts: Add db2082 to s5
..

s5.hosts: Add db2082 to s5

Will be cloned from db2080

Bug: T170662
Change-Id: I008be43fc02eeaf52a838be18ac9dc8f72dea475
---
M dbtools/s5.hosts
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software 
refs/changes/85/383985/1

diff --git a/dbtools/s5.hosts b/dbtools/s5.hosts
index e6bceca..39c1653 100644
--- a/dbtools/s5.hosts
+++ b/dbtools/s5.hosts
@@ -1,4 +1,5 @@
 dbstore2001.codfw.wmnet3315
+db2082.codfw.wmnet 3306
 db2081.codfw.wmnet 3306
 db2080.codfw.wmnet 3306
 db2079.codfw.wmnet 3306

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I008be43fc02eeaf52a838be18ac9dc8f72dea475
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Marostegui 

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: mariadb: Add db2082 to s5 and later s8

2017-10-13 Thread Marostegui (Code Review)
Marostegui has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383984 )

Change subject: mariadb: Add db2082 to s5 and later s8
..

mariadb: Add db2082 to s5 and later s8

Will be cloned from db2080

Bug: T170662
Change-Id: I7ceceb8583d74df6523ab684ee0344e256b5e5da
---
A hieradata/hosts/db2082.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
3 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/84/383984/1

diff --git a/hieradata/hosts/db2082.yaml b/hieradata/hosts/db2082.yaml
new file mode 100644
index 000..0ea867a
--- /dev/null
+++ b/hieradata/hosts/db2082.yaml
@@ -0,0 +1,2 @@
+mariadb::shard: 's5'
+profile::base::notifications_enabled: '0'
diff --git a/manifests/site.pp b/manifests/site.pp
index b6929c1..25dd943 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -458,7 +458,7 @@
 role(mariadb::core)
 }
 
-node /^db20(38|45|52|59|66|75|79|80|81)\.codfw\.wmnet/ {
+node /^db20(38|45|52|59|66|75|79|80|81|82)\.codfw\.wmnet/ {
 role(mariadb::core)
 }
 
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml 
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index 1d7f0f0..b3400cc 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -77,6 +77,7 @@
   - db2079:9104
   - db2080:9104
   - db2081:9104
+  - db2082:9104
 - labels:
 shard: s5
 role: master

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

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

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


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: db-eqiad, db-codfw.php: Add db2081 to the config

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

Change subject: db-eqiad,db-codfw.php: Add db2081 to the config
..


db-eqiad,db-codfw.php: Add db2081 to the config

db2081 is being cloned from db2080 and will be serving s5 and later s8

Bug: T170662
Change-Id: I9380fbdada7aed0320926a123e67cb7ff5963029
---
M wmf-config/db-codfw.php
M wmf-config/db-eqiad.php
2 files changed, 3 insertions(+), 0 deletions(-)

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



diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php
index ee9415e..ca3eab9 100644
--- a/wmf-config/db-codfw.php
+++ b/wmf-config/db-codfw.php
@@ -148,6 +148,7 @@
'db2075' => 400, # A1 3.3TB 512GB # Compressed InnoDB
# 'db2079' => 400, # A5 3.3TB 512GB # Compressed InnoDB #T170662
# 'db2080' => 400, # C5 3.3TB 512GB # Compressed InnoDB #T170662
+   # 'db2081' => 400, # A6 3.3TB 512GB # Compressed InnoDB #T170662
],
's6' => [
'db2028' => 0,   # B6  2.9TB  96GB, master
@@ -585,6 +586,7 @@
'db2077' => '10.192.32.168', # do not remove or comment out
'db2079' => '10.192.0.6', # do not remove or comment out
'db2080' => '10.192.32.169', # do not remove or comment out
+   'db2081' => '10.192.0.7', # do not remove or comment out
'virt1000' => '208.80.154.18', # do not remove or comment out
'silver' => '208.80.154.136', # do not remove or comment out
'labtestweb2001' => '208.80.153.14', # do not remove or comment out
diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php
index 43f2462..f951509 100644
--- a/wmf-config/db-eqiad.php
+++ b/wmf-config/db-eqiad.php
@@ -594,6 +594,7 @@
'db2077' => '10.192.32.168', # do not remove or comment out
'db2079' => '10.192.0.6', # do not remove or comment out
'db2080' => '10.192.32.169', # do not remove or comment out
+   'db2081' => '10.192.0.7', # do not remove or comment out
'virt1000' => '208.80.154.18', # do not remove or comment out
'silver' => '208.80.154.136', # do not remove or comment out
'labtestweb2001' => '208.80.153.14', # do not remove or comment out

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9380fbdada7aed0320926a123e67cb7ff5963029
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Marostegui 
Gerrit-Reviewer: Jcrespo 
Gerrit-Reviewer: Marostegui 
Gerrit-Reviewer: Urbanecm 
Gerrit-Reviewer: Zoranzoki21 
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]: db-eqiad, db-codfw.php: Add db2081 to the config

2017-10-13 Thread Marostegui (Code Review)
Marostegui has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383983 )

Change subject: db-eqiad,db-codfw.php: Add db2081 to the config
..

db-eqiad,db-codfw.php: Add db2081 to the config

db2081 is being cloned from db2080 and will be serving s5 and later s8

Bug: T170662
Change-Id: I9380fbdada7aed0320926a123e67cb7ff5963029
---
M wmf-config/db-codfw.php
M wmf-config/db-eqiad.php
2 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/83/383983/1

diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php
index ee9415e..ca3eab9 100644
--- a/wmf-config/db-codfw.php
+++ b/wmf-config/db-codfw.php
@@ -148,6 +148,7 @@
'db2075' => 400, # A1 3.3TB 512GB # Compressed InnoDB
# 'db2079' => 400, # A5 3.3TB 512GB # Compressed InnoDB #T170662
# 'db2080' => 400, # C5 3.3TB 512GB # Compressed InnoDB #T170662
+   # 'db2081' => 400, # A6 3.3TB 512GB # Compressed InnoDB #T170662
],
's6' => [
'db2028' => 0,   # B6  2.9TB  96GB, master
@@ -585,6 +586,7 @@
'db2077' => '10.192.32.168', # do not remove or comment out
'db2079' => '10.192.0.6', # do not remove or comment out
'db2080' => '10.192.32.169', # do not remove or comment out
+   'db2081' => '10.192.0.7', # do not remove or comment out
'virt1000' => '208.80.154.18', # do not remove or comment out
'silver' => '208.80.154.136', # do not remove or comment out
'labtestweb2001' => '208.80.153.14', # do not remove or comment out
diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php
index 43f2462..f951509 100644
--- a/wmf-config/db-eqiad.php
+++ b/wmf-config/db-eqiad.php
@@ -594,6 +594,7 @@
'db2077' => '10.192.32.168', # do not remove or comment out
'db2079' => '10.192.0.6', # do not remove or comment out
'db2080' => '10.192.32.169', # do not remove or comment out
+   'db2081' => '10.192.0.7', # do not remove or comment out
'virt1000' => '208.80.154.18', # do not remove or comment out
'silver' => '208.80.154.136', # do not remove or comment out
'labtestweb2001' => '208.80.153.14', # do not remove or comment out

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9380fbdada7aed0320926a123e67cb7ff5963029
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Marostegui 

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


[MediaWiki-commits] [Gerrit] mediawiki...GlobalBlocking[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383982 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: I568906fc6d7d686adeeafaa00e32918dd3eb914c
---
M GlobalBlocking.alias.php
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GlobalBlocking 
refs/changes/82/383982/2

diff --git a/GlobalBlocking.alias.php b/GlobalBlocking.alias.php
index 6032521..344f331 100644
--- a/GlobalBlocking.alias.php
+++ b/GlobalBlocking.alias.php
@@ -512,6 +512,14 @@
'RemoveGlobalBlock' => [ 'Глобальне_розблокування', 
'Глобальная_разблокировка' ],
 ];
 
+/** Urdu (اردو) */
+$specialPageAliases['ur'] = [
+   'GlobalBlock' => [ 'عالمی_پابندی' ],
+   'GlobalBlockList' => [ 'عالمی_پابندی_کی_فہرست' ],
+   'RemoveGlobalBlock' => [ 'عالمی_پابندی_ہٹائیں', 'عالمی_پابندی_ختم' ],
+   'GlobalBlockStatus' => [ 'عالمی_پابندی_کی_صورتحال', 
'عالمی_پابندی_کی_سفید_فہرست', 'عالمی_پابندی_غیر_فعال' ],
+];
+
 /** Venetian (vèneto) */
 $specialPageAliases['vec'] = [
'GlobalBlock' => [ 'BlocoGlobal' ],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I568906fc6d7d686adeeafaa00e32918dd3eb914c
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/GlobalBlocking
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: pybal: use Monitoring::Plugin in check_pybal

2017-10-13 Thread Ema (Code Review)
Ema has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/383834 )

Change subject: pybal: use Monitoring::Plugin in check_pybal
..


pybal: use Monitoring::Plugin in check_pybal

Nagios::Plugin has been renamed to Monitoring::Plugin.

libnagios-plugin-perl is not available in Stretch, whereas
libmonitoring-plugin-perl is. Use the latter, which is also available in
jessie-backports.

Bug: T177961
Change-Id: Ieb2d554af4e765862c4d5eb71f5eed37e36f
---
M modules/pybal/files/check_pybal
M modules/pybal/manifests/monitoring.pp
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Muehlenhoff: Looks good to me, but someone else must approve
  Ema: Verified; Looks good to me, approved



diff --git a/modules/pybal/files/check_pybal b/modules/pybal/files/check_pybal
index ef818b0..8577b0e 100755
--- a/modules/pybal/files/check_pybal
+++ b/modules/pybal/files/check_pybal
@@ -12,10 +12,10 @@
 
 
 use strict;
-use Nagios::Plugin;
+use Monitoring::Plugin;
 use LWP::UserAgent;
 
-my $np = Nagios::Plugin->new(usage => "Usage: %s --url ");
+my $np = Monitoring::Plugin->new(usage => "Usage: %s --url ");
 $np->add_arg(
  spec => 'url|u=s',
  help => '--url https://localhost:9090',
diff --git a/modules/pybal/manifests/monitoring.pp 
b/modules/pybal/manifests/monitoring.pp
index dbec0cb..fd4106f 100644
--- a/modules/pybal/manifests/monitoring.pp
+++ b/modules/pybal/manifests/monitoring.pp
@@ -4,7 +4,7 @@
 class pybal::monitoring {
 
 require_package([
-'libnagios-plugin-perl',
+'libmonitoring-plugin-perl',
 'python-prometheus-client',
 'python-requests',
 ])

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb2d554af4e765862c4d5eb71f5eed37e36f
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema 
Gerrit-Reviewer: BBlack 
Gerrit-Reviewer: Ema 
Gerrit-Reviewer: Muehlenhoff 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] pywikibot/core[master]: [bugfix] fix flake8-docstrings failure

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

Change subject: [bugfix] fix flake8-docstrings failure
..


[bugfix] fix flake8-docstrings failure

- flake8-docstrings failes with pydocstyle 2.1.0 and 2.1.1

Bug: T177912
Change-Id: Ifa583511f1408ce6871d24ec0caa3524dd212a0a
---
M tox.ini
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Strainu: Looks good to me, but someone else must approve
  Dalba: Looks good to me, approved
  jenkins-bot: Verified
  Zoranzoki21: Looks good to me, but someone else must approve



diff --git a/tox.ini b/tox.ini
index 668d4b7..e12ea9b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -56,7 +56,7 @@
 basepython = python2.7
 deps = flake8<3
pyflakes >= 1.1
-   pydocstyle >= 2.0.0
+   pydocstyle == 2.0.0
hacking
flake8-docstrings>=1.1.0
flake8-putty>=0.3.2

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa583511f1408ce6871d24ec0caa3524dd212a0a
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt 
Gerrit-Reviewer: Dalba 
Gerrit-Reviewer: John Vandenberg 
Gerrit-Reviewer: Strainu 
Gerrit-Reviewer: Zoranzoki21 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] pywikibot/core[master]: [IMPR] Introduce gender() method for User class

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

Change subject: [IMPR] Introduce gender() method for User class
..


[IMPR] Introduce gender() method for User class

gender tag was introduced with mw 1.16

- rewrite site.users to get "gender" and "rights" properties. We may use
  lists for the usprop porperties as well as the ususers usernames instead of
  a string with values separated by "|"
- add gender method to User class. return "unknown" as a fallback for older
  mw versions
- some tests added

Bug: T177916
Change-Id: I04bb67e5ce00295523b686c94bc9519a37972c22
---
M pywikibot/page.py
M pywikibot/site.py
M tests/user_tests.py
3 files changed, 41 insertions(+), 5 deletions(-)

Approvals:
  Masti: Looks good to me, but someone else must approve
  Strainu: Looks good to me, approved
  jenkins-bot: Verified
  Zoranzoki21: Looks good to me, but someone else must approve

Objections:
  Mpaa: There's a problem with this change, please improve



diff --git a/pywikibot/page.py b/pywikibot/page.py
index cd8da84..d15e680 100644
--- a/pywikibot/page.py
+++ b/pywikibot/page.py
@@ -3289,6 +3289,26 @@
 """
 return self.getprops(force).get('groups', [])
 
+def gender(self, force=False):
+"""Return the gender of the user.
+
+@param force: if True, forces reloading the data from API
+@type force: bool
+@return: return 'male', 'female', or 'unknown'
+@rtype: str
+"""
+return self.getprops(force).get('gender', 'unknown')
+
+def rights(self, force=False):
+"""Return the gender of the user.
+
+@param force: if True, forces reloading the data from API
+@type force: bool
+@return: return user rights
+@rtype: list
+"""
+return self.getprops(force).get('rights', [])
+
 def getUserPage(self, subpage=u''):
 """
 Return a Page object relative to this user's main page.
diff --git a/pywikibot/site.py b/pywikibot/site.py
index 5dff0df..ac20cd0 100644
--- a/pywikibot/site.py
+++ b/pywikibot/site.py
@@ -4914,12 +4914,14 @@
 @param usernames: a list of user names
 @type usernames: list, or other iterable, of unicodes
 """
-if not isinstance(usernames, basestring):
-usernames = u"|".join(usernames)
+usprop = ['blockinfo', 'groups', 'editcount', 'registration',
+  'emailable']
+if MediaWikiVersion(self.version()) >= MediaWikiVersion('1.16'):
+usprop.append('gender')
+if MediaWikiVersion(self.version()) >= MediaWikiVersion('1.17'):
+usprop.append('rights')
 usgen = api.ListGenerator(
-"users", ususers=usernames, site=self,
-usprop="blockinfo|groups|editcount|registration|emailable"
-)
+'users', ususers=usernames, site=self, usprop=usprop)
 return usgen
 
 @deprecated("Site.randompages()")
diff --git a/tests/user_tests.py b/tests/user_tests.py
index 6d2940d..96b99d9 100644
--- a/tests/user_tests.py
+++ b/tests/user_tests.py
@@ -32,6 +32,7 @@
 self.assertGreater(user.editCount(), 0)
 self.assertFalse(user.isBlocked())
 self.assertTrue(user.isEmailable())
+self.assertEqual(user.gender(), 'unknown')
 self.assertIn('userid', user.getprops())
 
 def test_registered_user_without_timestamp(self):
@@ -42,6 +43,16 @@
 self.assertIsNone(user.registration())
 self.assertIsNone(user.getprops()['registration'])
 self.assertGreater(user.editCount(), 0)
+self.assertEqual(user.gender(), 'male')
+self.assertIn('userid', user.getprops())
+
+def test_female_user(self):
+"""Test female user."""
+user = User(self.site, 'Alraunenstern')
+self.assertTrue(user.isRegistered())
+self.assertFalse(user.isAnonymous())
+self.assertGreater(user.editCount(), 0)
+self.assertEqual(user.gender(), 'female')
 self.assertIn('userid', user.getprops())
 
 def test_anonymous_user(self):
@@ -53,6 +64,7 @@
 self.assertTrue(user.isAnonymous())
 self.assertIsNone(user.registration())
 self.assertFalse(user.isEmailable())
+self.assertEqual(user.gender(), 'unknown')
 self.assertIn('invalid', user.getprops())
 
 def test_unregistered_user(self):
@@ -64,6 +76,7 @@
 self.assertFalse(user.isAnonymous())
 self.assertIsNone(user.registration())
 self.assertFalse(user.isEmailable())
+self.assertEqual(user.gender(), 'unknown')
 self.assertIn('missing', user.getprops())
 
 def test_invalid_user(self):
@@ -75,6 +88,7 @@
 self.assertFalse(user.isAnonymous())
 self.assertIsNone(user.registration())
 self.assertFalse(user.isEmailable())
+self.assertEqual(user.gender(), 'unknown')
 

[MediaWiki-commits] [Gerrit] mediawiki...WikiArticleFeeds[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383981 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: I606a60a2c5bc1ff931b93d0dcb7f64ea76614c88
---
M WikiArticleFeeds.i18n.magic.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiArticleFeeds 
refs/changes/81/383981/2

diff --git a/WikiArticleFeeds.i18n.magic.php b/WikiArticleFeeds.i18n.magic.php
index 732d2cd..04bbbe8 100644
--- a/WikiArticleFeeds.i18n.magic.php
+++ b/WikiArticleFeeds.i18n.magic.php
@@ -68,4 +68,9 @@
 /** Serbian (Latin script) (srpski (latinica)‎) */
 $magicWords['sr-el'] = array(
'itemtags' => array( 0, 'oznakestavke', 'oznake_stavke' ),
+);
+
+/** Urdu (اردو) */
+$magicWords['ur'] = array(
+   'itemtags' => array( 0, 'آئٹم_ٹیگ', 'itemtags' ),
 );
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I606a60a2c5bc1ff931b93d0dcb7f64ea76614c88
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/WikiArticleFeeds
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 

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


[MediaWiki-commits] [Gerrit] mediawiki...ElectronPdfService[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383980 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: Ia9d3f0260376e411419cb525e02e92aebb58d249
---
M ElectronPdfService.i18n.alias.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ElectronPdfService 
refs/changes/80/383980/2

diff --git a/ElectronPdfService.i18n.alias.php 
b/ElectronPdfService.i18n.alias.php
index 8cfabd4..435cfab 100644
--- a/ElectronPdfService.i18n.alias.php
+++ b/ElectronPdfService.i18n.alias.php
@@ -12,3 +12,8 @@
 $specialPageAliases['en'] = [
'ElectronPdf' => [ 'ElectronPdf' ],
 ];
+
+/** Urdu (اردو) */
+$specialPageAliases['ur'] = [
+   'ElectronPdf' => [ 'الیکٹران_پی_ڈی_ایف' ],
+];
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9d3f0260376e411419cb525e02e92aebb58d249
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ElectronPdfService
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 

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


[MediaWiki-commits] [Gerrit] mediawiki...Echo[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383979 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: I744e8a56dab9a5d5d8c56b571ef2d8952bc4f752
---
M Echo.alias.php
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/79/383979/2

diff --git a/Echo.alias.php b/Echo.alias.php
index 606688d..2291c55 100644
--- a/Echo.alias.php
+++ b/Echo.alias.php
@@ -240,6 +240,8 @@
 /** Urdu (اردو) */
 $specialPageAliases['ur'] = [
'Notifications' => [ 'اطلاعات' ],
+   'DisplayNotificationsConfiguration' => [ 'ترتیب_نمائش_اطلاعات' ],
+   'NotificationsMarkRead' => [ 'اطلاعات_کی_خواندہ_نشان_زدگی' ],
 ];
 
 /** Venetian (vèneto) */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I744e8a56dab9a5d5d8c56b571ef2d8952bc4f752
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 

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


[MediaWiki-commits] [Gerrit] mediawiki...Disambiguator[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383978 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: I5c56b1c279e9ab3c97eb86058802e10c672e2cf1
---
M Disambiguator.i18n.alias.php
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Disambiguator 
refs/changes/78/383978/2

diff --git a/Disambiguator.i18n.alias.php b/Disambiguator.i18n.alias.php
index 3a79b87..c1c73ba 100644
--- a/Disambiguator.i18n.alias.php
+++ b/Disambiguator.i18n.alias.php
@@ -174,6 +174,12 @@
'DisambiguationPageLinks' => [ 
'Посилання_на_сторінки_тлумачення_неоднозначності' ],
 ];
 
+/** Urdu (اردو) */
+$specialPageAliases['ur'] = [
+   'DisambiguationPages' => [ 'ضد_ابہام_صفحات' ],
+   'DisambiguationPageLinks' => [ 'ضد_ابہام_صفحات_کے_روابط' ],
+];
+
 /** Venetian (vèneto) */
 $specialPageAliases['vec'] = [
'DisambiguationPages' => [ 'PagineDeDisambigua' ],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c56b1c279e9ab3c97eb86058802e10c672e2cf1
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Disambiguator
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 

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


[MediaWiki-commits] [Gerrit] mediawiki...VisualEditor[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383977 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: I1fe3b8caa5e2781c91a7741837dd6b3225763312
---
M VisualEditor.i18n.alias.php
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/77/383977/2

diff --git a/VisualEditor.i18n.alias.php b/VisualEditor.i18n.alias.php
index a6f280a..c48bace 100644
--- a/VisualEditor.i18n.alias.php
+++ b/VisualEditor.i18n.alias.php
@@ -21,3 +21,9 @@
 $specialPageAliases['cy'] = [
'CollabPad' => [ 'PadCydweithredu', 'Pad Cydweithredu' ],
 ];
+
+/** Urdu
+ */
+$specialPageAliases['ur'] = [
+   'CollabPad' => [ 'مشترکہ_پیڈ' ],
+];
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1fe3b8caa5e2781c91a7741837dd6b3225763312
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 
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 maintenance/checkSyntax.php

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

Change subject: Remove maintenance/checkSyntax.php
..


Remove maintenance/checkSyntax.php

Was useful years ago, but now we have much better tools.
Not used anywhere search can find.

Change-Id: Iaa094a686aeefd9a6071abc843ffc33c8daf2a5a
---
M autoload.php
D maintenance/checkSyntax.php
2 files changed, 0 insertions(+), 350 deletions(-)

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



diff --git a/autoload.php b/autoload.php
index 0a2ecf0..abedffd1 100644
--- a/autoload.php
+++ b/autoload.php
@@ -255,7 +255,6 @@
'CheckLanguageCLI' => __DIR__ . 
'/maintenance/language/checkLanguage.inc',
'CheckLess' => __DIR__ . '/maintenance/checkLess.php',
'CheckStorage' => __DIR__ . '/maintenance/storage/checkStorage.php',
-   'CheckSyntax' => __DIR__ . '/maintenance/checkSyntax.php',
'CheckUsernames' => __DIR__ . '/maintenance/checkUsernames.php',
'ClassCollector' => __DIR__ . '/includes/utils/AutoloadGenerator.php',
'CleanupAncientTables' => __DIR__ . 
'/maintenance/cleanupAncientTables.php',
diff --git a/maintenance/checkSyntax.php b/maintenance/checkSyntax.php
deleted file mode 100644
index 3910f29..000
--- a/maintenance/checkSyntax.php
+++ /dev/null
@@ -1,349 +0,0 @@
-http://www.gnu.org/copyleft/gpl.html
- *
- * @file
- * @ingroup Maintenance
- */
-
-require_once __DIR__ . '/Maintenance.php';
-
-/**
- * Maintenance script to check syntax of all PHP files in MediaWiki.
- *
- * @ingroup Maintenance
- */
-class CheckSyntax extends Maintenance {
-
-   // List of files we're going to check
-   private $mFiles = [], $mFailures = [], $mWarnings = [];
-   private $mIgnorePaths = [], $mNoStyleCheckPaths = [];
-
-   public function __construct() {
-   parent::__construct();
-   $this->addDescription( 'Check syntax for all PHP files in 
MediaWiki' );
-   $this->addOption( 'with-extensions', 'Also recurse the 
extensions folder' );
-   $this->addOption(
-   'path',
-   'Specific path (file or directory) to check, either 
with absolute path or '
-   . 'relative to the root of this MediaWiki 
installation',
-   false,
-   true
-   );
-   $this->addOption(
-   'list-file',
-   'Text file containing list of files or directories to 
check',
-   false,
-   true
-   );
-   $this->addOption(
-   'modified',
-   'Check only files that were modified (requires Git 
command-line client)'
-   );
-   $this->addOption( 'syntax-only', 'Check for syntax validity 
only, skip code style warnings' );
-   }
-
-   public function getDbType() {
-   return Maintenance::DB_NONE;
-   }
-
-   public function execute() {
-   $this->buildFileList();
-
-   $this->output( "Checking syntax (using php -l, this can take a 
long time)\n" );
-   foreach ( $this->mFiles as $f ) {
-   $this->checkFileWithCli( $f );
-   if ( !$this->hasOption( 'syntax-only' ) ) {
-   $this->checkForMistakes( $f );
-   }
-   }
-   $this->output( "\nDone! " . count( $this->mFiles ) . " files 
checked, " .
-   count( $this->mFailures ) . " failures and " . count( 
$this->mWarnings ) .
-   " warnings found\n" );
-   }
-
-   /**
-* Build the list of files we'll check for syntax errors
-*/
-   private function buildFileList() {
-   global $IP;
-
-   $this->mIgnorePaths = [
-   ];
-
-   $this->mNoStyleCheckPaths = [
-   // Third-party code we don't care about
-   "/activemq_stomp/",
-   "EmailPage/PHPMailer",
-   "FCKeditor/fckeditor/",
-   '\bphplot-',
-   "/svggraph/",
-   "\bjsmin.php$",
-   "PEAR/File_Ogg/",
-   "QPoll/Excel/",
-   "/geshi/",
-   "/smarty/",
-   ];
-
-   if ( $this->hasOption( 'path' ) ) {
-   $path = $this->getOption( 'path' );
-   if ( !$this->addPath( $path ) ) {
-   $this->error( "Error: can't find file or 
directory $path\n", true );
-   }
-
-   return; // process only this path
-   } elseif ( $this->hasOption( 

[MediaWiki-commits] [Gerrit] mediawiki...ConfirmEdit[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383976 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: Icf9054129203f25a393782336d19b31840aedb72
---
M ConfirmEdit.alias.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ConfirmEdit 
refs/changes/76/383976/2

diff --git a/ConfirmEdit.alias.php b/ConfirmEdit.alias.php
index 353c864..2b992cb 100644
--- a/ConfirmEdit.alias.php
+++ b/ConfirmEdit.alias.php
@@ -118,6 +118,11 @@
'Captcha' => [ 'GüvenlikKodu' ],
 ];
 
+/** Urdu (اردو) */
+$specialPageAliases['ur'] = [
+   'Captcha' => [ 'کیپچا' ],
+];
+
 /** Cantonese (粵語) */
 $specialPageAliases['yue'] = [
'Captcha' => [ '驗證碼' ],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf9054129203f25a393782336d19b31840aedb72
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ConfirmEdit
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 
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...BetaFeatures[master]: Setting alias of special page name for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383975 )

Change subject: Setting alias of special page name for Urdu language
..

Setting alias of special page name for Urdu language

Change-Id: Ib76f6f90bbe9a6c77cb26a538d2dc14e09b5fa92
---
M BetaFeatures.alias.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BetaFeatures 
refs/changes/75/383975/2

diff --git a/BetaFeatures.alias.php b/BetaFeatures.alias.php
index 0df3165..9fd1d6b 100644
--- a/BetaFeatures.alias.php
+++ b/BetaFeatures.alias.php
@@ -130,6 +130,11 @@
'BetaFeatures' => [ 'Бета-функції' ],
 ];
 
+/** Urdu (اردو) */
+$specialPageAliases['ur'] = [
+   'BetaFeatures' => [ 'آزمائشی_خصوصیات' ],
+];
+
 /** Vietnamese (Tiếng Việt) */
 $specialPageAliases['vi'] = [
'BetaFeatures' => [ 'Tính_năng_beta' ],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib76f6f90bbe9a6c77cb26a538d2dc14e09b5fa92
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BetaFeatures
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 
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...CentralNotice[master]: Setting aliases of some special page names for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383974 )

Change subject: Setting aliases of some special page names for Urdu language
..

Setting aliases of some special page names for Urdu language

Change-Id: I742707bfb7456458623cf55083e6edae971172b8
---
M CentralNotice.alias.php
1 file changed, 11 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice 
refs/changes/74/383974/2

diff --git a/CentralNotice.alias.php b/CentralNotice.alias.php
index 0449647..4e34516 100644
--- a/CentralNotice.alias.php
+++ b/CentralNotice.alias.php
@@ -417,7 +417,17 @@
 /** Urdu (اردو) */
 $specialPageAliases['ur'] = [
'CentralNotice' => [ 'مرکزی_اعلان' ],
-   'NoticeTemplate' => [ 'نوٹس_سانچہ' ],
+   'CentralNoticeBanners' => [ 'مرکزی_اعلان_کے_بینر' ],
+   'CentralNoticeLogs' => [ 'مرکزی_اعلان_کے_نوشتے' ],
+   'CNReporter' => [ 'مرکزی_اعلان_کا_نامہ_نگار' ],
+   'NoticeTemplate' => [ 'سانچہ_اعلان', 'نوٹس_سانچہ' ],
+   'GlobalAllocation' => [ 'عالمی_تخصیص' ],
+   'BannerAllocation' => [ 'تخصیص_بینر' ],
+   'BannerController' => [ 'ناظم_بینر' ],
+   'BannerLoader' => [ 'بینر_لوڈر' ],
+   'BannerRandom' => [ 'جستہ_جست_ہبینر' ],
+   'RecordImpression' => [ 'اندراج_تاثر' ],
+   'HideBanners' => [ 'اخفائے_بینر' ],
 ];
 
 /** Vietnamese (Tiếng Việt) */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I742707bfb7456458623cf55083e6edae971172b8
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/CentralNotice
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 

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


[MediaWiki-commits] [Gerrit] mediawiki/core[master]: Update PsySh from 0.8.5 to 0.8.11

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

Change subject: Update PsySh from 0.8.5 to 0.8.11
..


Update PsySh from 0.8.5 to 0.8.11

0.8.11 adds bracketed paste support for readline,
meaning that it can differentiate between
interaction-triggering characters (such as newline
or tab) which have been entered manually, and ones
which have been pasted so their special effect should
be suppressed. Also a bunch of small bugfixes and features.

Release summaries: https://github.com/bobthecow/psysh/releases
All changes: 
https://github.com/bobthecow/psysh/compare/v0.8.5...v0.8.11?expand=1

There are no dependency changes; I've skimmed the code
changes and all seem harmless.

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

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



diff --git a/composer.json b/composer.json
index 634bace..2bd8d6c 100644
--- a/composer.json
+++ b/composer.json
@@ -59,7 +59,7 @@
"nikic/php-parser": "2.1.0",
"nmred/kafka-php": "0.1.5",
"phpunit/phpunit": "4.8.35",
-   "psy/psysh": "0.8.5",
+   "psy/psysh": "0.8.11",
"wikimedia/avro": "1.7.7",
"wikimedia/testing-access-wrapper": "~1.0",
"wmde/hamcrest-html-matchers": "^0.1.0"

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I33456904787fd86458249ddfbb00c6b55592da07
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Legoktm 
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...ApiFeatureUsage[master]: Setting alias of special page name for Urdu language

2017-10-13 Thread Obaid Raza (Code Review)
Obaid Raza has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383973 )

Change subject: Setting alias of special page name for Urdu language
..

Setting alias of special page name for Urdu language

Change-Id: Id37dace62740e8896987d3d8e0ebe334e65988d8
---
M ApiFeatureUsage.alias.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ApiFeatureUsage 
refs/changes/73/383973/2

diff --git a/ApiFeatureUsage.alias.php b/ApiFeatureUsage.alias.php
index d50177d..21ed884 100644
--- a/ApiFeatureUsage.alias.php
+++ b/ApiFeatureUsage.alias.php
@@ -53,6 +53,11 @@
'ApiFeatureUsage' => [ 'Uso_de_recurso_da_API' ],
 ];
 
+/** Urdu (اردو) */
+$specialPageAliases['ur'] = [
+   'ApiFeatureUsage' => [ 'اےپی آئی _خصوصیات_کا_استعمال' ],
+];
+
 /** Simplified Chinese (中文(简体)‎) */
 $specialPageAliases['zh-hans'] = [
'ApiFeatureUsage' => [ 'Api功能使用率' ],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id37dace62740e8896987d3d8e0ebe334e65988d8
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ApiFeatureUsage
Gerrit-Branch: master
Gerrit-Owner: Obaid Raza 

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: mariadb: Add db2081 to s5 and later s8

2017-10-13 Thread Marostegui (Code Review)
Marostegui has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/383971 )

Change subject: mariadb: Add db2081 to s5 and later s8
..


mariadb: Add db2081 to s5 and later s8

db2081 will be cloned from db2080 and placed on s5

Bug: T170662
Change-Id: I2267b307b4393bdc808133a54a2b21d0d32f9b12
---
A hieradata/hosts/db2081.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
3 files changed, 4 insertions(+), 1 deletion(-)

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



diff --git a/hieradata/hosts/db2081.yaml b/hieradata/hosts/db2081.yaml
new file mode 100644
index 000..0ea867a
--- /dev/null
+++ b/hieradata/hosts/db2081.yaml
@@ -0,0 +1,2 @@
+mariadb::shard: 's5'
+profile::base::notifications_enabled: '0'
diff --git a/manifests/site.pp b/manifests/site.pp
index 802fc88..b6929c1 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -458,7 +458,7 @@
 role(mariadb::core)
 }
 
-node /^db20(38|45|52|59|66|75|79|80)\.codfw\.wmnet/ {
+node /^db20(38|45|52|59|66|75|79|80|81)\.codfw\.wmnet/ {
 role(mariadb::core)
 }
 
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml 
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index cf84683..1d7f0f0 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -76,6 +76,7 @@
   - db2075:9104
   - db2079:9104
   - db2080:9104
+  - db2081:9104
 - labels:
 shard: s5
 role: master

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2267b307b4393bdc808133a54a2b21d0d32f9b12
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui 
Gerrit-Reviewer: Giuseppe Lavagetto 
Gerrit-Reviewer: Marostegui 
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/software[master]: s5.hosts: Add db2081 to s5

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

Change subject: s5.hosts: Add db2081 to s5
..


s5.hosts: Add db2081 to s5

db2081 will serve in s5

Bug: T170662
Change-Id: I42ea29b5c2a05f37fbcabdab0404224209ae05c0
---
M dbtools/s5.hosts
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/dbtools/s5.hosts b/dbtools/s5.hosts
index eacc119..e6bceca 100644
--- a/dbtools/s5.hosts
+++ b/dbtools/s5.hosts
@@ -1,4 +1,5 @@
 dbstore2001.codfw.wmnet3315
+db2081.codfw.wmnet 3306
 db2080.codfw.wmnet 3306
 db2079.codfw.wmnet 3306
 db2075.codfw.wmnet 3306

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I42ea29b5c2a05f37fbcabdab0404224209ae05c0
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Marostegui 
Gerrit-Reviewer: Jcrespo 
Gerrit-Reviewer: Marostegui 
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/software[master]: s5.hosts: Add db2081 to s5

2017-10-13 Thread Marostegui (Code Review)
Marostegui has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383972 )

Change subject: s5.hosts: Add db2081 to s5
..

s5.hosts: Add db2081 to s5

db2081 will serve in s5

Bug: T170662
Change-Id: I42ea29b5c2a05f37fbcabdab0404224209ae05c0
---
M dbtools/s5.hosts
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software 
refs/changes/72/383972/1

diff --git a/dbtools/s5.hosts b/dbtools/s5.hosts
index eacc119..e6bceca 100644
--- a/dbtools/s5.hosts
+++ b/dbtools/s5.hosts
@@ -1,4 +1,5 @@
 dbstore2001.codfw.wmnet3315
+db2081.codfw.wmnet 3306
 db2080.codfw.wmnet 3306
 db2079.codfw.wmnet 3306
 db2075.codfw.wmnet 3306

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I42ea29b5c2a05f37fbcabdab0404224209ae05c0
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Marostegui 

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


[MediaWiki-commits] [Gerrit] operations/puppet[production]: mariadb: Add db2081 to s5 and later s8

2017-10-13 Thread Marostegui (Code Review)
Marostegui has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/383971 )

Change subject: mariadb: Add db2081 to s5 and later s8
..

mariadb: Add db2081 to s5 and later s8

db2081 will be cloned from db2080 and placed on s5

Bug: T170662
Change-Id: I2267b307b4393bdc808133a54a2b21d0d32f9b12
---
A hieradata/hosts/db2081.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
3 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/71/383971/1

diff --git a/hieradata/hosts/db2081.yaml b/hieradata/hosts/db2081.yaml
new file mode 100644
index 000..0ea867a
--- /dev/null
+++ b/hieradata/hosts/db2081.yaml
@@ -0,0 +1,2 @@
+mariadb::shard: 's5'
+profile::base::notifications_enabled: '0'
diff --git a/manifests/site.pp b/manifests/site.pp
index 802fc88..b6929c1 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -458,7 +458,7 @@
 role(mariadb::core)
 }
 
-node /^db20(38|45|52|59|66|75|79|80)\.codfw\.wmnet/ {
+node /^db20(38|45|52|59|66|75|79|80|81)\.codfw\.wmnet/ {
 role(mariadb::core)
 }
 
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml 
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index cf84683..1d7f0f0 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -76,6 +76,7 @@
   - db2075:9104
   - db2079:9104
   - db2080:9104
+  - db2081:9104
 - labels:
 shard: s5
 role: master

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

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

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


<    1   2   3   4