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.
29 lines
637 B
PHP
29 lines
637 B
PHP
<?php
|
|
/**
|
|
* Quickie hack; patch-ss_images.sql uses variables which don't
|
|
* replicate properly.
|
|
*
|
|
* @file
|
|
* @ingroup Maintenance
|
|
*/
|
|
|
|
require_once( "commandLine.inc" );
|
|
|
|
$dbw = wfGetDB( DB_MASTER );
|
|
|
|
// Load the current value from the master
|
|
$count = $dbw->selectField( 'site_stats', 'ss_images' );
|
|
|
|
echo wfWikiID().": forcing ss_images to $count\n";
|
|
|
|
// First set to NULL so that it changes on the master
|
|
$dbw->update( 'site_stats',
|
|
array( 'ss_images' => null ),
|
|
array( 'ss_row_id' => 1 ) );
|
|
|
|
// Now this update will be forced to go out
|
|
$dbw->update( 'site_stats',
|
|
array( 'ss_images' => $count ),
|
|
array( 'ss_row_id' => 1 ) );
|
|
|
|
|