Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
SMW\MediaWiki\Hooks\SpecialStatsAddExtra Class Reference
Inheritance diagram for SMW\MediaWiki\Hooks\SpecialStatsAddExtra:
Inheritance graph
[legend]
Collaboration diagram for SMW\MediaWiki\Hooks\SpecialStatsAddExtra:
Collaboration graph
[legend]

Public Member Functions

 __construct (Store $store)
 
 setLanguage ( $language)
 
 setDataTypeLabels ( $dataTypeLabels)
 
 process (array &$extraStats)
 
- Public Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 __construct ()
 
 setOptions (array $options)
 
 setOption ( $key, $value)
 
 getOption ( $key, $default=null)
 
 isFlagSet ( $key, $flag)
 

Public Attributes

const CRITICAL_DELETECOUNT = 5000
 

Additional Inherited Members

- Protected Member Functions inherited from SMW\MediaWiki\Hooks\HookHandler
 log ( $message, $context=[])
 

Detailed Description

Add extra statistic at the end of Special:Statistics

See also
https://www.mediawiki.org/wiki/Manual:Hooks/SpecialStatsAddExtra

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\MediaWiki\Hooks\SpecialStatsAddExtra::__construct ( Store  $store)
Since
1.9
Parameters
Store$store

Member Function Documentation

◆ process()

SMW\MediaWiki\Hooks\SpecialStatsAddExtra::process ( array &  $extraStats)
Since
1.9
Parameters
array&$extraStats
Returns
true

◆ setDataTypeLabels()

SMW\MediaWiki\Hooks\SpecialStatsAddExtra::setDataTypeLabels (   $dataTypeLabels)
Since
3.1
Parameters
array

◆ setLanguage()

SMW\MediaWiki\Hooks\SpecialStatsAddExtra::setLanguage (   $language)
Since
3.1
Parameters
Language | string$language

Member Data Documentation

◆ CRITICAL_DELETECOUNT

const SMW\MediaWiki\Hooks\SpecialStatsAddExtra::CRITICAL_DELETECOUNT = 5000

Specifies the point where outdated entities should be removed instead of accumulating in the DB.


The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy