Last modified: 2010-05-15 15:50:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11220 - Error in NUMBEROFARTICLES
Error in NUMBEROFARTICLES
Status: RESOLVED DUPLICATE of bug 4650
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.10.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://e-komputer.info/wiki/Halaman_U...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-06 23:56 UTC by Poon Poi Ming
Modified: 2010-05-15 15:50 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Poon Poi Ming 2007-09-06 23:56:21 UTC
My <nowiki>[[Special:Statistics|{{NUMBEROFARTICLES}}]] </nowiki> gives a reading of 18,446,744,073,709,551,610. I have not been able to receive any concrete help, including my webhost and the various forums. I wonder whether I can get any assistance from this platform.
Comment 1 Roan Kattouw 2007-09-07 10:34:53 UTC
This is what happens if there aren't any articles present, not even the Main Page. The software tries to subtract one (the Main Page) from the total of 0,  but since this particular DB field can't handle negative numbers, it'll wrap around to the largest possible number it can handle, which is 2^64-1. Check that $wgContentNamespaces (in LocalSettings.php) isn't empty (for what it should be, see below), and create a page called "Main Page" with at least one wikilink on it. This should bring the total back to zero.

$wgContentNamespaces = array(NS_MAIN);

*** This bug has been marked as a duplicate of bug 4650 ***
Comment 2 Rob Church 2007-09-07 14:40:06 UTC
The usual means to repair the table is to run maintenance/initStats.php from the command line.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links