On my site the statistics shows 0 content pages. Any obvious reason why? "There are 1,286 total pages in the database. This includes "talk" pages, pages about Chainki, minimal "stub" pages, redirects, and others that probably don't qualify as content pages. Excluding those, there are 0 pages that are probably legitimate content pages."
http://en.chainki.org/index.php?title=Special:Statistics
(Since this is the first time I mention this ODP+MediaWiki site http://en.chainki.org/index.php?title=Main_Page take a look and let me know what you think. Yes, I know Rob, the external links open in a new window).
On 08/07/06, Hugh Prior mediawiki@localpin.com wrote:
On my site the statistics shows 0 content pages. Any obvious reason why? "There are 1,286 total pages in the database. This includes "talk" pages, pages about Chainki, minimal "stub" pages, redirects, and others that probably don't qualify as content pages. Excluding those, there are 0 pages that are probably legitimate content pages."
Looks like some odd bug. Check the value of site_stats.ss_good_articles. If it's zero, then grab the updateArticleCount script from 1.7+ and give it a whirl.
Rob Church
OK, I'll give that a go.
Since I'm downloading 1.7, I may as well have a look at what's new. Where are the release notes?
The http://www.mediawiki.org/wiki/Important_Release_Notes page currently says that 1.7 is not released, and the sourceforge link only seems to go to 1.6.7
Thanks,
Hugh
"Rob Church" robchur@gmail.com wrote in message news:e92136380607080727h7224c160tbd00a5363f620289@mail.gmail.com...
On 08/07/06, Hugh Prior mediawiki@localpin.com wrote:
Looks like some odd bug. Check the value of site_stats.ss_good_articles. If it's zero, then grab the updateArticleCount script from 1.7+ and give it a whirl.
Rob Church
On 08/07/06, Hugh Prior mediawiki@localpin.com wrote:
OK, I'll give that a go.
Since I'm downloading 1.7, I may as well have a look at what's new. Where are the release notes?
As usual...but in light of the below, see http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.7, which is covered in links.
The http://www.mediawiki.org/wiki/Important_Release_Notes page currently says that 1.7 is not released, and the sourceforge link only seems to go to 1.6.7
Narf, someone forgot to update. I'll poke it now, thanks.
Rob Church
I found the page you mentioned before posting, but when I follow the "RELEASE NOTES" link: http://svn.wikimedia.org/viewvc/mediawiki/branches/REL_1_7/RELEASE-NOTES
I just get: An Exception Has Occurred
branches/REL_1_7/RELEASE-NOTES: unknown location HTTP Response Status
404 Not Found "Rob Church" robchur@gmail.com wrote in message news:e92136380607080759o14c65192ic946f5e458ff637@mail.gmail.com...
As usual...but in light of the below, see http://www.mediawiki.org/wiki/Manual:Upgrading_to_1.7, which is covered in links.
On 08/07/06, Hugh Prior mediawiki@localpin.com wrote:
I found the page you mentioned before posting, but when I follow the "RELEASE NOTES" link: http://svn.wikimedia.org/viewvc/mediawiki/branches/REL_1_7/RELEASE-NOTES
[snip]
Yes, it was a dud link. The correct version should have been http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_7_0/phase3/RELEASE-NOTES.
Rob Church
Rob Church wrote:
Yes, it was a dud link. The correct version should have been http://svn.wikimedia.org/viewvc/mediawiki/tags/REL1_7_0/phase3/RELEASE-NOTES.
and needless to say that the version option is lowercase for php and uppercase for mysql :-)
I write this to the page, feel free to revert it if you think it's too simple for that page.
jdd
Gave it a whirl. I don't know if this is buggy new code or problems at my end, but I still a few problems: 1) Calculation seems to give wrong figure 2) The update doesn't seem to update
Just to note that I needed to add the following to my 1.5.7 DefaultSettings.php
/** * Array of namespaces which can be deemed to contain valid "content", as far * as the site statistics are concerned. Useful if additional namespaces also * contain "content" which should be considered when generating a count of the * number of articles in the wiki. * * COPIED FROM v1.7.0 */ $wgContentNamespaces = array( NS_MAIN );
I have put it so you can run it from the URL:
http://en.chainki.org/updateArticleCount.php http://en.chainki.org/index.php?title=Special:Statistics
page table: 1515 records pagelinks table: 8884 records
What does page table and pagelinks table hold?
"Rob Church" robchur@gmail.com wrote in message news:e92136380607080727h7224c160tbd00a5363f620289@mail.gmail.com...
On 08/07/06, Hugh Prior mediawiki@localpin.com wrote:
Looks like some odd bug. Check the value of site_stats.ss_good_articles. If it's zero, then grab the updateArticleCount script from 1.7+ and give it a whirl.
Rob Church
On 08/07/06, Hugh Prior mediawiki@localpin.com wrote:
Gave it a whirl. I don't know if this is buggy new code or problems at my end, but I still a few problems:
- Calculation seems to give wrong figure
Pages in one of the content namespaces, that aren't redirects, and have at least one outgoing link.
- The update doesn't seem to update
You passed --update?
What does page table and pagelinks table hold?
Page records and the linking relationships between pages.
Rob Church
mediawiki-l@lists.wikimedia.org