mediawiki-extensions-Echo/tests/phpunit/includes
Erik Bernhardson 2578c37d6c Bug: Fails signature detection with extra long signature
There were two different circumstances that could trigger echo's signature
detection to fail: multibyte characters in signature, and signatures near
$wgMaxSigChars limit that expanded past the limit due to wfEscapeWikiText().

This patch adjusts to use mb_substr to appropriatly handle the multibyte
characters, and adds a couple extra charactesr to $wgMaxSigChars to allow
for wfEscapeWikiText().  This isn't perfect, but a stricter implementation
would require much more work than i think we should spend here.

Bug: 73426
Change-Id: Ic51c2bc2a08600f188db13a9a0537f1321c9a655
2014-12-03 11:33:39 -08:00
..
cache Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
gateway Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
iterator Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
mapper Add job to keep user notifications in reasonable volume 2014-09-29 23:10:18 +00:00
AttributeManagerTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
BatchRowUpdateTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
ContainmentSetTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
DiffParserTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
DiscussionParserTest.php Bug: Fails signature detection with extra long signature 2014-12-03 11:33:39 -08:00
EchoDbFactoryTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
EmailFormatterTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
NotifUserTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
TalkPageFunctionalTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00
UserLocatorTest.php Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/ 2014-08-21 22:58:27 +00:00