MediaWiki  1.23.8
MockFileBackend.php
Go to the documentation of this file.
1 <?php
32  protected function doGetLocalCopyMulti( array $params ) {
33  $tmpFiles = array(); // (path => MockFSFile)
34  foreach ( $params['srcs'] as $src ) {
35  $tmpFiles[$src] = new MockFSFile( wfTempDir() . '/' . wfRandomString( 32 ) );
36  }
37  return $tmpFiles;
38  }
39 }
php
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
Definition: skin.txt:62
$params
$params
Definition: styleTest.css.php:40
MockFileBackend
Class simulating a backend store.
Definition: MockFileBackend.php:31
MockFSFile
Class representing an in memory fake file.
Definition: MockFSFile.php:34
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
MockFileBackend\doGetLocalCopyMulti
doGetLocalCopyMulti(array $params)
Definition: MockFileBackend.php:32
MemoryFileBackend
Simulation of a backend storage in memory.
Definition: MemoryFileBackend.php:34
wfTempDir
wfTempDir()
Tries to get the system directory for temporary files.
Definition: GlobalFunctions.php:2564
as
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 as
Definition: distributors.txt:9
wfRandomString
wfRandomString( $length=32)
Get a random string containing a number of pseudo-random hex characters.
Definition: GlobalFunctions.php:300