Page MenuHomePhabricator

Spam restriction on thumbnailing restrictive enough I hit it on normal browsing activity
Open, MediumPublic


I browsed a category using an obscure setting ( ) that made it show thumbnails in sizes not previously generated. About half way down I started to get:

<html><head><title>Error generating thumbnail</title></head>
<h1>Error generating thumbnail</h1>
As an anti-spam measure, you are limited from performing this action too many times in a short space of time, and you have exceeded this limit.
Please try again in a few minutes.
<!-- -->
<!-- mw1156 -->

I would expect the "anti-dos" measure to only kick in when doing something significantly more extreme than what could possibly happen during normal browsing.

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:11 AM
bzimport set Reference to bz66109.
bzimport added a subscriber: Unknown Object (MLST).
Bawolff created this task.Jun 4 2014, 3:08 AM
Tgr added a comment.Jun 4 2014, 6:05 PM

That's set by [[mw:Manual:$wgRateLimits]]. WMF setting is

'renderfile' => array(
    // 1400 new thumbnails per minute
    'ip'   => array( 700, 30 ),
    'user' => array( 700, 30 ),
'renderfile-nonstandard' => array(
    // 140 new thumbnails per minute
    'ip'   => array( 70, 30 ),
    'user' => array( 70, 30 ),

Given that categories show 200 images by default, maybe we should bump the nonstandard limit to 200/60?

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:31 PM
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:31 PM
matmarex set Security to None.
matmarex removed a subscriber: wikibugs-l-list.