Re: [Cloud] Finding tags in wiki text?

2018-02-10 Thread Roy Smith
Hmmm, I see one way to do this. I can use tag.span to get the start and end index of the tag, then check that any text between the start of this one and the end of the previous one is empty. Or maybe only contains whitespace? It also looks like you don’t get the tags in any useful order, but

[Cloud] Finding tags in wiki text?

2018-02-10 Thread Roy Smith
I want to write a tool which checks that you are consistent about ordering of tags. For example, if I did: > The sky is blue. > The grass is green. This would get rendered as: > The sky is blue.[1][2] The grass is green.[2][1] When what you want is: > The sky is blue.[1][2] The grass is

Re: [Cloud] Collect user's mail

2018-02-10 Thread Martin Urbanec
Ad IFTTT) Super idea, didn't know that Wikipedia is an trigger in this service :D. They want article that is marked as article of the week (cs.wiki do not have article of the day). Martin so 10. 2. 2018 v 19:10 odesílatel Nick Wilson (Quiddity) < nwil...@wikimedia.org> napsal: > On Sat, Feb 10,

Re: [Cloud] Collect user's mail

2018-02-10 Thread Nick Wilson (Quiddity)
On Sat, Feb 10, 2018 at 3:26 AM, Martin Urbanec wrote: > Hello, > > upon request at Czech Wikipedia's helpdesk I created a tool that sends > notifications about new weekly articles by e-mail together with its first > paragraph and link to it. You could also

Re: [Cloud] Collect user's mail

2018-02-10 Thread Kunal Mehta
Hi, On 02/10/2018 03:26 AM, Martin Urbanec wrote: > My question is: Is this okay? Should I add some kind of formal > information to the tool? If so, is there some help page? Should I stop > with collecting mails at all and use some WMF-maintained service for > mass-emailing (mailman at

Re: [Cloud] Collect user's mail

2018-02-10 Thread Maximilian Doerr
Ah. Then no there isn’t a problem. Just keep wherever it’s saved secure, allow the user to delete their info at any time and disclose that this information is stored to the users. https://tools.wmflabs.org/iabot does this in the user preferences. Cyberpower678 English Wikipedia Account

Re: [Cloud] Collect user's mail

2018-02-10 Thread Martin Urbanec
Repeating myself: A) having an email address in your account isn't required for editing B) what if I don't have an account? M. so 10. 2. 2018 v 16:57 odesílatel Maximilian Doerr < maximilian.do...@gmail.com> napsal: > Why not just make use of the Special:EmailUser function? > > Cyberpower678 >

Re: [Cloud] Collect user's mail

2018-02-10 Thread Maximilian Doerr
Why not just make use of the Special:EmailUser function? Cyberpower678 English Wikipedia Account Creation Team English Wikipedia Administrator Global User Renamer > On Feb 10, 2018, at 06:26, Martin Urbanec wrote: > > Hello, > > upon request at Czech Wikipedia's

Re: [Cloud] Collect user's mail

2018-02-10 Thread Francisco Venancio
"I don't need to have the emails but what if somebody w/o account at WP would like to use this?" They can create an account? Tools should serve Wikimedia users, personally I don't see an account as undue burden on them. "Well, username is *also* a private information according the page

Re: [Cloud] Collect user's mail

2018-02-10 Thread Martin Urbanec
Well, username is *also* a private information according the page MarcoAurelio linked, so I would need to solve it anyway. I don't need to have the emails but what if somebody w/o account at WP would like to use this? M. so 10. 2. 2018 v 13:37 odesílatel Francisco Venancio <

Re: [Cloud] Collect user's mail

2018-02-10 Thread Guilherme Gonçalves
Hi Martin, I'm not authoritative on PII policies at all, but here's a couple of things that came to mind as I read your question. 2018-02-10 11:26 GMT+00:00 Martin Urbanec : > To prevent this tool from spamming I of course require its confirmation by > accessing an

Re: [Cloud] Collect user's mail

2018-02-10 Thread Martin Urbanec
Warning added, thanks for link. Martin so 10. 2. 2018 v 12:36 odesílatel MarcoAurelio napsal: > I'd say that you should display < > https://wikitech.wikimedia.org/wiki/Wikitech:Labs_Terms_of_use#If_my_tools_collect_Private_Information...> > *before* you collect that private

Re: [Cloud] Collect user's mail

2018-02-10 Thread MarcoAurelio
I'd say that you should display < https://wikitech.wikimedia.org/wiki/Wikitech:Labs_Terms_of_use#If_my_tools_collect_Private_Information...> *before* you collect that private information. It's true that email addresses are not listed in that page as private information, but EU-wide email addresses

[Cloud] Collect user's mail

2018-02-10 Thread Martin Urbanec
Hello, upon request at Czech Wikipedia's helpdesk I created a tool that sends notifications about new weekly articles by e-mail together with its first paragraph and link to it. To accomplish such a thing I need user's email, so I firstly decided to store it in a database. To prevent this tool