Page MenuHomePhabricator
Paste Active Pastes
  • ve.init.mw.DesktopArticleTarget.surfaceReady (ve.init.mw.DesktopArticleTarget.js?8546c:778)
    (anonymous) (ve.init.mw.Target.js?dcd59:398)
    setTimeout (async)
    ve.init.mw.Target.addSurface (ve.init.mw.Target.js?dcd59:388)
    ve.init.mw.DesktopArticleTarget.addSurface (ve.init.mw.DesktopArticleTarget.js?8546c:176)
    ...
    • Nov 29 2018, 3:04 AM
    • 69 Lines
    • Nov 29 2018, 3:04 AM
    • 1 Line
  • SELECT country_code, changeratio,
    ROUND(viewsthisyear/122000000,1) AS milliondailyviewsthisyear
    FROM (
    SELECT country_code,
    ROUND(100*
    ...
    • Nov 28 2018, 11:57 PM
    • 72 Lines
    • SQL
  • /*
    * Copyright 2018 Emanuele Rocca <ema@wikimedia.org>
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    ...
    • Nov 28 2018, 4:29 PM
    • 204 Lines
    • C++
  • /*
    * Copyright 2018 Emanuele Rocca <ema@wikimedia.org>
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    ...
    • Nov 28 2018, 1:51 PM
    • 202 Lines
  • $ tsxs -o objhits.so -c objhits.cc -lstdc++
    compiling objhits.cc -> objhits.lo
    objhits.cc:54:7: warning: variable 'resp_bufp' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
    if (m->find(url) == m->end()) {
    ^~~~~~~~~~~~~~~~~~~~~~~~
    ...
    • Nov 28 2018, 11:23 AM
    • 52 Lines
  • Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Could not find data item profile::openstack::eqiad1::nova_controller in any Hiera data file and no default supplied at /etc/puppet/modules/profile/manifests/mariadb/ferm_wmcs.pp:6:31 on node db2037.codfw.wmnet
    • Nov 28 2018, 11:20 AM
    • 1 Line
  • [10:01:33] marostegui@puppetmaster1001:~$ sudo -i puppet-merge
    Fetching new commits from https://gerrit.wikimedia.org/r/p/operations/puppet
    remote: Counting objects: 9365, done
    remote: Finding sources: 100% (4/4)
    remote: Getting sizes: 100% (3/3)
    ...
    • Nov 28 2018, 10:03 AM
    • 96 Lines
  • <?php
    class ResourceLoaderExampleDataModule extends ResourceLoaderFileModule {
    /** @inheritDoc */
    public function getScript( ResourceLoaderContext $context ) {
    ...
    • Nov 28 2018, 1:11 AM
    • 19 Lines
    • PHP
  • "properties":{"kartographer":"����������E����0�E�e�HJKm��\\�7��1�\"P2�����e�nϹ��pW�h!�uZ��y�E�}��3��ʣ䍮�U��v�ۂ���M|�B����Fڠ��k�昕���0��k��R�J��Y��n��R����)��`�����n�\rc�83!����}�GC��S��@�3&�g�R�>̼������","kartographer_links":1,"wikibase_item":"Q5296"}}}
    • Nov 27 2018, 8:26 PM
    • 1 Line
  • ./articlerequest-dev/public_html/vendor/composer/autoload_files.php
    ./etwikibots/public_html/common/lib.php
    ./himo/public_html/refill/citoid/vendor/composer/autoload_files.php
    ./hotarticles/public_html/pageviews/public_html/_head2.php
    ./hotarticles/public_html/pageviews/vendor/composer/autoload_files.php
    ...
    • Nov 27 2018, 5:59 PM
    • 113 Lines
  • Nov 27 11:01:49 db1070 systemd[1]: Stopped User Manager for UID 11984.
    -- Subject: Unit user@11984.service has finished shutting down
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    ...
    • Nov 27 2018, 11:03 AM
    • 13 Lines
  • {
    "acamar.wikimedia.org": "acamar.wikimedia.org",
    "achernar.wikimedia.org": "achernar.wikimedia.org",
    "actinium.wikimedia.org": "actinium.wikimedia.org",
    "alcyone.wikimedia.org": "alcyone.wikimedia.org",
    ...
    • Nov 27 2018, 10:21 AM
    • 274 Lines
  • diff --git a/scripts/welcome.py b/scripts/welcome.py
    index 283dbbe..68bd0cc 100755
    --- a/scripts/welcome.py
    +++ b/scripts/welcome.py
    @@ -219,6 +219,7 @@ netext = {
    ...
    • Nov 27 2018, 8:19 AM
    • 28 Lines
  • root@db1090.eqiad.wmnet[(none)]> show slave status\G
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: db1066.eqiad.wmnet
    Master_User: repl
    ...
    • Nov 27 2018, 6:16 AM
    • 49 Lines
  • Info: Using configured environment 'production'
    Info: Retrieving pluginfacts
    Info: Retrieving plugin
    Info: Loading facts
    Info: Caching catalog for shinken-02.shinken.eqiad.wmflabs
    ...
    • Nov 26 2018, 9:05 PM
    • 55 Lines
  • #!/usr/bin/env node
    var namedCharRefs = {
    __proto__: null,
    "AElig":0xc6, "AElig;":0xc6,
    "AMP":0x26, "AMP;":0x26,
    ...
    • Nov 26 2018, 8:56 PM
    • 1,182 Lines
    • Javascript
  • krenair@shinken-02:~/shinken-01-home$ python findDodgyInstances.py
    (u'deployment-prep', 'eqiad', u'e9587207-1fa2-4faf-926b-d9efc41b176c', [u'deployment-zotero01'])
    (u'discovery-stats', 'eqiad1-r', u'b3cfb043-ccdb-4f0e-961b-02149c9abb9d', [u'shinyserv-lb', u'shinyserv-01'])
    (u'huggle', 'eqiad', u'e9587207-1fa2-4faf-926b-d9efc41b176c', [u'huggle-pg'])
    (u'maps', 'eqiad', u'45278e02-7898-4aa6-a8eb-98c677c6b60c', [u'overpass-wiki'])
    ...
    • Nov 26 2018, 4:47 PM
    • 12 Lines
  • #!/usr/bin/env python3
    # Depends on: python3-yaml
    import yaml
    ...
    • Nov 26 2018, 3:20 PM
    • 22 Lines
  • +------------+-------+
    | namespace | n |
    +------------+-------+
    | main | 5995 |
    | category | 42 |
    ...
    • Nov 26 2018, 2:17 PM
    • 74 Lines
  • https://ar.wikipedia.org/wiki/ميدياويكي:Gadget-contributions-report.js
    https://ar.wikipedia.org/wiki/ميدياويكي:Gadget-popups.js
    https://ar.wikipedia.org/wiki/ميدياويكي:Gadget-Twinkle.js
    https://ar.wikipedia.org/wiki/ميدياويكي:Gadget-Twinkle-test.js
    https://ar.wiktionary.org/wiki/ميدياويكي:Gadget-popups.js
    ...
    • Nov 24 2018, 1:20 PM
    • 99 Lines
  • ebernhardson@mwmaint1002:~/home-terbium$ cat test.q
    {
    "suggest": {
    "some name": {
    "text": "tayps of wlding difacts",
    ...
    • Nov 22 2018, 9:47 PM
    • 47 Lines
  • import json
    import pygments
    import pygments.lexers
    import pygments.formatters
    ...
    • Nov 21 2018, 6:23 PM
    • 40 Lines
    • Python
  • array(['plwikiquote', 'ruwikiquote', 'huwikisource', 'dewikinews',
    'gawiki', 'kmwiki', 'pnbwiki', 'nlwikisource', 'sawiki',
    'viwikisource', 'rowiktionary', 'eswikibooks', 'mnwiki',
    'huwikibooks', 'frwikinews', 'iowiktionary', 'vowiki', 'cvwiki',
    'rowikisource', 'fawikisource', 'cswiktionary', 'swwiki',
    ...
    • Nov 21 2018, 4:45 PM
    • 45 Lines
  • 1253 Od1n
    923 Krenair
    832 Krinkle
    511 Jack who built the house
    491 DAlangi (WMF)
    ...
    • Nov 21 2018, 1:08 PM
    • 272 Lines
  • Nov 20 14:26:10 labsdb1011 systemd[1]: Starting pt-kill based long running query killer...
    Nov 20 14:26:10 labsdb1011 wmf-pt-kill[22205]: SSL error: Unable to get private key from '/etc/mysql/ssl/server.key'
    Nov 20 14:26:10 labsdb1011 wmf-pt-kill[22205]: SSL error: Unable to get private key from '/etc/mysql/ssl/server.key'
    Nov 20 14:26:10 labsdb1011 wmf-pt-kill[22205]: DBI connect(';host=localhost;mysql_socket=/run/mysqld/mysqld.sock;mysql_read_default_group=client','',...) failed: SSL connection error: Unable to get private key at /usr/bin/wmf-pt-kill line 2089.
    Nov 20 14:26:10 labsdb1011 systemd[1]: wmf-pt-kill.service: Control process exited, code=exited status=13
    ...
    • Nov 20 2018, 2:31 PM
    • 8 Lines
  • Error : Table '$dbname.msg_resource_links' doesn't exist
    Error : View '$dbname_p.msg_resource_links' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
    • Nov 20 2018, 1:57 PM
    • 2 Lines
  • Start-Date: 2018-11-19 12:55:12
    Requested-By: aborrero (18194)
    Install: libsnappy1v5:amd64 (1.1.3-3, automatic), libwireshark11:amd64 (2.6.3-1~deb9u1, automatic), libwiretap8:amd64 (2.6.3-1~deb9u1, automatic), libwsutil9:amd64 (2.6.3-1~deb9u1, automatic), libwscodecs2:amd64 (2.6.3-1~deb9u1, automatic), libspandsp2:amd64 (0.0.6+dfsg-0.1, automatic)
    Upgrade: tshark:amd64 (2.2.6+g32dac6a-2+deb9u3, 2.6.3-1~deb9u1), wireshark-common:amd64 (2.2.6+g32dac6a-2+deb9u3, 2.6.3-1~deb9u1)
    Remove: libwiretap6:amd64 (2.2.6+g32dac6a-2+deb9u3), libwsutil7:amd64 (2.2.6+g32dac6a-2+deb9u3), libjs-openlayers:amd64 (2.13.1+ds2-4), libwireshark8:amd64 (2.2.6+g32dac6a-2+deb9u3), libwscodecs1:amd64 (2.2.6+g32dac6a-2+deb9u3), firmware-bnx2x:amd64 (20161130-4)
    ...
    • Nov 20 2018, 1:40 PM
    • 12 Lines
  • $ sudo snap run nextcloud.renew-certs
    Saving debug log to /var/snap/nextcloud/current/certs/certbot/logs/letsencrypt.log
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Processing
    ...
    • Nov 20 2018, 7:33 AM
    • 82 Lines
  • wikiadmin@10.64.48.173(enwiki)> select rev_id,rev_timestamp,old_text from revision,text where rev_page=1645518 and rev_text_id=old_id and rev_timestamp<'20050201000000';
    +-----------+----------------+------------------------------------------------------------------------------------------------------------+
    | rev_id | rev_timestamp | old_text |
    +-----------+----------------+------------------------------------------------------------------------------------------------------------+
    | 11488919 | 20011001010625 | O:15:"historyblobstub":2:{s:6:"mOldId";s:5:"10303";s:5:"mHash";s:32:"c50ee1f98e259da71261c4f7d24e05f2";} |
    ...
    • Nov 20 2018, 4:13 AM
    • 289 Lines
  • [no req] Wikimedia\Rdbms\DBQueryError from line 1457 of /srv/mediawiki/w/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?
    Query: INSERT INTO `actor` (actor_user,actor_name) VALUES ('0','0')
    Function: User::updateActorId
    Error: 1062 Duplicate entry '0' for key 'actor_user' (xxx)
    ...
    • Nov 19 2018, 9:58 PM
    • 22 Lines
  • SELECT rev_id,rev_page,rev_text_id,rev_timestamp,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,rev_comment AS `rev_comment_text`,NULL AS `rev_comment_data`,NULL AS `rev_comment_cid`,actor_rev_user.actor_user AS `rev_user`,actor_rev_user.actor_name AS `rev_user_text`,temp_rev_user.revactor_actor AS `rev_actor`,rev_content_format,rev_content_model,page_namespace,page_title,page_id,page_latest,page_is_redirect,page_len,old_text,old_flags FROM `revision`,`revision_actor_temp` `temp_rev_user`,`actor` `actor_rev_user`,`page`,`text` WHERE (page_id BETWEEN 0 AND 499) AND (page_latest = rev_id) AND (rev_text_id = old_id);
    • Nov 19 2018, 9:11 PM
    • 1 Line
  • root@db1123.eqiad.wmnet[(none)]> stop slave;
    Query OK, 0 rows affected (0.01 sec)
    root@db1123.eqiad.wmnet[(none)]> show slave status\G
    *************************** 1. row ***************************
    ...
    • Nov 19 2018, 7:57 AM
    • 52 Lines
  • [url "ssh://username@gerrit.wikimedia.org:29418"]
    pushInsteadOf = https://gerrit.wikimedia.org/r/p
    pushInsteadOf = https://gerrit.wikimedia.org/r
    • Nov 16 2018, 6:14 PM
    • 3 Lines
    • INI Configuration
  • SELECT DISTINCT page_namespace, page_title FROM externallinks, page WHERE page_id = el_from AND el_to REGEXP "^(http://([^.]{1,2})\.youtube\.com|http://(www\.)?youtube\.com|http://www\.uottawa\.ca|http://www\.theglobeandmail\.com|http://www\.ubc\.ca|http://(www\.)?independent\.co\.uk|http://www\.nytimes\.com|http://www\.kba\.de|http://www\.wsj\.com|http://www\.derwesten\.de|http://www\.rollingstone\.com|http://www\.forbes\.com|http://people\.forbes\.com|http://blogs\.forbes\.com|http://billionaires\.forbes\.com|http://www\.bloomberg\.com|http://www\.amd\.com|http://www\.nyse\.com|http://www\.usatoday\.com|http://www\.washingtonpost\.com|http://apps\.washingtonpost\.com|http://articles\.washingtonpost\.com|http://live\.washingtonpost\.com|http://media\.washingtonpost\.com|http://web\.archive\.org|http://www\.utoronto\.ca|http://www\.wired\.co\.uk|http://www\.theregister\.co\.uk|http://(www\.)?archive\.org|http[s]?://wayback\.archive\.org|http://(books|news|scholar)\.google\.([a-z]{1,3}(\.[\.a-z]{1,3})?)|http...
    • Nov 16 2018, 5:08 PM
    • 1 Line
  • vgutierrez@lvs2006:~$ udevadm info -q property -p /sys/class/net/ens1f0 | egrep "ID_NET_NAME_PATH|ID_NET_NAME_ONBOARD|SLOT"
    ID_NET_NAME_PATH=enp4s0f0
    ID_NET_NAME_SLOT=ens1f0
    vgutierrez@lvs2010:~$ udevadm info -q property -p /sys/class/net/enp175s0f1d1 | egrep "ID_NET_NAME_PATH|ID_NET_NAME_ONBOARD|SLOT"
    ...
    • Nov 16 2018, 4:27 PM
    • 6 Lines
  • WARNING: NODE_ENV value of 'production' did not match any deployment config file names.
    WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
    (3)(+0000000): Translators initialized with 528 loaded
    (3)(+0000005): Listening on 0.0.0.0:1969
    ...
    • Nov 16 2018, 2:56 PM
    • 99 Lines
  • request library ends up passing whatever's in the HTTPS_PROXY env var to url.parse(), and thus:
    $ nodejs -e "require('url'); console.log(url.parse('208.80.154.22:8080'))"
    Url {
    protocol: '208.80.154.22:',
    ...
    • Nov 16 2018, 1:51 PM
    • 18 Lines
  • com.bigdata.bop.solutions.ProjectionOp[14](JVMDistinctBindingSetsOp[13])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[item]]
    com.bigdata.bop.solutions.JVMDistinctBindingSetsOp[13](PipelinedHashIndexAndSolutionSetJoinOp[12])[ BOp.bopId=13, HashJoinAnnotations.joinVars=[item], BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true]
    com.bigdata.bop.join.PipelinedHashIndexAndSolutionSetJoinOp[12](VariableUnificationOp[7])[ BOp.bopId=12, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.lastPass=true, PipelineOp.sharedState=true, JoinAnnotations.joinType=NotExists, HashJoinAnnotations.joinVars=[], bindingSets=null, PipelinedHashIndexAndSolutionSetJoinOp.projectInVars=[item], JoinAnnotations.constraints=null, HashJoinAnnotations.askVar=null, HashIndexOpBase.utilFactory=com.bigdata.bop.join.JVMPipelinedHashJoinUtility$1@4db4b7e5, namedSetRef=NamedSolutionSetRef{localName=--set-8,namespace=null,timestamp=-1,joinVars=[]}, SubqueryAnnotations.subquery=com.bigdata.bop.join.PipelineJoin[11]()[ BOp.bopId=11, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[9](item=null, Vocab(6)[http://www.wikidata.org/prop/direct/P]:XSDUnsignedShort(921), Vocab(2)[http://www.wikidata.org/entity/Q]:XSDUnsignedInt(202864), --anon-10=null)[ IPredicate.relationName=[wdq.spo], IPredicate.timestamp=1542324240635, BOp.bopId=9, AST2BOpBase.estimatedCardinality=4006, AST2BOpBase.originalIndex=POS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL]], BOp.namespace=wdq], IPredicate.relationName=[wdq.lex]]
    @com.bigdata.bop.controller.SubqueryAnnotations.subquery:
    com.bigdata.bop.join.PipelineJoin[11]()[ BOp.bopId=11, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[9](item=null, Vocab(6)[http://www.wikidata.org/prop/direct/P]:XSDUnsignedShort(921), Vocab(2)[http://www.wikidata.org/entity/Q]:XSDUnsignedInt(202864), --anon-10=null)[ IPredicate.relationName=[wdq.spo], IPredicate.timestamp=1542324240635, BOp.bopId=9, AST2BOpBase.estimatedCardinality=4006, AST2BOpBase.originalIndex=POS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL]], BOp.namespace=wdq]
    ...
    • Nov 16 2018, 2:30 AM
    • 20 Lines
  • com.bigdata.bop.rdf.join.ChunkedMaterializationOp[17](ProjectionOp[16])[ ChunkedMaterializationOp.vars=[item], IPredicate.relationName=[wdq.lex], IPredicate.timestamp=1542326388339, ChunkedMaterializationOp.materializeAll=true, PipelineOp.sharedState=true, BOp.bopId=17, BOp.timeout=600000, BOp.namespace=wdq, QueryEngine.queryId=8bd358b5-e0f1-4a64-9776-2e1eb4c45479, QueryEngine.chunkHandler=com.bigdata.bop.engine.ManagedHeapStandloneChunkHandler@6e28fe95]
    com.bigdata.bop.solutions.ProjectionOp[16](JVMDistinctBindingSetsOp[15])[ BOp.bopId=16, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[item]]
    com.bigdata.bop.solutions.JVMDistinctBindingSetsOp[15](JVMSolutionSetHashJoinOp[14])[ BOp.bopId=15, HashJoinAnnotations.joinVars=[item], BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true]
    com.bigdata.bop.join.JVMSolutionSetHashJoinOp[14](PipelineJoin[13])[ BOp.bopId=14, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.sharedState=true, JoinAnnotations.constraints=null, SolutionSetHashJoinOp.release=true, PipelineOp.lastPass=true, namedSetRef=NamedSolutionSetRef{localName=--set-8,queryId=8bd358b5-e0f1-4a64-9776-2e1eb4c45479,joinVars=[]}]
    com.bigdata.bop.join.PipelineJoin[13](JVMDistinctBindingSetsOp[10])[ BOp.bopId=13, JoinAnnotations.constraints=null, AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[11](item=null, Vocab(6)[http://www.wikidata.org/prop/direct/P]:XSDUnsignedShort(921), Vocab(2)[http://www.wikidata.org/entity/Q]:XSDUnsignedInt(202864), --anon-12=null)[ IPredicate.relationName=[wdq.spo], IPredicate.timestamp=1542326388339, BOp.bopId=11, AST2BOpBase.estimatedCardinality=4006, AST2BOpBase.originalIndex=POS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL]]]
    ...
    • Nov 16 2018, 2:29 AM
    • 22 Lines
  • Notice: Undefined index: DEFAULT in /var/www/html/includes/libs/rdbms/lbfactory/LBFactoryMulti.php on line 240
    Warning: Invalid argument supplied for foreach() in /var/www/html/includes/libs/rdbms/lbfactory/LBFactoryMulti.php on line 348
    MediaWiki internal error.
    ...
    • Nov 15 2018, 4:35 PM
    • 44 Lines
  • root@labsdb1009.eqiad.wmnet[enwiki]> show triggers\G
    *************************** 1. row ***************************
    Trigger: abuse_filter_log_insert
    Event: INSERT
    Table: abuse_filter_log
    ...
    • Nov 15 2018, 2:53 PM
    • 98 Lines
  • P7810 T184086
    # HELP javamelody_memory_used_bytes used memory in bytes
    # TYPE javamelody_memory_used_bytes gauge
    javamelody_memory_used_bytes 5295000440
    # HELP javamelody_memory_max_bytes max memory in bytes
    # TYPE javamelody_memory_max_bytes gauge
    ...
    • Nov 15 2018, 8:36 AM
    • 168 Lines
  • root@pc2006.codfw.wmnet[(none)]> show slave status\G
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: pc1006.eqiad.wmnet
    Master_User: repl
    ...
    • Nov 15 2018, 6:07 AM
    • 46 Lines
  • <?php
    # Protect against web entry
    if ( !defined( 'MEDIAWIKI' ) ) {
    exit;
    }
    ...
    • Nov 15 2018, 2:00 AM
    • 202 Lines
    • PHP
  • Startin
    Booting from Hard drive C:
    error: disk `mduuid/67c0613e5ea054b74d241ce5f1ccff5d' not found.
    Entering rescue mode...
    grub rescue>
    ...
    • Nov 14 2018, 10:24 PM
    • 10 Lines
  • **hold-following-changes (optional)**
    This is a boolean that indicates that changes that follow this
    change in a dependent change pipeline should wait until this job
    succeeds before launching. If this is applied to a very short job
    that can predict whether longer jobs will fail early, this can be
    ...
    • Nov 14 2018, 8:29 PM
    • 13 Lines
  • diff --git a/lib/includes/Formatters/ControlledFallbackEntityIdFormatter.php b/lib/includes/Formatters/ControlledFallbackEntityIdFormatter.php
    index 52a41811f..1b200ea12 100644
    --- a/lib/includes/Formatters/ControlledFallbackEntityIdFormatter.php
    +++ b/lib/includes/Formatters/ControlledFallbackEntityIdFormatter.php
    @@ -71,7 +71,13 @@ class ControlledFallbackEntityIdFormatter implements EntityIdFormatter {
    ...
    • Nov 14 2018, 6:45 PM
    • 19 Lines
  • root@cumin2001:/home/banyek# PYTHONPATH=/home/banyek/wmfmariadbpy/ ./wmfmariadbpy/wmfmariadbpy/osc_host.py --host db2046 --dblist mediawiki-config/dblists/s6.dblist --table user --no-replicate "CHANGE COLUMN user_options _user_options_drop blob NOT NULL"
    Host : db2046
    Port : 3306
    Databases : ['frwiki', 'jawiki', 'ruwiki']
    Table : user
    ...
    • Nov 14 2018, 11:24 AM
    • 16 Lines
  • set mapred.job.queue.name=nice;
    !set outputformat table
    select
    ...
    • Nov 14 2018, 9:51 AM
    • 625 Lines
    • SQL
  • root@pc2005.codfw.wmnet[(none)]> show slave status\G
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: pc1005.eqiad.wmnet
    Master_User: repl
    ...
    • Nov 14 2018, 6:32 AM
    • 46 Lines
  • < bblack> bblack@neodymium:~$ sudo cumin 'A:cp-text' 'varnishadm ban "req.http.host ~ bienvenida.wikimedia.org"'
    < bblack> sudo cumin 'A:cp-text' 'varnishadm -n frontend ban "req.http.host ~ bienvenida.wikimedia.org"'
    • Nov 13 2018, 11:42 PM
    • 4 Lines
  • "plugin_config": {
    "its-phabricator": {
    "enabled": {
    "display_name": "Enable its-phabricator integration",
    "type": "LIST",
    ...
    • Nov 13 2018, 9:56 PM
    • 15 Lines
  • curl -L -H'Content-Type: application/json' -XPOST --data-binary '
    {
    "queryType": "topN",
    "dataSource": "webrequest",
    "granularity": "hour",
    ...
    • Nov 13 2018, 1:15 PM
    • 14 Lines
    • Bash Scripting
  • #!/usr/bin/env python3
    import argparse
    import xml.etree.ElementTree as ET
    ...
    • Nov 13 2018, 12:33 PM
    • 33 Lines
  • #!/usr/bin/env python3
    import argparse
    import xml.etree.ElementTree as ET
    ...
    • Nov 13 2018, 12:32 PM
    • 27 Lines
  • ^[[Aroot@cumin1001:/home/marostegui# mysql.py -hpc2004 -e "show slave status\G"
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: pc1004.eqiad.wmnet
    Master_User: repl
    ...
    • Nov 13 2018, 9:41 AM
    • 46 Lines
  • *************************** 12. row ***************************
    Trigger: user_update
    Event: UPDATE
    Table: user
    Statement: SET NEW.user_password = '', NEW.user_newpassword = '', NEW.user_email = '', NEW.user_options = '', NEW.user_token = '', NEW.user_email_authenticated = '', NEW.user_email_token = '', NEW.user_email_token_expires = '', NEW.user_newpass_time = ''
    ...
    • Nov 13 2018, 8:22 AM
    • 12 Lines
  • root@pc2004.codfw.wmnet[(none)]> show slave status\G
    *************************** 1. row ***************************
    Slave_IO_State:
    Master_Host: pc1004.eqiad.wmnet
    Master_User: repl
    ...
    • Nov 13 2018, 5:44 AM
    • 46 Lines
  • cdanis@neodymium:~$ sudo cumin 'mw1*' '[ $(grep "trip temperature" /var/log/syslog | grep "Nov 12 17:" | wc -l) -gt 0 ] && echo 😠 || echo 🙂'
    122 hosts will be targeted:
    mw[1221-1235,1238-1258,1261-1290,1293-1348].eqiad.wmnet
    Confirm to continue [y/n]? y
    ===== NODE GROUP =====
    ...
    • Nov 12 2018, 6:32 PM
    • 13 Lines
  • cdanis@neodymium:~$ sudo cumin 'mw1*' '[ $(grep "trip temperature" /var/log/syslog | grep "Nov 12 17:" | wc -l) -ge 10 ] && echo too hot || echo ok'
    122 hosts will be targeted:
    mw[1221-1235,1238-1258,1261-1290,1293-1348].eqiad.wmnet
    Confirm to continue [y/n]? y
    ===== NODE GROUP =====
    ...
    • Nov 12 2018, 5:53 PM
    • 13 Lines
  • cdanis@neodymium:~$ sudo cumin 'mw1*' 'grep "trip temperature" /var/log/syslog | grep "Nov 12 17:" | wc -l'
    122 hosts will be targeted:
    mw[1221-1235,1238-1258,1261-1290,1293-1348].eqiad.wmnet
    Confirm to continue [y/n]? y
    ===== NODE GROUP =====
    ...
    • Nov 12 2018, 5:46 PM
    • 105 Lines
  • digraph dependencies{
    "site" -> "site.styles"
    "user.groups" -> "user"
    "user.options" -> "user.defaults"
    "mediawiki.base" -> "jquery"
    ...
    • Nov 12 2018, 10:38 AM
    • 1,694 Lines
  • ve.createDeferred = function () {
    var deferred = {},
    promise = new Promise( function ( resolve, reject ) {
    deferred.resolve = function ( value ) {
    if ( arguments.length > 1 ) {
    ...
    • Nov 11 2018, 3:47 PM
    • 32 Lines
    • Javascript
  • 2019-01-25 16:10:52 ** r054l13 joined channel
    2019-01-25 16:10:58 <r054l13> Hello
    2019-01-25 16:12:14 <r054l13> Sorry am late for the meeting
    2019-01-25 16:12:23 <r054l13> Is anyone arround?
    2019-01-25 16:12:42 <r054l13> africanhope: hey!
    ...
    • Nov 10 2018, 9:43 PM
    • 196 Lines
  • zoran@zoran-notebook:~/development/core$ python3 pwb.py version
    Pywikibot: [ssh] pywikibot-core (73f07ba, g10390, 2018/11/09, 09:23:55, ok)
    Release version: 3.1.dev0
    requests version: 2.18.4
    cacerts: /etc/ssl/certs/ca-certificates.crt
    ...
    • Nov 9 2018, 9:49 PM
    • 19 Lines
    • Bash Scripting
  • zoran@zoran-notebook:~/development/core$ nano user-config.py
    zoran@zoran-notebook:~/development/core$ python3 pwb.py login
    Password for user Zoranzoki21 on wikipedia:sr (no characters will be shown):
    Logging in to wikipedia:sr as Zoranzoki21
    ERROR: Login failed (Failed). Incorrect username or password entered. Please try again.
    ...
    • Nov 9 2018, 9:38 PM
    • 6 Lines
    • Bash Scripting
  • zoran@zoran-notebook:~/development/core$ nano user-config.py
    zoran@zoran-notebook:~/development/core$ python3 pwb.py login
    Password for user Zoranzoki21 on wikipedia:sr (no characters will be shown):
    Logging in to wikipedia:sr as Zoranzoki21
    ERROR: Login failed (Failed).
    ...
    • Nov 9 2018, 9:35 PM
    • 36 Lines
  • kartik@deploy1001:/srv/deployment/cxserver/deploy$ scap deploy 'Update cxserver to 01686f6 (T208831)'
    12:16:23 Started deploy [cxserver/deploy@fc21164]
    12:16:23 Deploying Rev: HEAD = fc2116474adfb15b16ede856699dee843dc50d13
    12:16:23 Started deploy [cxserver/deploy@fc21164]: Update cxserver to 01686f6 (T208831)
    12:16:23
    ...
    • Nov 9 2018, 12:20 PM
    • 27 Lines
  • Package: python3-etcd
    Source: python-etcd
    Version: 0.4.3-3
    Architecture: amd64
    Maintainer: Giuseppe Lavagetto <glavagetto@wikimedia.org>
    ...
    • Nov 9 2018, 8:21 AM
    • 43 Lines
  • P7781 clean.sh
    #!/usr/bin/env bash
    # remove builds older than 60 days for 25 largest build directories
    while read dir; do
    sudo find ${dir} -maxdepth 1 -type d -regex '.*/[1-9][0-9]+' -mtime +60 -exec rm -r "{}" \;
    ...
    • Nov 8 2018, 10:52 PM
    • 16 Lines
  • TypeError from line 144 of /srv/mediawiki/w/extensions/CentralAuth/includes/CentralAuthUser.php: Argument 1 passed to CentralAuthUser::getMasterInstance() must be an instance of User, null given, called in /srv/mediawiki/w/extensions/Flow/includes/TalkpageManager.php on line 254
    • Nov 8 2018, 7:21 PM
    • 1 Line
  • <section id="cxTargetSection34" data-mw-cx-source="undefined">
    <p id="mwkw">
    <span data-segmentid="221" class="cx-segment">In the United Kingdom, he has been appointed a (KBE) in 2012.
    <span
    ...
    • Nov 8 2018, 11:17 AM
    • 16 Lines
    • HTML
  • PHP Warning: XMLReader::next(): uploadsource://a8e46cd537f7373d2d577761c09abaee:213481028: parser error : Opening and ending tag mismatch: page line 65535 and mediawiki in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    Warning: XMLReader::next(): uploadsource://a8e46cd537f7373d2d577761c09abaee:213481028: parser error : Opening and ending tag mismatch: page line 65535 and mediawiki in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    PHP Warning: XMLReader::next(): </mediawiki> in /srv/mediawiki/w/includes/import/WikiImporter.php on line 755
    ...
    • Nov 7 2018, 11:06 PM
    • 10 Lines
  • {'train//query/dismax/constant_score/labels.en.near_match:0': 0.8396603457898502,
    'train//query/dismax/constant_score/labels.en.near_match_folded:0': 0.16766052124049471,
    'train//query/dismax/constant_score/labels.en.prefix:0': 0.7602684936668805,
    'train//query/dismax/constant_score/labels_all.near_match_folded:0': -0.8356064191936947,
    'train//query/query_weight:0': 0.4421499716413143,
    ...
    • Nov 7 2018, 10:51 PM
    • 11 Lines
  • [thcipriani@deployment-deploy01 mediawiki-staging (master % u=)]$ printf '%s\n%s\n' "$(cat ~/omg)" 'it works again' | scap say -n --color --eyes ಠಠ
    --------------------
    / \
    | ___ __ __ ____ |
    | / _ \| \/ |/ ___||
    ...
    • Nov 7 2018, 6:06 PM
    • 24 Lines
  • alex@alex-laptop:~/.config/hexchat/logs$ grep shinken-wm freenode/#wikimedia-releng.log | grep SSH | grep Nov
    Nov 06 17:00:41 <shinken-wm> PROBLEM - SSH on integration-slave-docker-1021 is CRITICAL: CRITICAL - Socket timeout after 10 seconds
    Nov 06 17:15:28 <shinken-wm> RECOVERY - SSH on integration-slave-docker-1021 is OK: SSH OK - OpenSSH_6.7p1 Debian-5+deb8u7 (protocol 2.0)
    Nov 06 17:00:41 <shinken-wm> PROBLEM - SSH on integration-slave-docker-1021 is CRITICAL: CRITICAL - Socket timeout after 10 seconds
    Nov 06 17:15:28 <shinken-wm> RECOVERY - SSH on integration-slave-docker-1021 is OK: SSH OK - OpenSSH_6.7p1 Debian-5+deb8u7 (protocol 2.0)
    ...
    • Nov 7 2018, 4:56 PM
    • 38 Lines
  • <?php
    // Get commits between 27cb4c5 and master HEAD includes the Hash
    shell_exec('git checkout master');
    `git log 27cb4c5..master --merges --oneline --pretty=format:"%h" --output commits.text`;
    $commits = explode("\n", file_get_contents('commits.text'));
    ...
    • Nov 7 2018, 2:21 AM
    • 35 Lines
    • PHP
  • atjwiki MediaWiki:Common.js
    azbwiki MediaWiki:Common.js
    azbwiki MediaWiki:Gadget-UserMessages.js
    bawiki MediaWiki:Common.js/documentation tab.js
    bhwiki MediaWiki:Common.js
    ...
    • Nov 6 2018, 7:38 PM
    • 72 Lines
  • Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    Traceback (most recent call last):
    File "/srv/home/bmansurov/venv/3/lib/python3.5/site-packages/traitlets/traitlets.py", line 528, in get
    value = obj._trait_values[self.name]
    KeyError: 'allow_remote_access'
    ...
    • Nov 6 2018, 6:22 PM
    • 44 Lines
  • Nov 6 16:38:49 puppet-paladox puppet-agent[25364]: (/Stage[main]/Nrpe/File[/etc/nagios/nrpe_local.cfg]/content) -allowed_hosts=127.0.0.1,172.16.1.180
    Nov 6 16:38:49 puppet-paladox puppet-agent[25364]: (/Stage[main]/Nrpe/File[/etc/nagios/nrpe_local.cfg]/content) +allowed_hosts=208.80.153.74,2620:0:860:3:208:80:153:74,208.80.155.119,2620:0:861:4:208:80:155:119,208.80.154.84,2620:0:861:3:208:80:154:84,208.80.154.82,2620:0:861:3:208:80:154:82,208.80.153.52,2620:0:860:2:208:80:153:52
    • Nov 6 2018, 4:55 PM
    • 2 Lines
  • Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Number of certificates per status: Counter({'INITIAL': 2})
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Creating initial self-signed certificate for pinkunicorn / rsa-2048
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Creating initial self-signed certificate for pinkunicorn / ec-prime256v1
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Starting main loop...
    Nov 06 16:37:44 certcentral2001 certcentral-backend[32269]: Handling new certificate event for pinkunicorn / rsa-2048
    ...
    • Nov 6 2018, 4:52 PM
    • 51 Lines
  • From 38817a01681aa1cb1fb7954097ece057afee936a Mon Sep 17 00:00:00 2001
    From: Michael Holloway <mholloway@wikimedia.org>
    Date: Mon, 5 Nov 2018 14:19:01 -0600
    Subject: [PATCH 1/1] hacky api rsp caching code
    ...
    • Nov 5 2018, 8:24 PM
    • 88 Lines
  • import re
    from scapy.all import *
    data = 'poolcounter.dump'
    ...
    • Nov 5 2018, 4:05 PM
    • 48 Lines
    • Python
  • FROM debian:stretch
    # Used to me jessie, change to stretch
    MAINTAINER Andrew Otto <otto@wikimedia.org>
    ...
    • Nov 4 2018, 2:53 PM
    • 67 Lines
  • {
    "_readme": [
    "This file locks the dependencies of your project to a known state",
    "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
    "This file is @generated automatically"
    ...
    • Nov 4 2018, 2:47 PM
    • 1,804 Lines
  • DESKTOP-Q1AOJV7:mobileapps mholloway$ autocannon -c4 localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    Running 10s test @ http://localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    4 connections
    Stat 2.5% 50% 97.5% 99% Avg Stdev Max
    ...
    • Nov 2 2018, 5:15 PM
    • 47 Lines
  • DESKTOP-Q1AOJV7:mobileapps mholloway$ autocannon -c4 localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    Running 10s test @ http://localhost:6927/en.wikipedia.org/v1/page/summary/Barack_Obama
    4 connections
    Stat 2.5% 50% 97.5% 99% Avg Stdev Max
    ...
    • Nov 2 2018, 5:07 PM
    • 45 Lines
  • // Jeśli gadżet jest włączony, poczekaj, aż się załaduje
    mw.loader.using( 'user.options' )
    .then( function () {
    if ( mw.user.options.get( 'gadget-foo' ) ) {
    return mw.loader.using( 'ext.gadget.foo' );
    ...
    • Nov 2 2018, 11:10 AM
    • 13 Lines
  • # To display the perf.data header info, please use --header/--header-only options.
    #
    #
    # Total Lost Samples: 0
    #
    ...
    • Nov 1 2018, 9:40 PM
    • 181 Lines
  • Powers of 2 2^ Representative Article Actual Parsoid HTML string length Time for parse x1000 (ms) Notes
    8192 13 Miranda, Carabobo 7748 1462.692078 Approximate min Parsoid HTML length of a real-life article
    16384 14 Chile women's national under-19 basketball team 16190 2797.286044
    32768 15 Wickware, Wisconsin 32555 5080.242866
    65536 16 Taylor, Wisconsin 66776 8895.106361
    ...
    • Nov 1 2018, 7:20 PM
    • 11 Lines
  • wmf1256:mobileapps mholloway$ node benchmark.js Miranda,_Carabobo.html 1
    Benchmarking HTMLParser for Miranda,_Carabobo.html (length: 7748 chars) x 1
    ---------------------------------------------------------------------------
    Total: 34.929727 ms
    ...
    • Nov 1 2018, 7:05 PM
    • 59 Lines
  • $ curl -v https://wm-bot.wmflabs.org/browser/index.php
    * Trying 208.80.155.156...
    * TCP_NODELAY set
    * Connected to wm-bot.wmflabs.org (208.80.155.156) port 443 (#0)
    * ALPN, offering h2
    ...
    • Nov 1 2018, 4:41 PM
    • 46 Lines
    • Plain Text
  • select
    event.action,
    event.feature,
    count(*)
    from event.visualeditorfeatureuse
    ...
    • Nov 1 2018, 2:34 PM
    • 87 Lines
  • wmf1256:mobileapps mholloway$ node benchmark.js Miranda,_Carabobo.html 1000
    Benchmarking HTMLParser for Miranda,_Carabobo.html (length: 7748 chars) x 1000
    ------------------------------------------------------------------------------
    Total: 1462.692078 ms
    ...
    • Nov 1 2018, 12:55 AM
    • 59 Lines
  • 'use strict';
    const b = require('b');
    const fs = require('fs');
    const path = require('path');
    ...
    • Nov 1 2018, 12:52 AM
    • 15 Lines
  • post https://phabricator.wikimedia.org/api/maniphest.search
    request:
    {"queryKey": "GTbIUdDaMLqV", "limit": 1 }
    ...
    • Oct 31 2018, 5:41 PM
    • 18 Lines
    • Remarkup
  • Oct 31 15:49:33 certcentral1001 systemd[1]: Stopping Central Certificates Service...
    Oct 31 15:49:33 certcentral1001 systemd[1]: Stopped Central Certificates Service.
    Oct 31 15:49:33 certcentral1001 systemd[1]: Started Central Certificates Service.
    Oct 31 15:49:35 certcentral1001 certcentral-backend[25344]: SIGHUP received
    Oct 31 15:49:35 certcentral1001 certcentral-backend[25344]: Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    ...
    • Oct 31 2018, 4:04 PM
    • 150 Lines
  • Oct 31 15:49:33 certcentral2001 systemd[1]: Stopping Central Certificates Service...
    Oct 31 15:49:33 certcentral2001 systemd[1]: Stopped Central Certificates Service.
    Oct 31 15:49:33 certcentral2001 systemd[1]: Started Central Certificates Service.
    Oct 31 15:49:34 certcentral2001 certcentral-backend[29978]: SIGHUP received
    Oct 31 15:49:34 certcentral2001 certcentral-backend[29978]: Missing/invalid DNS zone updater CMD timeout, using the default one: 60.00
    ...
    • Oct 31 2018, 4:02 PM
    • 22 Lines
  • root@pc1004[parsercache]> SELECT DATE_FORMAT(exptime, '%Y-%m-%d') as day, count(*) as num FROM pc000 GROUP BY day;
    +------------+-------+
    | day | num |
    +------------+-------+
    | 2018-10-31 | 22053 |
    ...
    • Oct 31 2018, 11:21 AM
    • 151 Lines