This is a total newbie question but how do you run the updateArticleCount.php?
Date: Wed, 28 Mar 2007 15:17:56 +0100 From: "Charles Collis" charles.collis@gmail.com Subject: [Mediawiki-l] Total pages (not legit content pages) reporting incorrectly after merge To: mediawiki-l@lists.wikimedia.org Message-ID: b44a81310703280717r30fa7025q1f6264516f52b2c4@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi all,
I have mentioned this issue previously but as there was no response I shall have another attempt, this time being clearer and more succinct!
I have an issue with two wikis that I have merged in that the total no. of pages in the special:statistics page is being mis-reported, (please note I'm not talking about the 'legitimate content pages' number). Although all the page titles do seem to be present when I go to Special:Allpages.
I am concerned that if that figure is being read directly from a table, that there may be data integrity issues - can I trust this combined wiki enough to make it live and operational? Or is it possible that the figure for total number of articles has simply become 'stuck' somehow?
After I ran rebuildall.php all the statistics remained fixed at the values they were at before I appended the second wiki, although after I ran updateArticleCount.php, the figure for legitimate content page then doubled, although not the figure for total no. of pages...
Is this normal?
Thanks for any assistance.
Regards, Charles.
You need to run it from command line, terminal or shell depending on your system. They are basically the same thing though.
On 28/03/07, Caitlin Dempsey editor@gislounge.com wrote:
This is a total newbie question but how do you run the updateArticleCount.php?
Date: Wed, 28 Mar 2007 15:17:56 +0100 From: "Charles Collis" charles.collis@gmail.com Subject: [Mediawiki-l] Total pages (not legit content pages) reporting incorrectly after merge To: mediawiki-l@lists.wikimedia.org Message-ID: b44a81310703280717r30fa7025q1f6264516f52b2c4@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi all,
I have mentioned this issue previously but as there was no response I shall have another attempt, this time being clearer and more succinct!
I have an issue with two wikis that I have merged in that the total no. of pages in the special:statistics page is being mis-reported, (please note I'm not talking about the 'legitimate content pages' number). Although all the page titles do seem to be present when I go to Special:Allpages.
I am concerned that if that figure is being read directly from a table, that there may be data integrity issues - can I trust this combined wiki enough to make it live and operational? Or is it possible that the figure for total number of articles has simply become 'stuck' somehow?
After I ran rebuildall.php all the statistics remained fixed at the values they were at before I appended the second wiki, although after I ran updateArticleCount.php, the figure for legitimate content page then doubled, although not the figure for total no. of pages...
Is this normal?
Thanks for any assistance.
Regards, Charles.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On 28/03/07, Caitlin Dempsey editor@gislounge.com wrote:
This is a total newbie question but how do you run the updateArticleCount.php?
From the command line, e.g.
% php updateArticleCount.php
The script has a switch to perform the actual update, allowing you to eyeball the figure for sanity before actually updating the site statistics table.
Rob Church
mediawiki-l@lists.wikimedia.org