Jump to content

Extension:RefreshSiteStatsTable

From mediawiki.org
MediaWiki extensions manual
RefreshSiteStatsTable
Release status: stable
Implementation Special page
Description Offers a special page for refreshing the values in the site_stats table.
Author(s) WikiMANNia (WikiForMentalk)
Latest version 1.3.1 (2024-08-05)
MediaWiki 1.25+
PHP 5.6+
Database changes No
License GNU General Public License 2.0 or later
Download

The RefreshSiteStatsTable extension provides a special page for refreshing the value of the fields ss_good_articles, ss_total_pages, ss_images, ss_users in the site_stats table.

Installation

  • Download and place the file(s) in a directory called RefreshSiteStatsTable in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'RefreshSiteStatsTable' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Tested

The extension was tested with the following MediaWiki versions: 1.25, 1.31, 1.33, 1.35.14, 1.36, 1.37, 1.38.4, 1.39.8, 1.40.2, 1.41.2, 1.42.1

See also