2007-05-30 21:02:32 +00:00
|
|
|
<?php
|
2010-09-04 18:13:18 +00:00
|
|
|
/**
|
|
|
|
|
* A repository for files accessible via the local filesystem.
|
|
|
|
|
*
|
|
|
|
|
* @file
|
|
|
|
|
* @ingroup FileRepo
|
|
|
|
|
*/
|
2007-05-30 21:02:32 +00:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A repository for files accessible via the local filesystem. Does not support
|
|
|
|
|
* database access or registration.
|
WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>
Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage
One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
|
|
|
* @ingroup FileRepo
|
2011-12-20 03:52:06 +00:00
|
|
|
* @deprecated since 1.19
|
2007-05-30 21:02:32 +00:00
|
|
|
*/
|
2007-06-16 02:55:25 +00:00
|
|
|
class FSRepo extends FileRepo {
|
2007-05-30 21:02:32 +00:00
|
|
|
function __construct( $info ) {
|
2007-06-16 02:55:25 +00:00
|
|
|
parent::__construct( $info );
|
2011-12-20 03:52:06 +00:00
|
|
|
if ( !( $this->backend instanceof FSFileBackend ) ) {
|
|
|
|
|
throw new MWException( "FSRepo only supports FSFileBackend." );
|
2007-05-30 21:02:32 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|