https://bugzilla.wikimedia.org/show_bug.cgi?id=72870
Bug ID: 72870
Summary: TitleMoveComplete hook is broken after (ac53e4503)
Product: MediaWiki
Version: 1.25-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Running our integration test [0] against master before the "Fully replace
Title::moveTo() with MovePage" [1] merge does return a null revision for a
moved page (using "WikiPage::factory( $oldTitle )->getRevision()for
verification) but after the merge the old title still has a revision.
This breaks our integration tests for MW 1.25 after [1] while tests before that
and those on MW 1.24/MW 1.23/MW 1.21 do work as specified and expected.
[0]
SMW\Tests\Integration\MediaWiki\Hooks\TitleMoveCompleteIntegrationTest::testPageMoveWithCreationOfRedirectTarget
Failed asserting that null is not null.
[1]
https://github.com/wikimedia/mediawiki/commit/ac53e45035e7b7ea22e123b404608e5e699024be
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l