Page MenuHomePhabricator

OH-AFT: Possible to enter feedback of >5,000 characters
Closed, DeclinedPublic

Description

Author: wikimedia-bz

Description:
Description: It's possible to successfully submit feedback of more than 5,000 characters by copy/pasting into the feedback dialog and immediately hitting "Post your feedback".

Platforms: reproduced on both Iceweasel 3.5.16/Debian Squeeze and Google Chrome 19.0.1084.56 m/WinXP.

Reproduction:

  1. Prepare a text document of >5,000 characters. (In this example, I used the lyrics to "I Am the Very Model of a Modern Major-General", repeated three times, for a total of about 6,500 characters. http://en.wikipedia.org/wiki/Major-General%27s_Song )
  2. Navigate to a page with AFTv5 enabled, such as http://en.wikipedia.org/wiki/Golden-crowned_Sparrow?aftv5_form=1&aftv5_link=E
  3. Click the "Yes" button to indicate you found what you were looking for.
  4. Copy the text of the document and paste it into the feedback form.
  5. Without further modifying the text in any way, click the "Post your feedback" button.

Observed result: The feedback is accepted and posted.

Expected result: Feedback of greater than 5,000 characters is rejected with an error message to the user.


Version: unspecified
Severity: minor

Details

Reference
bz37438

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:23 AM
bzimport set Reference to bz37438.
bzimport added a subscriber: Unknown Object (MLST).

sumanah wrote:

*** Bug 37439 has been marked as a duplicate of this bug. ***

(In reply to comment #0)

Expected result: Feedback of greater than 5,000 characters is rejected with
an error message to the user.

Why? Is there a specification somewhere that this should happen?

wikimedia-bz wrote:

(In reply to comment #2)

Expected result: Feedback of greater than 5,000 characters is rejected with
an error message to the user.

Why? Is there a specification somewhere that this should happen?

Fair point! The Feature Requirements page says only:

] Comments can be as long as 5,000 characters (no countdown will be
] shown for now, but we will simply not allow the user to type any
] more text beyond that limit)

http://www.mediawiki.org/wiki/Article_feedback/Version_5/Feature_Requirements

As already suggested in previous comments, there's not really a point in actively blocking really long content. The "character limit" is more intended to make sure people try to keep their feedback brief, concise.
That said, if people were looking to actively block huge comments, an AbuseFilter could easily created for this.