Last modified: 2013-05-16 21:06:13 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 T41866, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39866 - Add Anexos to content namespaces on Spanish Wikipedia
Add Anexos to content namespaces on Spanish Wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Dereckson
https://es.wikipedia.org/wiki/Wikiped...
: shell
Depends on:
Blocks: 29782 40423
  Show dependency treegraph
 
Reported: 2012-08-31 21:49 UTC by Nemo
Modified: 2013-05-16 21:06 UTC (History)
13 users (show)

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


Attachments

Description Nemo 2012-08-31 21:49:36 UTC
They are lists usually placed in main namespace on most Wikipedias, and they skew statistics otherwise. This bug mainly to avoid forgetting it.
This doesn't affect anything else and just makes sense, so I'm not sure it requires consensus, but at least a notification surely; adding some sysops from those wikis to cc for input.
Comment 1 Dereckson 2012-09-07 13:22:28 UTC
We don't have any feedback in one week. Shouldn't you advertise this bug on their village pumps?
Comment 2 Erik Zachte 2012-09-07 13:31:37 UTC
According to comments on http://infodisiac.com/blog/2012/08/growth-in-article-count-at-largest-20-wikipedias/ more wikis are affected: 

"The ‘Annex’ namespace is namespace 102 in pt: and hr:, namespace 104 in ar:, es:, fr: and lt:. Another custom namespace that I think should better be counted as content, is namespace 104 in als:, which is the former als: dictionary which has been merged with Wikipedia." 

I think I need to adapt wikistats scripts so as to mine countable namespaces via the API, but that will require broad consensus and I will have to discuss it within WMF as some of the core metrics WPF tracks are involved.
Comment 3 Dereckson 2012-09-07 13:36:46 UTC
This is already a content namespace for pt., so it should be set on es.

Taking this bug. Git change 23068.

Erik: please open a new bug for your proposal. I would like to point the majority of wikis are already configured to include references namespace as content one.
Comment 4 Dereckson 2012-09-07 13:37:13 UTC
Gerrit change #23068
Comment 5 Nemo 2012-09-07 13:42:36 UTC
(In reply to comment #2)
> According to comments on
> http://infodisiac.com/blog/2012/08/growth-in-article-count-at-largest-20-wikipedias/
> more wikis are affected: 
> 
> "The ‘Annex’ namespace is namespace 102 in pt: and hr:, namespace 104 in ar:,
> es:, fr: and lt:. Another custom namespace that I think should better be
> counted as content, is namespace 104 in als:, which is the former als:
> dictionary which has been merged with Wikipedia." 

Thank you. I wonder if this namespace is used in the same way everywhere; hosting a whole dictionary, for instance, it's quite a different thing.

> I think I need to adapt wikistats scripts so as to mine countable namespaces
> via the API, but that will require broad consensus and I will have to discuss
> it within WMF as some of the core metrics WPF tracks are involved.

I think that's bug 35198, although of course there should also be some criteria for content namespaces settings.
Comment 6 Dereckson 2012-09-07 13:51:35 UTC
On fr., it's used for bibliography notices.
Comment 8 Dereckson 2012-09-12 07:36:18 UTC
(In reply to comment #3)
> Erik: please open a new bug for your proposal. I would like to point the
> majority of wikis are already configured to include references namespace as
> content one.

Erik: could you confirm us you raised this issue on es.?
Comment 9 -jem- 2012-09-12 12:19:48 UTC
I've just open a thread in the Village pump of es.wiki to ensure community consensus: https://es.wikipedia.org/wiki/Wikipedia:Caf%C3%A9/Portal/Archivo/Propuestas/Actual#Anexos_como_espacio_de_nombres_de_contenido / https://es.wikipedia.org?diff=59601981
Comment 10 Dereckson 2012-09-12 12:29:08 UTC
[ Set new URL as bug. ]
Comment 11 Antoine "hashar" Musso (WMF) 2012-09-19 12:25:15 UTC
(In reply to comment #4)
> Gerrit change #23068

I have deployed that change on the wiki since there seems to be a consensus on the spanish café :)
Comment 12 Erik Zachte 2012-09-19 18:15:02 UTC
Here is up to date list of countable namespaces, collected via api. 
http://stats.wikimedia.org/wikimedia/misc/StatisticsContentNamespaces.csv

Mentioned above but not yet effective:

wp:hr:102  
wp:fr:104
wp:lt:104
wp:als:104

Suggested in http://infodisiac.com/blog/2012/08/growth-in-article-count-at-largest-20-wikipedias/ but not yet effective:

wp:ru:102
Comment 13 Dereckson 2012-09-21 09:28:16 UTC
A maintenance script has still to run to update es.wikipedia statistics count.

I guess it's maintenance/updateArticleCount.php
Comment 14 Dereckson 2012-09-22 10:16:58 UTC
[ Moving tracking bug from depends to blocks ]
Comment 15 Antoine "hashar" Musso (WMF) 2012-09-24 10:15:38 UTC
(In reply to comment #13)
> A maintenance script has still to run to update es.wikipedia statistics count.
> 
> I guess it's maintenance/updateArticleCount.php

So that script is going to take an awful long time to run. I have sent a mail to Asher (DBA / performance engineer) about it and find out if it is safe to run it.

The sequence should be:

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

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

 # Get new statistics
 mwscript showStats.php --wiki=eswiki
Comment 16 Dereckson 2012-09-24 15:17:17 UTC
I've an alternative suggestion to avoid to count pages the number is already known.

(1) Count the pages in references namespace

(2) Add this number to the current count

Whether manually, whether under the form of a script.
Comment 17 Ryan Kaldari 2013-01-04 09:15:02 UTC
What exactly is an Annex (or Anexo) namespace for? The word in English is very generic and just means anything that is an addition to something else.
Comment 18 Nemo 2013-01-04 10:37:40 UTC
(In reply to comment #17)
> What exactly is an Annex (or Anexo) namespace for? The word in English is
> very
> generic and just means anything that is an addition to something else.

Where? The usage varies slightly across wikis, see comments above and at http://infodisiac.com/blog/2012/08/growth-in-article-count-at-largest-20-wikipedias/ for further info on each.
Comment 19 Ryan Kaldari 2013-01-04 18:37:17 UTC
I see. In the cases of the Spanish and Portuguese Wikipedias, it seems to be a namespace for list articles.
Comment 20 Sam Reed (reedy) 2013-05-14 17:07:11 UTC
What's outstanding here?
Comment 21 Dereckson 2013-05-14 17:56:12 UTC
(In reply to comment #20)
> What's outstanding here?
See the comments 15 and 16.
Comment 22 Sam Reed (reedy) 2013-05-16 20:43:52 UTC
(In reply to comment #15)
> (In reply to comment #13)
> > A maintenance script has still to run to update es.wikipedia statistics count.
> > 
> > I guess it's maintenance/updateArticleCount.php
> 
> So that script is going to take an awful long time to run. I have sent a mail
> to Asher (DBA / performance engineer) about it and find out if it is safe to
> run it.

Slow, but only minutes slow, not hours.

reedy@tin:/a/common$ mwscript updateArticleCount.php --wiki=eswiki
Counting articles...found 1016669.
Updating site statistics table... done.
Comment 23 Nemo 2013-05-16 21:06:13 UTC
(In reply to comment #22)
> Slow, but only minutes slow, not hours.

Wonderful! I guess the new counting method using links tables is very efficient?

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


Navigation
Links