[Wikitech-l] Making our software simple and effective

2015-12-18 Thread Rob Lanphier
Hi folks, One thing we're trying to do as we schedule WikiDev '16 is make sure that sessions are solving for one of five problems. One of the problems I've been trying to figure out how to articulate I think I've finally got some wording around, and I'd like your thoughts. The question: "how do

Re: [Wikitech-l] WMF Discovery/Editing/Reading Showcase 20151214

2015-12-18 Thread Derk-Jan Hartman
I have to say, there is some awesome stuff in there. Nice work everyone ! DJ On Fri, Dec 18, 2015 at 12:33 AM, Adam Baso wrote: > Here's video from the Discovery/Editing/Reading Showcase on > 14-December-2015. Enjoy! > > Commons >

[Wikitech-l] Sharing JS code between NodeJS and browser

2015-12-18 Thread Yuri Astrakhan
For JS gurus - what is the best way to share JavaScript library code between the NodeJS and browser? The shared library will need to use $.extend()-like functionality, URL parsing and reconstructing, and logging. How should the code be organized? What are the recommended tools to automate the

Re: [Wikitech-l] Sharing JS code between NodeJS and browser

2015-12-18 Thread Daniel Friesen
On 2015-12-18 8:41 AM, Trevor Parscal wrote: > Be careful when doing this with NPM modules, as their contents are subject > to change, and only their index file is configured and trying to > automatically know the paths and inclusion order is more of a mad science > than an art. Your best bet

Re: [Wikitech-l] Sharing JS code between NodeJS and browser

2015-12-18 Thread Trevor Parscal
ResourceLoader is happy to ring files to the client from anywhere below the base path you set when creating a file module. If that base path js the root of the extension then you can just put the shared js code in a folder accessible by both node.js and ResoriceLoader, maybe a /lib folder or

Re: [Wikitech-l] Sharing JS code between NodeJS and browser

2015-12-18 Thread Yuri Astrakhan
Trevor and Daniel, thanks for your reply. How would you structure the code that is to be shared? Should it be a separate NPM package, referenced from the extension package.json via git url, and have a small file in the extension's lib/ dir with a oneliner - "require('...')" that browserify

[Wikitech-l] What Wikimedia Research is up to in the next quarter

2015-12-18 Thread Dario Taraborelli
Hey all, I’m glad to announce that the Wikimedia Research team’s goals for the next quarter (January - March 2016) are up on wiki. The Research and Data