Last modified: 2012-03-10 14:24:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37113, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35113 - Failure of ParserTests::testParserTest with data set #156 - Interwiki link encoding conversion (bug 1636)
Failure of ParserTests::testParserTest with data set #156 - Interwiki link en...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.20.x
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-10 02:52 UTC by Marcin Cieślak
Modified: 2012-03-10 14:24 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Marcin Cieślak 2012-03-10 02:52:22 UTC
Wiki was installed with 

$wgLanguageCode = "pl";

which was later changed for unit tests to:

$wgLanguageCode = "en";

runphpunit.sh --group Parser
PHPUnit 3.5.13 by Sebastian Bergmann.

.............................................................   61 / 3417 (  1%)
.............................................................  122 / 3417 (  3%)
..................................F..........................  183 / 3417 (  5%)
.............................................................  244 / 3417 (  7%)
.............................................................  305 / 3417 (  8%)
.............................................................  366 / 3417 ( 10%)
.............................................................  427 / 3417 ( 12%)
.............................................................  488 / 3417 ( 14%)
.............................................................  549 / 3417 ( 16%)
.............................................................  610 / 3417 ( 17%)
.............................................................  671 / 3417 ( 19%)
.......................

Time: 02:19, Memory: 245.25Mb

There was 1 failure:

1) ParserTests::testParserTest with data set #156 ('Interwiki link encoding conversion (bug 1636)', '*[[Wikipedia:ro:Olteniţa]]
*[[Wikipedia:ro:Olteni&#355;a]]', '<ul><li><a href="http://en.wikipedia.org/wiki/ro:Olteni%C5%A3a" class="extiw" title="wikipedia:ro:Olteniţa">Wikipedia:ro:Olteni&#355;a</a>
</li><li><a href="http://en.wikipedia.org/wiki/ro:Olteni%C5%A3a" class="extiw" title="wikipedia:ro:Olteniţa">Wikipedia:ro:Olteni&#355;a</a>
</li></ul>
', '', '')
Interwiki link encoding conversion (bug 1636)
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-<ul><li><a href="http://en.wikipedia.org/wiki/ro:Olteni%C5%A3a" class="extiw" title="wikipedia:ro:Olteniţa">Wikipedia:ro:Olteni&#355;a</a>
-</li><li><a href="http://en.wikipedia.org/wiki/ro:Olteni%C5%A3a" class="extiw" title="wikipedia:ro:Olteniţa">Wikipedia:ro:Olteni&#355;a</a>
+<ul><li><a href="/index.php?title=Wikipedia:Ro:Olteni%C5%A3a&amp;action=edit&amp;redlink=1" class="new" title="Wikipedia:Ro:Olteniţa (page does not exist)">Wikipedia:ro:Olteni&#355;a</a>
+</li><li><a href="/index.php?title=Wikipedia:Ro:Olteni%C5%A3a&amp;action=edit&amp;redlink=1" class="new" title="Wikipedia:Ro:Olteniţa (page does not exist)">Wikipedia:ro:Olteni&#355;a</a>
 </li></ul>

/usr/home/saper/public_html/pg/w/tests/phpunit/includes/parser/NewParserTest.php:589
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiTestCase.php:66
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiPHPUnitCommand.php:45
/usr/home/saper/public_html/pg/w/tests/phpunit/phpunit.php:60

Truncating objectcache and l10n_cache did not help:

trunk=> TRUNCATE mediawiki.objectcache 
trunk-> ;
TRUNCATE TABLE
trunk=> TRUNCATE mediawiki.l10n_cache ;
TRUNCATE TABLE

This is PHP 5.3.10-pl0-gentoo
Comment 1 Marcin Cieślak 2012-03-10 14:24:25 UTC
Can't reproduce again. Sorry for noise.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links