Brion VIBBER has submitted this change and it was merged. Change subject: Don't let users type more than 255char long edit summary ......................................................................
Don't let users type more than 255char long edit summary MW actually defines it to be *bytes* not chars, so eventually this needs to be a bit more complicated. But having this now is better than not having it, so... Change-Id: I1e144c7440581ae57717b6fff3893bd4e6b5e467 --- M wikipedia/res/layout/group_edit_summary.xml 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Brion VIBBER: Verified; Looks good to me, approved diff --git a/wikipedia/res/layout/group_edit_summary.xml b/wikipedia/res/layout/group_edit_summary.xml index e45d13d..6ab5c9a 100644 --- a/wikipedia/res/layout/group_edit_summary.xml +++ b/wikipedia/res/layout/group_edit_summary.xml @@ -28,5 +28,6 @@ android:paddingLeft="16dp" android:paddingRight="16dp" android:singleLine="true" + android:maxLength="255" /> </LinearLayout> \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/118198 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1e144c7440581ae57717b6fff3893bd4e6b5e467 Gerrit-PatchSet: 1 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com> Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits