Update more forms to limit comments by codepoints rather than bytes
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 26 Feb 2018 18:07:11 +0000 (13:07 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 26 Feb 2018 18:16:19 +0000 (13:16 -0500)
commitccc1c08089b6596bc20f6d88db1909f57fab2498
tree50fdedbceb45f862c35348ddc3492fe3e289f9e2
parent1eed79bf865cf638bd00d2c85cde6dfbbc9bc54d
Update more forms to limit comments by codepoints rather than bytes

This updates the deletion forms, Special:Block, Special:EditTags,
Special:MovePage, Special:RevisionDelete, Special:Undelete, and
Special:UserRights to limit by code point count rather than by byte (or,
in some cases, by UTF-16 code unit).

Bug: T185948
Change-Id: I20d11d7cc4f58902cbcb6dda70af533bce6dd170
18 files changed:
includes/FileDeleteForm.php
includes/htmlform/fields/HTMLSelectAndOtherField.php
includes/page/Article.php
includes/specials/SpecialBlock.php
includes/specials/SpecialEditTags.php
includes/specials/SpecialMovepage.php
includes/specials/SpecialRevisiondelete.php
includes/specials/SpecialUndelete.php
includes/specials/SpecialUserrights.php
resources/Resources.php
resources/src/mediawiki.action/mediawiki.action.delete.file.js [new file with mode: 0644]
resources/src/mediawiki.action/mediawiki.action.delete.js [new file with mode: 0644]
resources/src/mediawiki.special/mediawiki.special.edittags.js
resources/src/mediawiki.special/mediawiki.special.movePage.js
resources/src/mediawiki.special/mediawiki.special.revisionDelete.js [new file with mode: 0644]
resources/src/mediawiki.special/mediawiki.special.undelete.js
resources/src/mediawiki.special/mediawiki.special.userrights.js
resources/src/mediawiki/htmlform/selectandother.js