Go to the documentation of this file.
13 $this->zipDir = __DIR__ .
'/../../data/zip';
17 $this->entries[] = $entry;
21 $this->entries =
array();
23 $this->assertTrue( $status->hasMessage(
$error ), $assertMessage );
27 $this->entries =
array();
29 $this->assertTrue( $status->isOK(), $assertMessage );
43 'No signature should give "wrong format" error' );
48 $this->assertEquals( $this->entries,
array(
array(
49 'name' =>
'Class.class',
50 'mtime' =>
'20010115000000',
57 'Bad central entry error' );
62 'Trailing bytes error' );
67 'Wrong CD start disk error' );
77 'CD truncated error (should hit unpack() overrun)' );
82 'A file which looks like ZIP64 but isn\'t, should give error' );
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
readZipAssertSuccess( $file, $assertMessage)
testBadCentralEntrySignature()
testCentralDirectoryTruncated()
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
@covers ZipDirectoryReader NOTE: this test is more like an integration test than a unit test
if(PHP_SAPI !='cli') $file
usually copyright or history_copyright This message must be in HTML not wikitext $subpages will be ignored and the rest of subPageSubtitle() will run. 'SkinTemplateBuildNavUrlsNav_urlsAfterPermalink' whether MediaWiki currently thinks this is a CSS JS page Hooks may change this value to override the return value of Title::isCssOrJsPage(). 'TitleIsAlwaysKnown' whether MediaWiki currently thinks this page is known isMovable() always returns false. $title whether MediaWiki currently thinks this page is movable Hooks may change this value to override the return value of Title::isMovable(). 'TitleIsWikitextPage' whether MediaWiki currently thinks this is a wikitext page Hooks may change this value to override the return value of Title::isWikitextPage() 'TitleMove' use UploadVerification and UploadVerifyFile instead where the first element is the message key and the remaining elements are used as parameters to the message based on mime etc Preferred in most cases over UploadVerification object with all info about the upload string as detected by MediaWiki Handlers will typically only apply for specific mime types object & $error
testCentralDirectoryGap()
static read( $fileName, $callback, $options=array())
Read a ZIP file and call a function for each file discovered in it.
readZipAssertError( $file, $error, $assertMessage)