[Bug 29455] Add support for a filter callback function in jQuery byteLimit plugin

2012-01-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29455

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC|krinklem...@gmail.com   |
 Resolution||FIXED
   Target Milestone|--- |1.19.0 release

--- Comment #4 from Krinkle krinklem...@gmail.com 2012-01-02 15:31:24 UTC ---
Fixed in r94066.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29455] Add support for a filter callback function in jQuery byteLimit plugin

2012-01-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29455

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 Blocks|29454   |

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29455] Add support for a filter callback function in jQuery byteLimit plugin

2011-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29455

Krinkle krinklem...@gmail.com changed:

   What|Removed |Added

 CC||krinklem...@gmail.com

--- Comment #3 from Krinkle krinklem...@gmail.com 2011-06-21 17:55:14 UTC ---
The callback would called on the text that byteLength is currently processing.
At, say, line 48 [1]

The example use case for bug 29454 would be filtering away a namespace prefix,
so that the limit enforces only part of the input and not the entire html input
field. That way we are enforcing 255 bytes on page_title to the front-end.
Right now this would require moving the namespace to a seperate input field.

--
Krinkle


http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/resources/jquery/jquery.byteLimit.js?revision=86982view=markup#l48


PS: Come to think of it, creating a dropdown menu with namespaces on
Special:Move and having only the page title in the input field does sound like
a good thing to do...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29455] Add support for a filter callback function in jQuery byteLimit plugin

2011-06-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29455

Mark A. Hershberger m...@everybody.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
 CC||m...@everybody.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29455] Add support for a filter callback function in jQuery byteLimit plugin

2011-06-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29455

--- Comment #1 from Brion Vibber br...@wikimedia.org 2011-06-17 16:57:10 UTC 
---
Presumably callback would ping on too much stuff, ain't gonna add more; would
it just notify or would it try to pass in some kind of specific information?

Last I looked, the byteLimit thing only operates on keypress or some such, so
it also may need to be expanded to handle paste and other kinds of operations,
which presumably wouldn't have key or character values to pass through in the
same way.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29455] Add support for a filter callback function in jQuery byteLimit plugin

2011-06-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29455

--- Comment #2 from Brion Vibber br...@wikimedia.org 2011-06-17 17:54:09 UTC 
---
Ok, bug 29454 seems to request some way to filter the input string before the
length check...? Would that cover the text before the new change, or after?
Some newly added strings would make the string longer, while others might not.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l