Re: [Wikitech-l] [Engineering] Code of conduct

2015-08-27 Thread Matthew Flaschen
On 08/24/2015 02:44 PM, Brian Wolff wrote: The "I remembered having my butt pinched, my breasts 'accidentally touched'" part would seem to fall under the proposed policy. As is "unwanted attention", even if verbal, and "sustained disruption, interruption", which would be applicable if people a

Re: [Wikitech-l] [Engineering] Code of conduct

2015-08-27 Thread Matthew Flaschen
On 08/22/2015 10:52 PM, Risker wrote: Perhaps more importantlywho were the local contacts at Hackathon 2015? I can't even dig that one up in the event documentation. A policy that exists but has no clear or visible support isn't worth the bytes it's written with. This is a good point. The

Re: [Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-27 Thread James Forrester
On 27 August 2015 at 06:54, florian.schmidt.wel...@t-online.de < florian.schmidt.wel...@t-online.de> wrote: > A VE save could be recognized with the postEdit hook[1] in JavaScript: > > mw.hook( 'postEdit' ).add( > // your function > ); > > Remember, that this hook is also fired after a "normal

Re: [Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-27 Thread James Forrester
On 27 August 2015 at 05:59, Robert Vogel wrote: > Hi! > > James, Florian, thank you for your responses! This will be very useful for > me. > > I didn't have the time to look through all of Florian's links, so maybe > it's somewhere in there, but, James, can you give me a hint how to register > a

[Wikitech-l] Wikidata API breaking changes

2015-08-27 Thread Addshore
Hi all! We have some breaking API changes that will soon be deployed to wikidata.org. The deployment date should be: 9th September 2015 (just under 2 weeks) The change making the breaks an be found at: https://gerrit.wikimedia.org/r/#/c/227686/ The breaking changes are: - XML output alia

Re: [Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-27 Thread florian.schmidt.wel...@t-online.de
A VE save could be recognized with the postEdit hook[1] in JavaScript: mw.hook( 'postEdit' ).add( // your function ); Remember, that this hook is also fired after a "normal" save (via the Wikitext editor)[2]. [1] https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/44ad75746

Re: [Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-27 Thread Daren Welsh
I'm also interested in this kind of information. Right now I'm specifically interested in what I can use as an equivalent to a hook for when a user saves a page revision using VE. I'm working on an extension that logs user actions (and does more with that information). I have figured out how to pla

Re: [Wikitech-l] Tutorials / HowTos for VisualEditor

2015-08-27 Thread Robert Vogel
Hi! James, Florian, thank you for your responses! This will be very useful for me. I didn't have the time to look through all of Florian's links, so maybe it's somewhere in there, but, James, can you give me a hint how to register a tool with visual editor? What is the recommended time/callback