User talk:JDrewniak (WMF)

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Afrikaans | العربية | অসমীয়া | asturianu | azərbaycanca | Boarisch | беларуская | беларуская (тарашкевіца)‎ | български | বাংলা | བོད་ཡིག | bosanski | català | کوردی | corsu | čeština | Cymraeg | dansk | Deutsch | Deutsch (Sie-Form)‎ | Zazaki | ދިވެހިބަސް | Ελληνικά | emiliàn e rumagnòl | English | Esperanto | español | eesti | euskara | فارسی | suomi | français | Nordfriisk | Frysk | galego | Alemannisch | ગુજરાતી | עברית | हिन्दी | Fiji Hindi | hrvatski | magyar | հայերեն | interlingua | Bahasa Indonesia | Ido | íslenska | italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | kar | kurdî | Limburgs | lietuvių | Minangkabau | македонски | മലയാളം | молдовеняскэ | Bahasa Melayu | မြန်မာဘာသာ | مازِرونی | Napulitano | नेपाली | Nederlands | norsk nynorsk | norsk | occitan | Kapampangan | polski | português | português do Brasil | پښتو | Runa Simi | română | русский | संस्कृतम् | sicilianu | سنڌي | සිංහල | slovenčina | slovenščina | Soomaaliga | shqip | српски / srpski | svenska | ślůnski | தமிழ் | тоҷикӣ | ไทย | Türkmençe | Tagalog | Türkçe | татарча/tatarça | ⵜⴰⵎⴰⵣⵉⵖⵜ  | українська | اردو | oʻzbekcha/ўзбекча | vèneto | Tiếng Việt | 吴语 | 粵語 | 中文（简体）‎ | 中文（繁體）‎ | +/-

Welcome to Meta![edit]

Hello, JDrewniak (WMF). Welcome to the Wikimedia Meta-Wiki! This website is for coordinating and discussing all Wikimedia projects. You may find it useful to read our policy page. If you are interested in doing translations, visit Meta:Babylon. You can also leave a note on Meta:Babel or Wikimedia Forum if you need help with something (please read the instructions at the top of the page before posting there). Happy editing!

-- Meta-Wiki Welcome (talk) 03:10, 8 October 2015 (UTC)

IRC cloak[edit]

I am jan_drewniak on IRC. JDrewniak (WMF) (talk) 18:48, 21 October 2015 (UTC)

Module:Project portal/views[edit]

Hi Jan. I wonder if you could help me with Module:Project_portal/views/doc. I've managed to run gulp update-stats and the output is written on site-stats.json; but when it comes to the third step I don't really know what to do or where to run that script to update the page. Do you have any idea? Thanks! —MarcoAurelio 19:05, 1 March 2017 (UTC)

Hi Marco . I've updated the page https://meta.wikimedia.org/wiki/Module:Project_portal/views . I'll describe the steps I took below:
1. I created a file at the root of the portal repo called convertStatsToLua.js
2. I pasted in a modified version of the function Mxn provided here https://meta.wikimedia.org/wiki/Module:Project_portal/views/doc into that file:
  var wikis = require('./data/site-stats.json');
  function transform(project /* wiki, wiktionary, wikibooks, etc. */) {
   let views = [];
   for (let code in wikis[project]) {
       let key = (code === "or" || code.indexOf("-") >= 0) ? ('["' + code + '"]') : code;
       views.push("\t\t" + key + " = " + wikis[project][code].views + ",");
   }
   console.log( views.join("\n") )
   return views.join("\n");
   }
   module.exports.transform = transform;
3. I opened a terminal window, went to the root of the portal repo, and ran a command like this
   node -e 'require("./convertStatsToLua.js").transform("wiktionary")' | pbcopy
(the part " | pbcopy" pipes the output of the command to my clipboad. It's optional and different for Linux/Windows).
4. I ran that command for each wiki and pasted the output into the corresponding section of the Module:Project_portal/views page.
5. I Updated the timestamp on that page & saved it.
I think it makes sense to turn this conversion process into a gulp task. Instead of creating a separate javascript file for this, I think running a task like `gulp convertStatsToLua` could provide the output needed for the Module:Project_portal/views page. I'll see what I can do about that... —The preceding unsigned comment was added by JDrewniak (WMF) (talk) 20:35, 1 March 2017 (UTC)
Hi Jan. Thank you very much for your detailed reply and for the update of the views. With regards to the conversion script, it'd be indeed awesome to have it as a gulp task (if it could output a file that just needs copy-paste for all projects instead of having to go project by project it'd be good. If you think you can work on that that'd be really awesome. I am periodically updating the sister projects portals based on that Module data and some sort of automatization for this would be really good. Best regards, —MarcoAurelio 15:52, 2 March 2017 (UTC)

Module:Project portal/views update?[edit]

Hi. Could you please update Module:Project portal/views with gulp? Best regards, —MarcoAurelio 18:10, 12 June 2017 (UTC)

Sorry for the delay, I've updated Module:Project portal/views. —Jan 13:27, 26 June 2017 (UTC)

Update bnwiki logo, wordmark & tagline[edit]

Hi, i am from bnwiki. Recently we updated bnwiki logo. We already filled a phabricator task for that (soon i will request for mineva mobile also). From here i found you generated a site (https://people.wikimedia.org/~jdrewniak/dip-logos/index.html) and a github (https://github.com/j4n-co/wiki-logo-extraction) for every wikipedia's logo. Since it is a good reference for all wikipedia's logo (for now and for future), Please regenerate bnwiki's logo, wordmark & tagline again with this file & update above site. I just want to make sure everyone uses correct bnwiki logo. Thanks in advance. --আফতাবুজ্জামান (talk) 01:31, 6 July 2020 (UTC)

en:User:JDrewniak (WMF)/wiktionaryDefinitionInSearchResults.js[edit]

Hey, if you see this, could you please take a look at your page en:User:JDrewniak (WMF)/wiktionaryDefinitionInSearchResults.js? It's being placed in an error category which I'm trying to clear. --Gonnym (talk) 16:08, 1 September 2020 (UTC)
https://meta.wikimedia.org/wiki/User_talk:JDrewniak_(WMF)
meta.wikimedia.org
crawl=CC-MAIN-2020-50
44163
application/http; msgtype=response
sha1:PFI4O3745CSJMM6FQF4PNBH4DOFD4ZDT
<urn:uuid:13241143-cb94-46a7-a1b2-16a172a43ae4>
2020-12-01T03:16:58Z
208.80.154.224
text/html
sha1:AUDQ2QQLGRSUSIXP4AZZSKZ5D2T3USTG
<urn:uuid:63b3839c-fde1-489d-8b68-3b04b8aa83d4>
https://meta.wikimedia.org/wiki/User_talk:JDrewniak_(WMF)
response
<urn:uuid:9fdcdecc-c94c-4568-9987-00704c4e4b57>
isPartOf: CC-MAIN-2020-50
publisher: Common Crawl
description: Wide crawl of the web for November/December 2020
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-96.ec2.internal
software: Apache Nutch 1.17 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.2-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/