Page MenuHomePhabricator
Paste Active Pastes
  • mholloway@mholloway:~/code/wikimedia/mediawiki/extensions/EventLogging$ node --version
    v10.15.3
    mholloway@mholloway:~/code/wikimedia/mediawiki/extensions/EventLogging$ npm --version
    6.4.1
    mholloway@mholloway:~/code/wikimedia/mediawiki/extensions/EventLogging$ npm i --no-optional
    ...
    • Fri, Oct 30, 9:54 PM
    • 90 Lines
  • P13119 mc2036
    [ 0.844300] ACPI: SPCR: Unexpected SPCR Access Width. Defaulting to byte size
    [ 0.844306] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0xb000020 (or later)
    [ 1.587785] [Firmware Bug]: the BIOS has corrupted hw-PMU resources (MSR 38d is 330)
    • Fri, Oct 30, 9:00 PM
    • 3 Lines
  • <!--
    NewPP limit report
    Parsed by mw1329
    Cached time: 20201030181711
    Cache expiry: 3600
    ...
    • Fri, Oct 30, 6:20 PM
    • 36 Lines
  • puppetdb1002 ~ % curl -k 'http://localhost:8080/pdb/query/v4/resources/Class/Profile::Idp?query=%5B%22extract%22%2C%5B%22certname%22%2C%22tags%22%5D%5D' | jq
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 459 100 459 0 0 32785 0 --:--:-- --:--:-- --:--:-- 32785
    [
    ...
    • Fri, Oct 30, 4:00 PM
    • 52 Lines
  • Q15265990 P1538 17248 P585 +2011-01-01T00:00:00Z/9 P459 Q1861882 S854 "https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S854 "https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html" S1065 "https://web.archive.org/web/20190121233119/https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S1065 "https://web.archive.org/web/20200229043451/https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html"
    Q3632943 P1538 57147 P585 +2011-01-01T00:00:00Z/9 P459 Q1861882 S854 "https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S854 "https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html" S1065 "https://web.archive.org/web/20190121233119/https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S1065 "https://web.archive.org/web/20200229043451/https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html"
    Q3291873 P1538 42241 P585 +2011-01-01T00:00:00Z/9 P459 Q1861882 S854 "https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S854 "https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html" S1065 "https://web.archive.org/web/20190121233119/https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S1065 "https://web.archive.org/web/20200229043451/https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html"
    Q4903615 P1538 22414 P585 +2011-01-01T00:00:00Z/9 P459 Q1861882 S854 "https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S854 "https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html" S1065 "https://web.archive.org/web/20190121233119/https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S1065 "https://web.archive.org/web/20200229043451/https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html"
    Q7426523 P1538 14367 P585 +2011-01-01T00:00:00Z/9 P459 Q1861882 S854 "https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S854 "https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html" S1065 "https://web.archive.org/web/20190121233119/https://censusindia.gov.in/pca/pcadata/DDW_PCA3001_2011_MDDS with UI.xlsx" S1065 "https://web.archive.org/web/20200229043451/https://censusindia.gov.in/pca/pcadata/Houselisting-housing-GOA.html"
    ...
    • Fri, Oct 30, 3:36 AM
    • 6 Lines
  • I followed the instruction at https://www.mediawiki.org/wiki/Selenium/How-to/Run_tests_inside_MediaWiki-Vagrant
    Then download some apps as below:
    NoteJS: node-v14.15.0-x64.msi
    Vagrant:vagrant_2.2.10_x86_64.msi
    Chrome: Version 86.0.4240.111 (Official Build) (64-bit)
    ...
    • Fri, Oct 30, 1:28 AM
    • 881 Lines
  • data-store:
    contribution-tracking-sequence:
    class: SmashPig\Core\SequenceGenerators\PredisSequenceGenerator
    constructor-parameters:
    -
    ...
    • Fri, Oct 30, 12:51 AM
    • 11 Lines
    • YAML
  • Script started on Thu 29 Oct 2020 11:37:17 PM UTC
    urbanecm@mwmaint1002:~$ mwscript namespaceDupes.php --wiki=trwikiquote
    id=32074 ns=0 dbk=VS:ARY -> Vikisöz:ARY (no conflict) DRY RUN ONLY
    id=31894 ns=0 dbk=VS:AWB *** dest title exists and --add-prefix not specified
    id=29577 ns=0 dbk=VS:AY -> Vikisöz:AY (no conflict) DRY RUN ONLY
    ...
    • Thu, Oct 29, 11:38 PM
    • 618 Lines
  • Script started on Thu 29 Oct 2020 11:28:48 PM UTC
    urbanecm@mwmaint1002:~$ mwscript namespaceDupes.php --wiki=trwikisource
    id=27284 ns=0 dbk=VK:AWB -> Vikikaynak:AWB (no conflict) DRY RUN ONLY
    id=26227 ns=0 dbk=VK:BAĞLANTI -> Vikikaynak:BAĞLANTI (no conflict) DRY RUN ONLY
    id=26224 ns=0 dbk=VK:BK -> Vikikaynak:BK (no conflict) DRY RUN ONLY
    ...
    • Thu, Oct 29, 11:29 PM
    • 276 Lines
  • Script started on Thu 29 Oct 2020 11:22:45 PM UTC
    urbanecm@mwmaint1002:~$ mwscript namespaceDupes.php --wiki=trwikibooks
    0 pages to fix, 0 were resolvable.
    pagelinks from=8702 ns=0 dbk=WB:ABC -> Vikikitap:ABC DRY RUN
    ...
    • Thu, Oct 29, 11:23 PM
    • 26 Lines
  • Script started on Thu 29 Oct 2020 11:18:15 PM UTC
    urbanecm@mwmaint1002:~$ mwscript namespaceDupes.php --wiki=trwiktionary
    id=313502 ns=0 dbk=VS: *** invalid title
    id=447480 ns=0 dbk=VS:AY -> Vikisözlük:AY (no conflict) DRY RUN ONLY
    id=313691 ns=0 dbk=VS:B -> Vikisözlük:B (no conflict) DRY RUN ONLY
    ...
    • Thu, Oct 29, 11:19 PM
    • 1,322 Lines
  • ---
    apiVersion: apps/v1
    kind: Deployment
    metadata:
    generation: 1
    ...
    • Thu, Oct 29, 10:25 PM
    • 75 Lines
  • root@tools-docker-imagebuilder-01:/home/legoktm/flask-example# pack build docker-registry.tools.wmflabs.org/toolbeta-test --builder docker-registry.tools.wmflabs.org/toolforge-buster0-builder --publish
    latest: Pulling from toolforge-buster0-builder
    Digest: sha256:70724160bd6c4ba38e750969d00aa69b4f032c3a5a20e140b25fbed5d054375f
    Status: Image is up to date for docker-registry.tools.wmflabs.org/toolforge-buster0-builder:latest
    0.9.1: Pulling from buildpacksio/lifecycle
    ...
    • Thu, Oct 29, 10:24 PM
    • 185 Lines
  • 0: jdbc:hive2://an-coord1001.eqiad.wmnet:1000> select year, month, day, count(distinct event.searchSessionId) as num_sessions, count(distinct trim(regexp_replace(regexp_replace(lower(even
    t.query), '[\\s\\p{Punct}]', ' '), ' +', ' '))) as num_norm_query from event.SearchSatisfaction where event.source == 'fulltext' and event.action == 'searchResultPage' and
    year = 2020 and month = 10 and day >= 10 and day < 20 and wiki == 'enwiki' group by year, month, day order by year, month, day limit 1000;
    ...
    ...
    • Thu, Oct 29, 8:32 PM
    • 17 Lines
  • $ sudo mtr --report-wide --aslookup --tcp --port 443 it.wikipedia.org
    Password:
    Start: 2020-10-29T19:34:41+0100
    HOST: Riccardo.station Loss% Snt Last Avg Best Wrst StDev
    1. AS??? vodafone 0.0% 10 2.4 2.2 1.7 3.0 0.4
    ...
    • Thu, Oct 29, 6:43 PM
    • 13 Lines
  • $ sudo mtr --report-wide --aslookup --tcp --port 443 en.wikipedia.org
    Start: 2020-10-29T12:25:35+0100
    HOST: riccardo.local Loss% Snt Last Avg Best Wrst StDev
    1. AS??? vodafone 0.0% 9 1.7 2.5 1.6 7.5 1.9
    2. AS30722 net-47-53-62-1.cust.vodafonedsl.it 0.0% 9 7.5 8.9 6.9 17.9 3.4
    ...
    • Thu, Oct 29, 11:27 AM
    • 45 Lines
  • lass profile::redis::multidc (
    $version_override = lookup('profile::redis::multidc::version_override')
    ){
    # Add this here i think it should be safe but will need testing
    class {'redis':
    ...
    • Thu, Oct 29, 10:52 AM
    • 22 Lines
    • Puppet
  • I followed the instruction at https://www.mediawiki.org/wiki/Selenium/Getting_Started/Run_tests_targeting_MediaWiki-Vagrant
    Then download some apps as below:
    NoteJS: node-v14.15.0-x64.msi
    Vagrant:vagrant_2.2.10_x86_64.msi
    Chrome: Version 86.0.4240.111 (Official Build) (64-bit)
    ...
    • Thu, Oct 29, 10:19 AM
    • 209 Lines
  • class profile::redis::multidc (
    $version_override = lookup('profile::redis::multidc::version_override')
    ){
    profile::redis::multidc_instance{ $instances:
    version_override => $version_override
    ...
    • Thu, Oct 29, 10:12 AM
    • 36 Lines
    • Puppet
  • user@cloud-dev:~/projects/tool-apt-browser$ pack build test-tool-apt-browser --builder docker-registry.tools.wmflabs.org/toolforge-buster0-builder:latest
    latest: Pulling from toolforge-buster0-builder
    e084d51813c0: Pull complete
    85d3b276e462: Pull complete
    fc40f3723762: Pull complete
    ...
    • Thu, Oct 29, 4:09 AM
    • 325 Lines
  • Mediawiki
    Download chromeDriver and added it to the path
    Installed dependencies using npm ci
    ...
    • Wed, Oct 28, 9:28 PM
    • 56 Lines
  • {
    "includes/libs/rdbms/database/Database.php": {
    "File": "includes/libs/rdbms/database/Database.php",
    "TicketCount": 14,
    "CommitCount": 14,
    ...
    • Wed, Oct 28, 6:38 PM
    • 9,365 Lines
  • {
    "includes/Revision/RevisionStore.php": {
    "File": "includes/Revision/RevisionStore.php",
    "TicketCount": 10,
    "CommitCount": 5,
    ...
    • Wed, Oct 28, 6:32 PM
    • 2,750 Lines
    • JSON
  • tools.ldap-beta@tools-sgebastion-07:~$ /home/legoktm/tools-webservice/scripts/webservice start
    Only one service.template file is allowed, multiple were found. You will need to remove or rename the others.
    * /data/project/ldap-beta/service.template
    * /data/project/ldap-beta/www/python/src/service.template
    tools.ldap-beta@tools-sgebastion-07:~$ rm /data/project/ldap-beta/service.template
    ...
    • Wed, Oct 28, 6:11 PM
    • 17 Lines
  • {
    "maintenance\/tables.sql": {
    "File": "maintenance\/tables.sql",
    "Commits": [
    {
    ...
    • Wed, Oct 28, 5:31 PM
    • 644 Lines
  • 2020-10-28 15:12:59,593 INFO CoordSubmitXCommand:520 - SERVER[an-coord1001.eqiad.wmnet] USER[sbisson] GROUP[-] TOKEN[] APP[wikipediapreview_stats-daily-coord] JOB[0018758-201015070320240-oozie-oozi-C] ACTION[-] ENDED Coordinator Submit jobId=0018758-201015070320240-oozie-oozi-C
    2020-10-28 15:12:59,708 INFO CoordMaterializeTransitionXCommand:520 - SERVER[an-coord1001.eqiad.wmnet] USER[sbisson] GROUP[-] TOKEN[] APP[wikipediapreview_stats-daily-coord] JOB[0018758-201015070320240-oozie-oozi-C] ACTION[-] materialize actions for tz=Coordinated Universal Time,
    start=Tue Oct 20 00:00:00 UTC 2020, end=Wed Oct 21 00:00:00 UTC 2020,
    timeUnit 5,
    frequency :1:DAY,
    ...
    • Wed, Oct 28, 3:15 PM
    • 40 Lines
  • Oct 28 12:07:24 deployment-push-notifications01 docker[5202]: {"name":"push-notifications","hostname":"cb7c80e3f6a2","pid":1,"level":10,"msg":"Incoming request","request_id":"23dd9070-1916-11eb-8ae4-274c5af5e24f","request":{"url":"/v1/message/fcm","headers":{"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0","content-type":"application/json","content-length":"70","x-request-id":"23dd9070-1916-11eb-8ae4-274c5af5e24f"},"method":"POST","params":{"0":"/v1/message/fcm"},"query":{},"remoteAddress":"172.17.0.1","remotePort":46174},"levelPath":"trace/req","time":"2020-10-28T12:07:24.665Z","v":0}
    Oct 28 12:07:36 deployment-push-notifications01 docker[5202]: {"name":"push-notifications","hostname":"cb7c80e3f6a2","pid":1,"level":20,"levelPath":"debug/fcm","msg":"Successfully sent 0 messages; 1 messages failed","time":"2020-10-28T12:07:36.206Z","v":0}
    Oct 28 12:07:36 deployment-push-notifications01 docker[5202]: REQUEST { headers:
    Oct 28 12:07:36 deployment-push-notifications01 docker[5202]: { 'user-agent': 'push-notifications (beta)',
    Oct 28 12:07:36 deployment-push-notifications01 docker[5202]: 'x-forwarded-proto': 'https' },
    ...
    • Wed, Oct 28, 12:14 PM
    • 575 Lines
  • class orchestrator::server (
    Stdlib::Host $db_backend_host,
    String[1] $db_backend_password,
    String[1] $db_topology_password,
    Stdlib::Port $db_backend_port = 3306,
    ...
    • Wed, Oct 28, 10:58 AM
    • 9 Lines
    • Puppet
  • 11:59:50 1 ✗ zhuyifei1999@tools-sgeexec-0906: ~$ sudo gdb -p 13609 -batch -ex 'thread apply all bt'
    [New LWP 13610]
    [New LWP 13611]
    [New LWP 13612]
    [New LWP 13613]
    ...
    • Wed, Oct 28, 12:02 AM
    • 117 Lines
  • 11:30:43 0 ✓ zhuyifei1999@tools-sgeexec-0906: ~$ sudo readelf -eW /data/project/wikitasks/T266377.core
    ELF Header:
    Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
    Class: ELF64
    Data: 2's complement, little endian
    ...
    • Tue, Oct 27, 11:33 PM
    • 397 Lines
  • 11:13:30 0 ✓ zhuyifei1999@tools-sgeexec-0906: ~$ sudo cat /proc/13609/maps | awk '{ split($1, a, "-"); printf "%s %08x %s\n", a[1], strtonum("0x"a[2]) - strtonum("0x"a[1]), $6 }' | sort -k 2
    2b362a6ef000 00001000
    2b362b5d3000 00001000
    2b362bc00000 00001000
    2b362da5b000 00001000
    ...
    • Tue, Oct 27, 11:15 PM
    • 168 Lines
  • 11:12:53 0 ✓ zhuyifei1999@tools-sgeexec-0906: ~$ sudo cat /proc/13609/maps
    4112c000-4113c000 rwxp 00000000 00:00 0
    41a34000-41ac4000 rwxp 00000000 00:00 0
    2b362a4ca000-2b362a4ed000 r-xp 00000000 fe:03 1068233 /lib/x86_64-linux-gnu/ld-2.24.so
    2b362a4ed000-2b362a4ee000 r--p 00000000 fe:03 31272 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
    ...
    • Tue, Oct 27, 11:14 PM
    • 168 Lines
  • Oct 27 20:27:47 deployment-push-notifications01 systemd[1]: Started Systemd runner for mediawiki-services-push-notifications.
    Oct 27 20:27:50 deployment-push-notifications01 docker[30720]: {"name":"push-notifications","hostname":"6d9fe27845e5","pid":1,"level":40,"levelPath":"warn/queueing","msg":"Initialized queue: max size: 9007199254740991, flush timeout (ms): 10000","time":"2020-10-27T20:27:50.149Z","v":0}
    Oct 27 20:27:50 deployment-push-notifications01 docker[30720]: {"name":"push-notifications","hostname":"6d9fe27845e5","pid":1,"level":30,"levelPath":"info","msg":"Worker 1 listening on 0.0.0.0:8900","time":"2020-10-27T20:27:50.326Z","v":0}
    Oct 27 20:29:14 deployment-push-notifications01 docker[30720]: {"name":"push-notifications","hostname":"6d9fe27845e5","pid":1,"level":10,"msg":"Incoming request","request_id":"142a0790-1893-11eb-aee9-5bd4fc1b3418","request":{"url":"/v1/message/fcm","headers":{"user-agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:81.0) Gecko/20100101 Firefox/81.0","content-type":"application/json","content-length":"70","x-request-id":"142a0790-1893-11eb-aee9-5bd4fc1b3418"},"method":"POST","params":{"0":"/v1/message/fcm"},"query":{},"remoteAddress":"172.17.0.1","remotePort":44834},"levelPath":"trace/req","time":"2020-10-27T20:29:14.251Z","v":0}
    Oct 27 20:29:24 deployment-push-notifications01 docker[30720]: {"name":"push-notifications","hostname":"6d9fe27845e5","pid":1,"level":20,"levelPath":"debug/fcm","msg":"Successfully sent 0 messages; 1 messages failed","time":"2020-10-27T20:29:24.501Z","v":0}
    ...
    • Tue, Oct 27, 9:03 PM
    • 211 Lines
  • root@akanksha:/home/akanksha/Documents/outreachy/mediawiki# fresh-node -env -net
    # fresh: 20.08.1 (2020-08-27)
    # image: docker-registry.wikimedia.org/releng/node10-test-browser:0.6.2
    # software: Debian GNU/Linux 9 (stretch)
    # Node.js v10.15.2 (npm 6.14.5)
    ...
    • Tue, Oct 27, 1:42 PM
    • 162 Lines
  • #MediaWiki
    ## Development setup
    #### Clone mediaWiki/core
    ...
    • Tue, Oct 27, 12:07 PM
    • 195 Lines
  • root@db2093.codfw.wmnet[orchestrator]> select * from cluster_alias;:
    +--------------+-------------+---------------------+
    | cluster_name | alias | last_registered |
    +--------------+-------------+---------------------+
    | pc1007:3306 | pc1 | 2020-10-27 09:44:51 |
    ...
    • Tue, Oct 27, 9:46 AM
    • 9 Lines
  • DELL@abc MINGW64 /f/Automation/WikiMedia/vagrant/mediawiki (master)
    $ vagrant up
    Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Checking if box 'debian/contrib-stretch64' version '9.12.0' is up to date...
    ==> default: Clearing any previously set forwarded ports...
    ...
    • Tue, Oct 27, 4:32 AM
    • 610 Lines
  • bnwiki উইকিপিডিয়া:আলোচনাসভা (কারিগর)
    ckbwiki ویکیپیدیا:دیوەخان (تەکنیکی)
    commonswiki Commons:Village pump/Technical
    cswiki Wikipedie:Pod lípou (technika)
    dawiki Wikipedia:Teknisk forum
    ...
    • Mon, Oct 26, 11:35 PM
    • 36 Lines
  • #!/usr/local/bin/python3
    import json, urllib.parse, urllib.request, subprocess;
    # BASE_URL = 'https://phab.wmflabs.org'
    ...
    • Mon, Oct 26, 3:51 PM
    • 164 Lines
  • version: '3.0'
    services:
    mariadb:
    image: 'bitnami/mariadb:latest'
    environment:
    ...
    • Mon, Oct 26, 3:29 PM
    • 24 Lines
  • ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3huKKZAP9bLKCf2hSzRlMHs+9pFZ+x47a5A8EWRJdhmNOcqziyhh+NhpmXNF4V2HvW+lL1YnBXCQzzlXHUnpc3KC0IljHPvorMawHEmoXmxageagWV7UzqfQczyXAA9mUmY/ejN6agFLujjp0cAZEdoS8+cf8vk39+RfHmNoQ9bg0hI5aTINR90r8pGMMCYugcz2Kwa+p4mslhk5WivsmYwpGUvRQf7fVyo16H6RBG8hhfCiPkUUnJLvAmqFlUVMfs1EJYUSMFMdC2mjVn7apY//1Hq74K+be1mjuls4AHpH8T8FZUt79+Xb5vSKoFoZX+ys7xousFsfavQyYfyYpI6rJbXTL/m6cw9mwL6UD0kWaqicMzLgRiJGueq5NWRyUd22CvgLIFOJIell9WLEj7/5G0ZZWTtDc6fT/ud9Yup9dJ7OxPQA8bGTdXvBKkZ0CLeEUdv2uHT2tDrKT03yg6svVqOskBzgM8rRY04N2IW+DlkNZjeXgNkvxL0WADvOaL3IFeO0s9vBXFS2EPH+YMQGGrAHcd5fKYa3dUKVDVCjtrpZJHuGJSZ5QH9Leh2p7ci0JrlsmS7DNTf1l1Gk/wx89VM3U9XWdoHI9Lhc6m0B6+0N1TIAq4FWwgVo1CUnSh7mY75jM4D7GLAvkL+JH6CMRXDHTH/QogH+bGp6Dfw== cdanis@yubikey-personal cardno:000610320403
    • Mon, Oct 26, 3:28 PM
    • 1 Line
  • root@dborch1001:~# orchestrator -c discover -i 10.64.0.180 --debug cli
    2020-10-26 15:05:56 INFO starting orchestrator, version: 3.2.3, git commit: 7e183c77882bab9c2bf39804328a3409f5ae8ab3
    2020-10-26 15:05:56 INFO Read config: /etc/orchestrator.conf.json
    2020-10-26 15:05:56 DEBUG Parsed orchestrator credentials from /etc/mysql/orchestrator_srv.cnf
    2020-10-26 15:05:56 DEBUG Parsed topology credentials from /etc/mysql/orchestrator_topo.cnf
    ...
    • Mon, Oct 26, 3:07 PM
    • 20 Lines
  • rzl@cumin1001:~$ cat pool_services.py
    import datetime
    import json
    import logging
    import pprint
    ...
    • Mon, Oct 26, 1:50 PM
    • 95 Lines
    • Python
  • On page Selenium/Getting Started/Run tests targeting MediaWiki-Docker [https://www.mediawiki.org/wiki/Selenium/Getting_Started/Run_tests_targeting_MediaWiki-Docker]
    , it states
    Go to 'mediawiki' folder
    ...
    • Sun, Oct 25, 12:00 AM
    • 8 Lines
  • # Proof that page was read and terminal commands
    ~/wi0ki git clone "ssh://znim@gerrit.wikimedia.org:29418/mediawiki/core" && scp -p -P 29418 znim@gerrit.wikimedia.org:hooks/commit-msg "core/.git/hooks/"
    Cloning into 'core'...
    Enter passphrase for key '/Users/nimda/.ssh/id_rsa':
    ...
    • Sat, Oct 24, 11:32 PM
    • 414 Lines
  • # Documentation page: Selenium/Explanation/Stack https://www.mediawiki.org/wiki/Selenium/Explanation/Stack
    ## Starting chromedriver
    My machine was already prepared for testing, so I just started chromedriver in a separate terminal window:
    ...
    • Fri, Oct 23, 10:54 PM
    • 98 Lines
  • $ echo -ne "0091want 09a632607a03e09fa750884a819b91b400504619 multi_ack_detailed no-done side-band-64k thin-pack no-progress ofs-delta agent=git/2.6.1.dirty\n0034shallow 09a632607a03e09fa750884a819b91b400504619000cdeepen 10000" | curl -v --http1.1 https://github.com/wikimedia/analytics-blog.git/git-upload-pack -H 'Content-Type: application/x-git-upload-pack-request' -H 'Accept: application/x-git-upload-pack-result' --data-binary @-
    > POST /wikimedia/analytics-blog.git/git-upload-pack HTTP/1.1
    > Host: github.com
    > User-Agent: curl/7.54.0
    > Content-Type: application/x-git-upload-pack-request
    ...
    • Fri, Oct 23, 9:33 PM
    • 22 Lines
  • $ echo -ne "0091want 09a632607a03e09fa750884a819b91b400504619 multi_ack_detailed no-done side-band-64k thin-pack no-progress ofs-delta agent=git/2.6.1.dirty\n0034shallow 09a632607a03e09fa750884a819b91b400504619000cdeepen 10000" | curl -v --http1.1 https://phabricator.wikimedia.org/diffusion/ANAB/analytics-blog.git/git-upload-pack -H 'Content-Type: application/x-git-upload-pack-request' -H 'Accept: application/x-git-upload-pack-result' --data-binary @-
    > POST /diffusion/ANAB/analytics-blog.git/git-upload-pack HTTP/1.1
    > Host: phabricator.wikimedia.org
    > User-Agent: curl/7.54.0
    > Content-Type: application/x-git-upload-pack-request
    ...
    • Fri, Oct 23, 9:19 PM
    • 28 Lines
  • > GET /diffusion/ANAB/analytics-blog.git/info/refs?service=git-upload-pack HTTP/1.1
    Host: phabricator.wikimedia.org
    User-Agent: git/2.6.1.dirty
    Accept: */*
    Accept-Encoding: gzip
    ...
    • Fri, Oct 23, 9:06 PM
    • 89 Lines
  • kormat@puppetmaster1001:/srv/private(0:0)$ sudo puppet-merge --help
    puppet-merge [-y|--yes] [-p|--labsprivate] [-q|--quiet] [-d|--diffs] [SHA1]
    Fetches changes from origin and from all submodules.
    Shows diffs between HEAD and SHA1 (default FETCH_HEAD)
    ...
    • Fri, Oct 23, 1:24 PM
    • 30 Lines
  • db-labsdb: P{O:wmcs::db::wikireplicas::analytics or O:wmcs::db::wikireplicas::dedicated::analytics or O:wmcs::db::wikireplicas::web}
    wikireplicas-all: P{O:wmcs::db::wikireplicas::analytics or O:wmcs::db::wikireplicas::dedicated::analytics or O:wmcs::db::wikireplicas::web}
    wikireplicas-analytics: P{O:wmcs::db::wikireplica::analytics}
    wikireplicas-dedicated: P{O:wmcs::db::wikireplicas::dedicated::analytics}
    ...
    • Fri, Oct 23, 1:05 PM
    • 6 Lines
  • $ npm run selenium
    > @ selenium F:\Automation\WikiMedia\vagrant\mediawiki
    > bash ./tests/selenium/selenium.sh
    ...
    • Fri, Oct 23, 12:59 PM
    • 96 Lines
  • [client]
    username=<%= @db_username %>
    password=<%= PASSWORD_FROM_PRIVATE_REPO %>
    • Fri, Oct 23, 12:52 PM
    • 3 Lines
  • #!/bin/bash
    set -euxo pipefail
    ZUUL_CHANGE=${1:?Gerrit changeset id required}
    ...
    • Thu, Oct 22, 4:50 PM
    • 29 Lines
    • Shell
  • ~/Documents/gerrit/wikibase/termbox$ npm t
    > wikibase-termbox@0.1.0 test /Users/z/Documents/gerrit/wikibase/termbox
    > npm-run-all test:*
    ...
    • Thu, Oct 22, 4:12 PM
    • 8,834 Lines
  • P13051 MDEV-21813
    This is the complete optimizer trace:
    {code}
    *************************** 1. row ***************************
    QUERY: SELECT rc_id, rc_timestamp, rc_namespace, rc_title, rc_minor, rc_bot, rc_new, rc_cur_id, rc_this_oldid, rc_last_oldid, rc_type, rc_source, rc_patrolled, rc_ip, rc_old_len, rc_new_len, rc_deleted, rc_logid, rc_log_type, rc_log_action, rc_params, comment_rc_comment.comment_text AS `rc_comment_text`, comment_rc_comment.comment_data AS `rc_comment_data`, comment_rc_comment.comment_id AS `rc_comment_cid`, actor_rc_user.actor_user AS `rc_user`, actor_rc_user.actor_name AS `rc_user_text`, rc_actor, wl_user, wl_notificationtimestamp, page_latest, (SELECT GROUP_CONCAT(ctd_name SEPARATOR ', ') FROM `change_tag` JOIN `change_tag_def` ON ((ct_tag_id=ctd_id)) WHERE ct_rc_id=rc_id ) AS `ts_tags`, fp_stable, fp_pending_since, ores_damaging_cls.oresc_probability AS `ores_damaging_score`, ores_goodfaith_cls.oresc_probability AS `ores_goodfaith_score` FROM `recentchanges` JOIN `actor` `actor_rc_user` ON ((actor_rc_user.actor_id = rc_actor)) LEFT JOIN `user` ON ((actor_rc_user.actor_user = user_id)) JOIN `comment` `comment_rc_comment` ON ((comment_rc_comment.comment_id = rc_comment_id)) LEFT JOIN `watchlist` ON (wl_user = REDACTED AND (wl_title=rc_title) AND (wl_namespace=rc_namespace)) LEFT JOIN `page` ON ((rc_cur_id=page_id)) LEFT JOIN `flaggedpages` ON ((fp_page_id = rc_cur_id)) LEFT JOIN `ores_classification` `ores_damaging_cls` ON (ores_damaging_cls.oresc_model = 37 AND (ores_damaging_cls.oresc_rev=rc_this_oldid) AND ores_damaging_cls.oresc_class = 1) LEFT JOIN `ores_classification` `ores_goodfaith_cls` ON (ores_goodfaith_cls.oresc_model = 38 AND (ores_goodfaith_cls.oresc_rev=rc_this_oldid) AND ores_goodfaith_cls.oresc_class = 1) WHERE ((actor_rc_user.actor_user IS NULL) OR (NOT ( (user_editcount >= 10) AND (user_registration <= '20200220144929') ))) AND rc_bot = 0 AND ((rc_this_oldid = page_latest) OR rc_type = 3) AND (rc_type != 6) AND (rc_source != 'wb') AND (rc_namespace IN ('6', '7')) AND (rc_timestamp >= '20200224144839') AND rc_new IN (0, 1) ORDER BY rc_timestamp DESC LIMIT 500
    TRACE: {
    ...
    • Thu, Oct 22, 11:21 AM
    • 9,580 Lines
  • import ctypes
    class TCPFlags_bitfield(ctypes.BigEndianStructure):
    flags = ("CWR", "ECE", "URG", "ACK", "PSH", "RST", "SYN", "FIN")
    ...
    • Thu, Oct 22, 11:06 AM
    • 29 Lines
    • Python
  • # s6
    kormat@x1c:~(0:0)$ master-pos db1131.eqiad.wmnet
    # at 570303690
    #201022 8:29:47 server id 180367475 end_log_pos 570304001 Query thread_id=14 exec_time=0 error_code=0
    ...
    • Thu, Oct 22, 8:28 AM
    • 23 Lines
    • Shell
  • somebody@6f694083ae95:/srv/app$ npm list
    toolhub@0.1.0 /srv/app
    ├── @mdi/font@5.7.55
    ├─┬ @vue/cli@4.5.7
    │ ├── @types/ejs@2.7.0
    ...
    • Wed, Oct 21, 9:20 PM
    • 989 Lines
  • vagrant@mwv:/vagrant/srv/SmashPig$ ./vendor/bin/phpcs -n
    FILE: /vagrant/srv/SmashPig/PaymentData/ReferenceData/NationalCurrencies.php
    ----------------------------------------------------------------------------
    FOUND 2 ERRORS AFFECTING 2 LINES
    ...
    • Wed, Oct 21, 4:28 PM
    • 177 Lines
  • ~/Documents/gerrit/wikibase/termbox$ cat .env
    SSR_PORT=3030
    # set to e.g. the api script of your development environment's mediawiki
    WIKIBASE_REPO=http://default.web.mw.localhost/mediawiki
    # hostname which will be used in place of the one in WIKIBASE_REPO for network requests to the wikibase
    ...
    • Wed, Oct 21, 3:45 PM
    • 229 Lines
  • ~/Documents/gerrit/wikibase/termbox$ node -v
    v10.15.2
    ...
    • Wed, Oct 21, 3:00 PM
    • 57 Lines
  • #!/bin/sh
    case $2 in
    *bananas*|*Mooby*)
    echo "$2"
    exit 1
    ...
    • Wed, Oct 21, 2:37 PM
    • 10 Lines
    • Bash Scripting
  • # top TEST upload/01-basic-caching.vtc passed (2.630)
    # top TEST upload/02-unset-xrange.vtc passed (2.541)
    # top TEST upload/05-range-requests.vtc passed (2.944)
    # top TEST upload/06-range-requests-convert-into-pass.vtc passed (2.664)
    # top TEST upload/08-frontend-cors.vtc passed (2.486)
    ...
    • Wed, Oct 21, 8:31 AM
    • 635 Lines
  • --- ./modules/install_server/files/autoinstall/partman/custom/varnish.cfg 2019-12-06 14:17:56.723546140 +0100
    +++ ./modules/install_server/files/autoinstall/partman/custom/cacheproxy.cfg 2020-07-21 14:46:41.984381034 +0200
    @@ -1,11 +1,13 @@
    -# Automatic software RAID partitioning
    -#
    ...
    • Wed, Oct 21, 8:02 AM
    • 50 Lines
  • Error: /Stage[main]/Profile::Openldap/Acme_chief::Cert[ldap]/File[/etc/acmecerts/ldap]: Failed to generate additional resources using 'eval_generate': Error 403 on SERVER: access denied
    Error: /Stage[main]/Profile::Openldap/Acme_chief::Cert[ldap]/File[/etc/acmecerts/ldap]: Could not evaluate: Could not retrieve file metadata for puppet://acmechief1001.eqiad.wmnet/acmedata/ldap: Error 403 on SERVER: access denied
    Notice: /Stage[main]/Openldap/Service[slapd]: Dependency File[/etc/acmecerts/ldap] has failures: true
    Warning: /Stage[main]/Openldap/Service[slapd]: Skipping because of failed dependencies
    • Wed, Oct 21, 5:30 AM
    • 4 Lines
  • jaredblumer@jdot:~/Desktop/wikibase/termbox$ npm run test
    > wikibase-termbox@0.1.0 test /home/jaredblumer/Desktop/wikibase/termbox
    > npm-run-all test:*
    ...
    • Tue, Oct 20, 3:07 PM
    • 5,285 Lines
  • ~/Documents/gerrit/wikibase/termbox$ npm run test
    > wikibase-termbox@0.1.0 test /Users/z/Documents/gerrit/wikibase/termbox
    > npm-run-all test:*
    ...
    • Tue, Oct 20, 2:49 PM
    • 173 Lines
  • alnilam:no primary ip
    alnitak:no primary ip
    americium:no primary ip
    analytics1001:no primary ip
    analytics1002:no primary ip
    ...
    • Tue, Oct 20, 2:00 PM
    • 1,451 Lines
  • --- codfw/groupLoadsBySection/s2 live
    +++ codfw/groupLoadsBySection/s2 generated
    @@ -1,7 +1,7 @@
    {
    "api": {
    ...
    • Tue, Oct 20, 1:54 PM
    • 22 Lines
  • --- codfw/groupLoadsBySection/s2 live
    +++ codfw/groupLoadsBySection/s2 generated
    @@ -1,7 +1,7 @@
    {
    "api": {
    ...
    • Tue, Oct 20, 1:39 PM
    • 22 Lines
  • --- codfw/groupLoadsBySection/s2 live
    +++ codfw/groupLoadsBySection/s2 generated
    @@ -1,7 +1,7 @@
    {
    "api": {
    ...
    • Tue, Oct 20, 1:24 PM
    • 22 Lines
  • --- codfw/groupLoadsBySection/s2 live
    +++ codfw/groupLoadsBySection/s2 generated
    @@ -1,7 +1,7 @@
    {
    "api": {
    ...
    • Tue, Oct 20, 1:09 PM
    • 22 Lines
  • --- codfw/groupLoadsBySection/s2 live
    +++ codfw/groupLoadsBySection/s2 generated
    @@ -1,6 +1,7 @@
    {
    "api": {
    ...
    • Tue, Oct 20, 12:54 PM
    • 20 Lines
  • cli_argv /srv/mediawiki/multiversion/MWScript.php dumpBackup.php --wiki=nlwiktionary --full --stub --report=1000 --output=file:/mnt/dumpsdata/xmldatadumps/temp/n/nlwiktionary/nlwiktionary-20201020-stub-meta-history.xml.gz.inprog_tmp --output=file:/mnt/dumpsdata/xmldatadumps/temp/n/nlwiktionary/nlwiktionary-20201020-stub-meta-current.xml.gz.inprog_tmp --filter=latest --output=file:/mnt/dumpsdata/xmldatadumps/temp/n/nlwiktionary/nlwiktionary-20201020-stub-articles.xml.gz.inprog_tmp --filter=latest --filter=notalk --filter=namespace:!NS_USER --skip-header --start=40282 --skip-footer --end 45539
    t exception.class ErrorException
    #0 [internal function]: MWExceptionHandler::handleError(integer, string, string, integer, array)
    #1 /srv/mediawiki/php-1.36.0-wmf.13/includes/Storage/SqlBlobStore.php(593): gzinflate(string)
    ...
    • Tue, Oct 20, 9:13 AM
    • 34 Lines
  • Unable to commit on patch created by other member of team
    git review -R
    remote:
    remote: Processing changes: refs: 1
    ...
    • Mon, Oct 19, 7:20 PM
    • 9 Lines
  • ebernhardson@elastic2040:~$ cat test.q
    {
    "analyzer": "text",
    "text": "Afrikа"
    }
    ...
    • Mon, Oct 19, 6:11 PM
    • 25 Lines
  • --- codfw/groupLoadsBySection/s2 live
    +++ codfw/groupLoadsBySection/s2 generated
    @@ -1,7 +1,6 @@
    {
    "api": {
    ...
    • Mon, Oct 19, 7:16 AM
    • 20 Lines
  • STEP 1
    - SELECT $batch rows from abuse_filter_log using primary key
    - For every "empty" row (rare), run either a DELETE or UPDATE for a single row by pkey (one by one)
    STEP 2
    ...
    • Sun, Oct 18, 1:01 PM
    • 38 Lines
  • aawiki 1
    abwiki 0
    acewiki 0
    adywiki 0
    afwiki 0
    ...
    • Sun, Oct 18, 11:52 AM
    • 310 Lines
  • advisorswiki 1
    afwikibooks 1
    afwikiquote 1
    afwiktionary 1
    amwikimedia 1
    ...
    • Sun, Oct 18, 11:52 AM
    • 515 Lines
  • aawikibooks 1
    aawiktionary 1
    abwiktionary 1
    advisorywiki 1
    akwikibooks 1
    ...
    • Sun, Oct 18, 11:51 AM
    • 131 Lines
  • t exception.file
    /srv/mediawiki/php-1.36.0-wmf.13/extensions/Math/src/MathRestbaseInterface.php:109
    t exception.message
    TeX input is invalid.
    t exception.trace
    ...
    • Sun, Oct 18, 8:20 AM
    • 26 Lines
  • DejaVuSerif.ttf: "DejaVu Serif" "Book"
    DejaVuSerifCondensed.ttf: "DejaVu Serif" "Condensed"
    DejaVuSerif-Bold.ttf: "DejaVu Serif" "Bold"
    DejaVuSerifCondensed-Bold.ttf: "DejaVu Serif" "Condensed Bold"
    DejaVuSerif-Italic.ttf: "DejaVu Serif" "Italic"
    ...
    • Fri, Oct 16, 11:52 PM
    • 792 Lines
  • DejaVuSans.ttf: "DejaVu Sans" "Book"
    DejaVuSansCondensed.ttf: "DejaVu Sans" "Condensed"
    DejaVuSans-ExtraLight.ttf: "DejaVu Sans" "ExtraLight"
    DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
    DejaVuSansCondensed-Bold.ttf: "DejaVu Sans" "Condensed Bold"
    ...
    • Fri, Oct 16, 11:52 PM
    • 792 Lines
  • def addTicketToColumn(ticketPHID, columnPHID, afterPHIDs):
    result = fetch(BASE_URL + '/api/maniphest.edit', {
    'api.token' : API_TOKEN,
    'transactions' : [
    ...
    • Fri, Oct 16, 8:12 PM
    • 16 Lines
    • Python
  • Moving [[sr:Шаблон:Cite report/док]] to [[testniwiki:sr:Шаблон:Cite report/док]]...
    Getting page text.
    Getting edit history.
    Putting edit history.
    Putting page text.
    ...
    • Fri, Oct 16, 11:45 AM
    • 386 Lines
  • <•ebernhardson> not sure readahead from puppet took appropriately, `blockdev --getra /dev/sd?` reports readahead as 128 512-byte sectors (64kb), but the puppet patch specified read_ahead_kb=16 in the udev rule. not sure why that's the result :S
    11:59 PM volans → volans|off
    Friday, October 16th, 2020
    12:23 AM ⇐ chippy quit (~chippy@unaffiliated/chippy) Ping timeout: 246 seconds
    12:41 AM — •ebernhardson finally got around to checking the readahead....really i dunno what exactly udev is doing. Tempted to replace with a plain call to `blockdev --setra N`
    ...
    • Fri, Oct 16, 8:26 AM
    • 145 Lines
  • ****ezachte*****
    # For more information see the manual pages of crontab(5) and cron(8)
    # in December/January have mediacounts file productionized or ask manual mkdir/chmod of ../2018, see phabricator T173724
    ...
    • Fri, Oct 16, 5:59 AM
    • 127 Lines
  • ~ env
    ...
    NVM_BIN=/Users/nimda/.nvm/versions/node/v10.15.0/bin
    NVM_INC=/Users/nimda/.nvm/versions/node/v10.15.0/include/node
    MW_SERVER=http://localhost:8080
    ...
    • Fri, Oct 16, 2:17 AM
    • 129 Lines
  • P13008 esams fail
    mtr -zwb --tcp wikipedia.org
    Start: 2020-10-15T22:02:31+0200
    HOST: freia Loss% Snt Last Avg Best Wrst StDev
    1. AS??? Linksys15603 (10.101.1.1) 0.0% 10 7.2 12.3 4.3 58.7 16.5
    2. AS??? 192.168.1.1 0.0% 10 8.7 30.4 4.8 225.1 68.5
    ...
    • Thu, Oct 15, 8:04 PM
    • 28 Lines
  • # host.yaml
    profile::mariadb::shard: s1
    # manifest.pp
    class profile::mariadb (
    ...
    • Thu, Oct 15, 2:59 PM
    • 17 Lines
  • class foo (
    $common
    ) {}
    class foo::bar {
    include foo
    ...
    • Thu, Oct 15, 2:54 PM
    • 7 Lines
  • I have two dashboards, one for commits by project (my changes I want to move forward) and one for reviews by project (patches I ought to look at for others):
    https://gerrit.wikimedia.org/r/dashboard/?title=Commits+By+Project&Starred=owner:self+is:open+is:starred+limit:10&Dumps=owner:self+is:open+project:operations/dumps+branch:master+-hashtag:low+-is:starred+limit:5&mwbzutils=owner:self+is:open+project:operations/dumps/mwbzutils+branch:master+-hashtag:low+-is:starred+limit:5&Puppet=owner:self+is:open+project:operations/puppet+branch:production+-hashtag:low+-is:starred+limit:5&Ops+Software=owner:self+is:open+project:operations/software+branch:master+-hashtag:low+-is:starred+limit:5&MW+Core=owner:self+is:open+project:mediawiki/core+branch:master+-hashtag:low+-is:starred+limit:5&MW+Vagrant=owner:self+is:open+project:mediawiki/vagrant+branch:master+-hashtag:low+-is:starred+limit:5
    https://gerrit.wikimedia.org/r/dashboard/?title=Reviews+By+Project&Starred=reviewer:self+-owner:self+is:open+is:starred+limit:10&Dumps=reviewer:self+-owner:self+is:open+project:operations/Starred=reviewer:self+-owner:self+is:open+is:starred+limit:10&Puppet=reviewer:self+-owner:self+-reviewedby:self+is:open+project:operations/puppet+branch:production+-hashtag:low+-is:starred+limit:7&MW+Core=reviewer:self+-owner:self+-reviewedby:self+is:open+project:mediawiki/core+branch:master+-hashtag:low+-is:starred+limit:7
    ...
    • Thu, Oct 15, 6:12 AM
    • 11 Lines
  • mholloway@mholloway:~/code/wikimedia/mediawiki-services/wikifeeds$ diff <(curl -s https://wikifeeds.wmflabs.org/zh.wikipedia.org/v1/page/most-read/2020/10/13 | jq .) <(curl -s http://localhost:8889/zh.wikipedia.org/v1/page/most-read/2020/10/13 | jq .)
    78a79,152
    > "views": 33452,
    > "rank": 4,
    > "view_history": [
    ...
    • Wed, Oct 14, 6:56 PM
    • 141 Lines
  • mholloway@mholloway:~/code/wikimedia/mediawiki-services/wikifeeds$ diff <(curl -s https://wikifeeds.wmflabs.org/de.wikipedia.org/v1/page/most-read/2020/10/13 | jq .) <(curl -s http://localhost:8889/de.wikipedia.org/v1/page/most-read/2020/10/13 | jq .)
    290a291,364
    > "views": 28113,
    > "rank": 9,
    > "view_history": [
    ...
    • Wed, Oct 14, 6:46 PM
    • 525 Lines
  • mholloway@mholloway:~/code/wikimedia/mediawiki-services/wikifeeds$ diff <(curl -s https://wikifeeds.wmflabs.org/en.wikipedia.org/v1/page/most-read/2020/10/13 | jq .) <(curl -s http://localhost:8889/en.wikipedia.org/v1/page/most-read/2020/10/13 | jq .)
    226a227,300
    > "views": 157908,
    > "rank": 6,
    > "view_history": [
    ...
    • Wed, Oct 14, 6:40 PM
    • 516 Lines
  • Script started on Wed 14 Oct 2020 06:25:55 PM UTC
    urbanecm@mwmaint2001:~$ sql wikidatawiki --write
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A
    ...
    • Wed, Oct 14, 6:28 PM
    • 36 Lines
  • > @ selenium-test /Users/hulyakarakaya/core
    > wdio ./tests/selenium/wdio.conf.js
    Execution of 6 spec files started at 2020-10-14T16:00:07.762Z
    ...
    • Wed, Oct 14, 4:03 PM
    • 74 Lines
  • bast3004:
    vlans => {
    type => access
    vlans_ids => [100]
    native_vlan => 100
    ...
    • Wed, Oct 14, 11:41 AM
    • 12 Lines