Go to the documentation of this file.
52 $this->ttlDays = isset( $config[
'ttlDays'] ) ? $config[
'ttlDays'] :
false;
64 $class = $config[
'class'];
65 $jrn =
new $class( $config );
66 if ( !$jrn instanceof
self ) {
67 throw new MWException(
"Class given is not an instance of FileJournal." );
81 for ( $i = 0; $i < 5; $i++ ) {
82 $s .= mt_rand( 0, 2147483647 );
101 if ( !count( $entries ) ) {
169 $last = array_pop( $entries );
doGetChangeEntries( $start, $limit)
see documentation in includes Linker php for Linker::makeImageLink & $time
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
doGetPositionAtTime( $time)
doGetPositionAtTime( $time)
doGetChangeEntries( $start, $limit)
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
Simple version of FileJournal that does nothing.
static newGood( $value=null)
Factory function for good results.
getPositionAtTime( $time)
Get the position ID of the latest journal entry at some point in time.
getCurrentPosition()
Get the position ID of the latest journal entry.
doLogChangeBatch(array $entries, $batchId)
Class for handling file operation journaling.
logChangeBatch(array $entries, $batchId)
Log changes made by a batch file operation.
__construct(array $config)
Construct a new instance from configuration.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
getChangeEntries( $start=null, $limit=0, &$next=null)
Get an array of file change log entries.
const TS_MW
MediaWiki concatenated string timestamp (YYYYMMDDHHMMSS)
doLogChangeBatch(array $entries, $batchId)
purgeOldLogs()
Purge any old log entries.
wfBaseConvert( $input, $sourceBase, $destBase, $pad=1, $lowercase=true, $engine='auto')
Convert an arbitrarily-long digit string from one numeric base to another, optionally zero-padding to...
getTimestampedUUID()
Get a statistically unique ID string.
static factory(array $config, $backend)
Create an appropriate FileJournal object from config.