Paste Active Pastes
  • 1​error_log
    2
    3​ 1 [2017-09-19 10:22:01,512] [sshd-SshServer[7c71c889]-nio2-thread-21] WARN org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[null@/208.80.153.74:535 72])[state=Opened] IOException: Connection reset by peer
    4​ 2 [2017-09-19 21:43:18,383] [sshd-SshServer[7c71c889]-nio2-thread-13] WARN org.apache.sshd.server.session.ServerSessionImpl : exceptionCaught(ServerSessionImpl[null@/208.80.153.74:361 64])[state=Opened] IOException: Connection reset by peer
    5​ 3 [2017-09-19 21:53:50,800] [ShutdownCallback] INFO com.google.gerrit.pgm.Daemon : caught shutdown, cleaning up
    6...
    • Wed, Sep 20, 10:34 PM
    • 13 Lines
  • 1​git clone ssh://Paladox@gerrit2.git.wmflabs.org:29418/test test-hello
    2​Cloning into 'test-hello'...
    3​The authenticity of host '[gerrit2.git.wmflabs.org]:29418 ([208.80.155.149]:29418)' can't be established.
    4​RSA key fingerprint is SHA256:RGdOfTPaN4H+5n8174SkVw5LRdPy/V5xwmZJ2M3G/TU.
    5​Are you sure you want to continue connecting (yes/no)? yes
    6...
    • Wed, Sep 20, 10:23 PM
    • 14 Lines
  • 1​Sending build context to Docker daemon 214.5 kB
    2​Step 1 : FROM debian:jessie
    3​ ---> 054abe38b1e6
    4​Step 2 : RUN apt-get update && apt-get install -y nodejs nodejs-legacy npm git wget libcairo2-dev libgif-dev libpango1.0-dev libjpeg62-turbo-dev fonts-dejavu libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libboost-thread-dev libgdal-dev libicu-dev libpq-dev libcurl4-gnutls-dev libproj-dev libtiff-dev libwebp5 apt-transport-https && rm -rf /var/lib/apt/lists/*
    5​ ---> Using cache
    6...
    • Wed, Sep 20, 6:32 PM
    • 689 Lines
  • 1​(u3518@c1.labsdb) [(none)]> SELECT
    2​ -> table_schema
    3​ -> , sum( data_length ) as data_bytes
    4​ -> , sum( index_length ) as index_bytes
    5​ -> , sum( table_rows ) as row_count
    6...
    • Wed, Sep 20, 5:34 PM
    • 125 Lines
  • 1​```
    2​root@mw1319:~# df -h
    3​Filesystem Size Used Avail Use% Mounted on
    4​udev 10M 0 10M 0% /dev
    5​tmpfs 13G 9.0M 13G 1% /run
    6...
    • Wed, Sep 20, 3:51 PM
    • 19 Lines
  • 1​maurelio@deployment-tin:~$ mwscript namespaceDupes.php --wiki=deploymentwiki
    2​id=98 ns=0 dbk=Commons:Picture_of_the_day -> Commons-Picture_of_the_day (no conflict) DRY RUN ONLY
    3​id=21 ns=0 dbk=Meta:About -> Meta-About (no conflict) DRY RUN ONLY
    4​id=22 ns=0 dbk=Meta:Community_portal -> Meta-Community_portal (no conflict) DRY RUN ONLY
    5​3 pages to fix, 3 were resolvable.
    6...
    • Wed, Sep 20, 2:18 PM
    • 10 Lines
  • 1​Instead of:
    2
    3​ $page->doEditContent(
    4​ $content,
    5​ wfMessage( 'spam_reverting', $domain )->inContentLanguage()->text(),
    6...
    • Tue, Sep 19, 7:52 PM
    • 36 Lines
  • 1​lvs1007:
    2
    3​rbsu> SHOW CONFIG SCRIPT
    4​SET CONFIG Advanced Memory Protection Advanced ECC Support
    5​SET CONFIG NUMLOCK Power-On State Off
    6...
    • Tue, Sep 19, 6:53 PM
    • 163 Lines
  • 1​root@db1009:~# host californium.wikimedia.org
    2​californium.wikimedia.org has address 208.80.154.147
    3​californium.wikimedia.org has IPv6 address 2620:0:861:2:208:80:154:147
    4​root@db1009:~# iptables -L -n -v | grep 208.80.154.147
    5​ 0 0 ACCEPT tcp -- * * 208.80.154.147 0.0.0.0/0 tcp dpt:3306
    6...
    • Tue, Sep 19, 5:18 PM
    • 28 Lines
  • 1​diff --git a/debian/changelog b/debian/changelog
    2​index fa9dbd9..ec2ba58 100644
    3​--- a/debian/changelog
    4​+++ b/debian/changelog
    5​@@ -1,3 +1,127 @@
    6...
    • Tue, Sep 19, 2:14 PM
    • 132 Lines
  • 1​07:34:23 [tin] Started deploy [cxserver/deploy@03c1eb1]
    2​07:34:23 [tin] Started deploy [cxserver/deploy@03c1eb1]: Update cxserver to 569b7b7
    3​07:34:23 [tin]
    4​== CANARY ==
    5​:* scb2001.codfw.wmnet
    6...
    • Tue, Sep 19, 7:55 AM
    • 50 Lines
  • 1​ckb.wikipedia.org/wiki/MediaWiki:Gadget-WatchlistGreenIndicators.css <= https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Gadget-WatchlistGreenIndicators.css
    2
    3​en.wikipedia.org/wiki/MediaWiki:Gadget-WatchlistBase.css <= https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Gadget-WatchlistBase.css
    4​en.wikipedia.org/wiki/MediaWiki:Gadget-WatchlistChangesBold.css <= https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Gadget-WatchlistChangesBold.css
    5​en.wikipedia.org/wiki/MediaWiki:Gadget-WatchlistGreenIndicators.css <= https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Gadget-WatchlistGreenIndicators.css
    6...
    • Tue, Sep 19, 4:15 AM
    • 35 Lines
  • 1​SELECT page_title FROM page WHERE page_namespace = 8 AND page_title IN ('Gadget-geonotice', 'Gadget-geonotice.js', 'Gadget-geonotice-core', 'Gadget-geonotice-list.js', 'Gadget-geonotice-core.js', 'Gadget-geonotice-core.css', 'Gadget-watchlist-notice', 'Gadget-watchlist-notice.js', 'Gadget-watchlist-notice-core', 'Gadget-watchlist-notice-core.js', 'Gadget-WatchlistBase', 'Gadget-WatchlistBase.css', 'Gadget-WatchlistGreenIndicators', 'Gadget-WatchlistGreenIndicators.css', 'Gadget-WatchlistGreenIndicatorsMono', 'Gadget-WatchlistGreenIndicatorsMono.css', 'Gadget-WatchlistChangesBold', 'Gadget-WatchlistChangesBold.css', 'Watchlist-summary', 'Watchlist-details', 'Rcfilters-watchlist-showupdated', 'Wlheader-showupdated', 'Nowatchlist',
    2​ckbwiki: [page_title] => Gadget-WatchlistGreenIndicators.css
    3
    4​enwiki: [page_title] => Gadget-WatchlistBase.css
    5​enwiki: [page_title] => Gadget-WatchlistChangesBold.css
    6...
    • Tue, Sep 19, 3:10 AM
    • 37 Lines
  • 1​Time: 3.42 minutes, Memory: 428.00MB
    2
    3​There were 3 errors:
    4
    5​1) MediaWiki\Logger\Monolog\AvroFormatterTest::testSchemaNotAvailable
    6...
    • Tue, Sep 19, 1:38 AM
    • 3,250 Lines
  • 1​arlolra@tin:/srv/deployment/parsoid/deploy$ scap deploy-log
    2​-- Opening log file: '/srv/deployment/parsoid/deploy/scap/log/scap-sync-2017-09-14-0002-1-ga01064d8.log'
    3​20:13:42 [tin] Started deploy [parsoid/deploy@a01064d]
    4​20:13:42 [tin] Started deploy [parsoid/deploy@a01064d]: Updating Parsoid to 05a0965
    5​20:13:42 [tin]
    6...
    • Mon, Sep 18, 8:48 PM
    • 159 Lines
  • 1​root@gerrit-test3:/home/paladox# puppet agent -tv
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Info: Loading facts
    5​Info: Caching catalog for gerrit-test3.git.eqiad.wmflabs
    6...
    • Mon, Sep 18, 8:19 PM
    • 55 Lines
  • P6015 T175853
    1# Downloads and creates an HTML of the capitals cities of the world.
    2# pip install bs4
    3# python articles.py > capitals.html
    4
    5
    6...
    • Mon, Sep 18, 3:32 PM
    • 62 Lines
    • Python
  • 1​jmx_config_reload_failure_total 0.0
    2​jmx_config_reload_success_total 0.0
    3​jmx_scrape_duration_seconds 0.200679822
    4​jmx_scrape_error 0.0
    5​jvm_gc_collection_seconds_count{gc="G1 Old Generation",} 0.0
    6...
    • Mon, Sep 18, 10:24 AM
    • 108 Lines
  • 1​MediaWiki 1.30.0-alpha Updater
    2
    3​Your composer.lock file is up to date with current dependencies!
    4​Going to run database updates for enwiki
    5​Depending on the size of your database this may take a while!
    6...
    • Sun, Sep 17, 10:12 PM
    • 289 Lines
  • 1​30c30
    2​< `ar_comment` varbinary(767) NOT NULL DEFAULT '',
    3​---
    4​> `ar_comment` varbinary(767) NOT NULL,
    5​261c261
    6...
    • Sun, Sep 17, 10:08 PM
    • 44 Lines
  • 1#include <fcntl.h>
    2#include <stdio.h>
    3#include <unistd.h>
    4
    5int main(int argc, const char** argv) {
    6...
    • Fri, Sep 15, 1:05 AM
    • 13 Lines
    • C
  • 1​#0 /srv/mediawiki/php-1.30.0-wmf.18/extensions/VisualEditor/ApiVisualEditor.php(468): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
    2​#1 /srv/mediawiki/php-1.30.0-wmf.18/includes/api/ApiMain.php(1583): ApiVisualEditor->execute()
    3​#2 /srv/mediawiki/php-1.30.0-wmf.18/includes/api/ApiMain.php(546): ApiMain->executeAction()
    4​#3 /srv/mediawiki/php-1.30.0-wmf.18/includes/api/ApiMain.php(517): ApiMain->executeActionWithErrorHandling()
    5​#4 /srv/mediawiki/php-1.30.0-wmf.18/api.php(94): ApiMain->execute()
    6...
    • Thu, Sep 14, 9:06 PM
    • 7 Lines
  • 1​#0 /srv/mediawiki/php-1.30.0-wmf.18/includes/api/ApiMain.php(1583): ApiFeedWatchlist->execute()
    2​#1 /srv/mediawiki/php-1.30.0-wmf.18/includes/api/ApiMain.php(546): ApiMain->executeAction()
    3​#2 /srv/mediawiki/php-1.30.0-wmf.18/includes/api/ApiMain.php(517): ApiMain->executeActionWithErrorHandling()
    4​#3 /srv/mediawiki/php-1.30.0-wmf.18/api.php(94): ApiMain->execute()
    5​#4 /srv/mediawiki/w/api.php(3): include(string)
    6...
    • Thu, Sep 14, 7:42 PM
    • 6 Lines
  • 109-14 11:02:37.258 2412-2412/org.wikipedia.dev E/AndroidRuntime: FATAL EXCEPTION: main
    2Process: org.wikipedia.dev, PID: 2412
    3java.lang.RuntimeException: Unable to start activity ComponentInfo{org.wikipedia.dev/org.wikipedia.page.PageActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class org.wikipedia.page.leadimages.PageHeaderView
    4at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
    5at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
    6...
    • Thu, Sep 14, 3:08 PM
    • 105 Lines
    • Java
  • 1​kafka_controller_controllerstats_50thpercentile{name="AutoLeaderBalanceRateAndTimeMs",} 0.0
    2​kafka_controller_controllerstats_50thpercentile{name="ControlledShutdownRateAndTimeMs",} 0.0
    3​kafka_controller_controllerstats_50thpercentile{name="ControllerChangeRateAndTimeMs",} 42.440487
    4​kafka_controller_controllerstats_50thpercentile{name="IsrChangeRateAndTimeMs",} 0.0
    5​kafka_controller_controllerstats_50thpercentile{name="LeaderElectionRateAndTimeMs",} 0.0
    6...
    • Thu, Sep 14, 2:37 PM
    • 353 Lines
  • 1​class puppetmaster::geoip {
    2​ $geopip_destdir = "${puppetmaster::volatiledir}/GeoIP"
    3​}
    4
    5​class puppetmaster {
    6...
    • Thu, Sep 14, 9:29 AM
    • 11 Lines
  • 1$ ag -S instance_count
    2modules/cassandra/templates/cassandra.yaml-2.2.erb
    3323: || @instance_count == 1 \
    4
    5modules/cassandra/templates/cassandra.yaml-3.x.erb
    6
    7...
    • Thu, Sep 14, 8:51 AM
    • 18 Lines
  • 1$ ag -S instance_count
    2modules/cassandra/templates/cassandra.yaml-2.2.erb
    3323: || @instance_count == 1 \
    4
    5modules/cassandra/templates/cassandra.yaml-3.x.erb
    6
    7...
    • Thu, Sep 14, 8:50 AM
    • 14 Lines
  • 1​dduvall@dutiful:~/blubber$ dpkg-buildpackage -b -rfakeroot -us -uc
    2​dpkg-buildpackage: info: source package blubber
    3​dpkg-buildpackage: info: source version 0.0~git20170911.0.4e5c728-1
    4​dpkg-buildpackage: info: source distribution unstable
    5​dpkg-buildpackage: info: source changed by Dan Duvall <dduvall@wikimedia.org>
    6...
    • Wed, Sep 13, 7:47 PM
    • 36 Lines
  • 1​dduvall@dutiful:~/blubber$ go get phabricator.wikimedia.org/source/blubber
    2​package phabricator.wikimedia.org/source/blubber: unrecognized import path "phabricator.wikimedia.org/source/blubber" (parse https://phabricator.wikimedia.org/source/blubber?go-get=1: no go-import meta tags)
    3​dduvall@dutiful:~/blubber$ go get phabricator.wikimedia.org/source/blubber/
    4​package phabricator.wikimedia.org/source/blubber: unrecognized import path "phabricator.wikimedia.org/source/blubber" (parse https://phabricator.wikimedia.org/source/blubber?go-get=1: no go-import meta tags)
    • Wed, Sep 13, 6:01 PM
    • 4 Lines
  • 1​# exim -v -M 1ds9oD-00037r-TF
    2​delivering 1ds9oD-00037r-TF
    3​LOG: MAIN
    4​ Unfrozen by forced delivery
    5​Connecting to mailin-03.mx.aol.com [152.163.0.67]:25 ... connected
    6...
    • Wed, Sep 13, 4:27 PM
    • 35 Lines
  • 1​ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDHO09HkC/OUk+sWmDx0O15qiQXPHMM97zEC19o7tc8mh4vGTXCzbcIGj2Z18thLQZ9e2N5hzr2vmcQ4gOkiPsHEiIQXtIUK6zomSqrV3qFryaFAd2FCynsK2/xS1Lw7WXy+uCgjnsc8nckQS3rsJzQswucAQmXno65tvg/t+UbJOKZpxIofZAWwsCcZfhnNt65Mtt4PGHPy+STfL3E3aj47xHMk/TqZv7bj4QR++NLu2qpWwwnnG7SWgoqS3x/2m/OU8ui3UxKWEMvZouIZVblY50E0OG+Xs/bcndLhqKl0FSVPQVVWh9ZPJKCHXVoc1Ja3ZFFNcgBmuC/XqjnsDCGlcKWKiW0CbWRzGrJ0BCkydOf72cDB4EseGV3KeZLbxfEUVt1EOYuDEEmAXQVXTTBX3A5vyq9C1Bx1H7wSmzVUImZfw09236+Lzqr98SWV+pHOglSHgYfDq8CEJxjIo8oADmAoGu9uclOQJ/7Sp0XigUgUE44SPMRKUymwC9TTrblKtUR49gyoVHMtnH1blTUqNwFt5dcvLtHMKzDeXAlWILhdcDP7Ys+VBwOXsJ+txSLiktiI4+CKgz4XMY58jmSKPkbMBEQjzFDhujpsybUdswMEd2GcSidqw338MsCNTgDGlUPmB5LV4LQl7zh+hlHqCgfxNhIl9+zwIuw5IlnYQ==
    • Wed, Sep 13, 2:56 PM
    • 1 Line
  • 1​// Cleaned up to remove non-matches
    2​SELECT page_title FROM page WHERE page_namespace = 8 AND page_title IN ('Gadget-geonotice', 'Gadget-geonotice.js', 'Gadget-geonotice-core', 'Gadget-geonotice-list.js', 'Gadget-geonotice-core.js', 'Gadget-geonotice-core.css', 'Gadget-watchlist-notice', 'Gadget-watchlist-notice.js', 'Gadget-watchlist-notice-core', 'Gadget-watchlist-notice-core.js', 'Gadget-WatchlistBase', 'Gadget-WatchlistBase.css', 'Gadget-WatchlistGreenIndicators', 'Gadget-WatchlistGreenIndicators.css', 'Gadget-WatchlistGreenIndicatorsMono', 'Gadget-WatchlistGreenIndicatorsMono.css', 'Gadget-WatchlistChangesBold', 'Gadget-WatchlistChangesBold.css', 'Watchlist-summary', 'Watchlist-details', 'Rcfilters-watchlist-showupdated', 'Wlheader-showupdated', 'Nowatchlist',
    3​'Wlheader-enotif' );
    4​amwiki: stdClass Object
    5​amwiki: (
    6...
    • Wed, Sep 13, 9:33 AM
    • 1,247 Lines
  • 1​root@labservices1001:~# puppet agent --enable && puppet agent --test
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Notice: /File[/var/lib/puppet/lib/puppet/provider/scap_source/default.rb]/content:
    5​--- /var/lib/puppet/lib/puppet/provider/scap_source/default.rb 2017-06-16 13:23:45.337051251 +0000
    6...
    • Tue, Sep 12, 6:19 PM
    • 70 Lines
  • 1​root@labservices1002:~# puppet agent --enable && puppet agent --test
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Notice: /File[/var/lib/puppet/lib/puppet/provider/scap_source/default.rb]/content:
    5​--- /var/lib/puppet/lib/puppet/provider/scap_source/default.rb 2017-06-16 13:25:57.111916774 +0000
    6...
    • Tue, Sep 12, 5:59 PM
    • 176 Lines
  • 1​# Sourced from analytics db using query
    2​# select wiki, sum(distinct_sessions)/count(1) from (select wiki, left(timestamp, 8) as date, count(distinct event_searchSessionId) as distinct_sessions from TestSearchSatisfaction2_16909631 where timestamp between 20170903000000 and 20170910000000 and event_source = 'fulltext' and wiki in ('fiwiki', 'frwiki', 'arwiki', 'nlwiki', 'jawiki', 'ptwiki', 'idwiki', 'fawiki', 'dewiki', 'plwiki', 'viwiki', 'svwiki', 'nowiki', 'zhwiki', 'ruwiki', 'hewiki', 'kowiki', 'itwiki') group by wiki, left(timestamp, 8)) x group by wiki;
    3
    4​daily = {
    5​ 'arwiki': 903.7143,
    6...
    • Tue, Sep 12, 5:36 PM
    • 63 Lines
  • 1​==> default: Running provisioner: lsb_check...
    2​==> default: Running provisioner: shell...
    3​ default: Running: /tmp/vagrant-shell20170912-17859-1thtvg3.sh
    4​==> default: Running provisioner: puppet...
    5​==> default: Running Puppet with site.pp...
    6...
    • Tue, Sep 12, 5:33 PM
    • 288 Lines
  • 1{
    2"country": "eg",
    3"lang": "ar",
    4"description": "Monuments in Egypt in Arabic",
    5"project": "wikipedia",
    6...
    • Tue, Sep 12, 3:29 PM
    • 123 Lines
    • JSON
  • 1​For T175305
    2
    3​Some occurrences found with tail-mobileapps in prod machines.
    4
    5​fr.wikipedia.org/v1/page/mobile-sections/Portail:Peinture
    6...
    • Tue, Sep 12, 3:27 PM
    • 42 Lines
  • 1from telnetlib import Telnet
    2
    3import socket
    4
    5SERVERS = {
    6...
    • Tue, Sep 12, 1:52 PM
    • 19 Lines
    • Python
  • P5990 Ficheiros
    1My file
    • Tue, Sep 12, 11:58 AM
    • 1 Line
    • HTTP
  • 1​From c172448fbfdc7bb9494b10173da5ebaeabe8c781 Mon Sep 17 00:00:00 2001
    2​From: Brian Wolff <bawolff+wn@gmail.com>
    3​Date: Tue, 12 Sep 2017 09:08:30 +0000
    4​Subject: [PATCH] Attempt to optimize watchlist query
    5
    6...
    • Tue, Sep 12, 10:39 AM
    • 280 Lines
    • Diff
  • 1​```
    2​root@db1084.eqiad.wmnet[commonswiki]> explain SELECT STRAIGHT_JOIN rc_id FROM `recentchanges` INNER JOIN `watchlist` ON (wl_user = '611' AND (wl_namespace=rc_namespace) AND (wl_title=rc_title)) LEFT JOIN `page` ON ((rc_cur_id=page_id)) WHERE (rc_type != '6') AND (rc_source != 'wb') AND ((rc_this_oldid=page_latest) OR rc_type IN ('3','142') ) AND (rc_id > 912664338) AND ((rc_type != 3) OR ((rc_deleted & 9) != 9)) ORDER BY rc_id DESC LIMIT 60 \G
    3​*************************** 1. row ***************************
    4​ id: 1
    5​ select_type: SIMPLE
    6...
    • Tue, Sep 12, 9:28 AM
    • 36 Lines
  • 1​~/w/o/s/e/plugins review/dcausse/376477> ./debian/rules verify_commit
    2​rm -rf debian/blobs
    3​mkdir debian/blobs
    4​debian/checkout.bash debian/blobs debian/plugin_urls.lst 5.5.2
    5​Downloading https://github.com/medcl/elasticsearch-analysis-stconvert/releases/download/v5.5.2/elasticsearch-analysis-stconvert-5.5.2.zip ...
    6...
    • Tue, Sep 12, 9:07 AM
    • 39 Lines
  • 1diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php
    2index 2084c36..68f7399 100644
    3--- a/includes/AjaxDispatcher.php
    4+++ b/includes/AjaxDispatcher.php
    5@@ -56,6 +56,7 @@ class AjaxDispatcher {
    6...
    • Tue, Sep 12, 12:59 AM
    • 15,402 Lines
    • Diff
  • 1​mwscript createAndPromote.php --wiki=ldapauthwiki --help
    2
    3​ vagrant forward-port --help
    • Mon, Sep 11, 8:23 PM
    • 3 Lines
  • 1$ curl -vL http://page-creation.wmflabs.org
    2​* Rebuilt URL to: http://page-creation.wmflabs.org/
    3​* Trying 208.80.155.156...
    4​* TCP_NODELAY set
    5​* Connected to page-creation.wmflabs.org (208.80.155.156) port 80 (#0)
    6...
    • Mon, Sep 11, 7:39 PM
    • 55 Lines
    • Shell
  • 1​Searching 4238 files for "getFooter("
    2
    3​skins/Athena/Athena.phtml:
    4​ 35: <?php echo $this->getFooter(); ?>
    5
    6...
    • Mon, Sep 11, 6:19 PM
    • 28 Lines
  • 1{
    2"servedby": "mw1228",
    3"curtimestamp": "2017-09-10T18:59:48Z",
    4"uselang": "en",
    5"errorlang": "en",
    6...
    • Sun, Sep 10, 7:04 PM
    • 11 Lines
    • JSON
  • 1# Copyright (C) 2008 The Android Open Source Project
    2#
    3# Licensed under the Apache License, Version 2.0 (the "License");
    4# you may not use this file except in compliance with the License.
    5# You may obtain a copy of the License at
    6...
    • Fri, Sep 8, 9:50 PM
    • 104 Lines
  • 1​(with https://gerrit.wikimedia.org/r/#/c/364933/12)
    2​[creates two sections: 1 lead + the foo section; the references (aka bar section text is contained inside the foo section, which is similar to how action=mobileview behaves]
    3​bin/parse.js --prefix fywiki --page "Meidogger:BSitzmann_(WMF)/MCS/Test/Sectioning1" </dev/null
    4
    5<!DOCTYPE html>
    6...
    • Fri, Sep 8, 6:35 PM
    • 24 Lines
    • HTML
  • 1​There were 7 failures:
    2
    3​1) ApiComparePagesTest::testDiff with data set "Diff with all props as sysop" (array('{{REPL:revB2}}', '{{REPL:revB3}}', 'ApiComparePagesTest B', 'diff|diffsize|rel|ids|title|u...t|size'), array(array('{{REPL:pageB}}', '{{REPL:revB2}}', 0, 'ApiComparePagesTest B', 3, true, true, '{{REPL:creator}}', '{{REPL:creatorid}}', true, 'Test for ApiComparePagesTest: B 2', 'Test for ApiComparePagesTest: B 2', '{{REPL:pageB}}', '{{REPL:revB3}}', 0, 'ApiComparePagesTest B', 3, true, true, true, '{{REPL:revB1}}', '{{REPL:revB4}}', 391, '<tr><td colspan="2" class="di...</tr>\n')), false, true)
    4​Failed asserting that two arrays are equal.
    5​--- Expected
    6...
    • Fri, Sep 8, 6:30 PM
    • 123 Lines
  • 1const parsoidDomUtils = require('parsoid-dom-utils');
    2const domino = require('domino');
    3
    4// == h2, h2
    5// Normal case: plain <h2> after <h2>
    6...
    • Fri, Sep 8, 5:51 PM
    • 51 Lines
    • Javascript
  • 1from collections import OrderedDict
    2import pywikibot as pwb
    3
    4site = pwb.Site('wikidata', 'wikidata')
    5page = pwb.Page(site, 'Wikidata:WikiProject WLM/Mapping tables/ge (ka)/types')
    6...
    • Fri, Sep 8, 8:53 AM
    • 57 Lines
    • Python
  • 1#!/bin/sh
    2
    3​curl -XDELETE localhost:9200/wikidata | jq .
    4
    5​curl -XPUT localhost:9200/wikidata -d '{
    6...
    • Fri, Sep 8, 7:47 AM
    • 69 Lines
  • 1#!/bin/sh
    2
    3​curl -XDELETE localhost:9200/wikidata | jq .
    4
    5​curl -XPUT localhost:9200/wikidata -d '{
    6...
    • Fri, Sep 8, 1:01 AM
    • 47 Lines
  • 1USE wmf;
    2SELECT
    3date,
    4COUNT(DISTINCT CONCAT(client_ip, user_agent, query)) AS n_search,
    5COUNT(*) AS n_pv,
    6...
    • Thu, Sep 7, 7:55 PM
    • 29 Lines
    • SQL
  • 1USE wmf;
    2SELECT
    3date,
    4COUNT(DISTINCT CONCAT(client_ip, user_agent, query)) AS n_search,
    5COUNT(*) AS n_serp,
    6...
    • Thu, Sep 7, 7:52 PM
    • 35 Lines
    • SQL
  • 1for dbname in $(mysql -BN -h metawiki.labsdb -e 'SELECT dbname FROM meta_p.wiki WHERE is_closed = 0;'); do
    2for test_url in $(mysql -Nh ${dbname}.labsdb ${dbname}_p <<< '
    3​SELECT CONCAT(
    4"https://upload.wikimedia.org",
    5​ REGEXP_REPLACE(
    6...
    • Thu, Sep 7, 6:22 PM
    • 38 Lines
    • Bash Scripting
  • 1​VM574:127 This page is using the deprecated ResourceLoader module "jquery.ui.widget".
    2​(anonymous) @ VM574:127
    3​(anonymous) @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0ynbgde:162
    4​fire @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0ynbgde:45
    5​add @ load.php?debug=false&lang=en&modules=jquery%2Cmediawiki|mediawiki.legacy.wikibits&only=scripts&skin=vector&version=0ynbgde:45
    6...
    • Thu, Sep 7, 8:59 AM
    • 118 Lines
  • 1​{
    2​ "flow": {
    3​ "view-header": {
    4​ "result": {
    5​ "header": {
    6...
    • Thu, Sep 7, 12:03 AM
    • 20 Lines
  • 1​root@labnet1001:~# puppet agent --enable && puppet agent --test
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Info: Loading facts
    5​Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template openstack2/liberty/nova/network/dnsmasq-nova.conf.erb:
    6...
    • Wed, Sep 6, 9:26 PM
    • 12 Lines
  • 1​```root@labvirt1018:~# puppet agent --enable && puppet agent --test
    2​Info: Retrieving pluginfacts
    3​Info: Retrieving plugin
    4​Info: Loading facts
    5​Info: Caching catalog for labvirt1018.eqiad.wmnet
    6...
    • Wed, Sep 6, 7:28 PM
    • 52 Lines
  • 1​AssembleUploadChunks
    2​BounceHandlerJob
    3​BounceHandlerNotificationJob
    4​categoryMembershipChange
    5​cdnPurge
    6...
    • Wed, Sep 6, 4:53 PM
    • 59 Lines
  • 1​table = $('table table').parent().closest('table').first();
    2​rows = table.find('table tr').remove();
    3​table.empty().append(rows).addClass('wikitable');
    4​table.wrap('<div style="column-count: 3;">');
    • Wed, Sep 6, 3:14 PM
    • 4 Lines
  • 1​root@PRODUCTION s5 slave[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1049 |
    6...
    • Wed, Sep 6, 7:18 AM
    • 55 Lines
  • 1​mysql:wikiadmin@db1055 [enwiki]> select * from querycache_info ORDER BY qci_timestamp;
    2​+-------------------------+----------------+
    3​| qci_type | qci_timestamp |
    4​+-------------------------+----------------+
    5​| CrossNamespaceLinks | 20091016041335 |
    6...
    • Tue, Sep 5, 8:30 PM
    • 47 Lines
  • 1SELECT
    2SUBSTRING_INDEX(table_schema, '_', 1) as tool
    3, count(1) as tables
    4FROM information_schema.TABLES
    5WHERE table_schema regexp '^[psu][0-9]'
    6...
    • Tue, Sep 5, 5:53 PM
    • 130 Lines
    • SQL
  • 1​mattflaschen@tin:/srv/mediawiki-staging$ scap sync-dir php-1.30.0-wmf.16/ 'Prepare to enable RCFilters (WLFilters) on Watchlist, but without i18n changes (reverted)' ___ ____
    2​ ⎛ ⎛ ,----
    3​ \ //==--'
    4​ _//|,.·//==--' ____________________________
    5​ _OO≣=- ︶ ᴹw ⎞_§ ______ ___\ ___\ ,\__ \/ __ \
    6...
    • Tue, Sep 5, 4:37 PM
    • 42 Lines
  • 1import json
    2import math
    3from multiprocessing.dummy import Pool
    4import requests
    5import urllib.parse
    6...
    • Tue, Sep 5, 4:02 PM
    • 206 Lines
    • Python
  • 1{
    2"8192": {
    3"daily_views": 447.57142857142856,
    4"title": "Detective fiction",
    5"scores": {
    6...
    • Tue, Sep 5, 3:57 PM
    • 33,271 Lines
    • JSON
  • 1​mattflaschen@tin:/srv/mediawiki-staging/php-1.30.0-wmf.16$ scap sync 'Prepare to enable RCFilters (WLFilters) on Watchlist'
    2​ ___ ____
    3​ ⎛ ⎛ ,----
    4​ \ //==--'
    5​ _//|,.·//==--' ____________________________
    6...
    • Tue, Sep 5, 3:42 PM
    • 116 Lines
  • 1​campaigncategoryuseslegacy bucket anonymous status_code recordimpressionsamplerate status result campaign campaigncategory banner
    2​false 1 true 6 0.01 banner_shown show WMDE_Editor_Summer_2017 WMDE_Editor_Summer_2017 WMDE_editor_campaign_summer_2017_b
    3​false 1 true 6 0.01 banner_shown show WMDE_Editor_Summer_2017 WMDE_Editor_Summer_2017 WMDE_editor_campaign_summer_2017_b
    4​false 0 true 6 0.01 banner_shown show WMDE_Editor_Summer_2017 WMDE_Editor_Summer_2017 WMDE_editor_campaign_summer_2017_a
    5​false 1 true 6 0.01 banner_shown show WMDE_Editor_Summer_2017 WMDE_Editor_Summer_2017 WMDE_editor_campaign_summer_2017_b
    6...
    • Tue, Sep 5, 11:00 AM
    • 52 Lines
  • 1​ADD JAR /usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core.jar;
    2
    3​CREATE TEMPORARY MACRO uri_param_value(param_name string, col string)
    4​ parse_url(concat('http://bla.org/woo/', col), 'QUERY', param_name);
    5
    6...
    • Tue, Sep 5, 10:59 AM
    • 29 Lines
  • 1​Math/Math.hooks.php
    2​401: static function onEditPageBeforeEditToolbar( &$toolbar ) {
    3
    4​CodeEditor/CodeEditor.hooks.php
    5​45: * @param EditPage $editpage
    6...
    • Fri, Sep 1, 8:16 PM
    • 315 Lines
  • 1{
    2"description": "wikibase_prefix search for 'Duck'",
    3"params": {
    4"timeout": "20s"
    5},
    6...
    • Thu, Aug 31, 6:13 PM
    • 137 Lines
    • JSON
  • 1
    2​ "dis_max": {
    3​ "queries": [
    4​ {
    5​ "constant_score": {
    6...
    • Thu, Aug 31, 6:12 PM
    • 30 Lines
  • 1#!/bin/sh
    2
    3if [ "${APT_USE_BUILT}" = "yes" ]; then
    4​ apt-get install -y apt-utils
    5
    6...
    • Thu, Aug 31, 3:09 PM
    • 11 Lines
  • 1​Hi,
    2​for a long time https://ganglia.wikimedia.org has been carrying a note that Ganglia is deprecated in favour of Grafana (https://grafana.wikimedia.org).
    3
    4​On next Monday (4th of September) we'll take that deprecation one step further and move Ganglia behind authentication (the remaining use cases not covered by Grafana are limited to the fundraising infrastructure).
    5
    6...
    • Thu, Aug 31, 12:18 PM
    • 7 Lines
  • 1​wikiadmin@deployment-db04[enwiki]> select * from interwiki WHERE iw_url LIKE '%ca.wikipedia%';
    2​+-----------+----------------------------------------------+--------+-----------+----------+----------+
    3​| iw_prefix | iw_url | iw_api | iw_wikiid | iw_local | iw_trans |
    4​+-----------+----------------------------------------------+--------+-----------+----------+----------+
    5​| ca | http://ca.wikipedia.beta.wmflabs.org/wiki/$1 | | | 1 | 0 |
    6...
    • Thu, Aug 31, 12:18 AM
    • 7 Lines
  • 1​Creating comment table ...[00873ad40e8aa52cad0f333c] [no req] Wikimedia\Rdbms\DBQueryError from line 1149 of /var/www/wiki/mediawiki/core/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
    2​Query: CREATE INDEX comment_hash ON comment (comment_hash)
    3
    4​Function: Wikimedia\Rdbms\Database::sourceFile( /var/www/wiki/mediawiki/core/maintenance/archives/patch-comment-table.sql )
    5​Error: 1146 Table 'wikidb.comment' doesn't exist (10.13.37.212)
    6...
    • Wed, Aug 30, 3:30 PM
    • 18 Lines
  • 1#!/usr/bin/python
    2
    3import csv
    4import json
    5
    6...
    • Wed, Aug 30, 5:57 AM
    • 23 Lines
    • Python
  • 1​root@labs-bootstrapvz-jessie:/target# bootstrap-vz /etc/bootstrap-vz/manifests/labs-jessie.manifest.yaml
    2​Add puppet package
    3​Adding packages from the manifest
    4​Adding sources from the manifest
    5​Adding default release sources
    6...
    • Wed, Aug 30, 5:26 AM
    • 100 Lines
  • 1mysql:wikiadmin@db1083 [enwiki]> select * from querycache where qc_type = '' LIMIT 10;
    2+---------+----------+--------------+---------------------+
    3| qc_type | qc_value | qc_namespace | qc_title |
    4+---------+----------+--------------+---------------------+
    5| | 0 | 0 | ! |
    6...
    • Tue, Aug 29, 10:08 PM
    • 16 Lines
    • SQL
  • 1​eevans@restbase1010:~$ sudo confctl select dc=eqiad,cluster=restbase,name=restbase1010.eqiad.wmnet set/pooled=no
    2​The selector you chose has selected the following objects:
    3​{"/eqiad/restbase/restbase": ["restbase1010.eqiad.wmnet"], "/eqiad/restbase/cassandra": ["restbase1010.eqiad.wmnet"]}
    4​Ok to continue? [y/N]
    5​confctl>
    • Tue, Aug 29, 6:28 PM
    • 5 Lines
  • 1​08-29 23:15:21.711 5228-5228/org.wikipedia.alpha I/dalvikvm: Could not find method android.widget.PopupWindow.setElevation, referenced from method org.wikipedia.views.ExploreOverflowView.show
    2​08-29 23:15:21.711 5228-5228/org.wikipedia.alpha W/dalvikvm: VFY: unable to resolve virtual method 24163: Landroid/widget/PopupWindow;.setElevation (F)V
    3​08-29 23:15:21.711 5228-5228/org.wikipedia.alpha D/dalvikvm: VFY: replacing opcode 0x6e at 0x002b
    4​08-29 23:15:22.591 5228-5228/org.wikipedia.alpha E/ViewRootImpl: sendUserActionEvent() mView == null
    5​08-29 23:15:22.641 5228-5228/org.wikipedia.alpha D/dalvikvm: GC_FOR_ALLOC freed 724K, 31% free 14028K/20136K, paused 21ms, total 21ms
    6...
    • Tue, Aug 29, 5:49 PM
    • 233 Lines
  • 1​# configuration to create:
    2​# * hardware raid on kafka-jumbo hosts
    3​# * sda raid1: 2 * 1TB mounted as /
    4​# * sdb raid10: 12 * 4TB in 90% lvm as /srv
    5​# ** 10% empty space for later/emergency growth
    6...
    • Tue, Aug 29, 4:56 PM
    • 48 Lines
  • 1​root@db1052[sys]> SELECT * FROM io_global_by_file_by_bytes ORDER BY count_write DESC LIMIT 10;
    2​+------------------------------------+------------+------------+-----------+-------------+---------------+------------+-----------+-----------+
    3​| file | count_read | total_read | avg_read | count_write | total_written | avg_write | total | write_pct |
    4​+------------------------------------+------------+------------+-----------+-------------+---------------+------------+-----------+-----------+
    5​| @@datadir/ib_logfile1 | 0 | 0 bytes | 0 bytes | 1103755474 | 2.74 TiB | 2.67 KiB | 2.74 TiB | 100.00 |
    6...
    • Tue, Aug 29, 1:37 PM
    • 16 Lines
  • 1​Before:
    2
    3​CREATE TABLE civicrm_group_contact_cache (
    4​ id int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'primary key',
    5​ group_id int(10) unsigned NOT NULL COMMENT 'FK to civicrm_group',
    6...
    • Tue, Aug 29, 1:15 PM
    • 24 Lines
  • 1​root@PRODUCTION s4 slave[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1097 |
    6...
    • Tue, Aug 29, 11:10 AM
    • 55 Lines
  • 1​{
    2​ "country": "uh",
    3​ "lang": "en",
    4​ "description": "Monuments in Uganda in English",
    5​ "project": "wikipedia",
    6...
    • Tue, Aug 29, 10:45 AM
    • 141 Lines
  • 1​[4689412.160666] sd 0:1:0:2: [sdc] tag#48 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
    2​[4689412.160684] sd 0:1:0:2: [sdc] tag#48 Sense Key : Medium Error [current]
    3​[4689412.160690] sd 0:1:0:2: [sdc] tag#48 Add. Sense: Unrecovered read error
    4​[4689412.160695] sd 0:1:0:2: [sdc] tag#48 CDB: Write(10) 2a 00 12 88 49 50 00 02 00 00
    5​[4689412.160700] blk_update_request: critical medium error, dev sdc, sector 310921552
    6...
    • Mon, Aug 28, 8:21 PM
    • 61 Lines
  • 1​ERROR [CompactionExecutor:29856] 2017-08-28 19:51:11,714 CassandraDaemon.java:185 - Exception in thread Thread[CompactionExecutor:29856,1,main]
    2​org.apache.cassandra.io.FSWriteError: java.io.IOException: Input/output error
    3​ at org.apache.cassandra.io.util.SequentialWriter.syncDataOnlyInternal(SequentialWriter.java:260) ~[apache-cassandra-2.2.6.jar:2.2.6]
    4​ at org.apache.cassandra.io.util.SequentialWriter.syncInternal(SequentialWriter.java:269) ~[apache-cassandra-2.2.6.jar:2.2.6]
    5​ at org.apache.cassandra.io.util.SequentialWriter.sync(SequentialWriter.java:249) ~[apache-cassandra-2.2.6.jar:2.2.6]
    6...
    • Mon, Aug 28, 8:19 PM
    • 36 Lines
  • 1​After increasing file handle max to 16k and redis connection limit to 16k.
    2
    3​halfak@ores1001:~/ores$ date; cat ~/enwiki.200k.sample.json | /srv/deployment/ores/venv/bin/python ./utility stress_test enwiki http://ores1001.eqiad.wmnet:8081 http://ores1002.eqiad.wmnet:8081 http://ores1003.eqiad.wmnet:8081 http://ores1004.eqiad.wmnet:8081 http://ores1005.eqiad.wmnet:8081 http://ores1006.eqiad.wmnet:8081 http://ores1007.eqiad.wmnet:8081 http://ores1008.eqiad.wmnet:8081 http://ores1009.eqiad.wmnet:8081 --delay 0.03 --verbose
    4​Mon Aug 28 15:14:17 UTC 2017
    5​Stats:
    6...
    • Mon, Aug 28, 7:53 PM
    • 99 Lines
  • 1​08-28 20:34:54.220 10852-10852/org.wikipedia.alpha D/SThemeManager: Load theme icons for theme
    2​08-28 20:34:54.295 10852-11076/org.wikipedia.alpha D/org.wikipedia.settings.RemoteConfigRefreshTask: Skipping recurring task, remote-config-refresher. Last execution was Mon Aug 28 19:11:28 GMT+05:30 2017.
    3​08-28 20:34:54.335 10852-10852/org.wikipedia.alpha D/dalvikvm: GC_FOR_ALLOC freed 1638K, 27% free 13864K/18984K, paused 32ms, total 32ms
    4​08-28 20:34:54.340 10852-10852/org.wikipedia.alpha I/dalvikvm-heap: Grow heap (frag case) to 15.786MB for 1127536-byte allocation
    5​08-28 20:34:54.365 10852-10860/org.wikipedia.alpha D/dalvikvm: GC_FOR_ALLOC freed <1K, 26% free 14965K/20088K, paused 26ms, total 26ms
    6...
    • Mon, Aug 28, 3:12 PM
    • 81 Lines
  • 1​Aug 22 08:42:04 ores1008 celery-ores-worker[19293]: [2017-08-22 08:42:04,888: ERROR/MainProcess] Unrecoverable error: OSError(24, 'Too many open files')
    2​Aug 22 08:42:04 ores1008 celery-ores-worker[19293]: Traceback (most recent call last):
    3​Aug 22 08:42:04 ores1008 celery-ores-worker[19293]: File "/srv/deployment/ores/venv/lib/python3.4/site-packages/celery/worker/__init__.py", line 206, in start
    4​Aug 22 08:42:04 ores1008 celery-ores-worker[19293]: self.blueprint.start(self)
    5​Aug 22 08:42:04 ores1008 celery-ores-worker[19293]: File "/srv/deployment/ores/venv/lib/python3.4/site-packages/celery/bootsteps.py", line 123, in start
    6...
    • Mon, Aug 28, 2:27 PM
    • 25 Lines
  • 1.wikibase-entityview .wb-language-fallback-indicator.wb-language-fallback-variant {
    2display: unset;
    3}
    • Mon, Aug 28, 1:53 PM
    • 3 Lines
    • CSS
  • 1​img_name img_timestamp img_timestamp img_sha1 img_sha1
    2​Academia.jpg 20080127212115 20100411201335 bvi9xxk9mxq8ijcbuyzxbdka0ekh70g 98d99qe0wl7g5y432eykj9fdr6ki703
    3​Adrian1.jpg 20080112221649 20080519122807 3ltubelk3to0yojlef3nazhll28cv91 ei76doynfk7w2vy1ubzdg0pvbj3fvrq
    4​Ar1.jpg 20070113013158 20071122010104 m20lvc3ms65dvcf3ojpbsg4hkq2ojiz d1pvnqqwhyb1wxutl1305xamgkslrrw
    5​As1.jpg 20070118140449 20130424115510 msd3dsxyn6pjxqjrnji6jzvecasanfb 0iax7ytb85paic41tuqkadb0z7yqbag
    6...
    • Mon, Aug 28, 11:13 AM
    • 140 Lines
  • 1​root@PRODUCTION s5 slave[(none)]> select @@hostname;
    2​+------------+
    3​| @@hostname |
    4​+------------+
    5​| db1045 |
    6...
    • Mon, Aug 28, 8:11 AM
    • 55 Lines
  • 1​-- Nullable column doesn't cause automatic primary key
    2
    3​MariaDB [mw]> create table t1 (a int);
    4​Query OK, 0 rows affected (0.02 sec)
    5​MariaDB [mw]> create unique index t1a on t1 (a);
    6...
    • Mon, Aug 28, 1:20 AM
    • 54 Lines