Last modified: 2013-07-25 20:00:17 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 T31454, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29454 - Enforce byteLimit for page title input on Special:MovePage
Enforce byteLimit for page title input on Special:MovePage
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal normal (vote)
: 1.19.0 release
Assigned To: Krinkle
:
Depends on: 29397
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-17 14:53 UTC by Krinkle
Modified: 2013-07-25 20:00 UTC (History)
5 users (show)

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


Attachments

Description Krinkle 2011-06-17 14:53:48 UTC
This was done in r87808 and reverted in r90257.

In order to do this properly:
- Implement a callback ability in jQuery.fn.byteLimit
- Re-do r87808 in mediawiki.special.movePage.js, but with a callback function this time filtering the input down to the "main" portion without the namespace prefix.
-- getting the name without namespace prefix is easy with mw.Title
Comment 1 Krinkle 2012-01-02 15:34:12 UTC
Removing dependency on bug 29455. As mentioned in bug 29455 comment 3.

It's probably best to create a dropdown menu in front of the title input. That way the title input can be limited to the maximum number of bytes for page_title without going through strange hoops to substract the namespace in different variations.

Then we'd still use JavaScript to enfoce the byteLimit (since HTML validation only supports character limit).
Comment 2 Krinkle 2012-01-28 16:26:31 UTC
Fixed in r110209.

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


Navigation
Links