Merge "Use {{int:}} on MediaWiki:Blockedtext and MediaWiki:Autoblockedtext"
[lhc/web/wiklou.git] / includes / CommentStore.php
index 8447b2c..e9b08e8 100644 (file)
@@ -34,7 +34,7 @@ class CommentStore {
         * Maximum length of a comment in UTF-8 characters. Longer comments will be truncated.
         * @note This must be at least 255 and not greater than floor( MAX_COMMENT_LENGTH / 4 ).
         */
-       const COMMENT_CHARACTER_LIMIT = 1000;
+       const COMMENT_CHARACTER_LIMIT = 500;
 
        /**
         * Maximum length of a comment in bytes. Longer comments will be truncated.
@@ -134,7 +134,7 @@ class CommentStore {
        /**
         * Compat method allowing use of self::newKey until removed.
         * @param string|null $methodKey
-        * @throw InvalidArgumentException
+        * @throws InvalidArgumentException
         * @return string
         */
        private function getKey( $methodKey = null ) {