// -> Page is marked deleted. Hence not visible
// Page 4
- $this->assertPageStart( $this->pageId4, $this->talk_namespace, $this->pageTitle4->getPrefixedText() );
+ $this->assertPageStart(
+ $this->pageId4,
+ $this->talk_namespace,
+ $this->pageTitle4->getPrefixedText()
+ );
$this->assertRevision( $this->revId4_1, "Talk BackupDumperTestP1 Summary1",
$this->textId4_1, 35, "nktofwzd0tl192k3zfepmlzxoax1lpe",
"Talk about BackupDumperTestP1 Text1" );
// -> Page is marked deleted. Hence not visible
// Page 4
- $this->assertPageStart( $this->pageId4, $this->talk_namespace, $this->pageTitle4->getPrefixedText() );
+ $this->assertPageStart(
+ $this->pageId4,
+ $this->talk_namespace,
+ $this->pageTitle4->getPrefixedText()
+ );
$this->assertRevision( $this->revId4_1, "Talk BackupDumperTestP1 Summary1",
$this->textId4_1, 35, "nktofwzd0tl192k3zfepmlzxoax1lpe" );
$this->assertPageEnd();
// -> Page is marked deleted. Hence not visible
// Page 4
- $this->assertPageStart( $this->pageId4, $this->talk_namespace, $this->pageTitle4->getPrefixedText() );
+ $this->assertPageStart(
+ $this->pageId4,
+ $this->talk_namespace,
+ $this->pageTitle4->getPrefixedText()
+ );
$this->assertRevision( $this->revId4_1, "Talk BackupDumperTestP1 Summary1",
$this->textId4_1, 35, "nktofwzd0tl192k3zfepmlzxoax1lpe" );
$this->assertPageEnd();
// -> Page is marked deleted. Hence not visible
// Page 4
- $this->assertPageStart( $this->pageId4, $this->talk_namespace, $this->pageTitle4->getPrefixedText() );
+ $this->assertPageStart(
+ $this->pageId4,
+ $this->talk_namespace,
+ $this->pageTitle4->getPrefixedText()
+ );
$this->assertRevision( $this->revId4_1, "Talk BackupDumperTestP1 Summary1",
$this->textId4_1, 35, "nktofwzd0tl192k3zfepmlzxoax1lpe" );
$this->assertPageEnd();
$this->assertDumpEnd();
}
+ /**
+ * xmldumps-backup typically performs a single dump that that writes
+ * out three files
+ * - gzipped stubs of everything (meta-history)
+ * - gzipped stubs of latest revisions of all pages (meta-current)
+ * - gzipped stubs of latest revisions of all pages of namespage 0
+ * (articles)
+ *
+ * We reproduce such a setup with our mini fixture, although we omit
+ * chunks, and all the other gimmicks of xmldumps-backup.
+ */
function testXmlDumpsBackupUseCase() {
- // xmldumps-backup typically performs a single dump that that writes
- // out three files
- // * gzipped stubs of everything (meta-history)
- // * gzipped stubs of latest revisions of all pages (meta-current)
- // * gzipped stubs of latest revisions of all pages of namespage 0
- // (articles)
- //
- // We reproduce such a setup with our mini fixture, although we omit
- // chunks, and all the other gimmicks of xmldumps-backup.
- //
$this->checkHasGzip();
$fnameMetaHistory = $this->getNewTempFile();
// -> Page is marked deleted. Hence not visible
// Page 4
- $this->assertPageStart( $this->pageId4, $this->talk_namespace, $this->pageTitle4->getPrefixedText() );
+ $this->assertPageStart(
+ $this->pageId4,
+ $this->talk_namespace,
+ $this->pageTitle4->getPrefixedText()
+ );
$this->assertRevision( $this->revId4_1, "Talk BackupDumperTestP1 Summary1",
$this->textId4_1, 35, "nktofwzd0tl192k3zfepmlzxoax1lpe" );
$this->assertPageEnd();
// -> Page is marked deleted. Hence not visible
// Page 4
- $this->assertPageStart( $this->pageId4, $this->talk_namespace, $this->pageTitle4->getPrefixedText() );
+ $this->assertPageStart(
+ $this->pageId4,
+ $this->talk_namespace,
+ $this->pageTitle4->getPrefixedText()
+ );
$this->assertRevision( $this->revId4_1, "Talk BackupDumperTestP1 Summary1",
$this->textId4_1, 35, "nktofwzd0tl192k3zfepmlzxoax1lpe" );
$this->assertPageEnd();