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 | Norfuk / Pitkern | polski | português | português do Brasil | پښتو | Runa Simi | română | русский | संस्कृतम् | sicilianu | سنڌي | Taclḥit | සිංහල | 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)Reply[reply]

IRC cloak[edit]

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

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)Reply[reply]

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)Reply[reply]
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)Reply[reply]

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)Reply[reply]

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

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)Reply[reply]

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)Reply[reply]

Done. JDrewniak (WMF) (talk) 08:55, 26 January 2021 (UTC)Reply[reply]

Strona główna[edit]

Hej! Czy mógłbyś zrobić aktualizację https://www.wikipedia.org/ ? Chodzi głównie o 1,5 mln artykułów na wiki-pl, ale inne wersje też nie próżnują, a ich dane można poprawić. Pzdr Sidevar (talk) 21:37, 24 January 2022 (UTC)Reply[reply]

Please take a look at my comment on Phabricator![edit]

Hello, sorry to interrupt you, but could you please take a look at my comment on Phabricator? Thank you.--Diskdance (talk) 08:33, 12 June 2022 (UTC)Reply[reply]