Go to the documentation of this file.
19 protected function setUp() {
23 $this->bug29408File = __DIR__ .
'/bug29408';
24 file_put_contents( $this->bug29408File,
"\x00" );
28 'Uploadstashtestsysop',
29 'Upload Stash Test Sysop',
30 'upload_stash_test_sysop@example.com',
34 'Uploadstashtestuser',
35 'Upload Stash Test User',
36 'upload_stash_test_user@example.com',
43 if ( file_exists( $this->bug29408File .
"." ) ) {
44 unlink( $this->bug29408File .
"." );
47 if ( file_exists( $this->bug29408File ) ) {
48 unlink( $this->bug29408File );
64 $file = $stash->stashFile( $this->bug29408File );
66 $this->assertTrue(
true,
'Unrecognized file without extension' );
68 $stash->removeFile(
$file->getFileKey() );
73 'Check failure on bad wpFileKey' =>
75 'Check failure on bad wpSessionKey' =>
89 'Check good wpFileKey' =>
91 'Check good wpSessionKey' =>
93 'Check key precedence' =>
95 'wpFileKey' =>
'testkey-test.test',
96 'wpSessionKey' =>
'foo'
WebRequest clone which takes values from a provided array.
static singleton()
Get a RepoGroup instance.
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
UploadStash is intended to accomplish a few things:
Wraps the user object, so we can also retain full access to properties like password if we log in via...
testValidRequestWithValidRequests( $request)
@dataProvider provideValidRequests
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such and we might be restricted by PHP settings such as safe mode or open_basedir We cannot assume that the software even has read access anywhere useful Many shared hosts run all users web applications under the same user
static isValidRequest( $request)
if(PHP_SAPI !='cli') $file
testValidRequestWithInvalidRequests( $request)
@dataProvider provideInvalidRequests