wiki.techinc.nl/tests/phpunit/includes
Brad Jorsch 5c228f5a18 Have CommentStore limit the maximum character length of comments
I92954c9 accidentally allowed comments, when CommentStore is enabled, to
be the full 65535 bytes available in the database field. This was never
intended.

There is not yet any consensus in T6714 or T6715 on just how long the
longer comments should be, for now we'll set 1000 because Tim says so.
Note this doesn't change the UI to actually allow more characters and
will only take effect once $wgCommentTableSchemaMigrationStage is raised
above MIGRATION_OLD.

Note this also doesn't make the limit configurable. That too can be done
later if needed, again along with whatever changes are necessary to the
UI to account for a variable limit.

Change-Id: I7e0c55619210ebab467436f0bb915271c0a7ccdc
2017-10-10 20:59:52 -04:00
..
actions
api Merge "Fix inability of fetching message object" 2017-10-05 13:57:29 +00:00
auth build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-25 17:31:56 +02:00
cache
changes RCFilters: Allows specifying default highlights from the server 2017-10-04 13:51:23 -07:00
changetags Add unit tests for ChangeTags::modifyDisplayQuery() 2017-07-24 23:54:07 +00:00
collation Do not run CollationFaTest if 'intl' is not loaded 2017-09-16 16:30:18 -04:00
composer
config EtcdConfig: allow slashes in config key names 2017-09-01 13:42:28 +10:00
content Improve namespace handling in tests 2017-09-29 05:21:47 +00:00
context
db Improve some parameter docs 2017-09-10 20:32:31 +02:00
debug Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
deferred Add comment table and code to start using it 2017-08-30 15:05:00 +10:00
diff
exception Fix/hack ErrorPageError to work from non-UI contexts 2017-07-06 20:04:31 +00:00
externalstore
filebackend Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
filerepo phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
GlobalFunctions Refactor global function wfBCP47 to static function LanguageCode::bcp47 2017-10-05 09:54:45 +02:00
htmlform
http Do not run tests that depend on curl if it is not loaded 2017-09-19 21:51:59 -04:00
import Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
installer
interwiki update mediawiki-codesniffer to 0.11.0 and fix issues 2017-08-11 22:27:51 +02:00
jobqueue build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
json
libs Revert "CSSMin: Improve encoding of quotes in embedded SVGs" 2017-09-29 14:45:27 +01:00
linkeddata Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
linker phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
logging LogFormatter: Don't return a non-array from formatParameterValueForApi 2017-09-28 10:06:53 -04:00
mail phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
media Remove test code that depends on extension 2017-08-13 12:04:37 -04:00
objectcache Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
page Add basic IP range support to Special:Contributions 2017-09-05 16:15:33 -04:00
pager Various test fixes for postgres 2017-05-18 20:30:13 +00:00
parser Remove ParserOptions::legacyOptions() and cleanup related code 2017-07-04 01:28:57 +00:00
password Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
poolcounter
rcfeed Add missing @group Database tags in tests 2017-03-18 19:13:18 -04:00
registration Revert "registration: Only allow one extension to set a specific config setting" 2017-08-22 20:40:15 +00:00
resourceloader resourceloader: Clarify operator precedence 2017-10-06 23:14:02 +00:00
search Add missing type to @param documentation 2017-08-11 20:37:35 +02:00
Services build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 17:14:31 +00:00
session session: Avoid deprecated wfMemcKey() 2017-05-23 22:25:27 -07:00
shell Replace wfShellExec() with a class 2017-09-08 21:49:49 -07:00
site build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
skins
specialpage RCFilters: Allows specifying default highlights from the server 2017-10-04 13:51:23 -07:00
specials Migrate and convert WL settings to the new UX 2017-09-27 21:15:12 +02:00
tidy
title Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
upload SECURITY: Whitelist DTD declaration in SVG 2017-04-06 13:43:04 -07:00
user Merge "Assert that blocks were inserted successfully in UserTest" 2017-10-08 01:48:21 +00:00
utils Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
AutopromoteTest.php In Autopromote skip edit count lookup if requirement is 0 or invalid 2017-05-21 14:30:42 +00:00
BlockTest.php
CommentStoreTest.php Have CommentStore limit the maximum character length of comments 2017-10-10 20:59:52 -04:00
DeprecatedGlobalTest.php phpunit: Fix failing DeprecatedGlobalTest on HHVM at Travis CI 2017-07-28 18:30:32 -07:00
DiffHistoryBlobTest.php
EditPageTest.php Merge "Improve namespace handling in tests" 2017-09-29 05:33:26 +00:00
ExportTest.php
ExtraParserTest.php Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
FauxRequestTest.php FauxRequest: Complete code coverage for FauxRequestTest 2017-04-01 01:25:02 +00:00
FauxResponseTest.php
FormOptionsInitializationTest.php
FormOptionsTest.php
GitInfoTest.php Improve GitInfo for reading packed refs 2017-10-02 03:47:33 +00:00
HooksTest.php Hooks: Introduce Hooks::runWithoutAbort() alongside Hooks::run() 2017-09-04 18:55:42 +00:00
HtmlTest.php Update weblinks in comments to msdn.microsoft.com 2017-06-09 11:55:28 +02:00
LicensesTest.php
LinkerTest.php Merge "Linker: Do not localize links to other wikis in comments" 2017-07-06 02:08:02 +00:00
LinkFilterTest.php
MediaWikiServicesTest.php build: Updating mediawiki/mediawiki-codesniffer to 13.0.0 2017-09-25 17:31:56 +02:00
MediaWikiTest.php
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php
MessageTest.php Switch to librarized version of TestingAccessWrapper 2017-04-20 14:15:57 +00:00
MovePageTest.php
MWNamespaceTest.php Rename canTalk methods 2017-06-25 10:15:30 +00:00
MWTimestampTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
OutputPageTest.php resourceloader: Remove deprecated MessageBlobStore::insertMessageBlob 2017-09-25 17:40:22 +00:00
PageArchiveTest.php Add basic IP range support to Special:Contributions 2017-09-05 16:15:33 -04:00
PagePropsTest.php Improve namespace handling in tests 2017-09-29 05:21:47 +00:00
PathRouterTest.php
PreferencesTest.php build: Update mediawiki/mediawiki-codesniffer to 0.10.1 2017-07-22 18:24:09 -07:00
PrefixSearchTest.php Improve namespace handling in tests 2017-09-29 05:21:47 +00:00
ReadOnlyModeTest.php Remove unused and unnecessary imports 2017-06-12 15:50:43 +00:00
RevisionStorageTest.php Improve namespace handling in tests 2017-09-29 05:21:47 +00:00
RevisionStorageTestContentHandlerUseDB.php
RevisionTest.php Improve namespace handling in tests 2017-09-29 05:21:47 +00:00
SampleTest.php
SanitizerTest.php Sanitizer: hard deprecate passing $options to escapeIdReferenceList() 2017-09-29 17:24:37 -07:00
SanitizerValidateEmailTest.php
SiteConfigurationTest.php
SiteStatsTest.php Improve flaky SiteStatsTest 2017-09-12 11:48:41 -04:00
StatusTest.php
TemplateCategoriesTest.php Disable broken TemplateCategoriesTest unit test 2017-05-20 11:36:25 +00:00
TemplateParserTest.php Enable recursive partials in TemplateParser 2017-09-10 05:51:07 +00:00
TestLogger.php Remove "@author Bryan Davis" and "Brad Jorsch" annotations 2017-06-26 15:25:46 -06:00
TestUser.php
TestUserRegistry.php
TimeAdjustTest.php
TitleArrayFromResultTest.php
TitleMethodsTest.php Improve namespace handling in tests 2017-09-29 05:21:47 +00:00
TitlePermissionTest.php Remove "editusercssjs" user right 2017-04-11 14:54:43 +01:00
TitleTest.php Add Title::isValid method 2017-09-08 22:56:42 +00:00
WatchedItemIntegrationTest.php Remove empty lines at begin of function, if, foreach, switch 2017-07-01 11:34:16 +00:00
WatchedItemQueryServiceUnitTest.php Add comment table and code to start using it 2017-08-30 15:05:00 +10:00
WatchedItemStoreIntegrationTest.php
WatchedItemStoreUnitTest.php Add missing type to @param documentation 2017-08-11 20:37:35 +02:00
WatchedItemUnitTest.php phpunit: Avoid use of deprecated getMock for PHPUnit 5 compat 2017-04-06 00:44:32 +00:00
WebRequestTest.php
WikiMapTest.php Clean up wiki ID and DB domain ID handling 2017-09-30 10:25:03 +00:00
WikiReferenceTest.php
XmlJsTest.php
XmlSelectTest.php
XmlTest.php Merge "Improve namespace handling in tests" 2017-09-29 05:33:26 +00:00