https://bugzilla.wikimedia.org/show_bug.cgi?id=44280
Web browser: ---
Bug ID: 44280
Summary: Correct
WikitextContentTest::testGetSecondaryDataUpdates*
Product: MediaWiki
Version: 1.21-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: ContentHandler
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
>From https://gerrit.wikimedia.org/r/43445
$title->resetArticleID( 2342 ); //dummy id. fine as long as we don't try to
execute the updates!
in WikitextContentTest::testGetSecondaryDataUpdates(). Trying to call
$title->getLatestRevID() will of course crash since the page does not exist but
has been given an incorrect ID.
It is the test that has to be fixed, not Title::getLatestRevID() and similar
methods.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l