Last modified: 2013-04-22 16:16:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42732, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40732 - Set wgContentNamespaces for hrwiki
Set wgContentNamespaces for hrwiki
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: High enhancement with 1 vote (vote)
: ---
Assigned To: Dereckson
http://hr.wikipedia.org/wiki/Razgovor...
: shell
Depends on:
Blocks: 29782 40423
  Show dependency treegraph
 
Reported: 2012-10-02 23:13 UTC by SpeedyGonsales
Modified: 2013-04-22 16:16 UTC (History)
5 users (show)

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


Attachments

Description SpeedyGonsales 2012-10-02 23:13:49 UTC
Related to https://bugzilla.wikimedia.org/show_bug.cgi?id=40423

User Dereckson came to hr.wikipedia IRC channel and informed users present about existence of $wgContentNamespaces variable and possibility that our Dodatak namespace can be counted as content namespace.


I described to our community what that means here:

http://hr.wikipedia.org/wiki/Razgovor_Wikipedija:Dodatak#Status_imenskog_prostora_Dodatak

and asked for opinions, which was unanimous (17 valid votes) in favor of adding namespace Dodatak {{ns:102}} to list of content namespaces.

TIA
Comment 1 Alex Monk 2012-10-03 14:57:18 UTC
CCing Dereckson.
Comment 2 Dereckson 2012-10-03 15:26:13 UTC
Thank you for the discussion. That will be helpful for our data analyst (adding him in CC) to adjust content statistics.

Gerrit change #26456.
Comment 3 Dereckson 2012-10-03 15:47:55 UTC
Config change merged by Reedy.

According to Hashar comment in the similar bug for es., the following script sequence statistics should be run:

 # Get current statistics
 mwscript showStats.php --wiki=hrwiki

 # Update article count:
 mwscript updateArticleCount.php --wiki=hrwiki --update

 # Get new statistics
 mwscript showStats.php --wiki=hrwiki
Comment 4 Alex Monk 2012-12-25 22:13:33 UTC
Have those been run? Can this bug be closed now?
Comment 5 SpeedyGonsales 2012-12-26 00:05:10 UTC
If I got it right, no, these scripts are still pending.

{{NUMBEROFARTICLES}} variable shows only articles in main namespace {{ns:0}}, namespace with designation {{ns:102}} is not added.

So please first run scripts, then close this bug, thanks!
Comment 6 Dereckson 2012-12-31 23:04:00 UTC
[ Raising priority. ]
Comment 7 Sam Reed (reedy) 2013-02-02 18:33:48 UTC
reedy@fenari:~$ mwscript showStats.php --wiki=hrwiki
Total views       :    6276
Total edits       : 4030294
Number of articles:  118215
Total pages       :  372909
Number of users   :  105121
Number of images  :   10581
reedy@fenari:~$  mwscript updateArticleCount.php --wiki=hrwiki --update
Counting articles...found 129053.
Updating site statistics table... done.
reedy@fenari:~$ mwscript showStats.php --wiki=hrwiki
Total views       :    6276
Total edits       : 4030303
Number of articles:  129053
Total pages       :  372910
Number of users   :  105122
Number of images  :   10581
reedy@fenari:~$

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


Navigation
Links