69 parent::__construct( $info );
70 $this->dbType = $info[
'dbType'];
71 $this->dbServer = $info[
'dbServer'];
72 $this->dbUser = $info[
'dbUser'];
73 $this->dbPassword = $info[
'dbPassword'];
74 $this->dbName = $info[
'dbName'];
75 $this->dbFlags = $info[
'dbFlags'];
76 $this->tablePrefix = $info[
'tablePrefix'];
84 if ( !
isset( $this->dbConn ) ) {
143 throw new MWException( static::class .
': write operations are not supported.' );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
wfForeignMemcKey( $db, $prefix,... $args)
Make a cache key for a foreign DB.
getInfo()
Return information about the repository.
A foreign repository with an accessible MediaWiki database.
getSharedCacheKey()
Get a key on the primary cache for this repository.
getInfo()
Return information about the repository.
assertWritableRepo()
Throw an exception if this repo is read-only by design.
callable $fileFromRowFactory
A repository that stores files in the local filesystem and registers them in the wiki's own database.