Re: sudden spike in wiki registrations
| From: | Ferenc Kovacs | Date: | Mon, 11 Jul 2011 21:23:33 +0000 |
| Subject: | Re: sudden spike in wiki registrations | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Groups: | php.internals php.webmaster |
| Request: | Send a blank email to internals+get-53893@lists.php.net to get a copy of this message | ||
On Mon, Jul 11, 2011 at 11:09 PM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> On Mon, Jul 11, 2011 at 22:13, Ferenc Kovacs <tyra3l@gmail.com> wrote:
>>> Stas means when we print who has voted, to only print votes by people
>>> in that group so you won't need to manually filter out
>>> not-allowed-to-vote votes.
>>>
>>> -Hannes
>>>
>>
>> I see.
>> if you only need the @php.net usernames, you can use the
>> https://master.php.net/fetch/allusers.php api with the
>> proper token,
>> or https://bugs.php.net/js/userlisting.php without it.
>
> Or just ask the internal wiki api if the username is in the phpcvs/voted group.
> No need to make it complicated.
oh, I didn't though of that, as this is how my patch works (albeit
only for the new votes, but still). :)
>
> The whole idea of this sort of workaround is however very silly to me.
thanks for sharing, this kind of comments which keeps me contributing ;)
ps:
"The current vote still needs to be reviewed manually anyway, so I
really don't understand the need for a quick hack at this time.
Cooperating with the plugin authors on how to implement better checks
there would imo make much more sense."
I did this because it seems that some people use the current situation
(that technically anybody can vote) as a cannon fodder for some
personal arguments.
the patch is as clean as it can be, and I asked you and others to
review it before applying.
of course the plugin author could do a better job, feel free to revert
mine if we ever got that.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu