Last modified: 2011-07-10 20:23:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30650, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28650 - Create a reusable byteLimit utlity for dynamic maxlength of input fields
Create a reusable byteLimit utlity for dynamic maxlength of input fields
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.18.x
All All
: Normal normal (vote)
: ---
Assigned To: Jan Paul Posma
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-21 19:52 UTC by Umherirrender
Modified: 2011-07-10 20:23 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Fix (4.77 KB, patch)
2011-04-22 10:52 UTC, Jan Paul Posma
Details

Description Umherirrender 2011-04-21 19:52:05 UTC
The editsummary has a dynamic maxlength due to js. This is hardcoded in mediawiki.action.edit.js.

I think it is better to make it reusable, so other input fields and extensions can use the same piece of code. Maybe make a module for the resourceloader.

Thanks.
Comment 1 Roan Kattouw 2011-04-21 21:53:08 UTC
Yeah, this should be made a jQuery plugin.
Comment 2 Jan Paul Posma 2011-04-22 10:23:00 UTC
I'll do this.
Comment 3 Jan Paul Posma 2011-04-22 10:52:38 UTC
Created attachment 8440 [details]
Fix

This should do the trick.
Comment 4 Roan Kattouw 2011-04-22 10:59:17 UTC
Patch applied in r86698, thanks.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links