[Wikitech-l] Setting up a new Tomcat servlet in production?

2016-10-17 Thread Adam Wight
Friends,

I'm helping review a tool 
that I understand Wikimedia Taiwan is eager to use, which uses a parser
hook to render ideographic description characters

into PNG glyphs in order to display historic or rare characters which
aren't covered by Unicode.  It's very cool.

The challenges are first that it's based on a Tomcat backend
,
which I'm not sure is precedented in our current ecosystem, and second that
the code uses Chinese variable and function names, which should
unfortunately be Anglicized by convention, AIUI.  Finally, there might be
security issues around the rendered text itself, if it were misused to mask
content.

I'm mostly asking this list for help with the question of using Tomcat in
production.

Thanks,
Adam
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Setting up a new Tomcat servlet in production?

2016-10-17 Thread MZMcBride
Wikitech-l on behalf of Adam Wight wrote:
>The challenges are first that it's based on a Tomcat backend [...]
>which I'm not sure is precedented in our current ecosystem, and second
>that the code uses Chinese variable and function names, which should
>unfortunately be Anglicized by convention, AIUI.  Finally, there might be
>security issues around the rendered text itself, if it were misused to
>mask content.
>
>I'm mostly asking this list for help with the question of using Tomcat in
>production.

I'm reminded of Hierator, which I believe never made it into production
but had a clear implementation path. Some potentially interesting links:

* https://www.mediawiki.org/wiki/Requests_for_comment/Hierator
* https://phabricator.wikimedia.org/T89331#1537849

MZMcBride



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Wikimedia Developer Summit Weekly

2016-10-17 Thread Quim Gil
Source and more links: https://www.mediawiki.org/wiki/Topic:Td5wfd70vptn8eu4

The Wikimedia Developer Summit 2017 is 12 weeks away!

PARTICIPANTS

50 participants confirmed.
42 more people have requested an invitation.
29 of them have requested travel sponsorship as well.

Join us ! The
deadline to request travel sponsorship is Monday, October 24th.

PROPOSALS

13 proposals submitted


0 in backlog
4 in Unconference
3 missing basic information
3 missing active discussion
3 to be pre-scheduled

Call for participation
.
The deadline for submitting new proposals is Monday, October 31.

MAIN TOPICS

Program


On track:

A plan for the Community Wishlist 2016 top results
Building on Wikimedia services: APIs and Developer Resources (T147593)
How to manage our technical debt (T147937)

Missing basic information

A unified vision for editorial collaboration
Building a sustainable user experience together
How to grow our technical community (T147406)

Missing two facilitators

A unified vision for editorial collaboration
How to grow our technical community

Missing one facilitator

Handling wiki content beyond plaintext (T147602)
Building a sustainable user experience together
Artificial Intelligence to build and navigate content (T147708)

ORGANIZATION

Promote the Wikimedia Developer Summit beyond the usual circles.


--
Quim Gil
Engineering Community Manager @ Wikimedia Foundation
http://www.mediawiki.org/wiki/User:Qgil
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Wikimedia Developer Summit Weekly

2016-10-17 Thread Florian Schmidt
Hi Quim,

thanks for the weekly!

One difference between the last weekly: You now mentioned "confirmed" 
participant. However, it seems I'm not informed about what "confirmed" means, 
and what I've to do to be confirmed :P Do I get an e-mail or do I need to do 
something (apart from requesting an invitation)?

One more question: "29 of them have requested travel sponsorship as well" 
means, that 29 of the 42 or of the 50? :)

Thanks for your answer! :)

Best,
Florian

-Original-Nachricht-
Betreff: Re: [Wikitech-l] Wikimedia Developer Summit Weekly
Datum: 2016-10-17T13:32:28+0200
Von: "Quim Gil" 
An: "Wikimedia developers" 

Source and more links: https://www.mediawiki.org/wiki/Topic:Td5wfd70vptn8eu4

The Wikimedia Developer Summit 2017 is 12 weeks away!

PARTICIPANTS

50 participants confirmed.
42 more people have requested an invitation.
29 of them have requested travel sponsorship as well.

Join us ! The
deadline to request travel sponsorship is Monday, October 24th.

PROPOSALS

13 proposals submitted


0 in backlog
4 in Unconference
3 missing basic information
3 missing active discussion
3 to be pre-scheduled

Call for participation
.
The deadline for submitting new proposals is Monday, October 31.

MAIN TOPICS

Program


On track:

A plan for the Community Wishlist 2016 top results
Building on Wikimedia services: APIs and Developer Resources (T147593)
How to manage our technical debt (T147937)

Missing basic information

A unified vision for editorial collaboration
Building a sustainable user experience together
How to grow our technical community (T147406)

Missing two facilitators

A unified vision for editorial collaboration
How to grow our technical community

Missing one facilitator

Handling wiki content beyond plaintext (T147602)
Building a sustainable user experience together
Artificial Intelligence to build and navigate content (T147708)

ORGANIZATION

Promote the Wikimedia Developer Summit beyond the usual circles.


--
Quim Gil
Engineering Community Manager @ Wikimedia Foundation
http://www.mediawiki.org/wiki/User:Qgil
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] [Deadline] Outreachy-13 prospective applicants

2016-10-17 Thread Tony Thomas
Hello all,

This is a humble reminder that the deadline to apply for Outreachy, by
having your application and proposal in its portal at outreachy.gnome.org
expires in 3 hours. The deadline is: October 17 7PM UTC

In case there are any technical issues with the portal, please mail the
Outreachy mailing list directly at outreachy-l...@gnome.org, as there are
some problems showing up with attachments, etc.

In case you are looking for help from the Wikimedia side, feel free to open
up a conpherence https://phabricator.wikimedia.org/conpherence/ with the
org admins (Sumit, me) or your mentors.

Thanks,
Tony Thomas 
Home  | Blog  |
ThinkFOSS 


On Fri, Oct 14, 2016 at 9:49 PM, Sumit Asthana 
wrote:

> Dear Outreachy applicants,
>
> The deadline to submit Outreachy-13[0] proposals at[1] is October 17 7PM
> UTC. Please make sure that your initial draft is submitted before that
> deadline.
>
> The application can be edited till sometime afterwards. If not made
> initial contributions yet, kindly get in touch with project mentors and
> make initial contributions to projects of your interest or some part of
> MediaWiki soon and continue to work towards the proposal. This will make
> you a *strong* candidate for the project and help the mentors in the
> selection process.
>
> To start with initial contributions, set up your dev environment[2] and
> read the complete beginner's guide[3].
>
> For anything else just ask :)
>
> [0] - https://www.mediawiki.org/wiki/Outreachy/Round_13
> [1] - https://outreachy.gnome.org/?q=program_home&prg=7
> [2] - https://www.mediawiki.org/wiki/Gerrit/Tutorial
> [3] - https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker
> --
> -Thanks,
> Sumit 
>
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Wikimedia Developer Summit Weekly

2016-10-17 Thread Quim Gil
Hi Florian,

On Mon, Oct 17, 2016 at 3:42 PM, Florian Schmidt <
florian.schmidt.wel...@t-online.de> wrote:

> Hi Quim,
>
> thanks for the weekly!
>

I'm glad you find it useful.  :)


>
> One difference between the last weekly: You now mentioned "confirmed"
> participant. However, it seems I'm not informed about what "confirmed"
> means, and what I've to do to be confirmed :P Do I get an e-mail or do I
> need to do something (apart from requesting an invitation)?
>

Some people got already a confirmation via email. Their common denominator
is that they didn't need any travel sponsorship.

We plan to evaluate sponsorship requests right after the deadline is closed
next Monday, and we hope to send most resolutions in the following days.



> One more question: "29 of them have requested travel sponsorship as well"
> means, that 29 of the 42 or of the 50? :)
>

Of the 42. I was actually wondering whether I should indent that line, but
I went for visual simplicity.  :)


>
> Thanks for your answer! :)
>
> Best,
> Florian
>
> -Original-Nachricht-
> Betreff: Re: [Wikitech-l] Wikimedia Developer Summit Weekly
> Datum: 2016-10-17T13:32:28+0200
> Von: "Quim Gil" 
> An: "Wikimedia developers" 
>
> Source and more links: https://www.mediawiki.org/
> wiki/Topic:Td5wfd70vptn8eu4
>
> The Wikimedia Developer Summit 2017 is 12 weeks away!
>
> PARTICIPANTS
>
> 50 participants confirmed.
> 42 more people have requested an invitation.
> 29 of them have requested travel sponsorship as well.
>
> Join us ! The
> deadline to request travel sponsorship is Monday, October 24th.
>
> PROPOSALS
>
> 13 proposals submitted
> 
>
> 0 in backlog
> 4 in Unconference
> 3 missing basic information
> 3 missing active discussion
> 3 to be pre-scheduled
>
> Call for participation
>  Summit/Call_for_participation>.
> The deadline for submitting new proposals is Monday, October 31.
>
> MAIN TOPICS
>
> Program
> 
>
> On track:
>
> A plan for the Community Wishlist 2016 top results
> Building on Wikimedia services: APIs and Developer Resources (T147593)
> How to manage our technical debt (T147937)
>
> Missing basic information
>
> A unified vision for editorial collaboration
> Building a sustainable user experience together
> How to grow our technical community (T147406)
>
> Missing two facilitators
>
> A unified vision for editorial collaboration
> How to grow our technical community
>
> Missing one facilitator
>
> Handling wiki content beyond plaintext (T147602)
> Building a sustainable user experience together
> Artificial Intelligence to build and navigate content (T147708)
>
> ORGANIZATION
>
> Promote the Wikimedia Developer Summit beyond the usual circles.
> 
>
> --
> Quim Gil
> Engineering Community Manager @ Wikimedia Foundation
> http://www.mediawiki.org/wiki/User:Qgil
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l




-- 
Quim Gil
Engineering Community Manager @ Wikimedia Foundation
http://www.mediawiki.org/wiki/User:Qgil
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Setting up a new Tomcat servlet in production?

2016-10-17 Thread Chad
On Mon, Oct 17, 2016 at 5:14 AM Adam Wight  wrote:

> The challenges are first that it's based on a Tomcat backend
> <
> https://github.com/Wikimedia-TW/han3_ji7_tsoo1_kian3_WM/blob/master/src/idsrend/services/IDSrendServlet.java
> >,
> which I'm not sure is precedented in our current ecosystem, and second that
> the code uses Chinese variable and function names, which should
> unfortunately be Anglicized by convention, AIUI.  Finally, there might be
> security issues around the rendered text itself, if it were misused to mask
> content.
>
> I'm mostly asking this list for help with the question of using Tomcat in
> production.
>
>
So we don't use Tomcat anywhere right now, so yeah that's unprecedented.
I did attempt it awhile back for Gerrit (like, years ago), but I found
Tomcat
to be a huge pain in the butt for basically no gain (in that case).

It's not impossible--there's packages and all that fun stuff for Tomcat and
related tooling--but I think that Tomcat generally isn't worth the overhead
and maintenance burden for a single service.

-Chad
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] Community Tech: Status report on Wishlist progress

2016-10-17 Thread Danny Horn
Hi everyone,

The WMF Community Tech team is starting to wrap up our work on this year's
Community Wishlist projects, as we prepare for the new Community Wishlist
Survey starting in November.

We've got a new Status report to share, with an update on the work that's
been done this year on the Community Wishlist:

https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey/Status_report_3

Here's a quick overview for the top 10 --

COMPLETED WORK on 5 wishes:

* Wish #1: Migrate dead external links to archives, with volunteer dev
Cyberpower678 -- currently on English Wikipedia, other languages coming

* Wish #2: Improved diff comparisons, by WMF developer MaxSem, live on all
wikis

* Wish #5: Numerical sorting in categories, currently on English, Swedish
and Macedonian Wikipedias, more languages coming soon

* Wish #7: Pageview stats tool, live on all wikis

* Wish #9: Improve the plagiarism detection bot, with volunteer dev Eran --
currently on  English Wikipedia, other languages coming

CURRENTLY WORKING on 1 wish:

* Wish #4: Cross-wiki watchlist, currently in progress

OTHER TEAMS ARE WORKING on 2 wishes:

* Wish #3: Central repository for gadgets, templates and Lua modules,
foundational work is underway by Legoktm

* Wish #6: Allow categories in Commons in all languages, related work is
underway by the Wikidata team

DECLINED 2 wishes:

* Wish #8: Global cross-wiki talk page

* Wish #10: Add a user watchlist

There's lots of information on the top 10, plus the work being done by
WMDE's Technical Wishes team and the Technical Collaboration team, on the
Status report page:

https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey/Status_report_3

And we hope that everyone will come and participate in the 2nd annual
Community Wishlist Survey, starting November 7th!

https://meta.wikimedia.org/wiki/2016_Community_Wishlist_Survey

See you soon,

-- Danny

DannyH (WMF)
Senior Product Manager
WMF Community Tech Team
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Need review on ContentHandler implementation, Newsletter extension

2016-10-17 Thread Aaron Schulz
You can add me to the patch. I might be able to get around to looking at
it this week.

On Sat, Oct 15, 2016 at 11:47 AM, Tony Thomas <01tonytho...@gmail.com>
wrote:

> PIng again on this one, as we need review on
> https://gerrit.wikimedia.org/r/#/c/304692, which is 2/3 of the shift to
> ContentHandler patchsets.
>
> Thanks to Legoktm, for reviewing the first one though. Its been a while
> since the changes were posted (Aug 14), and super large
> https://gerrit.wikimedia.org/r/#/c/295670/ was abandoned and split into
> three:
>
> [x] https://gerrit.wikimedia.org/r/#/c/303984
> [ ] https://gerrit.wikimedia.org/r/#/c/304692/ and
> [ ] https://gerrit.wikimedia.org/r/#/c/309849/
>
> The tracking phab task is https://phabricator.wikimedia.org/T138462, which
> was a GSoC 2015 project (its been almost 1 year)!
>
> Thanks,
> Tony Thomas 
> Home  | Blog 
> |
> ThinkFOSS 
>
>
> On Sat, Jul 16, 2016 at 6:08 PM, Tony Thomas <01tonytho...@gmail.com>
> wrote:
>
> > Hello all,
> >
> > We have a patch https://gerrit.wikimedia.org/r/#/c/295670/, which had
> its
> > last review almost 28 days back, and is a major blocker for the
> deployment
> > of Newsletter extension in production. The shift is tracked at
> T138462[1].
> >
> > The patch is bit lengthy, and enable the extension to use ContentHandler,
> > which help us use a lot of in-wiki features. I had pulled the change to
> the
> > labs wiki at http://newsletter-test.wmflabs.org/, which is broken as of
> > now, tracked in T138686[2].
> >
> > It would be great if you devs can take a look at both the labs instance
> > and the contenthandler change.
> >
> > [1] https://phabricator.wikimedia.org/T138462
> > [1] https://phabricator.wikimedia.org/T138686
> >
> > Thanks,
> > Tony Thomas 
> > Home  | Blog  |
> > ThinkFOSS 
> >
> >
> ___
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



-- 
-Aaron
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

[Wikitech-l] 2016W42 ArchCom-RFC meeting: Surveying Cookie/Local Storage Use

2016-10-17 Thread Rob Lanphier
Hi all,

At this week's ArchCom Office hour, we'd like to help the WMF Legal
team ensure our software development practices don't accidentally
cause us to enable all sorts of creepy surveillance because a naive
developer adds it.  The challenge, of course, is when the royal "we"
accidentally add something, and then we deploy it (because that's a
pretty routine thing these days).  Sometimes, no amount of begging "NO
WAIT, WE DIDN'T *MEAN* TO DO THAT" (no matter how sincere) can undo
the damage done.  Wikimedia seems to have a pretty good reputation in
the grand scheme of things, but maintaining that reputation is going
to take a lot of vigilance.

Zhou Zhou filed an RFC about this:



...which seems like a good topic for our Wednesday meeting[1].  Zhou
is hoping to figure out how to build the alerts necessary to
understand when some new form of tracking is created.  I'm guessing
there's lots of automated and semi-automated monitoring that we could
create to make keeping track of new cookie uses easier; let's talk
about what's realistic, what WMF needs to invest in directly,  and how
our wider community of developers can chip in.

Our meeting is at its usual time (Wednesday 21 UTC, 14 PDT, 23 CEST)
and place (#wikimedia-office).

Rob

p.s.  Obligatory reminder about ArchComStatus page[2]

[1]: 
[2]: 

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l