User talk:JDrewniak (WMF)
Add topicWelcome 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)
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)
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)