[MediaWiki-commits] [Gerrit] mediawiki: install fonts metric-compatible with Calibri and ... - change (operations/puppet)

2015-03-30 Thread Giuseppe Lavagetto (Code Review)
Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: mediawiki: install fonts metric-compatible with Calibri and 
Cambria
..


mediawiki: install fonts metric-compatible with Calibri and Cambria

Bug: T84842
Change-Id: I73790027f9ffc80a0b95c59ab084f6b7b3ffdfdf
---
M modules/mediawiki/manifests/packages/fonts.pp
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Gilles: Looks good to me, but someone else must approve
  Giuseppe Lavagetto: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/mediawiki/manifests/packages/fonts.pp 
b/modules/mediawiki/manifests/packages/fonts.pp
index 9905ad3..4656110 100644
--- a/modules/mediawiki/manifests/packages/fonts.pp
+++ b/modules/mediawiki/manifests/packages/fonts.pp
@@ -57,4 +57,10 @@
 ]:
 ensure = present,
 }
+# Bug T84842
+if os_version('ubuntu = trusty || debian = jessie') {
+package { ['fonts-crosextra-carlito', 'fonts-crosextra-caladea']:
+ensure = present,
+}
+}
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I73790027f9ffc80a0b95c59ab084f6b7b3ffdfdf
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto glavage...@wikimedia.org
Gerrit-Reviewer: Gilles gdu...@wikimedia.org
Gerrit-Reviewer: Giuseppe Lavagetto glavage...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Revert Update inputs to use mw-ui styles - change (mediawiki...UniversalLanguageSelector)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Revert Update inputs to use mw-ui styles
..


Revert Update inputs to use mw-ui styles

This reverts commit 30d26a4fd2a239f8874f1983972a266246b79548.

Some issues in this patch were identified, see T52599.

Reverting so that MLEB can be released and issues fixed and
tested properly after the release.

Change-Id: I35c1eb2db5ead8ca75dc2724997d789c83c69b6d
---
M Resources.php
M resources/css/ext.uls.inputsettings.css
M resources/js/ext.uls.displaysettings.js
M resources/js/ext.uls.inputsettings.js
M resources/js/ext.uls.languagesettings.js
5 files changed, 32 insertions(+), 33 deletions(-)

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



diff --git a/Resources.php b/Resources.php
index a2298a5..4e0a8cf 100644
--- a/Resources.php
+++ b/Resources.php
@@ -34,7 +34,6 @@
'ext.uls.mediawiki',
'ext.uls.webfonts',
'mediawiki.api.parse',
-   'mediawiki.ui.checkbox',
),
 ) + $resourcePaths;
 
@@ -102,7 +101,6 @@
'ext.uls.languagesettings',
'ext.uls.mediawiki',
'jquery.ime',
-   'mediawiki.ui.radio',
),
 ) + $resourcePaths;
 
@@ -131,6 +129,7 @@
'scripts' = 'resources/js/ext.uls.languagesettings.js',
'styles' = 'resources/css/ext.uls.languagesettings.css',
'dependencies' = array(
+   'ext.uls.buttons',
'ext.uls.messages',
'ext.uls.preferences',
// The grid styles are used here,
@@ -255,7 +254,6 @@
'jquery.i18n',
'jquery.uls.data',
'jquery.uls.grid',
-   'mediawiki.ui.input',
),
 ) + $resourcePaths;
 
diff --git a/resources/css/ext.uls.inputsettings.css 
b/resources/css/ext.uls.inputsettings.css
index bb9484c..1065807 100644
--- a/resources/css/ext.uls.inputsettings.css
+++ b/resources/css/ext.uls.inputsettings.css
@@ -12,7 +12,7 @@
 }
 
 .imelabel {
-   display: inline;
+   display: block;
padding-bottom: 10px;
font-size: 10pt;
line-height: 16pt;
@@ -22,6 +22,10 @@
padding-left: 5px;
 }
 
+.imelabel input {
+   float: left;
+}
+
 .uls-ime-menu-settings-item {
background-color: #f0f0f0;
border-radius: 0 0 5px 5px;
diff --git a/resources/js/ext.uls.displaysettings.js 
b/resources/js/ext.uls.displaysettings.js
index 4a06124..3d90e05 100644
--- a/resources/js/ext.uls.displaysettings.js
+++ b/resources/js/ext.uls.displaysettings.js
@@ -23,9 +23,9 @@
 
+ 'div class=row' // Tab switcher buttons
+ 'div class=twelve columns 
uls-display-settings-tab-switcher'
-   + 'div class=uls-button-group mw-ui-button-group'
-   + 'button id=uls-display-settings-language-tab 
class=mw-ui-button mw-ui-checked 
data-i18n=ext-uls-display-settings-language-tab/button'
-   + 'button id=uls-display-settings-fonts-tab 
class=mw-ui-button data-i18n=ext-uls-display-settings-fonts-tab/button'
+   + 'div class=uls-button-group'
+   + 'button id=uls-display-settings-language-tab class=button 
down data-i18n=ext-uls-display-settings-language-tab/button'
+   + 'button id=uls-display-settings-fonts-tab class=button 
data-i18n=ext-uls-display-settings-fonts-tab/button'
+ '/div'
+ '/div'
+ '/div'
@@ -79,9 +79,9 @@
 
// Webfonts enabling checkbox with label
+ 'div class=row'
-   + 'div class=eleven columns mw-ui-checkbox'
+   + 'div class=eleven columns'
+   + 'label class=checkbox'
+ 'input type=checkbox id=webfonts-enable-checkbox /'
-   + 'label class=checkbox for=webfonts-enable-checkbox'
+ 'strong 
data-i18n=ext-uls-webfonts-settings-title/strong '
+ 'span data-i18n=ext-uls-webfonts-settings-info/span '
+ 'a target=_blank 
href=https://www.mediawiki.org/wiki/Universal_Language_Selector/WebFonts; 
data-i18n=ext-uls-webfonts-settings-info-link/a'
@@ -242,8 +242,8 @@
return function () {
displaySettings.markDirty();
displaySettings.uiLanguage = 
button.data( 'language' ) || displaySettings.uiLanguage;
-   $( 'div.uls-ui-languages 
button.mw-ui-button' ).removeClass( 'mw-ui-checked' );
-   button.addClass( 'mw-ui-checked' );
+   $( 'div.uls-ui-languages button.button' 
).removeClass( 'down' );
+   button.addClass( 'down' );
   

[MediaWiki-commits] [Gerrit] Add a link to Special:GatherLists to view hidden lists - change (mediawiki...Gather)

2015-03-30 Thread Florianschmidtwelzow (Code Review)
Florianschmidtwelzow has uploaded a new change for review.

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

Change subject: Add a link to Special:GatherLists to view hidden lists
..

Add a link to Special:GatherLists to view hidden lists

Actually you need to manually add hidden as a subpage to Special:GatherLists
to view hidden lists. Add a link as a subtitle to Special:GatherLists to make
this a lot easier. Add a backlink to show only visible lists, too, when
Special:GatherLists/hidden is shown.

Change-Id: Ibc94f46bfea73f9d3e76117f8d8ec1ce60e77206
---
M i18n/en.json
M i18n/qqq.json
M includes/specials/SpecialGatherLists.php
3 files changed, 26 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/11/200511/1

diff --git a/i18n/en.json b/i18n/en.json
index 1d26909..e0c6c49 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -7,6 +7,8 @@
Yuri Astrakhan
]
},
+   gather-lists-showhidden: Show hidden lists,
+   gather-lists-showvisible: Show visible lists,
gather-lists-collection-owner: Owner,
gather-lists-collection-last-updated: Last updated,
gather-lists-collection-title: Title,
diff --git a/i18n/qqq.json b/i18n/qqq.json
index f60ae28..71b352d 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -12,6 +12,8 @@
Yurik
]
},
+   gather-lists-showhidden: Link title to show hidden lists on 
[[Special:GatherLists]].,
+   gather-lists-showvisible: Link title to show visible lists on 
[[Special:GatherLists]].,
gather-lists-collection-owner: Label for owner of collection on list 
of all collections\n{{Identical|Owner}},
gather-lists-collection-last-updated: Label for last updated time of 
a collection\n{{Identical|Last updated}},
gather-lists-collection-title: Label for title of collection on list 
of all collections\n{{Identical|Title}},
diff --git a/includes/specials/SpecialGatherLists.php 
b/includes/specials/SpecialGatherLists.php
index 555ce11..1663716 100644
--- a/includes/specials/SpecialGatherLists.php
+++ b/includes/specials/SpecialGatherLists.php
@@ -10,6 +10,7 @@
 use ApiMain;
 use FauxRequest;
 use Html;
+use Linker;
 use Gather\views\helpers\CSS;
 use MWTimestamp;
 
@@ -46,9 +47,15 @@
 * Render the special page
 */
public function execute( $subPage ) {
-   if ( $subPage === 'hidden'  !$this-canHideLists() ) {
-   $this-renderError();
-   return;
+   $out = $this-getOutput();
+   if ( $subPage === 'hidden' ) {
+   if ( !$this-canHideLists() ) {
+   $this-renderError();
+   return;
+   }
+   $out-addSubtitle( $this-getSubTitle() );
+   } else {
+   $out-addSubtitle( $this-getSubTitle( true ) );
}
// FIXME: Make method on CollectionsList
$api = new ApiMain( new FauxRequest( array(
@@ -69,6 +76,18 @@
}
 
/**
+* Get subtitle text with a link to show the (un-)hidden collections.
+* @param boolean $hidden Whether to get a link to show the hidden 
collections
+* @return string
+*/
+   public function getSubTitle( $hidden = false ) {
+   return Linker::link(
+   SpecialPage::getTitleFor( 'GatherLists', ( $hidden ? 
'hidden' : false ) ),
+   ( $hidden ? $this-msg( 'gather-lists-showhidden' ) : 
$this-msg( 'gather-lists-showvisible' ) )
+   );
+   }
+
+   /**
 * Render the special page
 *
 * @param array $lists

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc94f46bfea73f9d3e76117f8d8ec1ce60e77206
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow florian.schmidt.wel...@t-online.de

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


[MediaWiki-commits] [Gerrit] Added README with new language addition how-to - change (analytics/limn-language-data)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Added README with new language addition how-to
..


Added README with new language addition how-to

Change-Id: I10f2cfb75f488eaf04473978c5304f6f75a03617
---
A README.md
1 file changed, 20 insertions(+), 0 deletions(-)

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



diff --git a/README.md b/README.md
new file mode 100644
index 000..2e8c007
--- /dev/null
+++ b/README.md
@@ -0,0 +1,20 @@
+README
+==
+
+This is: http://language-reportcard.wmflabs.org
+
+New language addition
+=
+
+1. Update language/*.sql files.
+2. Update reportgenerator/config/config.json
+3. Do not sort language alphabetically. Only add them in the end.
+
+Once new language has been added in config and sql are updated,
+
+(On stats server)
+1. cd /a/limn-public-data/language/datafiles
+2. Edit: daily*.tsv files.
+3. Change the header the way that you changed the select statement. (Same 
order,
+   make sure not to expand tabs into spaces!).
+4. Save.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I10f2cfb75f488eaf04473978c5304f6f75a03617
Gerrit-PatchSet: 1
Gerrit-Project: analytics/limn-language-data
Gerrit-Branch: master
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com
Gerrit-Reviewer: KartikMistry kartik.mis...@gmail.com
Gerrit-Reviewer: Milimetric dandree...@wikimedia.org
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] 3.6.1: fix compilation errors - change (operations...hhvm)

2015-03-30 Thread Giuseppe Lavagetto (Code Review)
Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: 3.6.1: fix compilation errors
..

3.6.1: fix compilation errors

Change-Id: I17ae04f0c24a43955aca9ab145ee4ba2472b3b21
---
M debian/changelog
A debian/patches/fix-webscalesql.patch
M debian/patches/series
M debian/rules
4 files changed, 19 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/hhvm 
refs/changes/13/200513/1

diff --git a/debian/changelog b/debian/changelog
index 16d7bc0..19bcf07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-hhvm (3.6.0+dfsg1-1+wm1) trusty-wikimedia; urgency=medium
+hhvm (3.6.1+dfsg1-1+wm1) trusty-wikimedia; urgency=medium
 
   * New upstream release
   * Added WMF patch to support streaming output in FastCGI 
 
- -- Giuseppe Lavagetto glavage...@wikimedia.org  Fri, 20 Mar 2015 09:38:35 
+0100
+ -- Giuseppe Lavagetto glavage...@wikimedia.org  Fri, 30 Mar 2015 09:38:35 
+0100
 
 hhvm (3.3.1+dfsg1-1+wm3-1) trusty-wikimedia; urgency=medium
 
diff --git a/debian/patches/fix-webscalesql.patch 
b/debian/patches/fix-webscalesql.patch
new file mode 100644
index 000..3c9fe3e
--- /dev/null
+++ b/debian/patches/fix-webscalesql.patch
@@ -0,0 +1,16 @@
+Description: Fix compilation of the webscalesqlclient code
+Author: Giuseppe Lavagetto
+Forwarded: No
+Last-Update: 2015-03-30
+--- a/third-party/webscalesqlclient/webscalesql-5.6/sql/net_serv.cc
 b/third-party/webscalesqlclient/webscalesql-5.6/sql/net_serv.cc
+@@ -544,7 +544,7 @@ net_write_command_nonblocking(NET *net, uchar command,
+ 
+   switch (net-async_operation) {
+ case NET_ASYNC_OP_IDLE:
+-  MYSQL_NET_WRITE_START(len);
++  MYSQL_NET_WRITE_START(prefix_len + 1 + packet_len); /* 1 extra byte for 
command */
+   if (!begin_packet_write_state(net, command, packet, packet_len, prefix, 
prefix_len)) {
+ *res = 0;
+ goto done;
+
diff --git a/debian/patches/series b/debian/patches/series
index 2d6075d..dc6ac3d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,6 +2,7 @@
 link_libiconv_hook.patch
 pass-DNDEBUG-to-RelWithDebInfo.patch
 use_system_TZinfo.patch
+fix-webscalesql.patch
 
 # WMF specific patches go here
 add-jemalloc-prof-status.patch
diff --git a/debian/rules b/debian/rules
index 2648248..33e1fc9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,6 @@
dh_auto_configure -- \
-DUSE_JSONC=ON \
-DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/ \
-   -DENABLE_ASYNC_MYSQL=OFF \
-DENABLE_MCROUTER=OFF \
-DENABLE_SSP=ON \
-DCMAKE_INSTALL_PREFIX=/usr \

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I17ae04f0c24a43955aca9ab145ee4ba2472b3b21
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/hhvm
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto glavage...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Make browser tests version '' by default - change (integration/config)

2015-03-30 Thread Hashar (Code Review)
Hashar has uploaded a new change for review.

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

Change subject: Make browser tests version '' by default
..

Make browser tests version '' by default

SauceLabs supposedly grab the latest version of the browser when no
version is specified. This let us clean a bit our huge shell script.

* Remove switch/case that explicitly set the version per browser.
* Set JJB 'version' variable to default to '' instead of 10, seems it
* was used for IE and every jobs already have a version set explicitly.

This will let us pin a specific version of a browser on a per job basis.
For example Chrome @ v 33 if a repository does not work on later
versions.

Change-Id: Id6a8bb62a6884c61862b2890cdf86693e3b56248
---
M jjb/job-templates-browsertests.yaml
M jjb/macro-browsertests.yaml
2 files changed, 2 insertions(+), 33 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/12/200512/1

diff --git a/jjb/job-templates-browsertests.yaml 
b/jjb/job-templates-browsertests.yaml
index c69f19c..2ef14ec 100644
--- a/jjb/job-templates-browsertests.yaml
+++ b/jjb/job-templates-browsertests.yaml
@@ -67,7 +67,7 @@
 browsertest_job_timeout: 180
 repository_host: 'gerrit.wikimedia.org/r'
 cucumber_tags: ''
-version: '10'
+version: ''
 
 logrotate:
 daysToKeep: 31  # ~ 2 * 2 weeks sprints
diff --git a/jjb/macro-browsertests.yaml b/jjb/macro-browsertests.yaml
index 2d60e37..7b62904 100644
--- a/jjb/macro-browsertests.yaml
+++ b/jjb/macro-browsertests.yaml
@@ -37,39 +37,8 @@
   export MEDIAWIKI_PASSWORD_VARIABLE='MEDIAWIKI_PASSWORD'
   set -x
 
-  # We only care about one version of our browser and do not need a job
-  # per version.  Thus the versions to use are hardcoded there.
-  #
   # VERSION is used for SauceLabs
-  #
-  case $BROWSER in
-'android')
-export VERSION=4.4
-;;
-'chrome')
-export VERSION=40.0
-;;
-'firefox')
-export VERSION=35.0
-;;
-'internet_explorer')
-export VERSION={version}
-;;
-'iphone')
-export VERSION=8.1
-;;
-'phantomjs')
-export VERSION=''
-;;
-'safari')
-export VERSION=7.0
-;;
-*)
-echo Browser '$BROWSER' unsupported. Can not determine 
version
-exit 1
-;;
-  esac
-  echo Using browser: $BROWSER at version $VERSION
+  export VERSION={version}
 
   if [ $BROWSER == internet_explorer ]
   then

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id6a8bb62a6884c61862b2890cdf86693e3b56248
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar has...@free.fr

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


[MediaWiki-commits] [Gerrit] scap: improve deploy2graphite - change (operations/puppet)

2015-03-30 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has submitted this change and it was merged.

Change subject: scap: improve deploy2graphite
..


scap: improve deploy2graphite

mostly cleaner/saner shell

Bug: T1387
Change-Id: Ice7e95f963b78386189ada37ba88838735fb82d3
---
M modules/scap/files/deploy2graphite
1 file changed, 33 insertions(+), 20 deletions(-)

Approvals:
  BryanDavis: Looks good to me, but someone else must approve
  Filippo Giunchedi: Verified; Looks good to me, approved
  20after4: Looks good to me, but someone else must approve
  Dzahn: Looks good to me, but someone else must approve



diff --git a/modules/scap/files/deploy2graphite 
b/modules/scap/files/deploy2graphite
index 4dead4a..9895b76 100755
--- a/modules/scap/files/deploy2graphite
+++ b/modules/scap/files/deploy2graphite
@@ -1,28 +1,41 @@
-#! /bin/bash
+#!/bin/bash
+
+set -e
+set -u
 
 . /usr/local/lib/mw-deployment-vars.sh
 
+me=$(readlink -f $0)
+deploy_type=${1:-}
+deploy_duration=${2:-}
+dry_run=${DOLOGMSGNOLOG:+no}
+
 usage() {
-   echo Usage: $0 deploy_type [deploy_duration_seconds]
-   echo $0 will log an entry at graphite.wikimedia.org indicating that a
-   echo  deploy event of the type indicated has occurred.
-   echo  Expected deploy events include sync-common, sync-file, scap, 
etc.
-   echo  These messages can be suppressed by setting an environment 
variable $DOLOGMSGNOLOG.
-   echo 
-   echo   IF YOU'RE RUNNING THIS BY HAND, PLEASE STOP.
-   echo 
-   exit
+echo Usage: $me deploy_type [deploy_duration_seconds]
+echo $me will log an entry at graphite.wikimedia.org indicating that a
+echo  deploy event of the type indicated has occurred.
+echo  Expected deploy events include sync-common, sync-file, scap, etc.
+echo  These messages can be suppressed by setting an environment variable 
\$DOLOGMSGNOLOG.
+echo 
+echo   IF YOU'RE RUNNING THIS BY HAND, PLEASE STOP.
+echo 
+exit
 }
 
-[ ${1/-h} != $1 ]  usage
+statsd_send() {
+echo $1 | nc -w1 -q0 -u $MW_STATSD_HOST $MW_STATSD_PORT
+}
 
-if [ -z $DOLOGMSGNOLOG ]; then
-   if [ $1 ] ; then
-   utime=$(date +%s)
-   echo deploy.${1}:1|c | nc -w1 -q0 -u $MW_STATSD_HOST 
$MW_STATSD_PORT || /bin/true
-   echo deploy.all:1|c | nc -w1 -q0 -u $MW_STATSD_HOST 
$MW_STATSD_PORT || /bin/true
-   test -n $2  echo deploy.${1}.timing:${2}000|ms | nc -w1 
-q0 -u $MW_STATSD_HOST $MW_STATSD_PORT || /bin/true
-   else
-   usage
-   fi
+if [ $deploy_type = -h ] || [ $deploy_type =  ]; then
+usage
+fi
+
+if [ $dry_run != no ]; then
+exit 0
+fi
+
+statsd_send deploy.${deploy_type}:1|c || true
+statsd_send deploy.all:1|c || true
+if [ -n $deploy_duration ]; then
+statsd_send deploy.${deploy_type}.timing:${deploy_duration}000|ms || true
 fi

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ice7e95f963b78386189ada37ba88838735fb82d3
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi fgiunch...@wikimedia.org
Gerrit-Reviewer: 20after4 mmod...@wikimedia.org
Gerrit-Reviewer: BryanDavis bda...@wikimedia.org
Gerrit-Reviewer: Dzahn dz...@wikimedia.org
Gerrit-Reviewer: Filippo Giunchedi fgiunch...@wikimedia.org
Gerrit-Reviewer: Thcipriani tcipri...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Fix typo in message text. - change (mediawiki/core)

2015-03-30 Thread Purodha (Code Review)
Purodha has uploaded a new change for review.

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

Change subject: Fix typo in message text.
..

Fix typo in message text.

See
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Apihelp-managetags-example-delete/es

Change-Id: I9c238c7b5f221b130fd37694a9a4b7b3bd175da4
---
M includes/api/i18n/en.json
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/15/200515/1

diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json
index 9d0663c..431ab3d 100644
--- a/includes/api/i18n/en.json
+++ b/includes/api/i18n/en.json
@@ -216,7 +216,7 @@
apihelp-managetags-param-reason: An optional reason for creating, 
deleting, activating or deactivating the tag.,
apihelp-managetags-param-ignorewarnings: Whether to ignore any 
warnings that are issued during the operation.,
apihelp-managetags-example-create: Create a tag named 
kbdspam/kbd with the reason kbdFor use in edit patrolling/kbd,
-   apihelp-managetags-example-delete: Delete the kbdvandlaism/kbd 
tag with the reason kbdMisspelt/kbd,
+   apihelp-managetags-example-delete: Delete the kbdvandalism/kbd 
tag with the reason kbdMisspelt/kbd,
apihelp-managetags-example-activate: Activate a tag named 
kbdspam/kbd with the reason kbdFor use in edit patrolling/kbd,
apihelp-managetags-example-deactivate: Deactivate a tag named 
kbdspam/kbd with the reason kbdNo longer required/kbd,
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c238c7b5f221b130fd37694a9a4b7b3bd175da4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Purodha puro...@blissenbach.org

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


[MediaWiki-commits] [Gerrit] New Wikidata Build - 2015-03-30T10:00:01+0000 - change (mediawiki...Wikidata)

2015-03-30 Thread WikidataBuilder (Code Review)
WikidataBuilder has uploaded a new change for review.

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

Change subject: New Wikidata Build - 2015-03-30T10:00:01+
..

New Wikidata Build - 2015-03-30T10:00:01+

Change-Id: Ib330927f3e70494e252b89f4ba53e0d0b3afc237
---
M WikibaseClient.settings.php
M WikibaseRepo.settings.php
M composer.lock
M extensions/PropertySuggester/build/travis/after_script.sh
M extensions/PropertySuggester/build/travis/before_script.sh
M extensions/PropertySuggester/build/travis/script.sh
M extensions/ValueView/README.md
M extensions/ValueView/ValueView.php
M extensions/ValueView/tests/lib/jquery.ui/jquery.ui.inputextender.tests.js
M extensions/ValueView/tests/lib/jquery/jquery.focusAt.tests.js
M extensions/ValueView/tests/src/ExpertExtender/ExpertExtender.tests.js
M extensions/Wikibase/.jscsrc
M extensions/Wikibase/README.md
M extensions/Wikibase/build/jenkins/mw-apply-wb-settings.sh
M extensions/Wikibase/build/travis/install.sh
M extensions/Wikibase/build/travis/mw-apply-wb-settings.sh
M extensions/Wikibase/build/travis/script.sh
M extensions/Wikibase/build/travis/update-db.sh
M extensions/Wikibase/client/WikibaseClient.hooks.php
M extensions/Wikibase/client/WikibaseClient.php
M extensions/Wikibase/client/config/WikibaseClient.default.php
A extensions/Wikibase/client/i18n/ang.json
M extensions/Wikibase/client/i18n/arq.json
M extensions/Wikibase/client/i18n/as.json
M extensions/Wikibase/client/i18n/az.json
M extensions/Wikibase/client/i18n/be-tarask.json
A extensions/Wikibase/client/i18n/bho.json
M extensions/Wikibase/client/i18n/br.json
M extensions/Wikibase/client/i18n/da.json
M extensions/Wikibase/client/i18n/de.json
M extensions/Wikibase/client/i18n/fi.json
A extensions/Wikibase/client/i18n/gom-deva.json
M extensions/Wikibase/client/i18n/ka.json
M extensions/Wikibase/client/i18n/kk-cyrl.json
M extensions/Wikibase/client/i18n/krc.json
M extensions/Wikibase/client/i18n/lt.json
M extensions/Wikibase/client/i18n/lzh.json
M extensions/Wikibase/client/i18n/oc.json
M extensions/Wikibase/client/i18n/ps.json
M extensions/Wikibase/client/i18n/qqq.json
M extensions/Wikibase/client/i18n/ru.json
M extensions/Wikibase/client/i18n/sr-el.json
A extensions/Wikibase/client/i18n/tcy.json
M extensions/Wikibase/client/i18n/tt-cyrl.json
M extensions/Wikibase/client/i18n/uk.json
M extensions/Wikibase/client/i18n/zh-hant.json
M extensions/Wikibase/client/includes/Changes/ChangeHandler.php
M 
extensions/Wikibase/client/includes/DataAccess/StatementTransclusionInteractor.php
M extensions/Wikibase/client/includes/Hooks/BeforePageDisplayHandler.php
M extensions/Wikibase/client/includes/Hooks/UpdateRepoHookHandlers.php
M extensions/Wikibase/client/includes/RepoItemLinkGenerator.php
M extensions/Wikibase/client/includes/UpdateRepo/UpdateRepo.php
M extensions/Wikibase/client/includes/Usage/HashUsageAccumulator.php
M extensions/Wikibase/client/includes/Usage/ParserOutputUsageAccumulator.php
M extensions/Wikibase/client/includes/Usage/UsageAccumulator.php
M extensions/Wikibase/client/includes/scribunto/EntityAccessor.php
M extensions/Wikibase/client/includes/scribunto/Scribunto_LuaWikibaseLibrary.php
M extensions/Wikibase/client/includes/scribunto/SnakSerializationRenderer.php
M extensions/Wikibase/client/includes/scribunto/mw.wikibase.lua
A extensions/Wikibase/client/includes/store/sql/BulkSubscriptionUpdater.php
A extensions/Wikibase/client/maintenance/updateSubscriptions.php
M 
extensions/Wikibase/client/tests/phpunit/includes/DataAccess/PropertyParserFunction/LanguageAwareRendererTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/DataAccess/StatementTransclusionInteractorTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/Usage/HashUsageAccumulatorTest.php
M 
extensions/Wikibase/client/tests/phpunit/includes/Usage/UsageAccumulatorContractTester.php
M 
extensions/Wikibase/client/tests/phpunit/includes/scribunto/LuaWikibaseLibraryTests.lua
A 
extensions/Wikibase/client/tests/phpunit/includes/store/sql/BulkSubscriptionUpdaterTest.php
M extensions/Wikibase/composer.json
M extensions/Wikibase/docs/json.wiki
M extensions/Wikibase/docs/lua.wiki
M extensions/Wikibase/docs/options.wiki
A extensions/Wikibase/docs/usagetracking-migration.wiki
A extensions/Wikibase/lib/i18n/arq.json
M extensions/Wikibase/lib/i18n/as.json
M extensions/Wikibase/lib/i18n/az.json
A extensions/Wikibase/lib/i18n/bho.json
M extensions/Wikibase/lib/i18n/br.json
M extensions/Wikibase/lib/i18n/ce.json
A extensions/Wikibase/lib/i18n/gom-deva.json
M extensions/Wikibase/lib/i18n/hr.json
M extensions/Wikibase/lib/i18n/krc.json
M extensions/Wikibase/lib/i18n/lt.json
A extensions/Wikibase/lib/i18n/ne.json
M extensions/Wikibase/lib/i18n/oc.json
M extensions/Wikibase/lib/i18n/ps.json
M extensions/Wikibase/lib/i18n/qqq.json
M extensions/Wikibase/lib/i18n/qu.json
M extensions/Wikibase/lib/i18n/sr-ec.json
M extensions/Wikibase/lib/i18n/sr-el.json
M 

[MediaWiki-commits] [Gerrit] Disable failing Cucumber scenarios - change (mediawiki...UniversalLanguageSelector)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Disable failing Cucumber scenarios
..


Disable failing Cucumber scenarios

Bug: T94158
Change-Id: Ie30260efea0a7b9df7b66f89fc732848c5d289a7
---
M tests/browser/features/font_selection_default_disabled.feature
M tests/browser/features/live_preview_of_display_language.feature
2 files changed, 8 insertions(+), 4 deletions(-)

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



diff --git a/tests/browser/features/font_selection_default_disabled.feature 
b/tests/browser/features/font_selection_default_disabled.feature
index 71f9bbd..d7124c0 100644
--- a/tests/browser/features/font_selection_default_disabled.feature
+++ b/tests/browser/features/font_selection_default_disabled.feature
@@ -1,4 +1,4 @@
-@commons.wikimedia.beta.wmflabs.org @firefox @internet_explorer_10 @login 
@phantomjs
+@firefox @internet_explorer_10 @login @phantomjs
 Feature: Font selection default disabled
 
   In order to have better using experience,
@@ -37,6 +37,7 @@
   And the selected content font must be system
   And webfonts are applied to body
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading without saving the preferences
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the content language for the live 
preview
@@ -47,6 +48,7 @@
   And the active interface font must be the same as font prior to the 
preview
   And the active content font must be the same as font prior to the preview
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and saving the preferences
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the interface language for the live 
preview
@@ -54,6 +56,7 @@
 Then webfonts are applied to body
   And the interface font is OpenDyslexic
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and going to another page
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the content language for the live 
preview
@@ -62,6 +65,7 @@
 Then webfonts are applied to body
   And the content font is OpenDyslexic
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and then disabling them
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the interface language for the live 
preview
@@ -74,6 +78,7 @@
 Then a font selector for interface language doesn't appear
   And a font selector for content language doesn't appear
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and then disabling them and saving the 
preferences
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the interface language for the live 
preview
diff --git a/tests/browser/features/live_preview_of_display_language.feature 
b/tests/browser/features/live_preview_of_display_language.feature
index 084b02e..b410681 100644
--- a/tests/browser/features/live_preview_of_display_language.feature
+++ b/tests/browser/features/live_preview_of_display_language.feature
@@ -6,7 +6,6 @@
   And I have reset my preferences
   And I am at the main page
 
-  @commons.wikimedia.beta.wmflabs.org
   Scenario: Display language change is previewed immediately
 Given I open the Universal Language Selector
   And I open Display panel of language settings
@@ -15,7 +14,7 @@
   And I click on the link to select Malayalam
 Then I should see the text in the language panel in Malayalam
 
-  @clean @commons.wikimedia.beta.wmflabs.org
+  @clean
   Scenario: Live preview of display language changes can be reverted on cancel
 Given I open the Universal Language Selector
   And I open Display panel of language settings
@@ -24,7 +23,7 @@
   And I open Display panel of language settings
 Then I should see the text in the language panel in English
 
-  @clean @commons.wikimedia.beta.wmflabs.org
+  @clean
   Scenario: Live preview of display language changes can be reverted on 
closing the dialog with the X button
 Given I open the Universal Language Selector
   And I open Display panel of language settings

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie30260efea0a7b9df7b66f89fc732848c5d289a7
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Amire80 amir.ahar...@mail.huji.ac.il
Gerrit-Reviewer: Zfilipin zfili...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org

[MediaWiki-commits] [Gerrit] Fix some JS errors - change (mediawiki...ArticleFeedbackv5)

2015-03-30 Thread UltrasonicNXT (Code Review)
UltrasonicNXT has uploaded a new change for review.

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

Change subject: Fix some JS errors
..

Fix some JS errors

This line was causing JS errors, preventing some functionality.
The correct syntax for any element with the value parameter is
[value], not [value=]

Change-Id: I50dda74f2955f2101bdd27506f18d69a5d8ddd11
---
M modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ArticleFeedbackv5 
refs/changes/18/200518/1

diff --git 
a/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js 
b/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js
index afcd3f3..b66a12f 100644
--- a/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js
+++ b/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js
@@ -399,7 +399,7 @@
} );
 
// Disable the dividers
-   $( '#articleFeedbackv5-filter-select option[value=]' ).attr( 
'disabled', true );
+   $( '#articleFeedbackv5-filter-select option[value]' ).attr( 
'disabled', true );
$( '#articleFeedbackv5-filter-select option[value=X]' ).attr( 
'disabled', true );
 
// Filter links

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I50dda74f2955f2101bdd27506f18d69a5d8ddd11
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ArticleFeedbackv5
Gerrit-Branch: master
Gerrit-Owner: UltrasonicNXT adamr_car...@btinternet.com

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


[MediaWiki-commits] [Gerrit] Modify build files for 3.6.0 - change (operations...hhvm)

2015-03-30 Thread Giuseppe Lavagetto (Code Review)
Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: Modify build files for 3.6.0
..


Modify build files for 3.6.0

Change-Id: Id99227d068ac2016b6a3371732b09683282934be
---
M debian/changelog
M debian/control
M debian/rules
3 files changed, 7 insertions(+), 2 deletions(-)



diff --git a/debian/changelog b/debian/changelog
index 2a9f9a3..16d7bc0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-hhvm (3.6.0+dfsg1-1+wm1) UNRELEASED; urgency=medium
+hhvm (3.6.0+dfsg1-1+wm1) trusty-wikimedia; urgency=medium
 
   * New upstream release
   * Added WMF patch to support streaming output in FastCGI 
diff --git a/debian/control b/debian/control
index b9139fc..f15e740 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@
   cmake,
   flex,
   libboost-dev,
+  libboost-context-dev,
   libboost-filesystem-dev,
   libboost-program-options-dev,
 # Only for third-party/folly.
@@ -31,6 +32,7 @@
   libevent-dev,
   libexpat1-dev,
   libfreetype6-dev,
+  libgmp-dev,
   libgoogle-glog-dev,
   libiberty-dev,
   libiconv-hook-dev,
@@ -49,6 +51,7 @@
   libonig-dev,
   libpcre3-dev,
   libpng12-dev,
+  libre2-dev,
   libsqlite3-dev,
   libssl-dev,
   libtbb-dev,
diff --git a/debian/rules b/debian/rules
index 786819a..2648248 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,9 @@
dh_auto_configure -- \
-DUSE_JSONC=ON \
-DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2/ \
-   -DHOTPROFILER=ON \
+   -DENABLE_ASYNC_MYSQL=OFF \
+   -DENABLE_MCROUTER=OFF \
+   -DENABLE_SSP=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id99227d068ac2016b6a3371732b09683282934be
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/hhvm
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto glavage...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Disable failing Cucumber scenarios - change (mediawiki...UniversalLanguageSelector)

2015-03-30 Thread Amire80 (Code Review)
Amire80 has uploaded a new change for review.

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

Change subject: Disable failing Cucumber scenarios
..

Disable failing Cucumber scenarios

Bug: T94158
Change-Id: Ie30260efea0a7b9df7b66f89fc732848c5d289a7
---
M tests/browser/features/accept_language.feature
M tests/browser/features/font_selection_default_disabled.feature
M tests/browser/features/live_preview_of_display_language.feature
3 files changed, 9 insertions(+), 5 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/14/200514/1

diff --git a/tests/browser/features/accept_language.feature 
b/tests/browser/features/accept_language.feature
index 4290803..25b413f 100644
--- a/tests/browser/features/accept_language.feature
+++ b/tests/browser/features/accept_language.feature
@@ -1,4 +1,4 @@
-@custom-browser @firefox @internet_explorer_10 @phantomjs 
@sandbox.translatewiki.net
+@custom-browser @internet_explorer_10 @phantomjs @sandbox.translatewiki.net
 Feature: Accept-Language
 
   Scenario Outline: Accept-Language
diff --git a/tests/browser/features/font_selection_default_disabled.feature 
b/tests/browser/features/font_selection_default_disabled.feature
index 71f9bbd..d7124c0 100644
--- a/tests/browser/features/font_selection_default_disabled.feature
+++ b/tests/browser/features/font_selection_default_disabled.feature
@@ -1,4 +1,4 @@
-@commons.wikimedia.beta.wmflabs.org @firefox @internet_explorer_10 @login 
@phantomjs
+@firefox @internet_explorer_10 @login @phantomjs
 Feature: Font selection default disabled
 
   In order to have better using experience,
@@ -37,6 +37,7 @@
   And the selected content font must be system
   And webfonts are applied to body
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading without saving the preferences
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the content language for the live 
preview
@@ -47,6 +48,7 @@
   And the active interface font must be the same as font prior to the 
preview
   And the active content font must be the same as font prior to the preview
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and saving the preferences
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the interface language for the live 
preview
@@ -54,6 +56,7 @@
 Then webfonts are applied to body
   And the interface font is OpenDyslexic
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and going to another page
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the content language for the live 
preview
@@ -62,6 +65,7 @@
 Then webfonts are applied to body
   And the content font is OpenDyslexic
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and then disabling them
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the interface language for the live 
preview
@@ -74,6 +78,7 @@
 Then a font selector for interface language doesn't appear
   And a font selector for content language doesn't appear
 
+  @commons.wikimedia.beta.wmflabs.org
   Scenario: Enabling fonts downloading and then disabling them and saving the 
preferences
 When I click the checkbox to enable fonts downloading
   And I select OpenDyslexic font for the interface language for the live 
preview
diff --git a/tests/browser/features/live_preview_of_display_language.feature 
b/tests/browser/features/live_preview_of_display_language.feature
index 084b02e..b410681 100644
--- a/tests/browser/features/live_preview_of_display_language.feature
+++ b/tests/browser/features/live_preview_of_display_language.feature
@@ -6,7 +6,6 @@
   And I have reset my preferences
   And I am at the main page
 
-  @commons.wikimedia.beta.wmflabs.org
   Scenario: Display language change is previewed immediately
 Given I open the Universal Language Selector
   And I open Display panel of language settings
@@ -15,7 +14,7 @@
   And I click on the link to select Malayalam
 Then I should see the text in the language panel in Malayalam
 
-  @clean @commons.wikimedia.beta.wmflabs.org
+  @clean
   Scenario: Live preview of display language changes can be reverted on cancel
 Given I open the Universal Language Selector
   And I open Display panel of language settings
@@ -24,7 +23,7 @@
   And I open Display panel of language settings
 Then I should see the text in the language panel in English
 
-  @clean @commons.wikimedia.beta.wmflabs.org
+  @clean
   Scenario: Live preview of display language changes can be reverted on 
closing the dialog with the X button
 Given I open the Universal Language Selector
   And I 

[MediaWiki-commits] [Gerrit] Release 2.23.1: Manual merge from master - change (mediawiki...BlueSpiceExtensions)

2015-03-30 Thread Robert Vogel (Code Review)
Robert Vogel has uploaded a new change for review.

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

Change subject: Release 2.23.1: Manual merge from master
..

Release 2.23.1: Manual merge from master

This is the complete codebase as of 2015-03-16

Change-Id: Ia30a8f0db4eb289f5d84cd3a714491d45af316f1
---
M ArticleInfo/ArticleInfo.class.php
A ArticleInfo/i18n/awa.json
A ArticleInfo/i18n/bgn.json
A ArticleInfo/i18n/cv.json
M ArticleInfo/i18n/eu.json
A ArticleInfo/i18n/frr.json
M ArticleInfo/i18n/lb.json
A ArticleInfo/i18n/mai.json
A ArticleInfo/i18n/ps.json
A ArticleInfo/i18n/roa-tara.json
A ArticleInfo/i18n/uz.json
A ArticleInfo/i18n/vi.json
M ArticleInfo/i18n/zh-hant.json
M Authors/Authors.class.php
M Authors/i18n/ast.json
A Authors/i18n/eu.json
M Authors/i18n/lv.json
A Authors/i18n/vi.json
M Authors/i18n/zh-hant.json
M Authors/views/view.AuthorsUserPageProfileImageSetting.php
M Avatars/Avatars.class.php
A Avatars/i18n/bgn.json
A Avatars/i18n/cv.json
M Avatars/i18n/roa-tara.json
A Avatars/i18n/vi.json
M Blog/Blog.class.php
A Blog/i18n/bho.json
M Blog/i18n/de.json
M Blog/i18n/en.json
M Blog/i18n/es.json
M Blog/i18n/eu.json
M Blog/i18n/fr.json
M Blog/i18n/gl.json
A Blog/i18n/ksh.json
M Blog/i18n/lb.json
M Blog/i18n/mk.json
M Blog/i18n/qqq.json
A Blog/i18n/roa-tara.json
A Blog/i18n/tl.json
A Blog/i18n/vi.json
M Blog/i18n/zh-hans.json
M Blog/resources/bluespice.blog.css
M BlueSpiceProjectFeedbackHelper/BlueSpiceProjectFeedbackHelper.class.php
M CSyntaxHighlight/CSyntaxHighlight.class.php
A CSyntaxHighlight/i18n/cv.json
A CSyntaxHighlight/i18n/roa-tara.json
M Checklist/Checklist.class.php
M Checklist/i18n/de.json
M Checklist/i18n/es.json
M Checklist/i18n/eu.json
M Checklist/i18n/fa.json
M Checklist/i18n/gl.json
A Checklist/i18n/ps.json
A Checklist/i18n/roa-tara.json
M Checklist/i18n/sv.json
A Checklist/i18n/vi.json
M Checklist/i18n/zh-hant.json
M ContextMenu/ContextMenu.class.php
A ContextMenu/i18n/az.json
A ContextMenu/i18n/bgn.json
M ContextMenu/i18n/fa.json
A ContextMenu/i18n/ms.json
A ContextMenu/i18n/roa-tara.json
M ContextMenu/i18n/zh-hant.json
M CountThings/CountThings.class.php
M CountThings/i18n/de.json
A CountThings/i18n/roa-tara.json
M Dashboards/Dashboards.class.php
A Dashboards/i18n/roa-tara.json
M Emoticons/Emoticons.class.php
M Emoticons/i18n/fa.json
M Emoticons/i18n/id.json
A Emoticons/i18n/ksh.json
A Emoticons/i18n/pt.json
A Emoticons/i18n/roa-tara.json
M ExtendedEditBar/ExtendedEditBar.class.php
M ExtendedEditBar/i18n/ce.json
M ExtendedEditBar/i18n/eu.json
A ExtendedEditBar/i18n/roa-tara.json
M ExtendedSearch/ExtendedSearch.class.php
M ExtendedSearch/api/ApiFeedExtendedSearch.php
A ExtendedSearch/i18n/bgn.json
M ExtendedSearch/i18n/ce.json
A ExtendedSearch/i18n/cv.json
M ExtendedSearch/i18n/eu.json
M ExtendedSearch/i18n/gl.json
A ExtendedSearch/i18n/krc.json
A ExtendedSearch/i18n/ksh.json
M ExtendedSearch/i18n/lb.json
A ExtendedSearch/i18n/ps.json
M ExtendedSearch/i18n/pt.json
A ExtendedSearch/i18n/roa-tara.json
M ExtendedSearch/i18n/sv.json
M ExtensionInfo/ExtensionInfo.class.php
A ExtensionInfo/i18n/bgn.json
M ExtensionInfo/i18n/de.json
A ExtensionInfo/i18n/jbo.json
A ExtensionInfo/i18n/roa-tara.json
M ExtensionInfo/i18n/zh-hans.json
M ExtensionInfo/includes/ViewExtensionInfoTable.php
M ExtensionInfo/resources/BS.ExtensionInfo/Panel.js
M Flexiskin/Flexiskin.class.php
A Flexiskin/i18n/bgn.json
A Flexiskin/i18n/cv.json
A Flexiskin/i18n/eu.json
M Flexiskin/i18n/qqq.json
A Flexiskin/i18n/roa-tara.json
M Flexiskin/i18n/zh-hant.json
R Flexiskin/resources/BS.Flexiskin/Menuitems/General.js
R Flexiskin/resources/BS.Flexiskin/Menuitems/Header.js
R Flexiskin/resources/BS.Flexiskin/Menuitems/Position.js
M Flexiskin/resources/BS.Flexiskin/PreviewMenu.js
D Flexiskin/resources/BS.Flexiskin/menu/BaseItem.js
M FormattingHelp/FormattingHelp.class.php
A FormattingHelp/i18n/cv.json
A FormattingHelp/i18n/eu.json
A FormattingHelp/i18n/ksh.json
M FormattingHelp/i18n/zh-hant.json
M GroupManager/GroupManager.class.php
A GroupManager/i18n/bgn.json
M GroupManager/i18n/de.json
A GroupManager/i18n/eu.json
M GroupManager/i18n/gl.json
M HideTitle/HideTitle.class.php
M HideTitle/i18n/fa.json
A HideTitle/i18n/gl.json
A HideTitle/i18n/roa-tara.json
M InsertCategory/InsertCategory.class.php
A InsertCategory/i18n/bgn.json
A InsertCategory/i18n/cv.json
A InsertCategory/i18n/eu.json
A InsertCategory/i18n/gl.json
A InsertCategory/i18n/ksh.json
M InsertCategory/i18n/oc.json
A InsertCategory/i18n/roa-tara.json
M InsertFile/InsertFile.class.php
M InsertFile/InsertFile.setup.php
A InsertFile/i18n/bgn.json
A InsertFile/i18n/bs.json
M InsertFile/i18n/en.json
A InsertFile/i18n/eu.json
A InsertFile/i18n/frc.json
A InsertFile/i18n/gl.json
A InsertFile/i18n/ka.json
M InsertFile/i18n/lb.json
A InsertFile/i18n/ps.json
A InsertFile/i18n/roa-tara.json
A InsertFile/i18n/si.json
A InsertFile/i18n/ur.json
A InsertFile/i18n/yi.json
M InsertFile/i18n/zh-hant.json
M 

[MediaWiki-commits] [Gerrit] Add forward DNS for schleifenbauer (esams) - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: Add forward DNS for schleifenbauer (esams)
..


Add forward DNS for schleifenbauer (esams)

(we already had the reverse)

Change-Id: I1af905a5b48c74ab37183ad6b408166d118046b8
---
M templates/wmnet
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/templates/wmnet b/templates/wmnet
index a9779e9..eb31811 100644
--- a/templates/wmnet
+++ b/templates/wmnet
@@ -3395,6 +3395,7 @@
 lvs3004 1H  IN A10.21.0.150
 scs1-esams  1H  IN A10.21.0.210
 msw-oe12-esams  1H  IN A10.21.0.249
+schleifenbauer  1H  IN A10.21.0.253
 
 ;
 ; ULSFO MGMT

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1af905a5b48c74ab37183ad6b408166d118046b8
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] ntp.esams - maerlant - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: ntp.esams - maerlant
..


ntp.esams - maerlant

Change-Id: I6043b6ae7898957f6273d630196d85df885c5460
---
M templates/wikimedia.org
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index b4570f8..3ae096f 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -732,7 +732,7 @@
 puppet  1H  IN CNAMEpalladium.eqiad.wmnet.
 recursor0   1H  IN A91.198.174.216  ; esams LVS (dns-rec-lb)
 recursor1   1H  IN A208.80.154.239  ; eqiad LVS (dns-rec-lb)
-ntp 1H  IN CNAMEnescio
+ntp 1H  IN CNAMEmaerlant.wikimedia.org.
 
 ; Servers
 ; FIXME: these stay under .esams.wikimedia.org until they get reprovisioned

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6043b6ae7898957f6273d630196d85df885c5460
Gerrit-PatchSet: 2
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Fix focus on value field on property select - change (mediawiki...Wikibase)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Fix focus on value field on property select
..


Fix focus on value field on property select

With I6e694dd and possibly other recent snakview changes, keydown
event now occurs after entityselectorselected. This meant that
_tabToValueView is not set yet when entityselectorselected
is executed and focus is never then set to the value input.

I suppose perhaps this worked before because this check and
the focus happened inside self.options.entityStore.get( entityId ).done
so the timing worked.

This allows focus to be set on tab or enter keydown or select.

Bug: T93864
Change-Id: Id386edf0942f2378c11e24528a2957316099c91b
---
M lib/resources/jquery.wikibase/snakview/snakview.js
1 file changed, 39 insertions(+), 53 deletions(-)

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



diff --git a/lib/resources/jquery.wikibase/snakview/snakview.js 
b/lib/resources/jquery.wikibase/snakview/snakview.js
index d4ceb37..c870021 100644
--- a/lib/resources/jquery.wikibase/snakview/snakview.js
+++ b/lib/resources/jquery.wikibase/snakview/snakview.js
@@ -121,14 +121,6 @@
_isInEditMode: false,
 
/**
-* Caching whether to move the focus from the `Property` input to the 
value input after pressing
-* the TAB key.
-* @property {boolean}
-* @private
-*/
-   _tabToValueView: false,
-
-   /**
 * Whether then `snakview`'s value is regarded valid at the moment.
 * @property {boolean}
 * @private
@@ -247,9 +239,6 @@
type: 'property'
} )
.prop( 'placeholder', mw.msg( 
'wikibase-snakview-property-input-placeholder' ) )
-   .on( 'blur', function( event ) {
-   self._tabToValueView = false;
-   } )
.on( 'eachchange', function( event, oldValue ) {
// remove out-dated variations
if( self._variation ) {
@@ -259,27 +248,47 @@
self._trigger( 'change' );
}
} )
-   .on( 'entityselectorselected', function( e, entityId ) {
-   // Display spinner as long as the ValueView is loading:
-   self.$snakValue.empty().append(
-   $( 'div/' ).append( $( 'span/' ).addClass( 
'mw-small-spinner' ) )
-   );
-
-   self.updateVariation();
-   self.drawSnakTypeSelector();
-   self.drawVariation();
-
-   self._trigger( 'change' );
-
-   // Since it takes a while for the value view to gather 
its data from the API,
-   // the property might not be valid anymore aborting the 
rendering of the value
-   // view.
-   if( self._tabToValueView  self._variation ) {
-   $( self._variation ).one( 'afterdraw', 
function() {
-   self._variation.focus();
-   } );
+   .on( 'keydown', function( event ) {
+   // When pressing TAB, ENTER or clicking in the property 
input element while the value
+   // input element does not yet exist, we assume that the 
user wants to
+   // auto-complete/select the currently suggested 
property and tab into the value
+   // element. Since the API needs to be queried to 
construct the correct value input,
+   // the intended action needs to be cached and triggered 
as soon as the value input
+   // has been created.
+   if ( event.keyCode === $.ui.keyCode.TAB || 
event.keyCode === $.ui.keyCode.ENTER ) {
+   self._selectProperty();
}
+   } )
+   .on( 'entityselectorselected', function( event, entityId ) {
+   self._selectProperty();
} );
+   },
+
+   /**
+* @private
+*/
+   _selectProperty: function() {
+   var self = this;
+
+   // Display spinner as long as the ValueView is loading:
+   this.$snakValue.empty().append(
+   $( 'div/' ).append( $( 'span/' ).addClass( 
'mw-small-spinner' ) )
+   );
+
+   this.updateVariation();
+   this.drawSnakTypeSelector();
+   this.drawVariation();
+
+   this._trigger( 'change' );
+
+   // Since it takes a while for the value view to gather its data 
from the API,
+   // the property might not be valid anymore aborting the 
rendering of the value
+  

[MediaWiki-commits] [Gerrit] lvs: fix IP for eqiad's dns_rec6 - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: lvs: fix IP for eqiad's dns_rec6
..


lvs: fix IP for eqiad's dns_rec6

eqiad was using an IPv6 presumably from the old LVS range. That
particular IP had no forward nor reverse DNS.

Switch to the newly-allocated IPv6 for dns-rec-lb , cf. I7955cc7.

Change-Id: Iddbc7cb7924c47ee83eeb0b7543beddd7c570218
---
M modules/lvs/manifests/configuration.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/lvs/manifests/configuration.pp 
b/modules/lvs/manifests/configuration.pp
index d2534a6..6871947 100644
--- a/modules/lvs/manifests/configuration.pp
+++ b/modules/lvs/manifests/configuration.pp
@@ -143,7 +143,7 @@
 'codfw' = 10.2.1.27,
 },
 'dns_rec' = {
-'eqiad' = { 'dns_rec' = 208.80.154.239, 'dns_rec6' = 
2620:0:861:ed1a::f },
+'eqiad' = { 'dns_rec' = 208.80.154.239, 'dns_rec6' = 
2620:0:861:ed1a::3:fe },
 'codfw' = { 'dns_rec' = 208.80.153.254, 'dns_rec6' = 
2620:0:860:ed1a::3:fe },
 },
 'osm' = {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iddbc7cb7924c47ee83eeb0b7543beddd7c570218
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Enable ContentTranslation in bg, fr, mk, sl and sv - change (operations/mediawiki-config)

2015-03-30 Thread KartikMistry (Code Review)
KartikMistry has uploaded a new change for review.

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

Change subject: Enable ContentTranslation in bg, fr, mk, sl and sv
..

Enable ContentTranslation in bg, fr, mk, sl and sv

Bug: T89936 T91836
Change-Id: I7807cab72a65b158221fcf35280e5f38dc4984da
---
M wmf-config/InitialiseSettings.php
1 file changed, 5 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 61b7de5..83718ed 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -14275,19 +14275,24 @@
 
 'wmgUseContentTranslation' = array(
'default' = false,
+   'bgwiki' = true,
'cawiki' = true,
'dawiki' = true,
'eowiki' = true,
'eswiki' = true,
'idwiki' = true,
+   'frwiki' = true,
'knwiki' = true,
'kywiki' = true,
'minwiki' = true,
+   'mkwiki' = true,
'mswiki' = true,
'nnwiki' = true,
'nowiki' = true,
'pawiki' = true,
'ptwiki' = true,
+   'shwiki' = true,
+   'slwiki' = true,
'svwiki' = true,
'ukwiki' = true,
'uzwiki' = true,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7807cab72a65b158221fcf35280e5f38dc4984da
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com

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


[MediaWiki-commits] [Gerrit] CX: Enable ContentTranslation for bg, fr, mk, sh, sl pairs - change (operations/puppet)

2015-03-30 Thread KartikMistry (Code Review)
KartikMistry has uploaded a new change for review.

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

Change subject: CX: Enable ContentTranslation for bg, fr, mk, sh, sl pairs
..

CX: Enable ContentTranslation for bg, fr, mk, sh, sl pairs

Also enable MT as requested.

Bug: T89936 T91836
Change-Id: Ic4bc6de19f5a5c9858ba2e201efd351628b8d0ee
---
M hieradata/common/cxserver.yaml
1 file changed, 20 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/33/200533/1

diff --git a/hieradata/common/cxserver.yaml b/hieradata/common/cxserver.yaml
index 0c02e87..77ef2ee 100644
--- a/hieradata/common/cxserver.yaml
+++ b/hieradata/common/cxserver.yaml
@@ -1,16 +1,19 @@
 registry:
   source:
+- 'bg'
 - 'ca'
 - 'da'
 - 'en'
 - 'eo'
 - 'es'
 - 'de'
+- 'fr'
 - 'id'
 - 'kn'
 - 'ky'
 - 'kz'
 - 'min'
+- 'mk'
 - 'ms'
 - 'nn'
 - 'no'
@@ -18,28 +21,37 @@
 - 'pl'
 - 'pt'
 - 'ru'
+- 'sl'
+- 'sh'
 - 'sv'
 - 'tr'
 - 'uk'
 - 'uz'
   target:
+- 'bg'
 - 'ca'
 - 'da'
 - 'eo'
 - 'es'
 - 'id'
+- 'fr'
 - 'kn'
 - 'ky'
 - 'min'
+- 'mk'
 - 'ms'
 - 'nn'
 - 'no'
 - 'pa'
 - 'pt'
+- 'sh'
+- 'sl'
 - 'uk'
 - 'uz'
   mt:
 Apertium:
+  'bg':
+- 'mk'
   'ca':
 - 'es'
 - 'pt'
@@ -47,11 +59,15 @@
 - 'ca'
 - 'eo'
 - 'es'
+- 'sh'
   'es':
 - 'ca'
 - 'pt'
   'id':
 - 'ms'
+  'mk':
+- 'bg'
+- 'sh'
   'ms':
 - 'id'
   'nn':
@@ -61,6 +77,10 @@
   'pt':
 - 'es'
 - 'ca'
+  'sh':
+- 'sl'
+  'sl':
+- 'sh'
   dictionary:
 JsonDict:
   'ca':

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4bc6de19f5a5c9858ba2e201efd351628b8d0ee
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com

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


[MediaWiki-commits] [Gerrit] Update version before MLEB release - change (mediawiki...Translate)

2015-03-30 Thread KartikMistry (Code Review)
KartikMistry has uploaded a new change for review.

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

Change subject: Update version before MLEB release
..

Update version before MLEB release

Change-Id: I48873859ef3bec133e734baade237512b17a5e5c
---
M Translate.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/Translate.php b/Translate.php
index eae4258..0a2a6c2 100644
--- a/Translate.php
+++ b/Translate.php
@@ -17,7 +17,7 @@
 /**
  * Version number used in extension credits and in other places where needed.
  */
-define( 'TRANSLATE_VERSION', '2015-02-27' );
+define( 'TRANSLATE_VERSION', '2015-03-30' );
 
 /**
  * Extension credits properties.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I48873859ef3bec133e734baade237512b17a5e5c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com

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


[MediaWiki-commits] [Gerrit] Add forward DNS for schleifenbauer (esams) - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: Add forward DNS for schleifenbauer (esams)
..

Add forward DNS for schleifenbauer (esams)

(we already had the reverse)

Change-Id: I1af905a5b48c74ab37183ad6b408166d118046b8
---
M templates/wmnet
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/dns 
refs/changes/50/200550/1

diff --git a/templates/wmnet b/templates/wmnet
index a9779e9..eb31811 100644
--- a/templates/wmnet
+++ b/templates/wmnet
@@ -3395,6 +3395,7 @@
 lvs3004 1H  IN A10.21.0.150
 scs1-esams  1H  IN A10.21.0.210
 msw-oe12-esams  1H  IN A10.21.0.249
+schleifenbauer  1H  IN A10.21.0.253
 
 ;
 ; ULSFO MGMT

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1af905a5b48c74ab37183ad6b408166d118046b8
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Update RuboCop and .rubocop.yml - change (mediawiki...api)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Update RuboCop and .rubocop.yml
..

Update RuboCop and .rubocop.yml

As recommended at
https://www.mediawiki.org/wiki/Repositories_with_Ruby_code

Bug: T94400
Change-Id: Ia2e78e527d4d1a486c17ea8141fce815efe3ae9b
---
M .rubocop.yml
M mediawiki_api.gemspec
2 files changed, 9 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/ruby/api 
refs/changes/51/200551/1

diff --git a/.rubocop.yml b/.rubocop.yml
index 3e8b0f7..ab49de5 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,23 +1,8 @@
-Metrics/AbcSize:
-  Enabled: false
-
-Metrics/ClassLength:
-  Enabled: false
-
-Metrics/MethodLength:
-  Enabled: false
-
-Metrics/ParameterLists:
-  Enabled: false
+AllCops:
+  StyleGuideCopsOnly: true
 
 Metrics/LineLength:
   Max: 100
-
-Metrics/CyclomaticComplexity:
-  Enabled: false
-
-Metrics/PerceivedComplexity:
-  Enabled: false
 
 Metrics/MethodLength:
   Enabled: false
@@ -26,8 +11,13 @@
   Enabled: false
 
 Style/DotPosition:
-  Enabled: true
   EnforcedStyle: trailing
 
 Style/SignalException:
   Enabled: false
+
+Style/StringLiterals:
+  EnforcedStyle: single_quotes
+
+Style/TrivialAccessors:
+  ExactNameMatch: true
diff --git a/mediawiki_api.gemspec b/mediawiki_api.gemspec
index 39b21d7..152b311 100644
--- a/mediawiki_api.gemspec
+++ b/mediawiki_api.gemspec
@@ -30,7 +30,7 @@
   spec.add_development_dependency 'bundler', '~ 1.3'
   spec.add_development_dependency 'rake', '~ 0'
   spec.add_development_dependency 'rspec', '~ 3.0', '= 3.0.0'
-  spec.add_development_dependency 'rubocop', '~ 0.26.1'
+  spec.add_development_dependency 'rubocop', '~ 0.29.1'
   spec.add_development_dependency 'webmock', '~ 1.17', '= 1.17.2'
   spec.add_development_dependency 'redcarpet'
   spec.add_development_dependency 'yard'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia2e78e527d4d1a486c17ea8141fce815efe3ae9b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/ruby/api
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Stop pinning jobrunner version with Puppet - change (mediawiki/vagrant)

2015-03-30 Thread Mobrovac (Code Review)
Mobrovac has submitted this change and it was merged.

Change subject: Stop pinning jobrunner version with Puppet
..


Stop pinning jobrunner version with Puppet

Allow jobrunner to clone at the latest HEAD and don't reset it to a fix
hash when Puppet is run. The `vagrant git-update` command already
updates jobrunner, but the pinned version made it toggle back and forth
between HEAD and 5c927f90.

Bug: T92345
Change-Id: Ia69f2135094871d8ebfcdb6df35fff53d4772b0d
---
M puppet/hieradata/common.yaml
M puppet/modules/git/manifests/clone.pp
M puppet/modules/mediawiki/manifests/jobrunner.pp
3 files changed, 15 insertions(+), 16 deletions(-)

Approvals:
  Mobrovac: Looks good to me, approved



diff --git a/puppet/hieradata/common.yaml b/puppet/hieradata/common.yaml
index 84bc0b4..de507ab 100644
--- a/puppet/hieradata/common.yaml
+++ b/puppet/hieradata/common.yaml
@@ -150,8 +150,6 @@
 
 mediawiki::apache::docroot: %{hiera('apache::docroot')}
 
-mediawiki::jobrunner::commit: 5c927f9091f446452b9fd7bcb69614c7a7fe6eff
-
 mediawiki::multiwiki::base_domain: '.wiki.local.wmftest.net'
 mediawiki::multiwiki::script_dir: %{hiera('mediawiki::apache::docroot')}/w
 mediawiki::multiwiki::settings_root: 
%{hiera('mediawiki::settings_dir')}/wikis
diff --git a/puppet/modules/git/manifests/clone.pp 
b/puppet/modules/git/manifests/clone.pp
index 95c7a97..7c55b8d 100644
--- a/puppet/modules/git/manifests/clone.pp
+++ b/puppet/modules/git/manifests/clone.pp
@@ -19,10 +19,10 @@
 # [*owner*]
 #   User that should own the checked out repository. Git commands will run as
 #   this user so the user must have the ability to create the target
-#   directory. Default 'vagrant'.
+#   directory. Default $::share_owner.
 #
 # [*group*]
-#   Group that should own the checked out repostory. Default 'vagrant'.
+#   Group that should own the checked out repostory. Default $::share_group.
 #
 # [*ensure*]
 #   What state the clone should be in. Valid values are `present` and
@@ -48,8 +48,8 @@
 $directory,
 $branch = undef,
 $remote = undef,
-$owner  = 'vagrant',
-$group  = 'vagrant',
+$owner  = $::share_owner,
+$group  = $::share_group,
 $ensure = 'present',
 $depth  = $::git::default_depth,
 $recurse_submodules = true,
@@ -88,6 +88,15 @@
 timeout = 0,
 }
 
+if (!defined(File[$directory])) {
+file { $directory:
+ensure = 'directory',
+owner  = $owner,
+group  = $group,
+before = Exec[git_clone_${title}],
+}
+}
+
 if $ensure == 'latest' {
 exec { git_pull_${title}:
 command  = git pull ${arg_recurse} ${arg_depth},
diff --git a/puppet/modules/mediawiki/manifests/jobrunner.pp 
b/puppet/modules/mediawiki/manifests/jobrunner.pp
index 7e9fef6..adbb105 100644
--- a/puppet/modules/mediawiki/manifests/jobrunner.pp
+++ b/puppet/modules/mediawiki/manifests/jobrunner.pp
@@ -3,20 +3,12 @@
 # jobrunner continuously processes the MediaWiki job queue by dispatching
 # workers to perform tasks and monitoring their success or failure.
 #
-# === Parameters
-#
-# [*commit*]
-#   Git commit to install.
-#
-class mediawiki::jobrunner(
-$commit,
-) {
+class mediawiki::jobrunner {
 include ::mediawiki
 require ::mediawiki::multiwiki
 
-git::install { 'mediawiki/services/jobrunner':
+git::clone { 'mediawiki/services/jobrunner':
 directory = '/srv/jobrunner',
-commit= $commit,
 before= Service['jobrunner'],
 }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia69f2135094871d8ebfcdb6df35fff53d4772b0d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: BryanDavis bda...@wikimedia.org
Gerrit-Reviewer: Aaron Schulz asch...@wikimedia.org
Gerrit-Reviewer: Dduvall dduv...@wikimedia.org
Gerrit-Reviewer: Mobrovac mobro...@wikimedia.org
Gerrit-Reviewer: Ori.livneh o...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Fixed Style/SpaceAfterColon RuboCop offense - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Fixed Style/SpaceAfterColon RuboCop offense
..

Fixed Style/SpaceAfterColon RuboCop offense

Bug: T94401
Change-Id: I501f1eebff5696e9c1d14cd60c36882b6f3de748
---
M .rubocop_todo.yml
M tests/browser/features/support/pages/special_central_auth.rb
2 files changed, 1 insertion(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/61/200561/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 2c9a90b..bee5987 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -5,11 +5,6 @@
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
-# Offense count: 1
-# Cop supports --auto-correct.
-Style/SpaceAfterColon:
-  Enabled: false
-
 # Offense count: 2
 # Cop supports --auto-correct.
 Style/SpaceInsideParens:
diff --git a/tests/browser/features/support/pages/special_central_auth.rb 
b/tests/browser/features/support/pages/special_central_auth.rb
index 780e2b2..e5a39df 100644
--- a/tests/browser/features/support/pages/special_central_auth.rb
+++ b/tests/browser/features/support/pages/special_central_auth.rb
@@ -6,7 +6,7 @@
   text_field(:target_field, id: 'target')
   div(:error_box, class: 'error')
   button(:submit, id: 'centralauth-submit-find')
-  fieldset(:centralauth_info, id:'mw-centralauth-info')
+  fieldset(:centralauth_info, id: 'mw-centralauth-info')
 
   def lookup_user( username )
 target_field_element.when_present.send_keys(username)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I501f1eebff5696e9c1d14cd60c36882b6f3de748
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fixed Style/SpaceInsideParens RuboCop offense - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Fixed Style/SpaceInsideParens RuboCop offense
..

Fixed Style/SpaceInsideParens RuboCop offense

Bug: T94401
Change-Id: I3387923b6ff82706c37d806837767461c39b5352
---
M .rubocop.yml
D .rubocop_todo.yml
M tests/browser/features/support/pages/special_central_auth.rb
3 files changed, 1 insertion(+), 14 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/62/200562/1

diff --git a/.rubocop.yml b/.rubocop.yml
index 75f3c65..c935388 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,5 +1,3 @@
-inherit_from: .rubocop_todo.yml
-
 AllCops:
   StyleGuideCopsOnly: true
 
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
deleted file mode 100644
index bee5987..000
--- a/.rubocop_todo.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# This configuration was generated by `rubocop --auto-gen-config`
-# on 2015-03-30 15:00:57 +0200 using RuboCop version 0.29.1.
-# The point is for the user to remove these configuration records
-# one by one as the offenses are removed from the code base.
-# Note that changes in the inspected code, or installation of new
-# versions of RuboCop, may require this file to be generated again.
-
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/SpaceInsideParens:
-  Enabled: false
diff --git a/tests/browser/features/support/pages/special_central_auth.rb 
b/tests/browser/features/support/pages/special_central_auth.rb
index e5a39df..cbd4068 100644
--- a/tests/browser/features/support/pages/special_central_auth.rb
+++ b/tests/browser/features/support/pages/special_central_auth.rb
@@ -8,7 +8,7 @@
   button(:submit, id: 'centralauth-submit-find')
   fieldset(:centralauth_info, id: 'mw-centralauth-info')
 
-  def lookup_user( username )
+  def lookup_user(username)
 target_field_element.when_present.send_keys(username)
 submit_element.when_present.click
   end

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3387923b6ff82706c37d806837767461c39b5352
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Update Ruby gems - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Update Ruby gems
..

Update Ruby gems

RuboCop needed to be updated:

$ bundle exec rubocop
warning: you are loading parser/ruby22 from
/usr/local/lib/ruby/gems/2.2.0/gems/parser-2.2.0.pre.4/lib/parser/curren
t.rb:36:in `require'.
warning: Ruby 2.2 is not released yet and parser support may be
incomplete.
Warning: unrecognized parameter AllCops:StyleGuideCopsOnly found in
mediawiki/extensions/CentralAuth/.rubocop.yml
Inspecting 5 files
.

5 files inspected, no offenses detected

Bug: T94401
Change-Id: Iffc8835bbb4af657b0e38d574f869334ca001f9d
---
M Gemfile.lock
1 file changed, 16 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/55/200555/1

diff --git a/Gemfile.lock b/Gemfile.lock
index 7702f41..142cf96 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -26,7 +26,7 @@
 faraday-cookie_jar (0.0.6)
   faraday (= 0.7.4)
   http-cookie (~ 1.0.0)
-ffi (1.9.6)
+ffi (1.9.8)
 gherkin (2.12.2)
   multi_json (~ 1.3)
 headless (1.0.2)
@@ -34,10 +34,10 @@
   domain_name (~ 0.5)
 i18n (0.7.0)
 json (1.8.2)
-mediawiki_api (0.3.0)
+mediawiki_api (0.3.1)
   faraday (~ 0.9, = 0.9.0)
   faraday-cookie_jar (~ 0.0, = 0.0.6)
-mediawiki_selenium (1.0.0.pre.2)
+mediawiki_selenium (1.0.2)
   cucumber (~ 1.3, = 1.3.10)
   headless (~ 1.0, = 1.0.1)
   json (~ 1.8, = 1.8.1)
@@ -48,47 +48,46 @@
   syntax (~ 1.2, = 1.2.0)
   thor (~ 0.19, = 0.19.1)
 mime-types (2.4.3)
-multi_json (1.10.1)
+multi_json (1.11.0)
 multi_test (0.1.2)
 multipart-post (2.0.0)
-netrc (0.10.2)
+netrc (0.10.3)
 page-object (1.0.3)
   page_navigation (= 0.9)
   selenium-webdriver (= 2.44.0)
   watir-webdriver (= 0.6.11)
 page_navigation (0.9)
   data_magic (= 0.14)
-parser (2.2.0.pre.4)
+parser (2.2.0.3)
   ast (= 1.1,  3.0)
-  slop (~ 3.4, = 3.4.5)
-powerpack (0.0.9)
+powerpack (0.1.0)
 rainbow (2.0.0)
-rest-client (1.7.2)
+rest-client (1.8.0)
+  http-cookie (= 1.0.2,  2.0)
   mime-types (= 1.16,  3.0)
   netrc (~ 0.7)
 rspec-expectations (2.99.2)
   diff-lcs (= 1.1.3,  2.0)
-rubocop (0.26.1)
+rubocop (0.29.1)
   astrolabe (~ 1.3)
-  parser (= 2.2.0.pre.4,  3.0)
-  powerpack (~ 0.0.6)
+  parser (= 2.2.0.1,  3.0)
+  powerpack (~ 0.1)
   rainbow (= 1.99.1,  3.0)
   ruby-progressbar (~ 1.4)
-ruby-progressbar (1.6.0)
+ruby-progressbar (1.7.5)
 rubyzip (1.1.7)
-selenium-webdriver (2.44.0)
+selenium-webdriver (2.45.0)
   childprocess (~ 0.5)
   multi_json (~ 1.0)
   rubyzip (~ 1.0)
   websocket (~ 1.0)
-slop (3.6.0)
 syntax (1.2.0)
 thor (0.19.1)
 unf (0.1.4)
   unf_ext
 unf_ext (0.0.6)
-watir-webdriver (0.6.11)
-  selenium-webdriver (= 2.18.0)
+watir-webdriver (0.7.0)
+  selenium-webdriver (= 2.45)
 websocket (1.2.1)
 yml_reader (0.5)
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iffc8835bbb4af657b0e38d574f869334ca001f9d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fixed Style/AlignParameters RuboCop offense - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Fixed Style/AlignParameters RuboCop offense
..

Fixed Style/AlignParameters RuboCop offense

Bug: T94401
Change-Id: Ia3ae40105f7327b58eb8ce00304e6257a2a0c06c
---
M .rubocop_todo.yml
M tests/browser/features/step_definitions/login_steps.rb
2 files changed, 1 insertion(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/58/200558/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 5adedaa..1c8eced 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -5,12 +5,6 @@
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
-# Offense count: 1
-# Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
-Style/AlignParameters:
-  Enabled: false
-
 # Offense count: 2
 # Cop supports --auto-correct.
 Style/LeadingCommentSpace:
diff --git a/tests/browser/features/step_definitions/login_steps.rb 
b/tests/browser/features/step_definitions/login_steps.rb
index f2cbde8..3acad22 100644
--- a/tests/browser/features/step_definitions/login_steps.rb
+++ b/tests/browser/features/step_definitions/login_steps.rb
@@ -1,6 +1,6 @@
 Given(/^I am using a global account$/) do
   expect(api.meta('globaluserinfo').data).to_not include('missing'),
-'the current acccount is not global'
+ 'the current acccount is not 
global'
 end
 
 Given(/^I am logged in to the primary wiki domain$/) do

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia3ae40105f7327b58eb8ce00304e6257a2a0c06c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fixed Style/RedundantSelf RuboCop offense - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Fixed Style/RedundantSelf RuboCop offense
..

Fixed Style/RedundantSelf RuboCop offense

Bug: T94401
Change-Id: I31552604b183b631d2f2c73649e2f729e0d4d538
---
M .rubocop_todo.yml
M tests/browser/features/support/pages/special_central_auth.rb
2 files changed, 1 insertion(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/60/200560/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 25dc7f8..2c9a90b 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -7,11 +7,6 @@
 
 # Offense count: 1
 # Cop supports --auto-correct.
-Style/RedundantSelf:
-  Enabled: false
-
-# Offense count: 1
-# Cop supports --auto-correct.
 Style/SpaceAfterColon:
   Enabled: false
 
diff --git a/tests/browser/features/support/pages/special_central_auth.rb 
b/tests/browser/features/support/pages/special_central_auth.rb
index 91e9562..780e2b2 100644
--- a/tests/browser/features/support/pages/special_central_auth.rb
+++ b/tests/browser/features/support/pages/special_central_auth.rb
@@ -9,7 +9,7 @@
   fieldset(:centralauth_info, id:'mw-centralauth-info')
 
   def lookup_user( username )
-self.target_field_element.when_present.send_keys(username)
+target_field_element.when_present.send_keys(username)
 submit_element.when_present.click
   end
 end

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I31552604b183b631d2f2c73649e2f729e0d4d538
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] give maerlant some NTP upstreams - change (operations/puppet)

2015-03-30 Thread BBlack (Code Review)
BBlack has uploaded a new change for review.

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

Change subject: give maerlant some NTP upstreams
..

give maerlant some NTP upstreams

Change-Id: I7f8c649e43dd265d62d4f1499dc18a8d1b025b43
---
M manifests/role/ntp.pp
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/63/200563/1

diff --git a/manifests/role/ntp.pp b/manifests/role/ntp.pp
index dd8c8de..24877a6 100644
--- a/manifests/role/ntp.pp
+++ b/manifests/role/ntp.pp
@@ -66,6 +66,12 @@
 'tick.jpunix.net',
 'ntp-1.zeroloop.net',
 ],
+'maerlant.wikimedia.org' = [
+'ntp2.proserve.nl',
+'ntp2.stygium.net',
+'tick.jpunix.net',
+'ntp2.roethof.net',
+],
 }
 
 # This maps the servers that regular clients use

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7f8c649e43dd265d62d4f1499dc18a8d1b025b43
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack bbl...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Release 2.23.1: Manual merge from master - change (mediawiki...BlueSpiceSkin)

2015-03-30 Thread Robert Vogel (Code Review)
Robert Vogel has uploaded a new change for review.

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

Change subject: Release 2.23.1: Manual merge from master
..

Release 2.23.1: Manual merge from master

This is the complete codebase as of 2015-03-16

Change-Id: I7be6941aabdff5646f3c52acbfa2889c5d19840a
---
A i18n/ar.json
M i18n/av.json
A i18n/bs.json
A i18n/cs.json
A i18n/eu.json
A i18n/fi.json
A i18n/frc.json
A i18n/gl.json
A i18n/hi.json
A i18n/ko.json
M i18n/nb.json
A i18n/oc.json
A i18n/ps.json
A i18n/szl.json
M resources/components/extension.widgetbar.less
M resources/components/skin.content.less
M resources/components/skin.menuTop.less
17 files changed, 143 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/BlueSpiceSkin 
refs/changes/45/200545/1

diff --git a/i18n/ar.json b/i18n/ar.json
new file mode 100644
index 000..4f626c5
--- /dev/null
+++ b/i18n/ar.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   Khaled
+   ]
+   },
+   bluespiceskin-desc: تصميم أضافة بلوسبايس,
+   bs-tools-widgets-headline: برمجيات صغيرة,
+   bs-tools-button: المزيد,
+   bs-title-actions-print-text: أطبع,
+   bs-title-actions-print-title: أعرض الصفحة القابلة للطباعة
+}
diff --git a/i18n/av.json b/i18n/av.json
index 33662a8..8fa0833 100644
--- a/i18n/av.json
+++ b/i18n/av.json
@@ -1,12 +1,13 @@
 {
@metadata: {
authors: [
-   Gazimagomedov
+   Gazimagomedov,
+   Аль-Гимравий
]
},
bluespiceskin-desc: Расширениялъул сипат-сурат гьабиялъул куц 
BӀueSpice,
bs-tools-widgets-headline: ВИДЖЕТАЛ,
bs-tools-button: ЖЕГИ,
bs-title-actions-print-text: КIутIизе,
-   bs-title-actions-print-title: КӀутӀизе бегьулеб гьумералъул версия 
бихьизабула
+   bs-title-actions-print-title: Басмаялда бахъизе версия бихьизабула
 }
diff --git a/i18n/bs.json b/i18n/bs.json
new file mode 100644
index 000..606481f
--- /dev/null
+++ b/i18n/bs.json
@@ -0,0 +1,8 @@
+{
+   @metadata: {
+   authors: [
+   Palapa
+   ]
+   },
+   bs-title-actions-print-text: Štampaj
+}
diff --git a/i18n/cs.json b/i18n/cs.json
new file mode 100644
index 000..5a3d6c9
--- /dev/null
+++ b/i18n/cs.json
@@ -0,0 +1,13 @@
+{
+   @metadata: {
+   authors: [
+   Juandev,
+   Mormegil
+   ]
+   },
+   bluespiceskin-desc: Vzhled rozšíření BlueSpice,
+   bs-tools-widgets-headline: WIDGETY,
+   bs-tools-button: VÍCE,
+   bs-title-actions-print-text: Tisknout,
+   bs-title-actions-print-title: Zobrazit tuto stránku ve verzi pro 
tisk
+}
diff --git a/i18n/eu.json b/i18n/eu.json
new file mode 100644
index 000..e270de9
--- /dev/null
+++ b/i18n/eu.json
@@ -0,0 +1,9 @@
+{
+   @metadata: {
+   authors: [
+   Subi
+   ]
+   },
+   bs-tools-button: GEHIAGO,
+   bs-title-actions-print-text: Inprimatu
+}
diff --git a/i18n/fi.json b/i18n/fi.json
new file mode 100644
index 000..de0d94c
--- /dev/null
+++ b/i18n/fi.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   McSalama
+   ]
+   },
+   bluespiceskin-desc: BlueSpice-laajennuksen teema,
+   bs-tools-widgets-headline: PIENOISOHJELMAT,
+   bs-tools-button: LISÄÄ,
+   bs-title-actions-print-text: Tulosta,
+   bs-title-actions-print-title: Näyttää tulostettavan version sivusta
+}
diff --git a/i18n/frc.json b/i18n/frc.json
new file mode 100644
index 000..4ee260a
--- /dev/null
+++ b/i18n/frc.json
@@ -0,0 +1,8 @@
+{
+   @metadata: {
+   authors: [
+   Hangmanwa7id
+   ]
+   },
+   bs-tools-button: PLUS
+}
diff --git a/i18n/gl.json b/i18n/gl.json
new file mode 100644
index 000..16b19aa
--- /dev/null
+++ b/i18n/gl.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   Elisardojm
+   ]
+   },
+   bluespiceskin-desc: Aparencia da extensión BlueSpice,
+   bs-tools-widgets-headline: WIDGETS,
+   bs-tools-button: MÁIS,
+   bs-title-actions-print-text: Imprimir,
+   bs-title-actions-print-title: Muestra unha versión da páxina 
axeitada para imprimirse
+}
diff --git a/i18n/hi.json b/i18n/hi.json
new file mode 100644
index 000..5155bdc
--- /dev/null
+++ b/i18n/hi.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   Siddhartha Ghai
+   ]
+   },
+   bluespiceskin-desc: ब्लू स्पाइस एक्सटेंशन की त्वचा,
+   bs-tools-widgets-headline: विजेट,
+   bs-tools-button: अधिक,
+   bs-title-actions-print-text: प्रिंट करें,
+   

[MediaWiki-commits] [Gerrit] Update version before MLEB release - change (mediawiki...UniversalLanguageSelector)

2015-03-30 Thread KartikMistry (Code Review)
KartikMistry has uploaded a new change for review.

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

Change subject: Update version before MLEB release
..

Update version before MLEB release

Change-Id: I5e8908336edfa0e44ce8d7e520173c51d9a73314
---
M UniversalLanguageSelector.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/47/200547/1

diff --git a/UniversalLanguageSelector.php b/UniversalLanguageSelector.php
index fa65997..32bbf97 100644
--- a/UniversalLanguageSelector.php
+++ b/UniversalLanguageSelector.php
@@ -25,7 +25,7 @@
 /**
  * Version number used in extension credits and in other placed where needed.
  */
-define( 'ULS_VERSION', '2015-02-27' );
+define( 'ULS_VERSION', '2015-03-30' );
 
 $GLOBALS['wgExtensionCredits']['other'][] = array(
'path' = __FILE__,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e8908336edfa0e44ce8d7e520173c51d9a73314
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com

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


[MediaWiki-commits] [Gerrit] Fix I2756d11 to use request instead of http lib - change (mediawiki...citoid)

2015-03-30 Thread Mvolz (Code Review)
Mvolz has uploaded a new change for review.

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

Change subject: Fix I2756d11 to use request instead of http lib
..

Fix I2756d11 to use request instead of http lib

Change I2756d11 used the http library, which does
not respect environment proxy settings. Fixed to
use request library instead, which will respect
the proxy settings.

Change-Id: Id9925189fbe4ac9d2efeb05cfe248e477b65932b
---
M lib/CitoidService.js
M package.json
2 files changed, 19 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/citoid 
refs/changes/46/200546/1

diff --git a/lib/CitoidService.js b/lib/CitoidService.js
index 9b3d79d..2680b11 100644
--- a/lib/CitoidService.js
+++ b/lib/CitoidService.js
@@ -5,7 +5,7 @@
  */
 
 /* Import Modules */
-var http = require('http');
+var request = require('request');
 var urlParse = require('url');
 
 /* Import Local Modules */
@@ -122,16 +122,27 @@
 CitoidService.prototype.requestFromDOI = function (doiOpts, callback){
var doiLink = 'http://dx.doi.org/'+ doiOpts.search;
var citoidService = this;
-   var urlOpts =  Object.assign({}, doiOpts); // Shallow clone doiOpts
+   // Shallow clone doiOpts for requestFromURL method
+   var urlOpts =  Object.assign({}, doiOpts);
+   // Options for obtaining url the DOI resolves to
+   var resolveOpts = {
+   url : doiLink,
+   followRedirect : false,
+   };
 
-   // Follow one redirect here from the DOI to the canonical url
-   http.get(doiLink, function (res) {
-   // Detect a redirect
-   if (res  res.statusCode  300  res.statusCode  400  
res.headers.location) {
+   // Resolve canonical URL from DOI URL
+   request(resolveOpts, function (err, res) {
+   if (!err  res  res.statusCode  300  res.statusCode  400 

+   res.headers.location) {
urlOpts.search = res.headers.location;
+   // Send canonical URL to requestFromURL
+   citoidService.logger.log('debug/DOI', Resolved DOI 
+   + doiOpts.search +  to URL  + urlOpts.search +
+   ; Sending to requestFromURL);
citoidService.requestFromURL(urlOpts, callback);
} else {
-   citoidService.logger.log('debug/DOI', Unable to 
resolve DOI  + doiOpts.search);
+   citoidService.logger.log('debug/DOI', Unable to 
resolve DOI 
+   + doiOpts.search);
var message = 'Unable to resolve DOI';
var error = new Error(message);
callback(error, 404, {Error: message});
diff --git a/package.json b/package.json
index 4bdfddc..1707ab2 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   name: citoid,
-  version: 0.2.3,
+  version: 0.2.4,
   description: Converts search terms such as URL or DOI into citations.,
   scripts: {
 start: service-runner,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id9925189fbe4ac9d2efeb05cfe248e477b65932b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/citoid
Gerrit-Branch: master
Gerrit-Owner: Mvolz mv...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Release 2.23.1: Manual merge from master - change (mediawiki...BlueSpiceExtensions)

2015-03-30 Thread Robert Vogel (Code Review)
Robert Vogel has submitted this change and it was merged.

Change subject: Release 2.23.1: Manual merge from master
..


Release 2.23.1: Manual merge from master

This is the complete codebase as of 2015-03-16

Change-Id: Ia30a8f0db4eb289f5d84cd3a714491d45af316f1
---
M ArticleInfo/ArticleInfo.class.php
A ArticleInfo/i18n/awa.json
A ArticleInfo/i18n/bgn.json
A ArticleInfo/i18n/cv.json
M ArticleInfo/i18n/eu.json
A ArticleInfo/i18n/frr.json
M ArticleInfo/i18n/lb.json
A ArticleInfo/i18n/mai.json
A ArticleInfo/i18n/ps.json
A ArticleInfo/i18n/roa-tara.json
A ArticleInfo/i18n/uz.json
A ArticleInfo/i18n/vi.json
M ArticleInfo/i18n/zh-hant.json
M Authors/Authors.class.php
M Authors/i18n/ast.json
A Authors/i18n/eu.json
M Authors/i18n/lv.json
A Authors/i18n/vi.json
M Authors/i18n/zh-hant.json
M Authors/views/view.AuthorsUserPageProfileImageSetting.php
M Avatars/Avatars.class.php
A Avatars/i18n/bgn.json
A Avatars/i18n/cv.json
M Avatars/i18n/roa-tara.json
A Avatars/i18n/vi.json
M Blog/Blog.class.php
A Blog/i18n/bho.json
M Blog/i18n/de.json
M Blog/i18n/en.json
M Blog/i18n/es.json
M Blog/i18n/eu.json
M Blog/i18n/fr.json
M Blog/i18n/gl.json
A Blog/i18n/ksh.json
M Blog/i18n/lb.json
M Blog/i18n/mk.json
M Blog/i18n/qqq.json
A Blog/i18n/roa-tara.json
A Blog/i18n/tl.json
A Blog/i18n/vi.json
M Blog/i18n/zh-hans.json
M Blog/resources/bluespice.blog.css
M BlueSpiceProjectFeedbackHelper/BlueSpiceProjectFeedbackHelper.class.php
M CSyntaxHighlight/CSyntaxHighlight.class.php
A CSyntaxHighlight/i18n/cv.json
A CSyntaxHighlight/i18n/roa-tara.json
M Checklist/Checklist.class.php
M Checklist/i18n/de.json
M Checklist/i18n/es.json
M Checklist/i18n/eu.json
M Checklist/i18n/fa.json
M Checklist/i18n/gl.json
A Checklist/i18n/ps.json
A Checklist/i18n/roa-tara.json
M Checklist/i18n/sv.json
A Checklist/i18n/vi.json
M Checklist/i18n/zh-hant.json
M ContextMenu/ContextMenu.class.php
A ContextMenu/i18n/az.json
A ContextMenu/i18n/bgn.json
M ContextMenu/i18n/fa.json
A ContextMenu/i18n/ms.json
A ContextMenu/i18n/roa-tara.json
M ContextMenu/i18n/zh-hant.json
M CountThings/CountThings.class.php
M CountThings/i18n/de.json
A CountThings/i18n/roa-tara.json
M Dashboards/Dashboards.class.php
A Dashboards/i18n/roa-tara.json
M Emoticons/Emoticons.class.php
M Emoticons/i18n/fa.json
M Emoticons/i18n/id.json
A Emoticons/i18n/ksh.json
A Emoticons/i18n/pt.json
A Emoticons/i18n/roa-tara.json
M ExtendedEditBar/ExtendedEditBar.class.php
M ExtendedEditBar/i18n/ce.json
M ExtendedEditBar/i18n/eu.json
A ExtendedEditBar/i18n/roa-tara.json
M ExtendedSearch/ExtendedSearch.class.php
M ExtendedSearch/api/ApiFeedExtendedSearch.php
A ExtendedSearch/i18n/bgn.json
M ExtendedSearch/i18n/ce.json
A ExtendedSearch/i18n/cv.json
M ExtendedSearch/i18n/eu.json
M ExtendedSearch/i18n/gl.json
A ExtendedSearch/i18n/krc.json
A ExtendedSearch/i18n/ksh.json
M ExtendedSearch/i18n/lb.json
A ExtendedSearch/i18n/ps.json
M ExtendedSearch/i18n/pt.json
A ExtendedSearch/i18n/roa-tara.json
M ExtendedSearch/i18n/sv.json
M ExtensionInfo/ExtensionInfo.class.php
A ExtensionInfo/i18n/bgn.json
M ExtensionInfo/i18n/de.json
A ExtensionInfo/i18n/jbo.json
A ExtensionInfo/i18n/roa-tara.json
M ExtensionInfo/i18n/zh-hans.json
M ExtensionInfo/includes/ViewExtensionInfoTable.php
M ExtensionInfo/resources/BS.ExtensionInfo/Panel.js
M Flexiskin/Flexiskin.class.php
A Flexiskin/i18n/bgn.json
A Flexiskin/i18n/cv.json
A Flexiskin/i18n/eu.json
M Flexiskin/i18n/qqq.json
A Flexiskin/i18n/roa-tara.json
M Flexiskin/i18n/zh-hant.json
R Flexiskin/resources/BS.Flexiskin/Menuitems/General.js
R Flexiskin/resources/BS.Flexiskin/Menuitems/Header.js
R Flexiskin/resources/BS.Flexiskin/Menuitems/Position.js
M Flexiskin/resources/BS.Flexiskin/PreviewMenu.js
D Flexiskin/resources/BS.Flexiskin/menu/BaseItem.js
M FormattingHelp/FormattingHelp.class.php
A FormattingHelp/i18n/cv.json
A FormattingHelp/i18n/eu.json
A FormattingHelp/i18n/ksh.json
M FormattingHelp/i18n/zh-hant.json
M GroupManager/GroupManager.class.php
A GroupManager/i18n/bgn.json
M GroupManager/i18n/de.json
A GroupManager/i18n/eu.json
M GroupManager/i18n/gl.json
M HideTitle/HideTitle.class.php
M HideTitle/i18n/fa.json
A HideTitle/i18n/gl.json
A HideTitle/i18n/roa-tara.json
M InsertCategory/InsertCategory.class.php
A InsertCategory/i18n/bgn.json
A InsertCategory/i18n/cv.json
A InsertCategory/i18n/eu.json
A InsertCategory/i18n/gl.json
A InsertCategory/i18n/ksh.json
M InsertCategory/i18n/oc.json
A InsertCategory/i18n/roa-tara.json
M InsertFile/InsertFile.class.php
M InsertFile/InsertFile.setup.php
A InsertFile/i18n/bgn.json
A InsertFile/i18n/bs.json
M InsertFile/i18n/en.json
A InsertFile/i18n/eu.json
A InsertFile/i18n/frc.json
A InsertFile/i18n/gl.json
A InsertFile/i18n/ka.json
M InsertFile/i18n/lb.json
A InsertFile/i18n/ps.json
A InsertFile/i18n/roa-tara.json
A InsertFile/i18n/si.json
A InsertFile/i18n/ur.json
A InsertFile/i18n/yi.json
M InsertFile/i18n/zh-hant.json
M InsertFile/resources/BS.InsertFile/ImageDialog.js
M 

[MediaWiki-commits] [Gerrit] Release 2.23.1: Manual merge from master - change (mediawiki...BlueSpiceFoundation)

2015-03-30 Thread Robert Vogel (Code Review)
Robert Vogel has submitted this change and it was merged.

Change subject: Release 2.23.1: Manual merge from master
..


Release 2.23.1: Manual merge from master

This is the complete codebase as of 2015-03-16

Change-Id: Ic578dd35a6c549dcb36c27ae5448b3fe724b93f5
---
M BLUESPICE-RELEASE-HISTORY
M BLUESPICE-RELEASE-NOTES
M BlueSpiceFoundation.php
M i18n/core/ast.json
A i18n/core/bgn.json
A i18n/core/bs.json
A i18n/core/cv.json
M i18n/core/de-formal.json
M i18n/core/de.json
M i18n/core/el.json
M i18n/core/en.json
M i18n/core/es.json
A i18n/core/eu.json
M i18n/core/fa.json
M i18n/core/fr.json
M i18n/core/gl.json
M i18n/core/it.json
A i18n/core/ksh.json
M i18n/core/lb.json
A i18n/core/min.json
M i18n/core/mk.json
M i18n/core/nds-nl.json
A i18n/core/nds.json
M i18n/core/oc.json
A i18n/core/ps.json
M i18n/core/pt.json
M i18n/core/qqq.json
M i18n/core/ru.json
M i18n/core/sr-el.json
A i18n/core/tl.json
A i18n/core/vi.json
M i18n/core/zh-hans.json
A i18n/credits/bgn.json
M i18n/credits/eu.json
M i18n/credits/id.json
A i18n/credits/ksh.json
A i18n/credits/roa-tara.json
M i18n/credits/zh-hant.json
A i18n/diagnostics/pms.json
A i18n/diagnostics/roa-tara.json
A i18n/extjs-portal/bgn.json
A i18n/extjs-portal/cv.json
A i18n/extjs-portal/eu.json
M i18n/extjs-portal/gl.json
A i18n/extjs-portal/ksh.json
M i18n/extjs-portal/zh-hant.json
A i18n/extjs/bgn.json
A i18n/extjs/bho.json
M i18n/extjs/ce.json
A i18n/extjs/cv.json
M i18n/extjs/de.json
M i18n/extjs/en.json
M i18n/extjs/es.json
M i18n/extjs/eu.json
M i18n/extjs/fa.json
M i18n/extjs/fr.json
M i18n/extjs/gl.json
M i18n/extjs/it.json
M i18n/extjs/kk-cyrl.json
A i18n/extjs/ksh.json
M i18n/extjs/lb.json
A i18n/extjs/lt.json
M i18n/extjs/mk.json
M i18n/extjs/om.json
A i18n/extjs/ps.json
M i18n/extjs/qqq.json
M i18n/extjs/roa-tara.json
A i18n/extjs/sdh.json
A i18n/extjs/tl.json
M i18n/extjs/zh-hans.json
M i18n/extjs/zh-hant.json
A i18n/installer/gl.json
A i18n/installer/roa-tara.json
M i18n/validator/zh-hant.json
M includes/AutoLoader.php
M includes/BsBaseTemplate.php
M includes/Core.class.php
M includes/DefaultSettings.php
M includes/ExtensionMW.class.php
M includes/Mailer.class.php
M includes/api/ApiFormatJsonMW.php
M includes/api/BsApiBase.php
M includes/db/DatabaseOracleBase.php
M includes/installer/BsWebInstallerOutput.php
M includes/outputhandler/views/view.BaseElement.php
M includes/utility/FileSystemHelper.class.php
M includes/utility/GroupHelper.class.php
M languages/BlueSpice.Credits.alias.php
M languages/BlueSpice.Diagnostics.alias.php
M resources/Resources.php
M resources/bluespice.extjs/Ext.ux/grid/menu/RangeMenu.js
M resources/bluespice.extjs/bluespice.extjs.fixes.css
A resources/bluespice.extjs/images/icon_filter.png
M resources/bluespice/bluespice.wikiText.js
94 files changed, 1,134 insertions(+), 442 deletions(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved



diff --git a/BLUESPICE-RELEASE-HISTORY b/BLUESPICE-RELEASE-HISTORY
index e48c2e5..26bb39c 100644
--- a/BLUESPICE-RELEASE-HISTORY
+++ b/BLUESPICE-RELEASE-HISTORY
@@ -5,6 +5,227 @@
 
 = BlueSpice release notes =
 
+==BlueSpice 2.23.0==
+BlueSpice 2.23.0 is a minor and maintenance release.
+
+===Notable new features===
+* Internationalisation: BlueSpice is translated by the 
[https://translatewiki.net translatewiki.net] community. As of now it is 
completely available in Chinese (simplified), English, French, German, 
Macedonian, Russian, Spanish, Svedish and Ukrainian. There are 40 more 
languages with partial translations.
+* Internationalization: Existing English and German localisation was 
completely revised and checked for consistency.
+* Performance: BlueSpice now supports memcached caching and uses caching for 
its extensions. Expect a considerable performance increase.
+* Skinning: BlueSpice skin has been completely rewritten. It is now easier 
extensible and maintainable.
+* Skinning: There is a vector skin implementation for BlueSpice.
+* Skinning: User and BlueSpice preferences have been completely redesigned for 
better usability.
+* Skinning: Added MobileFronted extension for better mobile support (MW 1.23+)
+* Installation: An integrated package installer for MediaWiki and BlueSpice 
was added. Now you can set up MediaWiki and BlueSpice in one go.
+* Administration: Support for editing and deleting multiple items in most 
managers has been added.
+* Administration: PermissionManager was completely rewritten. It is now faster 
and way easier to use, e.g. with fullscreen mode and quick switch between 
groups.
+* Usability: In InsertFile dialogue, files can be found by their category.
+* ExtendedSearch: Opensearch is now supported. Search BlueSpice from your 
browser's searchbox.
+* ExtendedSearch: Precision has been improved by boosting content namespaces 
in scoring
+* Context menu: A right click menu has been added to links in the content area 
that leads you directly to the page's actions.
+
+

[MediaWiki-commits] [Gerrit] Switch recursor1 to esams' new LVS dns-rec-lb IP - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: Switch recursor1 to esams' new LVS dns-rec-lb IP
..


Switch recursor1 to esams' new LVS dns-rec-lb IP

Change-Id: I930adfe8f108db5ecadfbc93d360386e22acbef2
---
M templates/174.198.91.in-addr.arpa
M templates/wikimedia.org
2 files changed, 3 insertions(+), 4 deletions(-)

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



diff --git a/templates/174.198.91.in-addr.arpa 
b/templates/174.198.91.in-addr.arpa
index 2fba58f..78526c2 100644
--- a/templates/174.198.91.in-addr.arpa
+++ b/templates/174.198.91.in-addr.arpa
@@ -22,8 +22,6 @@
 2   1H IN PTR   ae1-100.cr1-esams.wikimedia.org.
 3   1H IN PTR   ae1-100.cr2-knams.wikimedia.org.
 
-6   1H IN PTR   recursor0.esams.wikimedia.org.
-
 11  1H IN PTR   vl100-eth0.lvs3001.esams.wmnet.
 12  1H IN PTR   vl100-eth0.lvs3002.esams.wmnet.
 13  1H IN PTR   vl100-eth0.lvs3003.esams.wmnet.
diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index 130cb1a..b4570f8 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -73,7 +73,7 @@
 ns2 1H  IN A91.198.174.239
 
 recursor0   1H  IN A208.80.154.239  ; eqiad LVS (dns-rec-lb)
-recursor1   1H  IN A91.198.174.6; nescio
+recursor1   1H  IN A91.198.174.216  ; esams LVS (dns-rec-lb)
 
 ; Geodynamic records
 text-lb 600 DYNA geoip!text-addrs
@@ -730,7 +730,8 @@
 ; Service aliases
 
 puppet  1H  IN CNAMEpalladium.eqiad.wmnet.
-recursor0   1H  IN A91.198.174.6 ; nescio
+recursor0   1H  IN A91.198.174.216  ; esams LVS (dns-rec-lb)
+recursor1   1H  IN A208.80.154.239  ; eqiad LVS (dns-rec-lb)
 ntp 1H  IN CNAMEnescio
 
 ; Servers

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I930adfe8f108db5ecadfbc93d360386e22acbef2
Gerrit-PatchSet: 3
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Release 2.23.1: Manual merge from master - change (mediawiki...BlueSpiceSkin)

2015-03-30 Thread Robert Vogel (Code Review)
Robert Vogel has submitted this change and it was merged.

Change subject: Release 2.23.1: Manual merge from master
..


Release 2.23.1: Manual merge from master

This is the complete codebase as of 2015-03-16

Change-Id: I7be6941aabdff5646f3c52acbfa2889c5d19840a
---
A i18n/ar.json
M i18n/av.json
A i18n/bs.json
A i18n/cs.json
A i18n/eu.json
A i18n/fi.json
A i18n/frc.json
A i18n/gl.json
A i18n/hi.json
A i18n/ko.json
M i18n/nb.json
A i18n/oc.json
A i18n/ps.json
A i18n/szl.json
M resources/components/extension.widgetbar.less
M resources/components/skin.content.less
M resources/components/skin.menuTop.less
17 files changed, 143 insertions(+), 5 deletions(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved



diff --git a/i18n/ar.json b/i18n/ar.json
new file mode 100644
index 000..4f626c5
--- /dev/null
+++ b/i18n/ar.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   Khaled
+   ]
+   },
+   bluespiceskin-desc: تصميم أضافة بلوسبايس,
+   bs-tools-widgets-headline: برمجيات صغيرة,
+   bs-tools-button: المزيد,
+   bs-title-actions-print-text: أطبع,
+   bs-title-actions-print-title: أعرض الصفحة القابلة للطباعة
+}
diff --git a/i18n/av.json b/i18n/av.json
index 33662a8..8fa0833 100644
--- a/i18n/av.json
+++ b/i18n/av.json
@@ -1,12 +1,13 @@
 {
@metadata: {
authors: [
-   Gazimagomedov
+   Gazimagomedov,
+   Аль-Гимравий
]
},
bluespiceskin-desc: Расширениялъул сипат-сурат гьабиялъул куц 
BӀueSpice,
bs-tools-widgets-headline: ВИДЖЕТАЛ,
bs-tools-button: ЖЕГИ,
bs-title-actions-print-text: КIутIизе,
-   bs-title-actions-print-title: КӀутӀизе бегьулеб гьумералъул версия 
бихьизабула
+   bs-title-actions-print-title: Басмаялда бахъизе версия бихьизабула
 }
diff --git a/i18n/bs.json b/i18n/bs.json
new file mode 100644
index 000..606481f
--- /dev/null
+++ b/i18n/bs.json
@@ -0,0 +1,8 @@
+{
+   @metadata: {
+   authors: [
+   Palapa
+   ]
+   },
+   bs-title-actions-print-text: Štampaj
+}
diff --git a/i18n/cs.json b/i18n/cs.json
new file mode 100644
index 000..5a3d6c9
--- /dev/null
+++ b/i18n/cs.json
@@ -0,0 +1,13 @@
+{
+   @metadata: {
+   authors: [
+   Juandev,
+   Mormegil
+   ]
+   },
+   bluespiceskin-desc: Vzhled rozšíření BlueSpice,
+   bs-tools-widgets-headline: WIDGETY,
+   bs-tools-button: VÍCE,
+   bs-title-actions-print-text: Tisknout,
+   bs-title-actions-print-title: Zobrazit tuto stránku ve verzi pro 
tisk
+}
diff --git a/i18n/eu.json b/i18n/eu.json
new file mode 100644
index 000..e270de9
--- /dev/null
+++ b/i18n/eu.json
@@ -0,0 +1,9 @@
+{
+   @metadata: {
+   authors: [
+   Subi
+   ]
+   },
+   bs-tools-button: GEHIAGO,
+   bs-title-actions-print-text: Inprimatu
+}
diff --git a/i18n/fi.json b/i18n/fi.json
new file mode 100644
index 000..de0d94c
--- /dev/null
+++ b/i18n/fi.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   McSalama
+   ]
+   },
+   bluespiceskin-desc: BlueSpice-laajennuksen teema,
+   bs-tools-widgets-headline: PIENOISOHJELMAT,
+   bs-tools-button: LISÄÄ,
+   bs-title-actions-print-text: Tulosta,
+   bs-title-actions-print-title: Näyttää tulostettavan version sivusta
+}
diff --git a/i18n/frc.json b/i18n/frc.json
new file mode 100644
index 000..4ee260a
--- /dev/null
+++ b/i18n/frc.json
@@ -0,0 +1,8 @@
+{
+   @metadata: {
+   authors: [
+   Hangmanwa7id
+   ]
+   },
+   bs-tools-button: PLUS
+}
diff --git a/i18n/gl.json b/i18n/gl.json
new file mode 100644
index 000..16b19aa
--- /dev/null
+++ b/i18n/gl.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   Elisardojm
+   ]
+   },
+   bluespiceskin-desc: Aparencia da extensión BlueSpice,
+   bs-tools-widgets-headline: WIDGETS,
+   bs-tools-button: MÁIS,
+   bs-title-actions-print-text: Imprimir,
+   bs-title-actions-print-title: Muestra unha versión da páxina 
axeitada para imprimirse
+}
diff --git a/i18n/hi.json b/i18n/hi.json
new file mode 100644
index 000..5155bdc
--- /dev/null
+++ b/i18n/hi.json
@@ -0,0 +1,12 @@
+{
+   @metadata: {
+   authors: [
+   Siddhartha Ghai
+   ]
+   },
+   bluespiceskin-desc: ब्लू स्पाइस एक्सटेंशन की त्वचा,
+   bs-tools-widgets-headline: विजेट,
+   bs-tools-button: अधिक,
+   bs-title-actions-print-text: प्रिंट करें,
+   bs-title-actions-print-title: इस पृष्ठ का प्रिंट करने लायक अवतरण 
दिखाएँ
+}

[MediaWiki-commits] [Gerrit] Work around IE link paste bug - change (VisualEditor/VisualEditor)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Work around IE link paste bug
..


Work around IE link paste bug

IE tries to restore the appearance of links when they are being pasted
in a place where different CSS applies. If text-decoration: none; applies
to the paste target, link content will be wrapped in u tags, and
if a different link color applies, link content will be wrapped in
font color=#0066cc tags. To prevent this from happening, explicitly
apply the default text-decoration and color styles to the paste target
so IE will refrain from mangling links this way.

Change-Id: I2b07aa934d804735316e9e736f5b25430786b1e2
---
M src/ce/styles/ve.ce.Surface.css
1 file changed, 6 insertions(+), 0 deletions(-)

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



diff --git a/src/ce/styles/ve.ce.Surface.css b/src/ce/styles/ve.ce.Surface.css
index a41ced4..03277c5 100644
--- a/src/ce/styles/ve.ce.Surface.css
+++ b/src/ce/styles/ve.ce.Surface.css
@@ -65,6 +65,12 @@
height: 1px !important;
 }
 
+/* Prevent IE from wrapping link text in u and font color tags */
+.ve-init-target-ie .ve-ce-surface-paste a {
+   text-decoration: underline !important;
+   color: #0066cc;
+}
+
 /* MediaWiki PHP Parser does not wrap text inside image captions in p but we 
do (cause we have to).
  * Let's make those p looks like they are not there by proper CSS styling.
  */

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2b07aa934d804735316e9e736f5b25430786b1e2
Gerrit-PatchSet: 3
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Catrope roan.katt...@gmail.com
Gerrit-Reviewer: Esanders esand...@wikimedia.org
Gerrit-Reviewer: Jforrester jforres...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Remove line-height override from windows - change (oojs/ui)

2015-03-30 Thread Esanders (Code Review)
Esanders has uploaded a new change for review.

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

Change subject: Remove line-height override from windows
..

Remove line-height override from windows

Windows shouldn't behave differently from the parent document.

Change-Id: I1c93678d81aa32491ad9b0d5e68f2f3c7cc66cd8
---
M src/styles/Window.less
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/52/200552/1

diff --git a/src/styles/Window.less b/src/styles/Window.less
index 609d241..3406468 100644
--- a/src/styles/Window.less
+++ b/src/styles/Window.less
@@ -1,8 +1,6 @@
 @import 'common';
 
 .oo-ui-window {
-   line-height: 1em;
-
-frame {
.oo-ui-box-sizing(border-box);
}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c93678d81aa32491ad9b0d5e68f2f3c7cc66cd8
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Esanders esand...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Prevent mixing up ltr usernames with timestamps in rtl - change (mediawiki...Flow)

2015-03-30 Thread Amire80 (Code Review)
Amire80 has uploaded a new change for review.

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

Change subject: Prevent mixing up ltr usernames with timestamps in rtl
..

Prevent mixing up ltr usernames with timestamps in rtl

Bug: T94403
Change-Id: I4d24408c272b3e074a81410f95cdd9b6d9938398
---
M modules/styles/board/timestamps.less
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/53/200553/1

diff --git a/modules/styles/board/timestamps.less 
b/modules/styles/board/timestamps.less
index e1b6ae1..3219df2 100644
--- a/modules/styles/board/timestamps.less
+++ b/modules/styles/board/timestamps.less
@@ -5,6 +5,10 @@
 .flow-timestamp {
text-align: left;
 
+   span {
+   unicode-bidi: embed;
+   }
+
.flow-timestamp-user-formatted {
display: none;
}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4d24408c272b3e074a81410f95cdd9b6d9938398
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Amire80 amir.ahar...@mail.huji.ac.il

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


[MediaWiki-commits] [Gerrit] Update RuboCop configuration file - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Update RuboCop configuration file
..

Update RuboCop configuration file

According to
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_confi
guration

Bug: T94401
Change-Id: Id1f1209b7c7398afc7a64bc75ccecc138777240a
---
M .rubocop.yml
1 file changed, 21 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/54/200554/1

diff --git a/.rubocop.yml b/.rubocop.yml
index cc32da4..75f3c65 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1 +1,22 @@
 inherit_from: .rubocop_todo.yml
+
+AllCops:
+  StyleGuideCopsOnly: true
+
+Metrics/LineLength:
+  Max: 100
+
+Metrics/MethodLength:
+  Enabled: false
+
+Style/Alias:
+  Enabled: false
+
+Style/SignalException:
+  Enabled: false
+ 
+Style/StringLiterals:
+  EnforcedStyle: single_quotes
+
+Style/TrivialAccessors:
+  ExactNameMatch: true

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1f1209b7c7398afc7a64bc75ccecc138777240a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fixed Style/LeadingCommentSpace RuboCop offense - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Fixed Style/LeadingCommentSpace RuboCop offense
..

Fixed Style/LeadingCommentSpace RuboCop offense

ruby and ruby-gemset comments are used by Ruby version managers. We no
longer recommend using them.

Bug: T94401
Change-Id: I20cd5ee8d051610b061a3971f4941a32ecda09da
---
M .rubocop_todo.yml
M Gemfile
2 files changed, 0 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/59/200559/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 1c8eced..25dc7f8 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -5,11 +5,6 @@
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/LeadingCommentSpace:
-  Enabled: false
-
 # Offense count: 1
 # Cop supports --auto-correct.
 Style/RedundantSelf:
diff --git a/Gemfile b/Gemfile
index 1e74901..8844737 100755
--- a/Gemfile
+++ b/Gemfile
@@ -1,6 +1,3 @@
-#ruby=ruby-2.1.1
-#ruby-gemset=CentralAuth
-
 source 'https://rubygems.org'
 
 gem 'mediawiki_selenium', '~ 1.0.0.pre.2'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I20cd5ee8d051610b061a3971f4941a32ecda09da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Regenerated RuboCop TODO file - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Regenerated RuboCop TODO file
..

Regenerated RuboCop TODO file

$ bundle exec rubocop --auto-gen-config
Inspecting 5 files
…
5 files inspected, 23 offenses detected
Created .rubocop_todo.yml.
Run `rubocop --config .rubocop_todo.yml`, or
add inherit_from: .rubocop_todo.yml in a .rubocop.yml file.

Bug: T94401
Change-Id: Ia36ea1dfdbbcb45a32db8a015c36e19a5cc10ac6
---
M .rubocop_todo.yml
1 file changed, 4 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/56/200556/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index c022ab3..8bf20c1 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,5 +1,5 @@
 # This configuration was generated by `rubocop --auto-gen-config`
-# on 2014-10-20 17:36:38 +0200 using RuboCop version 0.26.1.
+# on 2015-03-30 15:00:57 +0200 using RuboCop version 0.29.1.
 # The point is for the user to remove these configuration records
 # one by one as the offenses are removed from the code base.
 # Note that changes in the inspected code, or installation of new
@@ -7,22 +7,8 @@
 
 # Offense count: 1
 # Cop supports --auto-correct.
-Lint/UnusedBlockArgument:
-  Enabled: false
-
-# Offense count: 2
-# Configuration parameters: AllowURI, URISchemes.
-Metrics/LineLength:
-  Max: 96
-
-# Offense count: 1
-# Cop supports --auto-correct.
 # Configuration parameters: EnforcedStyle, SupportedStyles.
 Style/AlignParameters:
-  Enabled: false
-
-# Offense count: 1
-Style/Documentation:
   Enabled: false
 
 # Offense count: 2
@@ -45,8 +31,8 @@
 Style/SpaceInsideParens:
   Enabled: false
 
-# Offense count: 22
+# Offense count: 16
 # Cop supports --auto-correct.
-# Configuration parameters: EnforcedStyle, SupportedStyles.
+# Configuration parameters: SupportedStyles.
 Style/StringLiterals:
-  Enabled: false
+  EnforcedStyle: double_quotes

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia36ea1dfdbbcb45a32db8a015c36e19a5cc10ac6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fixed Style/StringLiterals RuboCop offense - change (mediawiki...CentralAuth)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Fixed Style/StringLiterals RuboCop offense
..

Fixed Style/StringLiterals RuboCop offense

Bug: T94401
Change-Id: Ib0a324ebe446a4a1ff122966fb08e2eeca309f86
---
M .rubocop_todo.yml
M Gemfile
M tests/browser/features/step_definitions/global_account_manage.rb
M tests/browser/features/step_definitions/login_steps.rb
M tests/browser/features/support/env.rb
M tests/browser/features/support/pages/special_central_auth.rb
6 files changed, 14 insertions(+), 20 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/57/200557/1

diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 8bf20c1..5adedaa 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -30,9 +30,3 @@
 # Cop supports --auto-correct.
 Style/SpaceInsideParens:
   Enabled: false
-
-# Offense count: 16
-# Cop supports --auto-correct.
-# Configuration parameters: SupportedStyles.
-Style/StringLiterals:
-  EnforcedStyle: double_quotes
diff --git a/Gemfile b/Gemfile
index fe3be33..1e74901 100755
--- a/Gemfile
+++ b/Gemfile
@@ -1,7 +1,7 @@
 #ruby=ruby-2.1.1
 #ruby-gemset=CentralAuth
 
-source https://rubygems.org;
+source 'https://rubygems.org'
 
-gem mediawiki_selenium, ~ 1.0.0.pre.2
-gem rubocop, require: false
+gem 'mediawiki_selenium', '~ 1.0.0.pre.2'
+gem 'rubocop', require: false
diff --git a/tests/browser/features/step_definitions/global_account_manage.rb 
b/tests/browser/features/step_definitions/global_account_manage.rb
index 7054353..1d1d07d 100644
--- a/tests/browser/features/step_definitions/global_account_manage.rb
+++ b/tests/browser/features/step_definitions/global_account_manage.rb
@@ -3,7 +3,7 @@
 end
 
 When(/^I lookup an invalid user$/) do
-  on(SpecialCentralAuthPage).lookup_user(invalid centralauth user name)
+  on(SpecialCentralAuthPage).lookup_user('invalid centralauth user name')
 end
 
 When(/^I lookup a valid user$/) do
diff --git a/tests/browser/features/step_definitions/login_steps.rb 
b/tests/browser/features/step_definitions/login_steps.rb
index 020ee78..f2cbde8 100644
--- a/tests/browser/features/step_definitions/login_steps.rb
+++ b/tests/browser/features/step_definitions/login_steps.rb
@@ -1,6 +1,6 @@
 Given(/^I am using a global account$/) do
-  expect(api.meta(globaluserinfo).data).to_not include(missing),
-the current acccount is not global
+  expect(api.meta('globaluserinfo').data).to_not include('missing'),
+'the current acccount is not global'
 end
 
 Given(/^I am logged in to the primary wiki domain$/) do
diff --git a/tests/browser/features/support/env.rb 
b/tests/browser/features/support/env.rb
index 57f3e6b..5eff4ce 100644
--- a/tests/browser/features/support/env.rb
+++ b/tests/browser/features/support/env.rb
@@ -1,4 +1,4 @@
-require mediawiki_selenium
+require 'mediawiki_selenium'
 
-require mediawiki_selenium/support
-require mediawiki_selenium/step_definitions
+require 'mediawiki_selenium/support'
+require 'mediawiki_selenium/step_definitions'
diff --git a/tests/browser/features/support/pages/special_central_auth.rb 
b/tests/browser/features/support/pages/special_central_auth.rb
index e110c56..91e9562 100644
--- a/tests/browser/features/support/pages/special_central_auth.rb
+++ b/tests/browser/features/support/pages/special_central_auth.rb
@@ -1,12 +1,12 @@
 class SpecialCentralAuthPage
   include PageObject
 
-  page_url Special:CentralAuth
+  page_url 'Special:CentralAuth'
 
-  text_field(:target_field, id: target)
-  div(:error_box, class: error)
-  button(:submit, id: centralauth-submit-find)
-  fieldset(:centralauth_info, id:mw-centralauth-info)
+  text_field(:target_field, id: 'target')
+  div(:error_box, class: 'error')
+  button(:submit, id: 'centralauth-submit-find')
+  fieldset(:centralauth_info, id:'mw-centralauth-info')
 
   def lookup_user( username )
 self.target_field_element.when_present.send_keys(username)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0a324ebe446a4a1ff122966fb08e2eeca309f86
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Update data-values/interfaces to 0.1.5 - change (mediawiki...Wikibase)

2015-03-30 Thread Daniel Kinzler (Code Review)
Daniel Kinzler has submitted this change and it was merged.

Change subject: Update data-values/interfaces to 0.1.5
..


Update data-values/interfaces to 0.1.5

Required because the ValueFormatterBase constructor parameter was
not optional in 0.1.4 but is already declared as optional (but never
used as such) in subclasses.

^0.1.5 means =0.1.5 1.0, see
https://getcomposer.org/doc/01-basic-usage.md#package-versions

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

Approvals:
  Daniel Kinzler: Verified; Looks good to me, approved



diff --git a/composer.json b/composer.json
index bab24ba..3e05984 100644
--- a/composer.json
+++ b/composer.json
@@ -26,7 +26,7 @@
data-values/data-values: ~1.0.0,
data-values/common: ~0.2.0,
data-values/geo: ~1.0,
-   data-values/interfaces: ~0.1.4,
+   data-values/interfaces: ^0.1.5,
data-values/number: ~0.4.0,
data-values/time: ~0.6.0,
data-values/validators: ~0.1.0,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ied4d029e40fd19fdd5e244657e2bd111960983d3
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) thiemo.maet...@wikimedia.de
Gerrit-Reviewer: Daniel Kinzler daniel.kinz...@wikimedia.de
Gerrit-Reviewer: Hoo man h...@online.de
Gerrit-Reviewer: JanZerebecki jan.wikime...@zerebecki.de
Gerrit-Reviewer: Jeroen De Dauw jeroended...@gmail.com
Gerrit-Reviewer: Legoktm legoktm.wikipe...@gmail.com

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


[MediaWiki-commits] [Gerrit] give maerlant some NTP upstreams - change (operations/puppet)

2015-03-30 Thread BBlack (Code Review)
BBlack has submitted this change and it was merged.

Change subject: give maerlant some NTP upstreams
..


give maerlant some NTP upstreams

Change-Id: I7f8c649e43dd265d62d4f1499dc18a8d1b025b43
---
M manifests/role/ntp.pp
1 file changed, 6 insertions(+), 0 deletions(-)

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



diff --git a/manifests/role/ntp.pp b/manifests/role/ntp.pp
index dd8c8de..24877a6 100644
--- a/manifests/role/ntp.pp
+++ b/manifests/role/ntp.pp
@@ -66,6 +66,12 @@
 'tick.jpunix.net',
 'ntp-1.zeroloop.net',
 ],
+'maerlant.wikimedia.org' = [
+'ntp2.proserve.nl',
+'ntp2.stygium.net',
+'tick.jpunix.net',
+'ntp2.roethof.net',
+],
 }
 
 # This maps the servers that regular clients use

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7f8c649e43dd265d62d4f1499dc18a8d1b025b43
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack bbl...@wikimedia.org
Gerrit-Reviewer: BBlack bbl...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Update namespaces for Luri (lrc) from translatewiki.net - change (mediawiki/core)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Update namespaces for Luri (lrc) from translatewiki.net
..


Update namespaces for Luri (lrc) from translatewiki.net

Change-Id: Icec87b9d08e7dce35e361f6250b28106aa4811f7
---
M languages/messages/MessagesLrc.php
1 file changed, 19 insertions(+), 1 deletion(-)

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



diff --git a/languages/messages/MessagesLrc.php 
b/languages/messages/MessagesLrc.php
index 1a23b3f..82dd8c7 100644
--- a/languages/messages/MessagesLrc.php
+++ b/languages/messages/MessagesLrc.php
@@ -1,5 +1,5 @@
 ?php
-/** لوری (لوری)
+/** Luri (لوری)
  *
  * To improve a translation please visit https://translatewiki.net
  *
@@ -12,3 +12,21 @@
 
 $rtl = true;
 
+$namespaceNames = array(
+   NS_MEDIA= 'رسانه',
+   NS_SPECIAL  = 'ویجه',
+   NS_TALK = 'چک_چنه',
+   NS_USER = 'کارور',
+   NS_USER_TALK= 'چک_چنه_کارور',
+   NS_PROJECT_TALK = 'چک_چنه_$1',
+   NS_FILE = 'جانیا',
+   NS_FILE_TALK= 'جانیا_چک_چنه',
+   NS_MEDIAWIKI= 'ویکی_رسانه',
+   NS_MEDIAWIKI_TALK   = 'چک_چنه_ویکی_رسانه',
+   NS_TEMPLATE = 'قالو',
+   NS_TEMPLATE_TALK= 'قالو_چک_چنه',
+   NS_HELP = 'هومیاری',
+   NS_HELP_TALK= 'چک_چنه_هومیاری',
+   NS_CATEGORY = 'دسه',
+   NS_CATEGORY_TALK= 'دسه_چک_چنه',
+);

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Icec87b9d08e7dce35e361f6250b28106aa4811f7
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mjbmr mjb...@gmail.com
Gerrit-Reviewer: Mjbmr mjb...@gmail.com
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: Siebrand siebr...@kitano.nl
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Remove line height reset for windows - change (oojs/ui)

2015-03-30 Thread Esanders (Code Review)
Esanders has uploaded a new change for review.

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

Change subject: Remove line height reset for windows
..

Remove line height reset for windows

Windows are no longer in frames, so they should just inherit their
line height from the document.

Change-Id: If0a0818ba4c2d605256c4bad4b4b925d7816d726
---
M src/styles/Window.less
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/76/200576/1

diff --git a/src/styles/Window.less b/src/styles/Window.less
index 609d241..3406468 100644
--- a/src/styles/Window.less
+++ b/src/styles/Window.less
@@ -1,8 +1,6 @@
 @import 'common';
 
 .oo-ui-window {
-   line-height: 1em;
-
-frame {
.oo-ui-box-sizing(border-box);
}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0a0818ba4c2d605256c4bad4b4b925d7816d726
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Esanders esand...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] ganglia: DRY, use hiera - change (operations/puppet)

2015-03-30 Thread Giuseppe Lavagetto (Code Review)
Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: ganglia: DRY, use hiera
..


ganglia: DRY, use hiera

First small unification of ganglia data. Give we're not going to get rid
of the old ganglia classes anytime soon, at least allow us to add data
in a single place. For now we just unify the list of ganglia clusters,
but more unification will follow in other commits

Bug:T93776
Change-Id: I7a4fd5a9749840ff64920d2bd6ee586fcaa0
---
M hieradata/codfw.yaml
A hieradata/common.yaml
M hieradata/eqiad.yaml
A hieradata/esams.yaml
A hieradata/hosts/netmon1001.yaml
A hieradata/ulsfo.yaml
M manifests/ganglia.pp
M modules/ganglia_new/manifests/configuration.pp
M modules/ganglia_new/manifests/monitor.pp
9 files changed, 212 insertions(+), 231 deletions(-)

Approvals:
  Giuseppe Lavagetto: Verified; Looks good to me, approved



diff --git a/hieradata/codfw.yaml b/hieradata/codfw.yaml
index c995982..ebb6b56 100644
--- a/hieradata/codfw.yaml
+++ b/hieradata/codfw.yaml
@@ -24,3 +24,4 @@
   - '10.192.32.22:11211:1 shard15'
   - '10.192.32.23:11211:1 shard16'
 jobrunner_state: 'stopped'
+ganglia_class: new
diff --git a/hieradata/common.yaml b/hieradata/common.yaml
new file mode 100644
index 000..a87bf6a
--- /dev/null
+++ b/hieradata/common.yaml
@@ -0,0 +1,199 @@
+# NOTE: Do *not* add new clusters *per site* anymore,
+# the site name will automatically be appended now,
+# and a different IP prefix will be used.
+ganglia_clusters:
+  decommissioned:
+name: Decommissioned servers
+id: 1
+sites: []
+  lvs:
+name: LVS loadbalancers
+id: 2
+sites:
+  - eqiad
+  - codfw
+  - esams
+  - ulsfo
+  search:
+name: Search
+id: 4
+sites: []
+  mysql:
+name: MySQL
+id: 5
+sites:
+  - eqiad
+  - codfw
+  misc:
+name: Miscellaneous
+id: 8
+sites:
+  - eqiad
+  - codfw
+  - esams
+  - ulsfo
+  appserver:
+name: Application servers
+id: 11
+sites:
+  - eqiad
+  - codfw
+  imagescaler:
+name: Image scalers
+id: 12
+sites:
+  - eqiad
+  - codfw
+  api_appserver:
+name: API application servers
+id: 13
+sites:
+  - eqiad
+  - codfw
+  pdf:
+name: PDF servers
+id: 15
+sites:
+  - eqiad
+  cache_text:
+name: Text caches
+id: 20
+sites:
+  - eqiad
+  - esams
+  - ulsfo
+  cache_bits:
+name: Bits caches
+id: 21
+sites:
+  - eqiad
+  - esams
+  - ulsfo
+  cache_upload:
+name: Upload caches
+id: 22
+sites:
+  - eqiad
+  - esams
+  - ulsfo
+  payments:
+name: Fundraiser payments
+id: 23
+sites:
+  - eqiad
+  - codfw
+  ssl:
+name: SSL cluster
+id: 26
+sites:
+  - eqiad
+  - esams
+  swift:
+name: Swift
+id: 27
+sites:
+  - eqiad
+  - codfw
+  - esams
+  cache_mobile:
+name: Mobile caches
+id: 28
+sites:
+  - eqiad
+  - esams
+  - ulsfo
+  virt:
+name: Virtualization cluster
+id: 29
+sites:
+  - eqiad
+  jobrunner:
+name: Jobrunners
+id: 31
+sites:
+  - eqiad
+  - codfw
+  analytics:
+name: Analytics cluster
+id: 32
+sites:
+  - eqiad
+  memcached:
+name: Memcached
+id: 33
+sites:
+  - eqiad
+  - codfw
+  videoscaler:
+name: Video scalers
+id: 34
+sites:
+  - eqiad
+  - codfw
+  fundraising:
+name: Fundraising
+id: 35
+sites:
+  - eqiad
+  - codfw
+  ceph:   # Not used anymore
+name: Ceph
+id: 36
+sites: []
+  parsoid:
+name: Parsoid
+id: 37
+sites:
+  - eqiad
+  cache_parsoid:
+name: Parsoid Varnish
+id: 38
+sites:
+  - eqiad
+  - codfw
+  redis:
+name: Redis
+id: 39
+sites:
+  - eqiad
+  - codfw
+  labsnfs:
+name: Labs NFS cluster
+id: 40
+sites:
+  - eqiad
+  cache_misc:
+name: Misc Web caching cluster
+id: 41
+sites:
+  - eqiad
+  elasticsearch:
+name: Elasticsearch cluster
+id: 42
+sites:
+  - eqiad
+  logstash:
+name: Logstash cluster
+id: 43
+sites:
+  - eqiad
+  rcstream:
+name: RCStream cluster
+id: 44
+sites:
+  - eqiad
+  analytics_kafka:
+name: Analytics Kafka cluster
+id: 45
+sites:
+  - eqiad
+  sca:
+name: Service Cluster A
+id: 46
+sites:
+  - eqiad
+  openldap_corp_mirror:
+name: Corp OIT LDAP mirror
+id: 47
+sites:
+  - eqiad
diff --git a/hieradata/eqiad.yaml b/hieradata/eqiad.yaml
index 191c6d1..39fe083 100644
--- a/hieradata/eqiad.yaml
+++ b/hieradata/eqiad.yaml
@@ -17,3 +17,4 @@
   - '10.64.48.104:11211:1 shard16'
   - '10.64.48.95:11211:1 shard17'
   - '10.64.48.96:11211:1 shard18'
+ganglia_class: old
diff --git a/hieradata/esams.yaml b/hieradata/esams.yaml
new file mode 100644
index 

[MediaWiki-commits] [Gerrit] Get data from all cu_changes columns - change (mediawiki...CheckUser)

2015-03-30 Thread Matthias Mullie (Code Review)
Matthias Mullie has uploaded a new change for review.

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

Change subject: Get data from all cu_changes columns
..

Get data from all cu_changes columns

CheckUser::CUChangesLine() is called for all rows returned by this
query.
That same function is called in 2 other places, which all request
* from cu_changes.

CheckUser::CUChangesLine() calls CheckUser::getLinksFromRow() for
every row, which in turn triggers hook SpecialCheckUserGetLinksFromRow

Safest is to keep the data passed to all those places as similar as
possible, otherwise unexpected things may start happening elsewhere,
like Flow's hook subscriber not getting the expected cuc_id.

Bug: T90285
Change-Id: Idf226686d526f6445341fdb150967df9b5174a11
---
M specials/SpecialCheckUser.php
1 file changed, 1 insertion(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CheckUser 
refs/changes/64/200564/1

diff --git a/specials/SpecialCheckUser.php b/specials/SpecialCheckUser.php
index 24fbb55..b5108c8 100644
--- a/specials/SpecialCheckUser.php
+++ b/specials/SpecialCheckUser.php
@@ -643,11 +643,7 @@
 
$ret = $dbr-select(
'cu_changes',
-   array(
-   'cuc_namespace', 'cuc_title', 'cuc_user', 
'cuc_user_text', 'cuc_comment', 'cuc_actiontext',
-   'cuc_timestamp', 'cuc_minor', 'cuc_page_id', 
'cuc_type', 'cuc_this_oldid',
-   'cuc_last_oldid', 'cuc_ip', 'cuc_xff', 
'cuc_agent'
-   ),
+   '*',
array( $ip_conds, $time_conds ),
__METHOD__,
array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf226686d526f6445341fdb150967df9b5174a11
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CheckUser
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie mmul...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Update border width transition hack - change (mediawiki...VisualEditor)

2015-03-30 Thread Esanders (Code Review)
Esanders has uploaded a new change for review.

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

Change subject: Update border width transition hack
..

Update border width transition hack

Upstream was reduced from 4px to 2px so reflect that here.

Change-Id: Id8990d15b9fbd4207648c5c93492fb37e5fdab5e
---
M modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
1 file changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css 
b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
index fc6715a..4a92013 100644
--- a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
+++ b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
@@ -38,10 +38,10 @@
 }
 
 .ve-init-mw-viewPageTarget-toolbar  .oo-ui-toolbar-bar {
-   /* Upstream OOjs UI has 4px. We split this between 3px here
+   /* Upstream OOjs UI has 2px. We split this between 1px here
   and 1px on the container to allow a smooth collapse transition
   where the bottom pixel line sweeps it up. */
-   border-bottom: 3px solid rgba(0,0,0,0.15);
+   border-bottom: 1px solid rgba(0,0,0,0.15);
 }
 
 .ve-ui-debugBar {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id8990d15b9fbd4207648c5c93492fb37e5fdab5e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders esand...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fix focus when clicking add qualifier - change (mediawiki...Wikibase)

2015-03-30 Thread Daniel Kinzler (Code Review)
Daniel Kinzler has submitted this change and it was merged.

Change subject: Fix focus when clicking add qualifier
..


Fix focus when clicking add qualifier

Bug: T89300
Change-Id: I931bf6e8bffb8be7a5b8fda58419f40ec738b075
---
M 
lib/resources/jquery.wikibase/toolbar/controller/definitions/addtoolbar/statementview-snakview.js
1 file changed, 5 insertions(+), 1 deletion(-)

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



diff --git 
a/lib/resources/jquery.wikibase/toolbar/controller/definitions/addtoolbar/statementview-snakview.js
 
b/lib/resources/jquery.wikibase/toolbar/controller/definitions/addtoolbar/statementview-snakview.js
index c3936fd..c242e1b 100644
--- 
a/lib/resources/jquery.wikibase/toolbar/controller/definitions/addtoolbar/statementview-snakview.js
+++ 
b/lib/resources/jquery.wikibase/toolbar/controller/definitions/addtoolbar/statementview-snakview.js
@@ -29,7 +29,11 @@
.off( '.addtoolbar' )
.on( 'addtoolbaradd.addtoolbar', function( e ) {
listview.enterNewItem();
-   
listview.value()[listview.value().length - 1].enterNewItem();
+
+   var snaklistview = 
listview.value()[listview.value().length - 1];
+   snaklistview.enterNewItem().done( 
function() {
+   snaklistview.focus();
+   } );
} );
 
toolbarController.registerEventHandler(

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I931bf6e8bffb8be7a5b8fda58419f40ec738b075
Gerrit-PatchSet: 6
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude aude.w...@gmail.com
Gerrit-Reviewer: Adrian Lang adrian.he...@wikimedia.de
Gerrit-Reviewer: Aude aude.w...@gmail.com
Gerrit-Reviewer: Daniel Kinzler daniel.kinz...@wikimedia.de
Gerrit-Reviewer: Thiemo Mättig (WMDE) thiemo.maet...@wikimedia.de
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Fix I2756d11 to use request instead of http lib - change (mediawiki...citoid)

2015-03-30 Thread Mobrovac (Code Review)
Mobrovac has submitted this change and it was merged.

Change subject: Fix I2756d11 to use request instead of http lib
..


Fix I2756d11 to use request instead of http lib

Change I2756d11 used the http library, which does
not respect environment proxy settings. Fixed to
use request library instead, which will respect
the proxy settings.

Change-Id: Id9925189fbe4ac9d2efeb05cfe248e477b65932b
---
M lib/CitoidService.js
M package.json
2 files changed, 19 insertions(+), 8 deletions(-)

Approvals:
  Mobrovac: Looks good to me, approved



diff --git a/lib/CitoidService.js b/lib/CitoidService.js
index 9b3d79d..c8aadcc 100644
--- a/lib/CitoidService.js
+++ b/lib/CitoidService.js
@@ -5,7 +5,7 @@
  */
 
 /* Import Modules */
-var http = require('http');
+var request = require('request');
 var urlParse = require('url');
 
 /* Import Local Modules */
@@ -122,16 +122,27 @@
 CitoidService.prototype.requestFromDOI = function (doiOpts, callback){
var doiLink = 'http://dx.doi.org/'+ doiOpts.search;
var citoidService = this;
-   var urlOpts =  Object.assign({}, doiOpts); // Shallow clone doiOpts
+   // Shallow clone doiOpts for requestFromURL method
+   var urlOpts =  Object.assign({}, doiOpts);
+   // Options for obtaining url the DOI resolves to
+   var resolveOpts = {
+   url : doiLink,
+   followRedirect : false,
+   };
 
-   // Follow one redirect here from the DOI to the canonical url
-   http.get(doiLink, function (res) {
-   // Detect a redirect
-   if (res  res.statusCode  300  res.statusCode  400  
res.headers.location) {
+   // Resolve canonical URL from DOI URL
+   request.head(resolveOpts, function (err, res) {
+   if (!err  res  res.statusCode  300  res.statusCode  400 

+   res.headers.location) {
urlOpts.search = res.headers.location;
+   // Send canonical URL to requestFromURL
+   citoidService.logger.log('debug/DOI', Resolved DOI 
+   + doiOpts.search +  to URL  + urlOpts.search +
+   ; Sending to requestFromURL);
citoidService.requestFromURL(urlOpts, callback);
} else {
-   citoidService.logger.log('debug/DOI', Unable to 
resolve DOI  + doiOpts.search);
+   citoidService.logger.log('debug/DOI', Unable to 
resolve DOI 
+   + doiOpts.search);
var message = 'Unable to resolve DOI';
var error = new Error(message);
callback(error, 404, {Error: message});
diff --git a/package.json b/package.json
index 4bdfddc..1707ab2 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   name: citoid,
-  version: 0.2.3,
+  version: 0.2.4,
   description: Converts search terms such as URL or DOI into citations.,
   scripts: {
 start: service-runner,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id9925189fbe4ac9d2efeb05cfe248e477b65932b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/services/citoid
Gerrit-Branch: master
Gerrit-Owner: Mvolz mv...@wikimedia.org
Gerrit-Reviewer: Mobrovac mobro...@wikimedia.org
Gerrit-Reviewer: Mvolz mv...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Jenkins tests job - change (mediawiki...Math)

2015-03-30 Thread Physikerwelt (Code Review)
Physikerwelt has uploaded a new change for review.

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

Change subject: Jenkins tests job
..

Jenkins tests job

Change-Id: I0c1a2d18ff087df91f42d4180a9e657cffa57720
---
0 files changed, 0 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/72/200572/1


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0c1a2d18ff087df91f42d4180a9e657cffa57720
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt w...@physikerwelt.de

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


[MediaWiki-commits] [Gerrit] Ganeti eqiad cluster DNS and Service records - change (operations/dns)

2015-03-30 Thread Alexandros Kosiaris (Code Review)
Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: Ganeti eqiad cluster DNS and Service records
..

Ganeti eqiad cluster DNS and Service records

Requisition the Ganeti/Openstack evaluation cluster's machines for an
eqiad Ganeti cluster. Removed IPv4/IPv6 public IPs, add IPv4 private
IPs, rename the management records. While at it add ganeti service
records for both eqiad and codfw

Change-Id: I893869a8fcb0c017a164e6aa41c0ec45a069562c
---
M templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
M templates/10.in-addr.arpa
M templates/154.80.208.in-addr.arpa
M templates/wikimedia.org
M templates/wmnet
5 files changed, 18 insertions(+), 25 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/dns 
refs/changes/73/200573/1

diff --git a/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa 
b/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
index 5b6a987..5f1b4c8 100644
--- a/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
+++ b/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
@@ -67,11 +67,6 @@
 
 1.0.0.0.0.0.0.0.0.0.0.0.0.0.e.f 1H IN PTR   ae3-1003.cr1-eqiad.wikimedia.org.
 2.0.0.0.0.0.0.0.0.0.0.0.0.0.e.f 1H IN PTR   ae3-1003.cr2-eqiad.wikimedia.org.
-
-3.8.0.0.4.5.1.0.0.8.0.0.8.0.2.0 1H IN PTR   mercury.wikimedia.org.
-
-7.8.0.0.4.5.1.0.0.8.0.0.8.0.2.0 1H IN PTR   thallium.wikimedia.org.
-
 9.8.0.0.4.5.1.0.0.8.0.0.8.0.2.0 1H IN PTR   lead.wikimedia.org.
 0.9.0.0.4.5.1.0.0.8.0.0.8.0.2.0 1H IN PTR   polonium.wikimedia.org.
 1.9.0.0.4.5.1.0.0.8.0.0.8.0.2.0 1H IN PTR   wiki-mail-eqiad.wikimedia.org.
diff --git a/templates/10.in-addr.arpa b/templates/10.in-addr.arpa
index 6bdb849..9a3ace8 100644
--- a/templates/10.in-addr.arpa
+++ b/templates/10.in-addr.arpa
@@ -19,6 +19,7 @@
 $ORIGIN 1.2.{{ zonename }}.
 
 1   1H  IN PTR  appservers.svc.codfw.wmnet.
+15  1H  IN PTR  ganeti01.svc.codfw.wmnet.
 21  1H  IN PTR  rendering.svc.codfw.wmnet.
 22  1H  IN PTR  api.svc.codfw.wmnet.
 27  1H  IN PTR  ms-fe.svc.codfw.wmnet.
@@ -29,6 +30,7 @@
 
 1   1H  IN PTR  appservers.svc.eqiad.wmnet.
 3   1H  IN PTR  hhvm-api.svc.eqiad.wmnet.
+15  1H  IN PTR  ganeti01.svc.eqiad.wmnet.
 16  1H  IN PTR  zotero.svc.eqiad.wmnet.
 17  1H  IN PTR  restbase.svc.eqiad.wmnet.
 18  1H  IN PTR  cxserver.svc.eqiad.wmnet.
@@ -871,6 +873,10 @@
 166 1H IN PTR   mc1012.eqiad.wmnet.
 167 1H IN PTR   eventlog1001.eqiad.wmnet.
 168 1H IN PTR   francium.eqiad.wmnet.
+169 1H IN PTR   ganeti1001.eqiad.wmnet.
+170 1H IN PTR   ganeti1002.eqiad.wmnet.
+171 1H IN PTR   ganeti1003.eqiad.wmnet.
+172 1H IN PTR   ganeti1004.eqiad.wmnet.
 
 $ORIGIN 33.64.{{ zonename }}.
 1   1H IN PTR   vl1019-eth2.lvs1001.wikimedia.org.
@@ -2008,13 +2014,13 @@
 187 1H  IN PTR  wmf4547.mgmt.eqiad.wmnet.
 187 1H  IN PTR  iridium.mgmt.eqiad.wmnet.
 188 1H  IN PTR  wmf4548.mgmt.eqiad.wmnet.
-188 1H  IN PTR  platinum.mgmt.eqiad.wmnet.
+188 1H  IN PTR  ganeti1001.mgmt.eqiad.wmnet.
 189 1H  IN PTR  wmf4549.mgmt.eqiad.wmnet.
-189 1H  IN PTR  gold.mgmt.eqiad.wmnet.
+189 1H  IN PTR  ganeti1002.mgmt.eqiad.wmnet.
 190 1H  IN PTR  wmf4550.mgmt.eqiad.wmnet.
-190 1H  IN PTR  mercury.mgmt.eqiad.wmnet.
+190 1H  IN PTR  ganeti1003.mgmt.eqiad.wmnet.
 191 1H  IN PTR  wmf4551.mgmt.eqiad.wmnet.
-191 1H  IN PTR  thallium.mgmt.eqiad.wmnet.
+191 1H  IN PTR  ganeti1004.mgmt.eqiad.wmnet.
 192 1H  IN PTR  wmf4552.mgmt.eqiad.wmnet.
 192 1H  IN PTR  ocg1001.mgmt.eqiad.wmnet.
 193 1H  IN PTR  wmf4553.mgmt.eqiad.wmnet.
diff --git a/templates/154.80.208.in-addr.arpa 
b/templates/154.80.208.in-addr.arpa
index 424fd40..ab7fd01 100644
--- a/templates/154.80.208.in-addr.arpa
+++ b/templates/154.80.208.in-addr.arpa
@@ -65,11 +65,6 @@
 79  1H  IN PTR  hafnium.wikimedia.org.
 80  1H  IN PTR  ytterbium.wikimedia.org.
 81  1H  IN PTR  gerrit.wikimedia.org.
-84  1H  IN PTR  platinum.wikimedia.org.
-85  1H  IN PTR  gold.wikimedia.org.
-86  1H  IN PTR  mercury.wikimedia.org.
-87  1H  IN PTR  thallium.wikimedia.org.
-88  1H  IN PTR  ganeti.wikimedia.org.
 89  1H  IN PTR  lead.wikimedia.org.
 90  1H  IN PTR  polonium.wikimedia.org.
 91  1H  IN PTR  wiki-mail-eqiad.wikimedia.org.
diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index 3ae096f..371d53d 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -133,8 +133,6 @@
 1H  IN  2620:0:861:202:208:80:155:68
 gadolinium  1H  IN A208.80.154.73
 gallium 1H  IN A208.80.154.135
-gold1H  IN A208.80.154.85
-ganeti  1H  IN A208.80.154.88
 hafnium 1H  IN A208.80.154.79
 holmium 1H  IN A208.80.154.12
 hydrogen1H  IN A208.80.154.50
@@ -156,8 +154,6 @@
 lvs1005 1H  IN A208.80.154.138
 lvs1006 1H  IN A208.80.154.139
 magnesium   1H  IN A208.80.154.5
-mercury 1H  IN A208.80.154.86
-   

[MediaWiki-commits] [Gerrit] ganglia: remove unused configs from ganglia::collector::config - change (operations/puppet)

2015-03-30 Thread Giuseppe Lavagetto (Code Review)
Giuseppe Lavagetto has submitted this change and it was merged.

Change subject: ganglia: remove unused configs from ganglia::collector::config
..


ganglia: remove unused configs from ganglia::collector::config

As ganglia::collector only gets included in netmon1001, we remove the
configuration and fail() if this class is called in any way.

Bug:T93776
Change-Id: Ib332e0308745ffb2ce416920132607c26b1984ad
---
M manifests/ganglia.pp
1 file changed, 1 insertion(+), 52 deletions(-)

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



diff --git a/manifests/ganglia.pp b/manifests/ganglia.pp
index 415f872..7b15673 100644
--- a/manifests/ganglia.pp
+++ b/manifests/ganglia.pp
@@ -127,58 +127,7 @@
 $rra_sizes = 'RRA:AVERAGE:0:1:4032 RRA:AVERAGE:0.17:6:2016 
RRA:MAX:0.17:6:2016 RRA:AVERAGE:0.042:288:732 RRA:MAX:0.042:288:732'
 }
 default: {
-$data_sources = {
-'Video scalers eqiad'= 'tmh1001.eqiad.wmnet 
tmh1002.eqiad.wmnet',
-'Image scalers eqiad'= 'mw1153.eqiad.wmnet 
mw1154.eqiad.wmnet',
-'API application servers eqiad'  = 'mw1114.eqiad.wmnet 
mw1115.eqiad.wmnet',
-'Application servers eqaid'  = 'mw1054.eqiad.wmnet 
mw1055.eqiad.wmnet',
-'Application servers codfw'  = 
'install2001.wikimedia.org:10660',
-'Jobrunners eqiad'   = 'mw1001.eqiad.wmnet 
mw1002.eqiad.wmnet',
-'Jobrunners codfw'   = 
'install2001.wikimedia.org:10680 mw2001.codfw.wmnet mw2080.codfw.wmnet',
-'MySQL'  = 'db1050.eqiad.wmnet',
-'PDF servers eqiad'  = 'ocg1001.eqiad.wmnet',
-'Fundraising eqiad'  = 
'pay-lvs1001.frack.eqiad.wmnet pay-lvs1002.frack.eqiad.wmnet',
-'Virtualization cluster eqiad'   = 'labnet1001.eqiad.wmnet 
virt1000.wikimedia.org',
-'Labs NFS cluster eqiad' = 'labstore1001.eqiad.wmnet 
labstore1003.eqiad.wmnet',
-'MySQL eqiad'= 'dbstore1001.eqiad.wmnet 
dbstore1002.eqiad.wmnet',
-'LVS loadbalancers eqiad'= 'lvs1001.wikimedia.org 
lvs1002.wikimedia.org',
-'LVS loadbalancers codfw'= 
'install2001.wikimedia.org:10651 lvs2001.codfw.wmnet lvs2002.codfw.wmnet',
-'Miscellaneous eqiad'= 'carbon.wikimedia.org 
bast1001.wikimedia.org',
-'Miscellaneous codfw'= 
'install2001.wikimedia.org:10657',
-'Mobile caches eqiad'= 'cp1046.eqiad.wmnet 
cp1047.eqiad.wmnet',
-'Mobile caches esams'= 
'hooft.esams.wikimedia.org:11677',
-'Bits caches eqiad'  = 'cp1056.eqiad.wmnet 
cp1057.eqiad.wmnet',
-'Upload caches eqiad'= 'cp1048.eqiad.wmnet 
cp1061.eqiad.wmnet',
-'Swift eqiad'= 'ms-fe1001.eqiad.wmnet 
ms-fe1002.eqiad.wmnet',
-'Swift esams'= 
'hooft.esams.wikimedia.org:11676',
-'Swift codfw'= 
'install2001.wikimedia.org:10676',
-'Bits caches esams'  = 
'hooft.esams.wikimedia.org:11670 cp3019.esams.wmnet cp3020.esams.wmnet',
-'LVS loadbalancers esams'= 
'hooft.esams.wikimedia.org:11651 lvs3001.esams.wmnet lvs3002.esams.wmnet',
-'Miscellaneous esams'= 
'hooft.esams.wikimedia.org:11657',
-'Analytics cluster eqiad'= 'analytics1009.eqiad.wmnet 
analytics1010.eqiad.wmnet analytics1014.eqiad.wmnet',
-'Memcached eqiad'= 'mc1001.eqiad.wmnet 
mc1002.eqiad.wmnet',
-'Text caches esams'  = 
'hooft.esams.wikimedia.org:11669',
-'Upload caches esams'= 
'hooft.esams.wikimedia.org:11671 cp3003.esams.wmnet cp3004.esams.wmnet',
-'Parsoid eqiad'  = 'wtp1001.eqiad.wmnet 
wtp1002.eqiad.wmnet',
-'Parsoid Varnish eqiad'  = 'cp1045.eqiad.wmnet 
cp1058.eqiad.wmnet',
-'Redis eqiad'= 'rdb1001.eqiad.wmnet 
rdb1002.eqiad.wmnet',
-'Text caches eqiad'  = 'cp1052.eqiad.wmnet 
cp1053.eqiad.wmnet',
-'Misc Web caches eqiad'  = 'cp1043.eqiad.wmnet 
cp1044.eqiad.wmnet',
-'LVS loadbalancers ulsfo'= 'lvs4001.ulsfo.wmnet 
lvs4003.ulsfo.wmnet',
-'Bits caches ulsfo'  = 'cp4001.ulsfo.wmnet 
cp4003.ulsfo.wmnet',
-'Upload caches ulsfo'= 'cp4005.ulsfo.wmnet 
cp4013.ulsfo.wmnet',
-'Mobile caches ulsfo'= 'cp4011.ulsfo.wmnet 
cp4019.ulsfo.wmnet',
-'Text caches 

[MediaWiki-commits] [Gerrit] Removed LESS include path - change (mediawiki...BlueSpiceSkin)

2015-03-30 Thread Robert Vogel (Code Review)
Robert Vogel has uploaded a new change for review.

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

Change subject: Removed LESS include path
..

Removed LESS include path

This caused trouble with existing customer skins and had no advantage at
the moment.

Change-Id: I72204d3472f1a1c471f3d71ef70e13795a887346
---
M BlueSpiceSkin.php
M includes/BlueSpiceSkinHooks.php
2 files changed, 1 insertion(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/BlueSpiceSkin 
refs/changes/78/200578/1

diff --git a/BlueSpiceSkin.php b/BlueSpiceSkin.php
index e193e40..fe7030a 100644
--- a/BlueSpiceSkin.php
+++ b/BlueSpiceSkin.php
@@ -89,11 +89,6 @@
'myskin', 'nostalgia', 'simple', 'standard' );
 
 // Set LESS global variables
-   $localBasePath = dirname( __DIR__ );
-   $wgResourceLoaderLESSImportPaths = array_merge( 
$wgResourceLoaderLESSImportPaths, array(
-   $localBasePath/resources/,
-   ) );
-
 $wgResourceLoaderLESSVars += array(
'body-font-size' = '1em',
'bs-color-primary' = '#3e5389', //blue
diff --git a/includes/BlueSpiceSkinHooks.php b/includes/BlueSpiceSkinHooks.php
index 840788e..18ed4eb 100644
--- a/includes/BlueSpiceSkinHooks.php
+++ b/includes/BlueSpiceSkinHooks.php
@@ -83,7 +83,7 @@
'text' = wfMessage( 
'bs-navigation-contact' )-plain(),
'href' = 
'http://www.blue-spice.org/de/ueber-uns/kontakt-anfahrt/',
'id' = 'contact'
-   ),
+   )
)
);
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I72204d3472f1a1c471f3d71ef70e13795a887346
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/BlueSpiceSkin
Gerrit-Branch: master
Gerrit-Owner: Robert Vogel vo...@hallowelt.biz

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


[MediaWiki-commits] [Gerrit] [WIP] Specify assert=user when submitting an edit. - change (apps...wikipedia)

2015-03-30 Thread Dbrant (Code Review)
Dbrant has uploaded a new change for review.

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

Change subject: [WIP] Specify assert=user when submitting an edit.
..

[WIP] Specify assert=user when submitting an edit.

This will ensure that the edit is saved under the user's account, instead
of an anonymous IP address, as has been reported by several users.

This is a WIP patch because I haven't actually been able to reproduce
the bug, so the fix is only theoretical.

Bug: T75086

Change-Id: Ica13fa1af4865c325d4566e0c7936374e8e4e61f
---
M wikipedia/res/values-qq/strings.xml
M wikipedia/res/values/strings.xml
M wikipedia/src/main/java/org/wikipedia/editing/DoEditTask.java
M wikipedia/src/main/java/org/wikipedia/editing/EditSectionActivity.java
4 files changed, 22 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/67/200567/1

diff --git a/wikipedia/res/values-qq/strings.xml 
b/wikipedia/res/values-qq/strings.xml
index 120362d..e321461 100644
--- a/wikipedia/res/values-qq/strings.xml
+++ b/wikipedia/res/values-qq/strings.xml
@@ -365,4 +365,5 @@
   string name=gallery_fair_use_licenseShort name of the Fair Use license 
when applied to media that do not have attribution information.
 {{Identical|Fair use}}/string
   string name=gallery_uploader_unknownText displayed when the uploader of 
a media item is not known./string
+  string name=edit_save_unknown_errorError message shown when there was an 
unknown error while saving the edit made by the user. The \%s\ symbol is 
replaced with the error code returned by the server./string
 /resources
diff --git a/wikipedia/res/values/strings.xml b/wikipedia/res/values/strings.xml
index 30d1ac8..a28dd3d 100644
--- a/wikipedia/res/values/strings.xml
+++ b/wikipedia/res/values/strings.xml
@@ -276,4 +276,5 @@
 string name=captcha_imageCaptcha image/string
 string name=gallery_fair_use_licenseFair use/string
 string name=gallery_uploader_unknownUploader unknown/string
+string name=edit_save_unknown_errorCould not save your edit: 
%s/string
 /resources
diff --git a/wikipedia/src/main/java/org/wikipedia/editing/DoEditTask.java 
b/wikipedia/src/main/java/org/wikipedia/editing/DoEditTask.java
index a96a9f1..df6e841 100644
--- a/wikipedia/src/main/java/org/wikipedia/editing/DoEditTask.java
+++ b/wikipedia/src/main/java/org/wikipedia/editing/DoEditTask.java
@@ -16,8 +16,10 @@
 private final int sectionID;
 private final String summary;
 private final String editToken;
+private final boolean loggedIn;
 
-public DoEditTask(Context context, PageTitle title, String 
sectionWikitext, int sectionID, String editToken, String summary) {
+public DoEditTask(Context context, PageTitle title, String 
sectionWikitext, int sectionID,
+  String editToken, String summary, boolean loggedIn) {
 super(
 SINGLE_THREAD,
 
((WikipediaApp)context.getApplicationContext()).getAPIForSite(title.getSite())
@@ -27,16 +29,24 @@
 this.sectionID = sectionID;
 this.editToken = editToken;
 this.summary = summary;
+this.loggedIn = loggedIn;
 }
 
 @Override
 public RequestBuilder buildRequest(Api api) {
-return api.action(edit)
+RequestBuilder req = api.action(edit)
 .param(title, title.getPrefixedText())
 .param(section, String.valueOf(sectionID))
 .param(text, sectionWikitext)
 .param(token, editToken)
 .param(summary, summary);
+if (loggedIn) {
+// if the app believes that the user is logged in, then make sure 
to send an assert
+// parameter to the API, so that it will notify us if the user was 
actually logged
+// out on another device, and we'll need to log back in behind the 
scenes.
+req = req.param(assert, user);
+}
+return req;
 }
 
 @Override
diff --git 
a/wikipedia/src/main/java/org/wikipedia/editing/EditSectionActivity.java 
b/wikipedia/src/main/java/org/wikipedia/editing/EditSectionActivity.java
index ddd9e07..544f08b 100644
--- a/wikipedia/src/main/java/org/wikipedia/editing/EditSectionActivity.java
+++ b/wikipedia/src/main/java/org/wikipedia/editing/EditSectionActivity.java
@@ -249,7 +249,8 @@
 String summaryText = TextUtils.isEmpty(sectionHeading) ?  : 
(/*  + sectionHeading +  */ );
 summaryText += editPreviewFragment.getSummary();
 
-new DoEditTask(EditSectionActivity.this, title, 
sectionText.getText().toString(), sectionID, token, summaryText) {
+new DoEditTask(EditSectionActivity.this, title, 
sectionText.getText().toString(),
+sectionID, token, summaryText, 
app.getUserInfoStorage().isLoggedIn()) {
 @Override
 public void 

[MediaWiki-commits] [Gerrit] Fix possible crash when highlighting text to share. - change (apps...wikipedia)

2015-03-30 Thread Dbrant (Code Review)
Dbrant has uploaded a new change for review.

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

Change subject: Fix possible crash when highlighting text to share.
..

Fix possible crash when highlighting text to share.

Bug: T94311
Change-Id: I4b6a7daead430656d2e12a0bc375b92ecaa9fc0a
---
M 
wikipedia/src/main/java/org/wikipedia/page/snippet/TextSelectedShareAdapter.java
1 file changed, 11 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/70/200570/1

diff --git 
a/wikipedia/src/main/java/org/wikipedia/page/snippet/TextSelectedShareAdapter.java
 
b/wikipedia/src/main/java/org/wikipedia/page/snippet/TextSelectedShareAdapter.java
index 295c0cd..d77e80b 100644
--- 
a/wikipedia/src/main/java/org/wikipedia/page/snippet/TextSelectedShareAdapter.java
+++ 
b/wikipedia/src/main/java/org/wikipedia/page/snippet/TextSelectedShareAdapter.java
@@ -3,6 +3,7 @@
 import android.annotation.TargetApi;
 import android.content.ClipboardManager;
 import android.content.Context;
+import android.content.res.Resources;
 import android.graphics.Color;
 import android.os.Build;
 import android.support.v7.view.ActionMode;
@@ -73,11 +74,16 @@
 // consistent throughout the various APIs.
 for (int i = 0; i  menu.size(); i++) {
 MenuItem item = menu.getItem(i);
-String resourceName = 
getActivity().getResources().getResourceName(item.getItemId());
-if (resourceName.contains(copy)) {
-copyMenuItem = item;
-} else if (resourceName.contains(share)) {
-shareItem = item;
+try {
+String resourceName = 
getActivity().getResources().getResourceName(item.getItemId());
+if (resourceName.contains(copy)) {
+copyMenuItem = item;
+} else if (resourceName.contains(share)) {
+shareItem = item;
+}
+} catch (Resources.NotFoundException e) {
+// Looks like some devices don't have names for these menu 
items,
+// in which case, there's nothing we can do...
 }
 // In APIs lower than 21, some of the action mode icons may not 
respect the
 // current theme, so we need to manually tint those icons.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b6a7daead430656d2e12a0bc375b92ecaa9fc0a
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Dbrant dbr...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fix possible crash when failing to clear shared image folder. - change (apps...wikipedia)

2015-03-30 Thread Dbrant (Code Review)
Dbrant has uploaded a new change for review.

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

Change subject: Fix possible crash when failing to clear shared image folder.
..

Fix possible crash when failing to clear shared image folder.

Bug: T94185
Change-Id: I2ef9153f6b7ba07eb13b5194a7714a86c3d2e812
---
M wikipedia/src/main/java/org/wikipedia/page/snippet/SharedImageCleanupTask.java
1 file changed, 9 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/71/200571/1

diff --git 
a/wikipedia/src/main/java/org/wikipedia/page/snippet/SharedImageCleanupTask.java
 
b/wikipedia/src/main/java/org/wikipedia/page/snippet/SharedImageCleanupTask.java
index 612d9e1..005d045 100644
--- 
a/wikipedia/src/main/java/org/wikipedia/page/snippet/SharedImageCleanupTask.java
+++ 
b/wikipedia/src/main/java/org/wikipedia/page/snippet/SharedImageCleanupTask.java
@@ -1,6 +1,7 @@
 package org.wikipedia.page.snippet;
 
 import android.content.Context;
+import android.util.Log;
 
 import org.wikipedia.recurring.RecurringTask;
 import org.wikipedia.util.ShareUtils;
@@ -25,7 +26,14 @@
 
 @Override
 protected void run(Date lastRun) {
-ShareUtils.clearFolder(getContext());
+try {
+ShareUtils.clearFolder(getContext());
+} catch (Exception e) {
+// There have been a few reports of errors during the clearing 
process, even though
+// we check that external storage is mounted properly. For now, we 
won't worry
+// about it, since this task will be repeated later.
+Log.d(SharedImageCleanupTask, Failed to clear shared image 
folder., e);
+}
 }
 
 @Override

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ef9153f6b7ba07eb13b5194a7714a86c3d2e812
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Dbrant dbr...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Make composer install despite state from previous job run - change (integration/config)

2015-03-30 Thread JanZerebecki (Code Review)
JanZerebecki has uploaded a new change for review.

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

Change subject: Make composer install despite state from previous job run
..

Make composer install despite state from previous job run

Change-Id: If0ac9e4e8f0f730658f93921a465f39929544028
---
M jjb/wikidata.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/77/200577/1

diff --git a/jjb/wikidata.yaml b/jjb/wikidata.yaml
index 8e29637..e919b49 100644
--- a/jjb/wikidata.yaml
+++ b/jjb/wikidata.yaml
@@ -3,7 +3,7 @@
 builders:
 - shell: |
 composer=/srv/deployment/integration/composer/vendor/bin/composer
-cd $WORKSPACE/src/extensions/{extension}  timeout 300 
$composer install --prefer-source -vvv
+cd $WORKSPACE/src/extensions/{extension}  timeout 300 
$composer update --prefer-source -vvv
 
 - builder:
 name: wd-wikibase-apply-settings

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If0ac9e4e8f0f730658f93921a465f39929544028
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: JanZerebecki jan.wikime...@zerebecki.de

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


[MediaWiki-commits] [Gerrit] bugfix + hook added - change (mediawiki...BlueSpiceExtensions)

2015-03-30 Thread Tweichart (Code Review)
Tweichart has uploaded a new change for review.

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

Change subject: bugfix + hook added
..

bugfix + hook added

* added hook to extend flexiskin, needs merge for 1.23 + wip
* smaller bugfix

Change-Id: I6759c48b91afb9ac74edebed2c1e42989fa89052
---
M Flexiskin/Flexiskin.class.php
1 file changed, 3 insertions(+), 2 deletions(-)


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

diff --git a/Flexiskin/Flexiskin.class.php b/Flexiskin/Flexiskin.class.php
index 255dc6a..94b6da8 100644
--- a/Flexiskin/Flexiskin.class.php
+++ b/Flexiskin/Flexiskin.class.php
@@ -298,7 +298,7 @@
$oStatus = BsFileSystemHelper::uploadFile(self::getVal('name'), 
flexiskin . DS . self::getVal('id') . DS . images);
 
if (!$oStatus-isGood())
-   $aResult = json_encode(array('success' = false, 'msg' 
= err_cd: . $aStatus['status']));
+   $aResult = json_encode(array('success' = false, 'msg' 
= err_cd: . $oStatus-getMessage()));
else
$aResult = json_encode(array('success' = true, 'name' 
= $oStatus-getValue()));
$oAjaxResponse = new AjaxResponse( $aResult );
@@ -317,7 +317,8 @@
$aConfigs = json_decode($aConfigs);
foreach ($aConfigs as $aConfig) {
$func = Flexiskin::format_ . $aConfig-id;
-   if (is_callable($func))
+   $bReturn = wfRunHooks(BSFlexiskinGenerateStyleFile, 
array($func, $aConfig));
+   if ( $bReturn === true  is_callable($func))
$aFile[] = call_user_func($func, $aConfig);
}
return implode( \n, $aFile);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6759c48b91afb9ac74edebed2c1e42989fa89052
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: REL1_22
Gerrit-Owner: Tweichart weich...@hallowelt.biz

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


[MediaWiki-commits] [Gerrit] Update version before MLEB release - change (mediawiki...Translate)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Update version before MLEB release
..


Update version before MLEB release

Change-Id: I48873859ef3bec133e734baade237512b17a5e5c
---
M Translate.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/Translate.php b/Translate.php
index eae4258..0a2a6c2 100644
--- a/Translate.php
+++ b/Translate.php
@@ -17,7 +17,7 @@
 /**
  * Version number used in extension credits and in other places where needed.
  */
-define( 'TRANSLATE_VERSION', '2015-02-27' );
+define( 'TRANSLATE_VERSION', '2015-03-30' );
 
 /**
  * Extension credits properties.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I48873859ef3bec133e734baade237512b17a5e5c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com
Gerrit-Reviewer: Amire80 amir.ahar...@mail.huji.ac.il
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Config for MLEB 2015.03 - change (translatewiki)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Config for MLEB 2015.03
..


Config for MLEB 2015.03

* ULS is at: master
* Translate is at: master

Change-Id: I6699f5c32466582a05af46e4ecf7c8c2a7841afd
---
M melange/config.ini
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/melange/config.ini b/melange/config.ini
index f806d35..84abe28 100644
--- a/melange/config.ini
+++ b/melange/config.ini
@@ -2,8 +2,8 @@
 mediawikirepo=ssh://kar...@gerrit.wikimedia.org:29418/mediawiki/core.git
 extensionrepo=ssh://kar...@gerrit.wikimedia.org:29418/mediawiki/extensions/
 branches=origin/master origin/REL1_21 origin/REL1_20
-releasever=2015.02
-releasever-prev=2015.01
+releasever=2015.03
+releasever-prev=2015.02
 bundlename=MediaWiki language extension bundle
 downloadurl=https://translatewiki.net/mleb
 hasher=sha256sum

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6699f5c32466582a05af46e4ecf7c8c2a7841afd
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com
Gerrit-Reviewer: Amire80 amir.ahar...@mail.huji.ac.il
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Update version before MLEB release - change (mediawiki...UniversalLanguageSelector)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Update version before MLEB release
..


Update version before MLEB release

Change-Id: I5e8908336edfa0e44ce8d7e520173c51d9a73314
---
M UniversalLanguageSelector.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/UniversalLanguageSelector.php b/UniversalLanguageSelector.php
index fa65997..32bbf97 100644
--- a/UniversalLanguageSelector.php
+++ b/UniversalLanguageSelector.php
@@ -25,7 +25,7 @@
 /**
  * Version number used in extension credits and in other placed where needed.
  */
-define( 'ULS_VERSION', '2015-02-27' );
+define( 'ULS_VERSION', '2015-03-30' );
 
 $GLOBALS['wgExtensionCredits']['other'][] = array(
'path' = __FILE__,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5e8908336edfa0e44ce8d7e520173c51d9a73314
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com
Gerrit-Reviewer: Amire80 amir.ahar...@mail.huji.ac.il
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Don't expect cuc_id to exist - change (mediawiki...Flow)

2015-03-30 Thread Matthias Mullie (Code Review)
Matthias Mullie has uploaded a new change for review.

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

Change subject: Don't expect cuc_id to exist
..

Don't expect cuc_id to exist

There's 3 possible paths in CheckUser that could lead to this hook
being triggered. 1 of those doesn't provide cuc_id.

Funny thing: the only thing we need cuc_id for, is to log good info
when something went wrong. The only thing that went wrong, was exactly
this...

Bug: T90285
Change-Id: Ifab3379727f347b40f25025fc0601e3e7e54e39e
---
M Hooks.php
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/69/200569/1

diff --git a/Hooks.php b/Hooks.php
index 2dc43c6..7333ecb 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -410,7 +410,6 @@
 
set_error_handler( new Flow\RecoverableErrorHandler, -1 );
$replacement = null;
-   $cucId = $row-cuc_id;
try {
/** @var CheckUserQuery $query */
$query = Container::get( 'query.checkuser' );
@@ -423,7 +422,7 @@
$replacement = $formatter-format( $row, 
$checkUser-getContext() );
}
} catch ( Exception $e ) {
-   wfDebugLog( 'Flow', __METHOD__ . ': Exception 
formatting cu ' . $cucId . ' ' . $e );
+   wfDebugLog( 'Flow', __METHOD__ . ': Exception 
formatting cu ' . json_encode( $row ) . ' ' . $e );
MWExceptionHandler::logException( $e );
}
restore_error_handler();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifab3379727f347b40f25025fc0601e3e7e54e39e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie mmul...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Make sure workflows is always an array - change (mediawiki...Flow)

2015-03-30 Thread Matthias Mullie (Code Review)
Matthias Mullie has uploaded a new change for review.

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

Change subject: Make sure workflows is always an array
..

Make sure workflows is always an array

It could be `false`, which later is used in an array_merge

Change-Id: Ia4e530a84df7d1171e712358de3ed66a15d39c2f
---
M includes/Formatter/AbstractQuery.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/68/200568/1

diff --git a/includes/Formatter/AbstractQuery.php 
b/includes/Formatter/AbstractQuery.php
index 155d7f2..a0df73b 100644
--- a/includes/Formatter/AbstractQuery.php
+++ b/includes/Formatter/AbstractQuery.php
@@ -147,6 +147,7 @@
// So any post IDs that *are* root posts + found root post IDs 
+ header workflow IDs
// should cover the lot.
$workflows = $this-storage-getMulti( 'Workflow', array_merge( 
$rootPostIds, $workflowIds ) );
+   $workflows = $workflows ?: array();
 
// preload all requested previous revisions
foreach ( $previousRevisionIds as $revisionType = $ids ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia4e530a84df7d1171e712358de3ed66a15d39c2f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie mmul...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fix SurfaceWidget and DebugBar hacks - change (mediawiki...VisualEditor)

2015-03-30 Thread Esanders (Code Review)
Esanders has uploaded a new change for review.

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

Change subject: Fix SurfaceWidget and DebugBar hacks
..

Fix SurfaceWidget and DebugBar hacks

Depends on Id9cec1f8df in core.

Change-Id: I93cb8ec787e53c07b5051c0296eb6f59b6048e91
---
M modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
1 file changed, 5 insertions(+), 6 deletions(-)


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

diff --git a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css 
b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
index fc6715a..4980fe2 100644
--- a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
+++ b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget-vector.css
@@ -26,10 +26,6 @@
font-size: 0.8em;
 }
 
-.ve-ui-mwSurfaceWidget .ve-ce-surface {
-   /* 0.875 (mw-body-content) / 0.8em (window) */
-   font-size: 1.09375em;
-}
 
 .ve-init-mw-viewPageTarget-toolbar {
margin: -1em -1em 1em -1em;
@@ -44,10 +40,13 @@
border-bottom: 3px solid rgba(0,0,0,0.15);
 }
 
-.ve-ui-debugBar {
+.ve-init-target  .ve-ui-debugBar {
padding: 1em;
margin: 1em -1em -1em -1em;
-   border-top: solid 1px #ccc;
+}
+
+.ve-ui-debugBar {
+   border-top: 1px solid #ccc;
box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.15) inset;
 }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I93cb8ec787e53c07b5051c0296eb6f59b6048e91
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Esanders esand...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] [BREAKING CHANGE] Fix font sizes and padding in Surface and ... - change (VisualEditor/VisualEditor)

2015-03-30 Thread Esanders (Code Review)
Esanders has uploaded a new change for review.

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

Change subject: [BREAKING CHANGE] Fix font sizes and padding in Surface and 
SurfaceWidget
..

[BREAKING CHANGE] Fix font sizes and padding in Surface and SurfaceWidget

Now that windows are never iFrames, update the calculations of surface
font sizes and padding, removing font size and line height overrides
where necessary.

Fix SurfaceWidget to behave correctly in all skins.

Change-Id: Id9cec1f8df0eb3228070027fcb89544d60136abd
---
M demos/ve/demo.css
M demos/ve/demo.desktop.css
M demos/ve/demo.js
M src/ce/styles/nodes/ve.ce.DocumentNode.css
M src/ce/styles/ve.ce.Surface.css
M src/init/sa/ve.init.sa.Target.js
M src/themes/apex/widgets.css
M src/themes/mediawiki/widgets.css
M src/ui/styles/ve.ui.MobileContext.css
M src/ui/styles/ve.ui.Overlay.css
M src/ui/styles/widgets/ve.ui.SurfaceWidget.css
11 files changed, 33 insertions(+), 35 deletions(-)


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

diff --git a/demos/ve/demo.css b/demos/ve/demo.css
index 3bf3307..e0ef26c 100644
--- a/demos/ve/demo.css
+++ b/demos/ve/demo.css
@@ -96,14 +96,14 @@
 }
 
 .ve-demo-read {
+   /* Match document padding and surface font size */
padding: 0.75em 1.5em;
font-size: 0.8em;
 }
 
 /* Editor */
 
-.ve-ce-documentNode {
-   padding: 0.75em 1.5em;
+.ve-ce-surface {
font-size: 0.8em;
 }
 
diff --git a/demos/ve/demo.desktop.css b/demos/ve/demo.desktop.css
index a0c2042..367acfb 100644
--- a/demos/ve/demo.desktop.css
+++ b/demos/ve/demo.desktop.css
@@ -20,7 +20,7 @@
margin: 0 2em 2em 2em;
 }
 
-.ve-demo-editor  div  div:last-child {
+.ve-init-sa-target-surfaceWrapper  :last-child {
border-radius: 0 0 0.25em 0.25em;
 }
 
@@ -31,7 +31,7 @@
 
 /* Editor */
 
-.ve-ui-surface {
+.ve-init-sa-target-surfaceWrapper  .ve-ui-surface {
/* surface is used for positioning so use an inset-shadow border */
box-shadow: 0 0.25em 1.5em 0 #ddd, inset 0 0 0 1px #ccc;
 }
@@ -48,7 +48,7 @@
border-bottom-width: 1px;
 }
 
-.ve-ui-debugBar {
+.ve-init-sa-target-surfaceWrapper  .ve-ui-debugBar {
border: 1px solid #ccc;
border-top: 0;
box-shadow: 0 0.25em 1.5em 0 #ddd;
diff --git a/demos/ve/demo.js b/demos/ve/demo.js
index 342d927..dc7e09f 100644
--- a/demos/ve/demo.js
+++ b/demos/ve/demo.js
@@ -197,7 +197,7 @@
this.surface = null;
this.lang = lang;
this.dir = dir;
-   this.$surfaceWrapper = this.$( 'div' );
+   this.$surfaceWrapper = this.$( 'div' ).addClass( 
've-demo-surfaceWrapper' );
this.mode = null;
this.pageMenu = pageDropdown.getMenu();
this.sourceTextInput = new OO.ui.TextInputWidget( {
@@ -220,7 +220,7 @@
} );
removeButton.on( 'click', this.destroy.bind( this ) );
 
-   this.$element.append(
+   this.$element.addClass( 've-demo-surfaceContainer' ).append(
this.$( 'div' ).addClass( 've-demo-toolbar 
ve-demo-surfaceToolbar' ).append(
this.$( 'div' ).addClass( 've-demo-toolbar-commands' 
).append(
pageLabel.$element,
diff --git a/src/ce/styles/nodes/ve.ce.DocumentNode.css 
b/src/ce/styles/nodes/ve.ce.DocumentNode.css
index 5934457..4f8a364 100644
--- a/src/ce/styles/nodes/ve.ce.DocumentNode.css
+++ b/src/ce/styles/nodes/ve.ce.DocumentNode.css
@@ -7,6 +7,8 @@
 .ve-ce-documentNode {
cursor: text;
overflow: hidden;
+   /* 0.75/0.8, 1.5/0.8 */
+   padding: 0.9375em 1.875em;
 }
 
 /*
diff --git a/src/ce/styles/ve.ce.Surface.css b/src/ce/styles/ve.ce.Surface.css
index a41ced4..edca4f2 100644
--- a/src/ce/styles/ve.ce.Surface.css
+++ b/src/ce/styles/ve.ce.Surface.css
@@ -53,7 +53,8 @@
 
 .ve-ce-surface-paste {
position: fixed;
-   top: 1em; /* Hack: Stop the viewport scrolling when the paste target is 
typed into */
+   /* Hack: Stop the viewport scrolling when the paste target is typed 
into */
+   top: 1em;
left: 0;
/* Try to avoid wrapping by not setting a width because of 
https://code.google.com/p/chromium/issues/detail?id=318925 */
height: 1px;
diff --git a/src/init/sa/ve.init.sa.Target.js b/src/init/sa/ve.init.sa.Target.js
index dcdf0a2..15b0a9e 100644
--- a/src/init/sa/ve.init.sa.Target.js
+++ b/src/init/sa/ve.init.sa.Target.js
@@ -65,7 +65,7 @@
  */
 ve.init.sa.Target.prototype.addSurface = function () {
var surface = ve.init.sa.Target.super.prototype.addSurface.apply( this, 
arguments );
-   this.$element.append( $( 'div' ).append( surface.$element ) );
+   this.$element.append( $( 'div' ).addClass( 
've-init-sa-target-surfaceWrapper' ).append( surface.$element ) );
if ( !this.getSurface() ) {
this.setSurface( surface );
}
diff --git a/src/themes/apex/widgets.css 

[MediaWiki-commits] [Gerrit] icinga: check mailman shunt queue too - change (operations/puppet)

2015-03-30 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has uploaded a new change for review.

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

Change subject: icinga: check mailman shunt queue too
..

icinga: check mailman shunt queue too

the shunt queue is used by mailman for messages that fail processing (e.g.
permission error)

Bug: T93783
Change-Id: Ic315132f631c086ee1aeb48a8f031690964afe5e
---
M files/icinga/check_mailman_queue
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/200524/1

diff --git a/files/icinga/check_mailman_queue b/files/icinga/check_mailman_queue
index 361393f..650a014 100755
--- a/files/icinga/check_mailman_queue
+++ b/files/icinga/check_mailman_queue
@@ -10,7 +10,7 @@
 # /files/icinga/check_mailman_queue queue limit
 
 mailman_base=/var/lib/mailman/qfiles
-FILES=$mailman_base/in $mailman_base/out $mailman_base/virgin
+FILES=$mailman_base/in $mailman_base/out $mailman_base/virgin 
$mailman_base/shunt
 
 queue_limit=$1
 critqueues=0

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic315132f631c086ee1aeb48a8f031690964afe5e
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi fgiunch...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] role::package::builder uses package_builder module - change (operations/puppet)

2015-03-30 Thread Alexandros Kosiaris (Code Review)
Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: role::package::builder uses package_builder module
..

role::package::builder uses package_builder module

Migrate the role::package::builder to the new package_builder module.
While at it remove the role::package::builder::labs role which is unused
even in labs

Change-Id: I6afe51231218a2b397212937a793e57c3136b8bc
---
M manifests/role/package.pp
1 file changed, 5 insertions(+), 45 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/25/200525/1

diff --git a/manifests/role/package.pp b/manifests/role/package.pp
index ef6aed9..9bd7755 100644
--- a/manifests/role/package.pp
+++ b/manifests/role/package.pp
@@ -1,51 +1,11 @@
-# == Class: role::package::pbuilder
+# == Class: role::package::builder
 #
-# Basic role wrapper around misc::package-pbuilder and suitable for production
+# Role for package_builder
 #
 class role::package::builder {
+include ::package_builder
 
-if $::realm == 'labs' {
-fail( 'On labs please use package::builder::labs instead')
+system::role { 'role::package::builder':
+description = 'Debian package builder'
 }
-
-system::role { 'role::package::builder': description = 'Debian package 
builder' }
-
-include misc::package-builder
-}
-
-# == Class: package::pbuilder::labs
-#
-# Role wrapper around misc::package-pbuilder suitable for labs. Since pbuilder
-# use a fairly large amount of disk space and labs instance in eqiad have a
-# pretty much filled out 2GB partition for /var, we have to mount the remaining
-# disk space on /mnt and point pbuilder to it.
-#
-# This class depends on role::labs::lvm::mnt to provide the additional disk
-# space at /mnt.  You must include it.
-#
-class role::package::builder::labs {
-
-if $::realm == 'production' {
-fail( 'On production please use package::builder instead')
-}
-
-system::role { 'role::package::builder::labs': description = 'Debian 
package builder on labs' }
-
-# Changing this would need manual cleanup on all labs instance using
-# this class!
-$pbuilder_root_labs = '/mnt/pbuilder'
-
-file { $pbuilder_root_labs:
-ensure  = directory,
-owner   = 'root',
-group   = 'root',
-mode= '0775',
-require = Class['role::labs::lvm::mnt']
-}
-
-class { 'misc::package-builder':
-pbuilder_root = $pbuilder_root_labs,
-require   = File[$pbuilder_root_labs],
-}
-
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6afe51231218a2b397212937a793e57c3136b8bc
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris akosia...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Fix two people's real names in the admin data - change (operations/puppet)

2015-03-30 Thread Alexandros Kosiaris (Code Review)
Alexandros Kosiaris has submitted this change and it was merged.

Change subject: Fix two people's real names in the admin data
..


Fix two people's real names in the admin data

Found these two while writing scripts to keep meta's System_administrators page 
up to date

Change-Id: I114b6ff42ed3db2dbc76d3e580d6e2d71b706104
---
M modules/admin/data/data.yaml
1 file changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index f724e61..7e5afd0 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -511,7 +511,7 @@
 ensure: present
 gid: 500
 name: awjrichards
-realname: Richards
+realname: Arthur Richards
 ssh_keys: [ssh-rsa 
B3NzaC1yc2EBIwAAAQEAqlaOugpX6Kz8NC2/5FdwvYlBE4ve9eTRHjD3/myj4cKzCkeKlDZT3DLxU+T4Eb7jmT/g+BeTohmafLoadg8d2YPu76HU5or7Ix6Pr2ZprDgNrLEnxdzhKeRZXT0IbXekKXWflmiRaB8LUH1MO9kTtm/QxlsqXRV90dExoJGNTlRiL3tEFro5zeiZ74qXFYXSAvofOAxueS/ZjIYmO6qHKuUUybo0/G/rN90wfG0tzzclhHv9dkUUgDqxj/DzXx37u9HxkaVFEDX9yQxVwQ1odq9oaIQvZslOMZZhaXoNkBlWjnT2+a99up60TOYbjy5tUNP5UJVzvtfyO/UPe6iZPQ==
 awjrichards]
 uid: 552
@@ -1199,7 +1199,7 @@
 ensure: present
 gid: 500
 name: ellery
-real name: Ellery Wulczyn
+realname: Ellery Wulczyn
 ssh_keys: [ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDCKFGOn5NPv0el5EtWWwffENDgrt8GKzXTUdhOOWOBemPc98MGEMkKoeAY3RAZW1xbJo+b+ZDTDORVWw3A5Lw6b8Es/fBnJR2rfChKOwj7VzeMLyIFzjgkzI+UekgfWcCsEk24ic6aJAAFLvhVV6Ib9vg1l8p+ZJFL+5+54XMt0MphZtN2w3pgv/SccJzF/kodPyu7N7jRmzweOosH7dY20cSXbnkoz8jCDs6HeLTvLErLsjYWUtwnzjhDp4lBvvZVpzkMXpp/Ju44ksypgyfzEBa/+iP1QQpls6KqRMb6wD56Z8E5BFm2s/nbff3BP3Hk7dsTLJPXYGZw48pWMwWD
 ellerywulc...@administorsair4.corp.wikimedia.org]
 uid: 10517
   dduvall:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I114b6ff42ed3db2dbc76d3e580d6e2d71b706104
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alex Monk kren...@gmail.com
Gerrit-Reviewer: Alexandros Kosiaris akosia...@wikimedia.org
Gerrit-Reviewer: Dzahn dz...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Allocate IPv4/IPv6 for dns-rec-lb.esams - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: Allocate IPv4/IPv6 for dns-rec-lb.esams
..


Allocate IPv4/IPv6 for dns-rec-lb.esams

Change-Id: I47f8b19a40f7340d7e0aa75930ca06f107b08013
---
M templates/174.198.91.in-addr.arpa
M templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
M templates/wikimedia.org
3 files changed, 10 insertions(+), 2 deletions(-)

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



diff --git a/templates/174.198.91.in-addr.arpa 
b/templates/174.198.91.in-addr.arpa
index c8a0bf8..2fba58f 100644
--- a/templates/174.198.91.in-addr.arpa
+++ b/templates/174.198.91.in-addr.arpa
@@ -65,6 +65,10 @@
 
 ; - - 91.198.174.216/29 LVS Misc
 
+216 1H IN PTR   dns-rec-lb.esams.wikimedia.org.
+
+; 91.198.174.224/28 out-of-subnet service IPs
+
 239 1H IN PTR   ns2.wikimedia.org.
 
 ; Neighbor block between cr2-knams and csw2-esams (91.198.174.240/31)
diff --git a/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa 
b/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
index 4697c5f..ef1cdec 100644
--- a/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
+++ b/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
@@ -153,6 +153,8 @@
 
 $ORIGIN 3.0.0.0.0.0.0.0.0.0.0.0.a.1.d.e.{{ zonename }}.
 
+e.f.0.0 1H IN PTR   dns-rec-lb.esams.wikimedia.org.
+
 ; unused (2620:0:862:fe00::/64)
 
 $ORIGIN 0.0.e.f.{{ zonename }}.
diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index 72d3982..130cb1a 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -754,5 +754,7 @@
 mobile-lb 600 IN DYNA geoip!mobile-addrs/esams
 geoiplookup-lb600 IN DYNA geoip!bits-addrs-v4/esams
 donate-lb 600 IN DYNA geoip!text-addrs-v4/esams
-1H  IN MX 10polonium.wikimedia.org.
-1H  IN MX 50lead.wikimedia.org.
+  1H  IN MX 10polonium.wikimedia.org.
+  1H  IN MX 50lead.wikimedia.org.
+dns-rec-lb1H  IN A91.198.174.216
+  1H  IN  2620:0:862:ed1a::3:fe

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I47f8b19a40f7340d7e0aa75930ca06f107b08013
Gerrit-PatchSet: 3
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] lvs: configure dns_rec for esams - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: lvs: configure dns_rec for esams
..


lvs: configure dns_rec for esams

Change-Id: Ib2f46cbf58ba234adc89dc1223a6b75d5ad0d81b
---
M manifests/role/lvs.pp
M modules/lvs/manifests/configuration.pp
2 files changed, 2 insertions(+), 1 deletion(-)

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



diff --git a/manifests/role/lvs.pp b/manifests/role/lvs.pp
index 37b6b44..bda58fd 100644
--- a/manifests/role/lvs.pp
+++ b/manifests/role/lvs.pp
@@ -69,6 +69,7 @@
 ],
 /^(lvs[34]00[24])$/ = [
 $sip['upload'][$::site],
+$sip['dns_rec'][$::site],
 ],
 }
 
diff --git a/modules/lvs/manifests/configuration.pp 
b/modules/lvs/manifests/configuration.pp
index a6401d0..f47249a6 100644
--- a/modules/lvs/manifests/configuration.pp
+++ b/modules/lvs/manifests/configuration.pp
@@ -459,7 +459,7 @@
 dns_rec = {
 'description' = Recursive DNS,
 'class' = high-traffic2,
-'sites' = [ eqiad, codfw ],
+'sites' = [ eqiad, codfw, esams ],
 'protocol' = udp,
 'ip' = $service_ips['dns_rec'][$::site],
 'port' = 53,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2f46cbf58ba234adc89dc1223a6b75d5ad0d81b
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] lvs: add dns_rec/dns_rec6 for esams - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: lvs: add dns_rec/dns_rec6 for esams
..


lvs: add dns_rec/dns_rec6 for esams

Based on the newly-allocated IPs, cf. I47f8b19.

Change-Id: I1b96fe036e994a3f26f543d5f8182f668bfcce70
---
M modules/lvs/manifests/configuration.pp
1 file changed, 1 insertion(+), 0 deletions(-)

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



diff --git a/modules/lvs/manifests/configuration.pp 
b/modules/lvs/manifests/configuration.pp
index 6871947..a6401d0 100644
--- a/modules/lvs/manifests/configuration.pp
+++ b/modules/lvs/manifests/configuration.pp
@@ -145,6 +145,7 @@
 'dns_rec' = {
 'eqiad' = { 'dns_rec' = 208.80.154.239, 'dns_rec6' = 
2620:0:861:ed1a::3:fe },
 'codfw' = { 'dns_rec' = 208.80.153.254, 'dns_rec6' = 
2620:0:860:ed1a::3:fe },
+'esams' = { 'dns_rec' = 91.198.174.216, 'dns_rec6' = 
2620:0:862:ed1a::3:fe },
 },
 'osm' = {
 'eqiad' = 208.80.154.244,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1b96fe036e994a3f26f543d5f8182f668bfcce70
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] WIP: Allow cursoring into/out of tables - change (VisualEditor/VisualEditor)

2015-03-30 Thread Divec (Code Review)
Divec has uploaded a new change for review.

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

Change subject: WIP: Allow cursoring into/out of tables
..

WIP: Allow cursoring into/out of tables

ve.ce.TableNode
* Remove ce=false on tables (so you can cursor into a table, and your selection
  gets fixed up into a table selection).

Change-Id: Ibfb6ee8321c220e51a62dc397d7d74a8cba495ca
TODO: Implement cursoring out of a table.
---
M src/ce/nodes/ve.ce.TableNode.js
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor 
refs/changes/36/200536/1

diff --git a/src/ce/nodes/ve.ce.TableNode.js b/src/ce/nodes/ve.ce.TableNode.js
index 4f9193f..b964c27 100644
--- a/src/ce/nodes/ve.ce.TableNode.js
+++ b/src/ce/nodes/ve.ce.TableNode.js
@@ -25,8 +25,7 @@
 
// DOM changes
this.$element
-   .addClass( 've-ce-tableNode' )
-   .prop( 'contentEditable', 'false' );
+   .addClass( 've-ce-tableNode' );
 };
 
 /* Inheritance */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfb6ee8321c220e51a62dc397d7d74a8cba495ca
Gerrit-PatchSet: 1
Gerrit-Project: VisualEditor/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Divec da...@sheetmusic.org.uk

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


[MediaWiki-commits] [Gerrit] Load the other groups with search results in the group selec... - change (mediawiki...Translate)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Load the other groups with search results in the group selector.
..


Load the other groups with search results in the group selector.

Initially, the group selector by default loads the list of all the top
message groups and there is no function to load the given message groups.
Added showSelectedGroups function to show the given message groups in the
group selector.

Bug: T54703
Change-Id: I5196b65ffe6ff4e1e8caf33a22555c17062119d3
---
M resources/js/ext.translate.groupselector.js
M resources/js/ext.translate.special.searchtranslations.js
2 files changed, 49 insertions(+), 26 deletions(-)

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



diff --git a/resources/js/ext.translate.groupselector.js 
b/resources/js/ext.translate.groupselector.js
index 4dfd86f..a10ee58 100644
--- a/resources/js/ext.translate.groupselector.js
+++ b/resources/js/ext.translate.groupselector.js
@@ -8,8 +8,9 @@
 *  - position: accepts same values as jquery.ui.position
 *  - onSelect: callback with message group id when selected
 *  - language: language for statistics.
+* groups: list of message group ids
 */
-   function TranslateMessageGroupSelector( element, options ) {
+   function TranslateMessageGroupSelector( element, options, groups ) {
this.$trigger = $( element );
this.$menu = null;
this.$search = null;
@@ -22,6 +23,7 @@
// selectors.
this.customOptions = options;
this.flatGroupList = null;
+   this.groups = groups;
 
this.init();
}
@@ -270,7 +272,11 @@
var $selected = this.$menu.find( 
'.tux-grouptab--selected' );
 
if ( $selected.hasClass( 'tux-grouptab--all' ) ) {
-   this.showDefaultGroups();
+   if ( this.groups ) {
+   this.showSelectedGroups( this.groups );
+   } else {
+   this.showDefaultGroups();
+   }
} else if ( $selected.hasClass( 'tux-grouptab--recent' 
) ) {
this.showRecentGroups();
}
@@ -305,26 +311,35 @@
 * Show recent message groups.
 */
showRecentGroups: function () {
-   var groupSelector = this;
-
-   this.$loader.show();
-
$.when( this.loadRecentGroups(), this.loadGroups() )
-   .then( function ( recentGroups, allGroups ) {
-   var rows = [];
+   .done( $.proxy( this.showSelectedGroups, this ) 
);
+   },
 
-   $.each( recentGroups, function ( index, id ) {
-   var group = mw.translate.findGroup( id, 
allGroups );
-
-   if ( group ) {
-   rows.push( 
groupSelector.prepareMessageGroupRow( group ) );
-   }
+   /**
+* Load message groups.
+* @param {Array} groups: List of the message group ids to show.
+*/
+   showSelectedGroups: function ( groups ) {
+   var groupSelector = this;
+   this.$loader.show();
+   this.loadGroups()
+   .then( function ( allGroups ) {
+   var rows = [];
+   $.each( groups, function ( index, id ) {
+   var group = 
mw.translate.findGroup( id, allGroups );
+   if ( group ) {
+   rows.push( 
groupSelector.prepareMessageGroupRow( group ) );
+   }
+   } );
+   return rows;
+   } )
+   .always( function() {
+   groupSelector.$loader.hide();
+   groupSelector.$list.empty();
+   } )
+   .done( function( rows ) {
+   groupSelector.$list.append( rows );
} );
-
-   groupSelector.$loader.hide();
-   groupSelector.$list.empty();
-   groupSelector.$list.append( 

[MediaWiki-commits] [Gerrit] realm/autoinstall: switch esams' recursor to dns-rec-lb - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: realm/autoinstall: switch esams' recursor to dns-rec-lb
..


realm/autoinstall: switch esams' recursor to dns-rec-lb

Change-Id: I7e346c81633c63928dc48f3f975a49e6bee6b6cd
---
M manifests/realm.pp
M modules/install-server/files/autoinstall/subnets/private1-esams.cfg
M modules/install-server/files/autoinstall/subnets/public1-esams.cfg
M modules/install-server/files/dhcpd/dhcpd.conf
4 files changed, 5 insertions(+), 5 deletions(-)

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



diff --git a/manifests/realm.pp b/manifests/realm.pp
index dc0be12..0c7ccae 100644
--- a/manifests/realm.pp
+++ b/manifests/realm.pp
@@ -53,7 +53,7 @@
 'eqiad' = [ '208.80.154.239', '208.80.153.254' ], # eqiad - eqiad, codfw
 'codfw' = [ '208.80.153.254', '208.80.154.239' ], # codfw - codfw, eqiad
 'ulsfo' = [ '208.80.154.239', '208.80.153.254' ], # ulsfo - eqiad, codfw
-'esams' = [ '91.198.174.6',   '208.80.154.239' ], # esams - esams 
(nescio, not LVS), eqiad
+'esams' = [ '91.198.174.216', '208.80.154.239' ], # esams - esams, eqiad
 default = [ '208.80.154.239', '208.80.153.254' ], #   - eqiad, codfw
 }
 
diff --git 
a/modules/install-server/files/autoinstall/subnets/private1-esams.cfg 
b/modules/install-server/files/autoinstall/subnets/private1-esams.cfg
index c78972c..e4c1f75 100644
--- a/modules/install-server/files/autoinstall/subnets/private1-esams.cfg
+++ b/modules/install-server/files/autoinstall/subnets/private1-esams.cfg
@@ -4,7 +4,7 @@
 d-inetcfg/get_domain   string  esams.wmnet
 d-inetcfg/get_netmask  string  255.255.255.0
 d-inetcfg/get_gateway  string  10.20.0.1
-d-inetcfg/get_nameservers  string  91.198.174.6 208.80.154.239
+d-inetcfg/get_nameservers  string  91.198.174.216 208.80.154.239
 d-inetcfg/confirm_static   boolean true
 
 d-imirror/http/proxy   string  http://webproxy.esams.wmnet:8080
diff --git a/modules/install-server/files/autoinstall/subnets/public1-esams.cfg 
b/modules/install-server/files/autoinstall/subnets/public1-esams.cfg
index ada01f2..286a363 100644
--- a/modules/install-server/files/autoinstall/subnets/public1-esams.cfg
+++ b/modules/install-server/files/autoinstall/subnets/public1-esams.cfg
@@ -4,7 +4,7 @@
 d-inetcfg/get_domain   string  wikimedia.org
 d-inetcfg/get_netmask  string  255.255.255.128
 d-inetcfg/get_gateway  string  91.198.174.1
-d-inetcfg/get_nameservers  string  91.198.174.6 208.80.154.239
+d-inetcfg/get_nameservers  string  91.198.174.216 208.80.154.239
 d-inetcfg/confirm_static   boolean true
 
 # get_domain should be set, get_hostname is overwritten by DHCP
diff --git a/modules/install-server/files/dhcpd/dhcpd.conf 
b/modules/install-server/files/dhcpd/dhcpd.conf
index d13fccb..8dfc79f 100644
--- a/modules/install-server/files/dhcpd/dhcpd.conf
+++ b/modules/install-server/files/dhcpd/dhcpd.conf
@@ -366,7 +366,7 @@
option broadcast-address 91.198.174.127;
option routers 91.198.174.1;
option domain-name esams.wikimedia.org;
-   option domain-name-servers 91.198.174.6, 208.80.154.239; # esams, eqiad 
caches
+   option domain-name-servers 91.198.174.216, 208.80.154.239; # esams, 
eqiad caches
 
next-server 91.198.174.113; # hooft (tftp server)
 }
@@ -381,7 +381,7 @@
option broadcast-address 10.21.0.255;
option routers 10.21.0.1;
option domain-name mgmt.esams.wmnet;
-   option domain-name-servers 91.198.174.6, 208.80.154.239; # esams, eqiad 
caches
+   option domain-name-servers 91.198.174.216, 208.80.154.239; # esams, 
eqiad caches
 
next-server 91.198.174.113; # hooft (tftp server)
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7e346c81633c63928dc48f3f975a49e6bee6b6cd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Fix issue of white space in sitelinkgroupview heading - change (mediawiki...Wikibase)

2015-03-30 Thread Adrian Lang (Code Review)
Adrian Lang has uploaded a new change for review.

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

Change subject: Fix issue of white space in sitelinkgroupview heading
..

Fix issue of white space in sitelinkgroupview heading

This is an alternative proposal to I5fb924e and
I92aa716e2545103b7a7f3a6dcbb684d6d856cd2b.

Bug: T92431
Change-Id: Ic7c5e6312a7824d47c2477054f474c97d8ce97f1
---
M 
lib/resources/jquery.wikibase/themes/default/jquery.wikibase.sitelinkgroupview.css
1 file changed, 3 insertions(+), 3 deletions(-)


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

diff --git 
a/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.sitelinkgroupview.css
 
b/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.sitelinkgroupview.css
index 7a9675c..1e26c7e 100644
--- 
a/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.sitelinkgroupview.css
+++ 
b/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.sitelinkgroupview.css
@@ -27,7 +27,7 @@
 
 .wikibase-sitelinkgroupview .wikibase-sitelinkgroupview-heading-container {
background-color: #FF;
-   display: table-row;
+   display: block;
 }
 
 .wikibase-sitelinkgroupview.wb-edit 
.wikibase-sitelinkgroupview-heading-container {
@@ -35,13 +35,13 @@
 }
 
 .wikibase-sitelinkgroupview h2 {
-   display: table-cell;
+   display: inline;
float: none;
width: auto;
 }
 
 .wikibase-sitelinkgroupview .wikibase-sitelinkgroupview-heading-container  
.wikibase-toolbar-container {
-   display: table-cell;
+   display: inline;
position: static;
padding-left: 0.5em;
width: auto;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7c5e6312a7824d47c2477054f474c97d8ce97f1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Adrian Lang adrian.he...@wikimedia.de

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


[MediaWiki-commits] [Gerrit] Allocate IPv6 for dns-rec-lb.eqiad (AAAA/PTR) - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: Allocate IPv6 for dns-rec-lb.eqiad (/PTR)
..


Allocate IPv6 for dns-rec-lb.eqiad (/PTR)

Change-Id: I7955cc71c91f8a1838ce8e70380b3519256436d4
---
M templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
M templates/wikimedia.org
2 files changed, 2 insertions(+), 0 deletions(-)

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



diff --git a/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa 
b/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
index 877fa78..5b6a987 100644
--- a/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
+++ b/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
@@ -241,6 +241,7 @@
 
 4.1.0.0 1H IN PTR   parsoid-lb.eqiad.wikimedia.org.
 5.1.0.0 1H IN PTR   stream-lb.eqiad.wikimedia.org.
+e.f.0.0 1H IN PTR   dns-rec-lb.eqiad.wikimedia.org.
 
 ; Neighbor blocks
 
diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index 85169be..72d3982 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -232,6 +232,7 @@
 IN MX 50 lead.wikimedia.org.
 ;;; ns0 208.80.154.238
 dns-rec-lb.eqiad1H  IN A208.80.154.239
+1H  IN  2620:0:861:ed1a::3:fe
 osm-lb.eqiad1H  IN A208.80.154.244
 misc-web-lb.eqiad   1H  IN A208.80.154.241
 1H  IN  2620:0:861:ed1a::11

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7955cc71c91f8a1838ce8e70380b3519256436d4
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Add role dnsrecursor to maerlant - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: Add role dnsrecursor to maerlant
..

Add role dnsrecursor to maerlant

To serve the new esams LVS IP.

Change-Id: Iedbbd1df365bd10718d7a84b90b9f3a8cfc5e2f7
---
M manifests/site.pp
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/28/200528/1

diff --git a/manifests/site.pp b/manifests/site.pp
index 7948d05..d703c95 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1683,6 +1683,8 @@
 node 'maerlant.wikimedia.org' {
 include admin
 include standard
+include base::firewall
+include role::dnsrecursor
 
 interface::add_ip6_mapped { 'main':
 interface = 'eth0',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iedbbd1df365bd10718d7a84b90b9f3a8cfc5e2f7
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Make maerlant an (esams) NTP server - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: Make maerlant an (esams) NTP server
..

Make maerlant an (esams) NTP server

Change-Id: Ib1d0cead67a5fe15231cba88dea09037273f532f
---
M manifests/role/ntp.pp
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/29/200529/1

diff --git a/manifests/role/ntp.pp b/manifests/role/ntp.pp
index 73670a5..dd8c8de 100644
--- a/manifests/role/ntp.pp
+++ b/manifests/role/ntp.pp
@@ -12,6 +12,7 @@
 ],
 esams = [
 'nescio.esams.wikimedia.org', # esams recdns
+'maerlant.wikimedia.org', # esams recdns
 ],
 ulsfo = [],
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib1d0cead67a5fe15231cba88dea09037273f532f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Switch recursor1 to esams' new LVS dns-rec-lb IP - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: Switch recursor1 to esams' new LVS dns-rec-lb IP
..

Switch recursor1 to esams' new LVS dns-rec-lb IP

Change-Id: I930adfe8f108db5ecadfbc93d360386e22acbef2
---
M templates/wikimedia.org
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/dns 
refs/changes/30/200530/1

diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index 130cb1a..5fa3906 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -73,7 +73,7 @@
 ns2 1H  IN A91.198.174.239
 
 recursor0   1H  IN A208.80.154.239  ; eqiad LVS (dns-rec-lb)
-recursor1   1H  IN A91.198.174.6; nescio
+recursor1   1H  IN A91.198.174.216  ; esams LVS (dns-rec-lb)
 
 ; Geodynamic records
 text-lb 600 DYNA geoip!text-addrs
@@ -730,7 +730,7 @@
 ; Service aliases
 
 puppet  1H  IN CNAMEpalladium.eqiad.wmnet.
-recursor0   1H  IN A91.198.174.6 ; nescio
+recursor0   1H  IN A91.198.174.216  ; esams LVS (dns-rec-lb)
 ntp 1H  IN CNAMEnescio
 
 ; Servers

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I930adfe8f108db5ecadfbc93d360386e22acbef2
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] CXStats: Make the graph labels week end dates instead of sta... - change (mediawiki...ContentTranslation)

2015-03-30 Thread Santhosh (Code Review)
Santhosh has uploaded a new change for review.

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

Change subject: CXStats: Make the graph labels week end dates instead of start 
dates
..

CXStats: Make the graph labels week end dates instead of start dates

Change-Id: Idefd37083d2dd6161f6b309a082c096bdd9d26ff
---
M includes/Translation.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation 
refs/changes/34/200534/1

diff --git a/includes/Translation.php b/includes/Translation.php
index bb12a52..7055709 100644
--- a/includes/Translation.php
+++ b/includes/Translation.php
@@ -255,9 +255,9 @@
foreach ( $rows as $row ) {
$result[] = array(
'date' = $interval === 'week' ?
-   // Week start date
-   date( 'Y-m-d', strtotime( $row-date . 
' - ' .
-   date( 'w', strtotime( 
$row-date ) ) . ' days' ) ) :
+   // Week end date
+   date( 'Y-m-d', strtotime( $row-date . 
' + ' .
+   ( 6 - date( 'w', strtotime( 
$row-date ) ) ) . ' days' ) ) :
date( 'Y-m', strtotime( $row-date ) ),
'count' = $row-translatons_count,
);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idefd37083d2dd6161f6b309a082c096bdd9d26ff
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh santhosh.thottin...@gmail.com

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


[MediaWiki-commits] [Gerrit] Move deprecated HTML attributes to CSS - change (mediawiki...LiquidThreads)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Move deprecated HTML attributes to CSS
..


Move deprecated HTML attributes to CSS

Follows up I71d6c8487c176a033a00a0213f60e7e7e2ab19d6.

Bug: T74519
Change-Id: Id61871ce6c04af9ae52a84cef7c4061f28b94c6d
---
M lqt.css
M pages/TalkpageView.php
2 files changed, 2 insertions(+), 1 deletion(-)

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



diff --git a/lqt.css b/lqt.css
index 9e4d765..cf89232 100644
--- a/lqt.css
+++ b/lqt.css
@@ -485,6 +485,7 @@
 .TalkpagePager_nav td{
vertical-align: top;
text-align: center;
+   padding: 3px;
 }
 
 .lqt-drag-confirm label {
diff --git a/pages/TalkpageView.php b/pages/TalkpageView.php
index 3a720fe..0bc7637 100644
--- a/pages/TalkpageView.php
+++ b/pages/TalkpageView.php
@@ -567,7 +567,7 @@
$links = $this-getPagingLinks( $linkTexts, $disabledTexts );
 
$navClass = htmlspecialchars( $this-getNavClass() );
-   $s = table class=\$navClass\ align=\center\ 
cellpadding=\3\tr\n;
+   $s = table class=\$navClass\tr\n;
$cellAttrs = 'width: ' . 100 / count( $links ) . '%';
foreach ( $labels as $type = $label ) {
$s .= td style='$cellAttrs'{$links[$type]}/td\n;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id61871ce6c04af9ae52a84cef7c4061f28b94c6d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/LiquidThreads
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader gerritpatchuploa...@gmail.com
Gerrit-Reviewer: Gerrit Patch Uploader gerritpatchuploa...@gmail.com
Gerrit-Reviewer: He7d3r he7...@gmail.com
Gerrit-Reviewer: Legoktm legoktm.wikipe...@gmail.com
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: Phoenix303 divyalife...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] lvs: split the config for high-traffic2 esams/ulsfo - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: lvs: split the config for high-traffic2  esams/ulsfo
..

lvs: split the config for high-traffic2  esams/ulsfo

ulsfo doesn't have dns_rec (yet?). Fixes breakge introduced in the
previous commit.

Change-Id: Ie52452dacd76192188b0e540d3fb1da3608e0e32
---
M manifests/role/lvs.pp
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/35/200535/1

diff --git a/manifests/role/lvs.pp b/manifests/role/lvs.pp
index bda58fd..2cbdf11 100644
--- a/manifests/role/lvs.pp
+++ b/manifests/role/lvs.pp
@@ -67,10 +67,13 @@
 $sip['bits'][$::site],
 $sip['mobile'][$::site],
 ],
-/^(lvs[34]00[24])$/ = [
+/^(lvs300[24])$/ = [
 $sip['upload'][$::site],
 $sip['dns_rec'][$::site],
 ],
+/^(lvs400[24])$/ = [
+$sip['upload'][$::site],
+],
 }
 
 include standard

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie52452dacd76192188b0e540d3fb1da3608e0e32
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] realm/autoinstall: switch esams' recursor to dns-rec-lb - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: realm/autoinstall: switch esams' recursor to dns-rec-lb
..

realm/autoinstall: switch esams' recursor to dns-rec-lb

Change-Id: I7e346c81633c63928dc48f3f975a49e6bee6b6cd
---
M manifests/realm.pp
M modules/install-server/files/autoinstall/subnets/private1-esams.cfg
M modules/install-server/files/autoinstall/subnets/public1-esams.cfg
M modules/install-server/files/dhcpd/dhcpd.conf
4 files changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/37/200537/1

diff --git a/manifests/realm.pp b/manifests/realm.pp
index dc0be12..0c7ccae 100644
--- a/manifests/realm.pp
+++ b/manifests/realm.pp
@@ -53,7 +53,7 @@
 'eqiad' = [ '208.80.154.239', '208.80.153.254' ], # eqiad - eqiad, codfw
 'codfw' = [ '208.80.153.254', '208.80.154.239' ], # codfw - codfw, eqiad
 'ulsfo' = [ '208.80.154.239', '208.80.153.254' ], # ulsfo - eqiad, codfw
-'esams' = [ '91.198.174.6',   '208.80.154.239' ], # esams - esams 
(nescio, not LVS), eqiad
+'esams' = [ '91.198.174.216', '208.80.154.239' ], # esams - esams, eqiad
 default = [ '208.80.154.239', '208.80.153.254' ], #   - eqiad, codfw
 }
 
diff --git 
a/modules/install-server/files/autoinstall/subnets/private1-esams.cfg 
b/modules/install-server/files/autoinstall/subnets/private1-esams.cfg
index c78972c..e4c1f75 100644
--- a/modules/install-server/files/autoinstall/subnets/private1-esams.cfg
+++ b/modules/install-server/files/autoinstall/subnets/private1-esams.cfg
@@ -4,7 +4,7 @@
 d-inetcfg/get_domain   string  esams.wmnet
 d-inetcfg/get_netmask  string  255.255.255.0
 d-inetcfg/get_gateway  string  10.20.0.1
-d-inetcfg/get_nameservers  string  91.198.174.6 208.80.154.239
+d-inetcfg/get_nameservers  string  91.198.174.216 208.80.154.239
 d-inetcfg/confirm_static   boolean true
 
 d-imirror/http/proxy   string  http://webproxy.esams.wmnet:8080
diff --git a/modules/install-server/files/autoinstall/subnets/public1-esams.cfg 
b/modules/install-server/files/autoinstall/subnets/public1-esams.cfg
index ada01f2..286a363 100644
--- a/modules/install-server/files/autoinstall/subnets/public1-esams.cfg
+++ b/modules/install-server/files/autoinstall/subnets/public1-esams.cfg
@@ -4,7 +4,7 @@
 d-inetcfg/get_domain   string  wikimedia.org
 d-inetcfg/get_netmask  string  255.255.255.128
 d-inetcfg/get_gateway  string  91.198.174.1
-d-inetcfg/get_nameservers  string  91.198.174.6 208.80.154.239
+d-inetcfg/get_nameservers  string  91.198.174.216 208.80.154.239
 d-inetcfg/confirm_static   boolean true
 
 # get_domain should be set, get_hostname is overwritten by DHCP
diff --git a/modules/install-server/files/dhcpd/dhcpd.conf 
b/modules/install-server/files/dhcpd/dhcpd.conf
index d13fccb..8dfc79f 100644
--- a/modules/install-server/files/dhcpd/dhcpd.conf
+++ b/modules/install-server/files/dhcpd/dhcpd.conf
@@ -366,7 +366,7 @@
option broadcast-address 91.198.174.127;
option routers 91.198.174.1;
option domain-name esams.wikimedia.org;
-   option domain-name-servers 91.198.174.6, 208.80.154.239; # esams, eqiad 
caches
+   option domain-name-servers 91.198.174.216, 208.80.154.239; # esams, 
eqiad caches
 
next-server 91.198.174.113; # hooft (tftp server)
 }
@@ -381,7 +381,7 @@
option broadcast-address 10.21.0.255;
option routers 10.21.0.1;
option domain-name mgmt.esams.wmnet;
-   option domain-name-servers 91.198.174.6, 208.80.154.239; # esams, eqiad 
caches
+   option domain-name-servers 91.198.174.216, 208.80.154.239; # esams, 
eqiad caches
 
next-server 91.198.174.113; # hooft (tftp server)
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e346c81633c63928dc48f3f975a49e6bee6b6cd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Include style for edit links for page preview action - change (mediawiki...Wikibase)

2015-03-30 Thread Aude (Code Review)
Aude has uploaded a new change for review.

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

Change subject: Include style for edit links for page preview action
..

Include style for edit links for page preview action

Bug: T94143
Change-Id: Ic752b44a5e7cace4bd9d70ac4831ccb313f9571e
(cherry picked from commit 89574d23c6f6bf1ccaf77dd6504f6d98252ed884)
---
M client/includes/Hooks/BeforePageDisplayHandler.php
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/client/includes/Hooks/BeforePageDisplayHandler.php 
b/client/includes/Hooks/BeforePageDisplayHandler.php
index 12791dd..b3e0d44 100644
--- a/client/includes/Hooks/BeforePageDisplayHandler.php
+++ b/client/includes/Hooks/BeforePageDisplayHandler.php
@@ -68,7 +68,7 @@
private function hasEditOrAddLinks( OutputPage $out, Title $title, 
$actionName ) {
if (
$out-getProperty( 'noexternallanglinks' ) ||
-   $actionName !== 'view' ||
+   !in_array( $actionName, array( 'view', 'submit' ) ) ||
!$title-exists()
) {
return false;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic752b44a5e7cace4bd9d70ac4831ccb313f9571e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.25wmf22
Gerrit-Owner: Aude aude.w...@gmail.com

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


[MediaWiki-commits] [Gerrit] Beta: Add missing mk-sh pair - change (operations/puppet)

2015-03-30 Thread KartikMistry (Code Review)
KartikMistry has uploaded a new change for review.

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

Change subject: Beta: Add missing mk-sh pair
..

Beta: Add missing mk-sh pair

Change-Id: Id1b9fa8344ca00e804a355f1fcac8ebc8274401d
---
M hieradata/labs/deployment-prep/common.yaml
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/40/200540/1

diff --git a/hieradata/labs/deployment-prep/common.yaml 
b/hieradata/labs/deployment-prep/common.yaml
index 9a56dd2..ec2f49a 100644
--- a/hieradata/labs/deployment-prep/common.yaml
+++ b/hieradata/labs/deployment-prep/common.yaml
@@ -63,8 +63,8 @@
 - 'pl'
 - 'pt'
 - 'ru'
-- 'sl'
 - 'sh'
+- 'sl'
 - 'sv'
 - 'tr'
 - 'uk'
@@ -100,8 +100,8 @@
 - 'pl'
 - 'pt'
 - 'ru'
-- 'sl'
 - 'sh'
+- 'sl'
 - 'sv'
 - 'tr'
 - 'uk'
@@ -136,6 +136,7 @@
 - 'nn'
   'mk':
 - 'bg'
+- 'sh'
   'pt':
 - 'ca'
 - 'es'

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1b9fa8344ca00e804a355f1fcac8ebc8274401d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com

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


[MediaWiki-commits] [Gerrit] Update .rubocop.yml - change (mediawiki/selenium)

2015-03-30 Thread Zfilipin (Code Review)
Zfilipin has uploaded a new change for review.

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

Change subject: Update .rubocop.yml
..

Update .rubocop.yml

As recommended at
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_confi
guration

Bug: T94399
Change-Id: Iad2f476f252274f5063b4b86ae0276344ecb7516
---
M .rubocop.yml
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/selenium 
refs/changes/42/200542/1

diff --git a/.rubocop.yml b/.rubocop.yml
index 46d19bb..ef705cb 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -19,5 +19,8 @@
 Style/SignalException:
   Enabled: false
 
+Style/StringLiterals:
+  EnforcedStyle: single_quotes
+
 Style/TrivialAccessors:
   ExactNameMatch: true

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad2f476f252274f5063b4b86ae0276344ecb7516
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/selenium
Gerrit-Branch: master
Gerrit-Owner: Zfilipin zfili...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Increase width of the eu_aspect column to varbinary(37). - change (mediawiki...Wikibase)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Increase width of the eu_aspect column to varbinary(37).
..


Increase width of the eu_aspect column to varbinary(37).

change the definition of wbc_entity_usage.eu_aspect to VARBINARY(37) to
allow the inclusion of language codes as per T90563.

The width is borrowed from the fact that page.page_language
is VARBINARY(35) (plus 2 for L/).

DEPLOY: apply client/sql/entity_usage-alter-aspect-varbinary-37.sql

Bug: T92288
Change-Id: I4de83f01bbd82c42e321139c768b3ece9cee027a
---
M client/includes/Usage/Sql/SqlUsageTrackerSchemaUpdater.php
A client/sql/entity_usage-alter-aspect-varbinary-37.sql
M client/sql/entity_usage.sql
3 files changed, 8 insertions(+), 2 deletions(-)

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



diff --git a/client/includes/Usage/Sql/SqlUsageTrackerSchemaUpdater.php 
b/client/includes/Usage/Sql/SqlUsageTrackerSchemaUpdater.php
index 7e7e51b..9fa9d8b 100644
--- a/client/includes/Usage/Sql/SqlUsageTrackerSchemaUpdater.php
+++ b/client/includes/Usage/Sql/SqlUsageTrackerSchemaUpdater.php
@@ -50,9 +50,9 @@
 */
public function doSchemaUpdate() {
$table = 'wbc_entity_usage';
+   $db = $this-dbUpdater-getDB();
 
if ( !$this-dbUpdater-tableExists( $table ) ) {
-   $db = $this-dbUpdater-getDB();
$script = $this-getUpdateScriptPath( 'entity_usage', 
$db-getType() );
$this-dbUpdater-addExtensionTable( $table, $script );
 
@@ -63,6 +63,9 @@
array( __CLASS__, 'fillUsageTable' ),
$table
) );
+   } else {
+   $script = $this-getUpdateScriptPath( 
'entity_usage-alter-aspect-varbinary-37', $db-getType() );
+   $this-dbUpdater-modifyExtensionField( $table, 
'eu_aspect', $script );
}
}
 
diff --git a/client/sql/entity_usage-alter-aspect-varbinary-37.sql 
b/client/sql/entity_usage-alter-aspect-varbinary-37.sql
new file mode 100644
index 000..eda9d49
--- /dev/null
+++ b/client/sql/entity_usage-alter-aspect-varbinary-37.sql
@@ -0,0 +1,3 @@
+-- Increase the width od the eu_aspect column to allow the inclusion of 
language codes in aspects.
+ALTER TABLE /*_*/wbc_entity_usage
+  MODIFY eu_aspect VARBINARY(37) NOT NULL;
diff --git a/client/sql/entity_usage.sql b/client/sql/entity_usage.sql
index 1e0cd3a..a581959 100644
--- a/client/sql/entity_usage.sql
+++ b/client/sql/entity_usage.sql
@@ -2,7 +2,7 @@
   eu_row_id BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT,
   eu_entity_typeVARBINARY(32) NOT NULL,  -- the type of the entity being 
used
   eu_entity_id  VARBINARY(255) NOT NULL, -- the ID of the entity being used
-  eu_aspect BINARY(1) NOT NULL,  -- the aspect of the entity. See 
EntityUsage::XXX_USAGE for possible values.
+  eu_aspect VARBINARY(37) NOT NULL,  -- the aspect of the entity. See 
EntityUsage::XXX_USAGE for possible values.
   eu_page_idINT NOT NULL
 ) /*$wgDBTableOptions*/;
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4de83f01bbd82c42e321139c768b3ece9cee027a
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Kinzler daniel.kinz...@wikimedia.de
Gerrit-Reviewer: Aude aude.w...@gmail.com
Gerrit-Reviewer: JanZerebecki jan.wikime...@zerebecki.de
Gerrit-Reviewer: Springle sprin...@wikimedia.org
Gerrit-Reviewer: Thiemo Mättig (WMDE) thiemo.maet...@wikimedia.de
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] lvs: fix IP for codfw's dns_rec6 - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has submitted this change and it was merged.

Change subject: lvs: fix IP for codfw's dns_rec6
..


lvs: fix IP for codfw's dns_rec6

codfw's space is 2620:0:860::/48, not 2620:0:861::/48. A simple
s/861/860/ matches what is in DNS already, so this looks like a simple
typo (the fact that it worked in the first place is a a too relaxed
config on the network side and will be addressed separately)

Change-Id: Ic5ccc2cb0cef5dc4e6b02adad2c7cdf40b829c67
---
M modules/lvs/manifests/configuration.pp
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/lvs/manifests/configuration.pp 
b/modules/lvs/manifests/configuration.pp
index f1a9703..d2534a6 100644
--- a/modules/lvs/manifests/configuration.pp
+++ b/modules/lvs/manifests/configuration.pp
@@ -144,7 +144,7 @@
 },
 'dns_rec' = {
 'eqiad' = { 'dns_rec' = 208.80.154.239, 'dns_rec6' = 
2620:0:861:ed1a::f },
-'codfw' = { 'dns_rec' = 208.80.153.254, 'dns_rec6' = 
2620:0:861:ed1a::3:fe },
+'codfw' = { 'dns_rec' = 208.80.153.254, 'dns_rec6' = 
2620:0:860:ed1a::3:fe },
 },
 'osm' = {
 'eqiad' = 208.80.154.244,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic5ccc2cb0cef5dc4e6b02adad2c7cdf40b829c67
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: Faidon Liambotis fai...@wikimedia.org
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] lvs: configure dns_rec for esams - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: lvs: configure dns_rec for esams
..

lvs: configure dns_rec for esams

Change-Id: Ib2f46cbf58ba234adc89dc1223a6b75d5ad0d81b
---
M manifests/role/lvs.pp
M modules/lvs/manifests/configuration.pp
2 files changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/27/200527/1

diff --git a/manifests/role/lvs.pp b/manifests/role/lvs.pp
index 37b6b44..bda58fd 100644
--- a/manifests/role/lvs.pp
+++ b/manifests/role/lvs.pp
@@ -69,6 +69,7 @@
 ],
 /^(lvs[34]00[24])$/ = [
 $sip['upload'][$::site],
+$sip['dns_rec'][$::site],
 ],
 }
 
diff --git a/modules/lvs/manifests/configuration.pp 
b/modules/lvs/manifests/configuration.pp
index a6401d0..f47249a6 100644
--- a/modules/lvs/manifests/configuration.pp
+++ b/modules/lvs/manifests/configuration.pp
@@ -459,7 +459,7 @@
 dns_rec = {
 'description' = Recursive DNS,
 'class' = high-traffic2,
-'sites' = [ eqiad, codfw ],
+'sites' = [ eqiad, codfw, esams ],
 'protocol' = udp,
 'ip' = $service_ips['dns_rec'][$::site],
 'port' = 53,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2f46cbf58ba234adc89dc1223a6b75d5ad0d81b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Add list-style-type:persian for bgn, lrc, mzn and sdh - change (mediawiki/core)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Add list-style-type:persian for bgn, lrc, mzn and sdh
..


Add list-style-type:persian for bgn, lrc, mzn and sdh

Change-Id: I9310a3b4a50c0b8ea6551d9f45e7a2e276a8a389
---
M resources/src/mediawiki.legacy/shared.css
1 file changed, 4 insertions(+), 1 deletion(-)

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



diff --git a/resources/src/mediawiki.legacy/shared.css 
b/resources/src/mediawiki.legacy/shared.css
index 56e4625..eb4741f 100644
--- a/resources/src/mediawiki.legacy/shared.css
+++ b/resources/src/mediawiki.legacy/shared.css
@@ -946,11 +946,14 @@
 
 /* Localised ordered list numbering for some languages */
 ol:lang(bcc) li,
+ol:lang(bgn) li,
 ol:lang(bqi) li,
 ol:lang(fa) li,
 ol:lang(glk) li,
 ol:lang(kk-arab) li,
-ol:lang(mzn) li {
+ol:lang(lrc) li,
+ol:lang(mzn) li,
+ol:lang(sdh) li {
list-style-type: -moz-persian;
list-style-type: persian;
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I9310a3b4a50c0b8ea6551d9f45e7a2e276a8a389
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Mjbmr mjb...@gmail.com
Gerrit-Reviewer: Jack Phoenix j...@countervandalism.net
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] Move progressbar to widgets - change (mediawiki...ContentTranslation)

2015-03-30 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

Change subject: Move progressbar to widgets
..


Move progressbar to widgets

Change-Id: Id50ac227a4cc909c85673dc8d7d05cc4478d58c5
---
M Resources.php
R modules/widgets/progressbar/ext.cx.progressbar.js
R modules/widgets/progressbar/ext.cx.progressbar.less
3 files changed, 3 insertions(+), 3 deletions(-)

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



diff --git a/Resources.php b/Resources.php
index 4304ade..34ef667 100644
--- a/Resources.php
+++ b/Resources.php
@@ -464,9 +464,9 @@
 ) + $resourcePaths;
 
 $wgResourceModules['ext.cx.progressbar'] = array(
-   'scripts' = 'tools/ext.cx.progressbar.js',
+   'scripts' = 'widgets/progressbar/ext.cx.progressbar.js',
'styles' = array(
-   'tools/styles/ext.cx.progressbar.less',
+   'widgets/progressbar/ext.cx.progressbar.less',
),
'messages' = array(
'cx-header-progressbar-text',
diff --git a/modules/tools/ext.cx.progressbar.js 
b/modules/widgets/progressbar/ext.cx.progressbar.js
similarity index 100%
rename from modules/tools/ext.cx.progressbar.js
rename to modules/widgets/progressbar/ext.cx.progressbar.js
diff --git a/modules/tools/styles/ext.cx.progressbar.less 
b/modules/widgets/progressbar/ext.cx.progressbar.less
similarity index 92%
rename from modules/tools/styles/ext.cx.progressbar.less
rename to modules/widgets/progressbar/ext.cx.progressbar.less
index f5f84de..ba7e0b4 100644
--- a/modules/tools/styles/ext.cx.progressbar.less
+++ b/modules/widgets/progressbar/ext.cx.progressbar.less
@@ -1,4 +1,4 @@
-@import ../../widgets/common/ext.cx.common;
+@import ../common/ext.cx.common;
 
 .cx-header__progressbar {
.mw-ui-one-whole;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id50ac227a4cc909c85673dc8d7d05cc4478d58c5
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Santhosh santhosh.thottin...@gmail.com
Gerrit-Reviewer: Nikerabbit niklas.laxst...@gmail.com
Gerrit-Reviewer: Santhosh santhosh.thottin...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] ntp.esams - maerlant - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: ntp.esams - maerlant
..

ntp.esams - maerlant

Change-Id: I6043b6ae7898957f6273d630196d85df885c5460
---
M templates/wikimedia.org
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/dns 
refs/changes/38/200538/1

diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index b4570f8..36714dd 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -732,7 +732,7 @@
 puppet  1H  IN CNAMEpalladium.eqiad.wmnet.
 recursor0   1H  IN A91.198.174.216  ; esams LVS (dns-rec-lb)
 recursor1   1H  IN A208.80.154.239  ; eqiad LVS (dns-rec-lb)
-ntp 1H  IN CNAMEnescio
+ntp 1H  IN CNAMEmaerlant
 
 ; Servers
 ; FIXME: these stay under .esams.wikimedia.org until they get reprovisioned

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6043b6ae7898957f6273d630196d85df885c5460
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Beta: Add missing mk-sh pair - change (operations/puppet)

2015-03-30 Thread Alexandros Kosiaris (Code Review)
Alexandros Kosiaris has submitted this change and it was merged.

Change subject: Beta: Add missing mk-sh pair
..


Beta: Add missing mk-sh pair

Change-Id: Id1b9fa8344ca00e804a355f1fcac8ebc8274401d
---
M hieradata/labs/deployment-prep/common.yaml
1 file changed, 3 insertions(+), 2 deletions(-)

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



diff --git a/hieradata/labs/deployment-prep/common.yaml 
b/hieradata/labs/deployment-prep/common.yaml
index 9a56dd2..ec2f49a 100644
--- a/hieradata/labs/deployment-prep/common.yaml
+++ b/hieradata/labs/deployment-prep/common.yaml
@@ -63,8 +63,8 @@
 - 'pl'
 - 'pt'
 - 'ru'
-- 'sl'
 - 'sh'
+- 'sl'
 - 'sv'
 - 'tr'
 - 'uk'
@@ -100,8 +100,8 @@
 - 'pl'
 - 'pt'
 - 'ru'
-- 'sl'
 - 'sh'
+- 'sl'
 - 'sv'
 - 'tr'
 - 'uk'
@@ -136,6 +136,7 @@
 - 'nn'
   'mk':
 - 'bg'
+- 'sh'
   'pt':
 - 'ca'
 - 'es'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id1b9fa8344ca00e804a355f1fcac8ebc8274401d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: KartikMistry kartik.mis...@gmail.com
Gerrit-Reviewer: Alexandros Kosiaris akosia...@wikimedia.org
Gerrit-Reviewer: Filippo Giunchedi fgiunch...@wikimedia.org
Gerrit-Reviewer: KartikMistry kartik.mis...@gmail.com
Gerrit-Reviewer: jenkins-bot 

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


[MediaWiki-commits] [Gerrit] lvs: fix IP for codfw's dns_rec6 - change (operations/puppet)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: lvs: fix IP for codfw's dns_rec6
..

lvs: fix IP for codfw's dns_rec6

codfw's space is 2620:0:860::/48, not 2620:0:861::/48. A simple
s/861/860/ matches what is in DNS already, so this looks like a simple
typo (the fact that it worked in the first place is a a too relaxed
config on the network side and will be addressed separately)

Change-Id: Ic5ccc2cb0cef5dc4e6b02adad2c7cdf40b829c67
---
M modules/lvs/manifests/configuration.pp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/21/200521/1

diff --git a/modules/lvs/manifests/configuration.pp 
b/modules/lvs/manifests/configuration.pp
index f1a9703..d2534a6 100644
--- a/modules/lvs/manifests/configuration.pp
+++ b/modules/lvs/manifests/configuration.pp
@@ -144,7 +144,7 @@
 },
 'dns_rec' = {
 'eqiad' = { 'dns_rec' = 208.80.154.239, 'dns_rec6' = 
2620:0:861:ed1a::f },
-'codfw' = { 'dns_rec' = 208.80.153.254, 'dns_rec6' = 
2620:0:861:ed1a::3:fe },
+'codfw' = { 'dns_rec' = 208.80.153.254, 'dns_rec6' = 
2620:0:860:ed1a::3:fe },
 },
 'osm' = {
 'eqiad' = 208.80.154.244,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5ccc2cb0cef5dc4e6b02adad2c7cdf40b829c67
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Allocate IPv6 for dns-rec-lb.eqiad (AAAA/PTR) - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: Allocate IPv6 for dns-rec-lb.eqiad (/PTR)
..

Allocate IPv6 for dns-rec-lb.eqiad (/PTR)

Change-Id: I7955cc71c91f8a1838ce8e70380b3519256436d4
---
M templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
M templates/wikimedia.org
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/dns 
refs/changes/19/200519/1

diff --git a/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa 
b/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
index 877fa78..5b6a987 100644
--- a/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
+++ b/templates/1.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
@@ -241,6 +241,7 @@
 
 4.1.0.0 1H IN PTR   parsoid-lb.eqiad.wikimedia.org.
 5.1.0.0 1H IN PTR   stream-lb.eqiad.wikimedia.org.
+e.f.0.0 1H IN PTR   dns-rec-lb.eqiad.wikimedia.org.
 
 ; Neighbor blocks
 
diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index 85169be..72d3982 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -232,6 +232,7 @@
 IN MX 50 lead.wikimedia.org.
 ;;; ns0 208.80.154.238
 dns-rec-lb.eqiad1H  IN A208.80.154.239
+1H  IN  2620:0:861:ed1a::3:fe
 osm-lb.eqiad1H  IN A208.80.154.244
 misc-web-lb.eqiad   1H  IN A208.80.154.241
 1H  IN  2620:0:861:ed1a::11

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7955cc71c91f8a1838ce8e70380b3519256436d4
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


[MediaWiki-commits] [Gerrit] Allocate IPv4/IPv6 for dns-rec-lb.esams - change (operations/dns)

2015-03-30 Thread Faidon Liambotis (Code Review)
Faidon Liambotis has uploaded a new change for review.

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

Change subject: Allocate IPv4/IPv6 for dns-rec-lb.esams
..

Allocate IPv4/IPv6 for dns-rec-lb.esams

Change-Id: I47f8b19a40f7340d7e0aa75930ca06f107b08013
---
M templates/174.198.91.in-addr.arpa
M templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
M templates/wikimedia.org
3 files changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/dns 
refs/changes/20/200520/1

diff --git a/templates/174.198.91.in-addr.arpa 
b/templates/174.198.91.in-addr.arpa
index c8a0bf8..9f808ca 100644
--- a/templates/174.198.91.in-addr.arpa
+++ b/templates/174.198.91.in-addr.arpa
@@ -65,6 +65,10 @@
 
 ; - - 91.198.174.216/29 LVS Misc
 
+217 1H IN PTR   dns-rec-lb.esams.wikimedia.org.
+
+; 91.198.174.224/28 out-of-subnet service IPs
+
 239 1H IN PTR   ns2.wikimedia.org.
 
 ; Neighbor block between cr2-knams and csw2-esams (91.198.174.240/31)
diff --git a/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa 
b/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
index 4697c5f..ef1cdec 100644
--- a/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
+++ b/templates/2.6.8.0.0.0.0.0.0.2.6.2.ip6.arpa
@@ -153,6 +153,8 @@
 
 $ORIGIN 3.0.0.0.0.0.0.0.0.0.0.0.a.1.d.e.{{ zonename }}.
 
+e.f.0.0 1H IN PTR   dns-rec-lb.esams.wikimedia.org.
+
 ; unused (2620:0:862:fe00::/64)
 
 $ORIGIN 0.0.e.f.{{ zonename }}.
diff --git a/templates/wikimedia.org b/templates/wikimedia.org
index 72d3982..70d2b83 100644
--- a/templates/wikimedia.org
+++ b/templates/wikimedia.org
@@ -756,3 +756,5 @@
 donate-lb 600 IN DYNA geoip!text-addrs-v4/esams
 1H  IN MX 10polonium.wikimedia.org.
 1H  IN MX 50lead.wikimedia.org.
+dns-rec-lb.esams1H  IN A91.198.174.217
+1H  IN  2620:0:862:ed1a::3:fe

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I47f8b19a40f7340d7e0aa75930ca06f107b08013
Gerrit-PatchSet: 1
Gerrit-Project: operations/dns
Gerrit-Branch: master
Gerrit-Owner: Faidon Liambotis fai...@wikimedia.org

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


  1   2   3   4   5   >