Page MenuHomePhabricator

Special:Import needs to update site statistics
Closed, DeclinedPublic

Description

The pages http://ksh.wikipedia.org/wiki/Special:Statistics, and http://ksh.wikipedia.org/wiki/Special:Statistics?
action=raw
display a zero article count after import of almost 10000 new pages (incl. almost 3200 new articles)
and deletion of few errors and test cases.

Apparently statics data is not influenced by the import, but is decremented when imported pages are deleted.

Since the job queue has 0 entries, I assume there will be no process to automatically adjust these counts.


Version: unspecified
Severity: minor
Whiteboard: aklapper-moreinfo
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=40009

Details

Reference
bz5703

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:11 PM
bzimport set Reference to bz5703.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Ask someone with shell access to run the site stats update script for that
particular case. Meanwhile, the code needs altering so that it updates said
counter when run.

Ok, shall do so, when all imports are done, probably wednesday. Tx.

See http://bugzilla.wikimedia.org/show_bug.cgi?id=5769

The Special:Import of an article also does not automatically place the article in categories, even if it contains
category tags. Making a null-edit to the article does. This might be a duplicate of this issue.

dominik.bach wrote:

*** This bug has been marked as a duplicate of 6120 ***

This is not a duplicate of bug 6120, which wants a problem fixed that had never occured, if bug 5703 (this one) had
already been fixed.

timurberk wrote:

So, what we are doing for older versions? (except shell access)

grandepuffoo wrote:

Also in the Italian Wiktionary (http://it.wiktionary.org/) we have the same problem.

grandepuffoo wrote:

ok, we solved the problem in it.wiktionary.org

  • Bug 14380 has been marked as a duplicate of this bug. ***

Mass compoment change: <some> -> Export/Import

As of today, this bug is not fixed, although tons of other special:import related issues were solved long ago.
Imho, adding the update of statistic counters would
likely be a snap, did it slip out of sight somehow?

Since we import pages with their history every now and then
in kshwiki (usually so as to duplicate the edit history of
pages that need to be split into a disambiguations + articles),
we regularly destroy our statistics data :-( as well atm.

Wiki.Melancholie wrote:

*** Bug 16359 has been marked as a duplicate of this bug. ***

wmr89502270 wrote:

You can make a mediawiki in yourself PC, after import pages.

Creations seem to call $article->createUpdates( $revision )

  • Bug 20440 has been marked as a duplicate of this bug. ***
  • Bug 20997 has been marked as a duplicate of this bug. ***

marmzok wrote:

Please have look at https://bugzilla.wikimedia.org/show_bug.cgi?id=20440
"Imported Article not shown in statics in ckb.wikipedia."
It has been marked as a duplicat of this bug, but after 4 month, still we have that problem. what we should do?

This should have been fixed on bug 6600 (r16881). Also related to fix for bug 7510 on r16880.
Can you point to the revisions which should have updated it but haven't?

marmzok wrote:

I'm sorry but I don't know what do you exactly mean by "revisions which should have updated it but haven't", but when we use this template: {{NUMBEROFARTICLES}}, It should returns the total number of articles. Now it returns about 700, but articles are more than 2000! If I am not clear please tell me, or if needed please try tell me what do you exactly want to know! My Regards.

When were imported those articles not counted?
You will need to have the count updated by a shell user.
The issue is, is the underlying cause that made them not counted fixed or not?

(In reply to comment #20)

When were imported those articles not counted?
You will need to have the count updated by a shell user.
The issue is, is the underlying cause that made them not counted fixed or not?

I updated the counts on ckbwiki after marmzok requested it in #wikimedia-tech.

Is this bug related to bug 40009?

Setting to unconfirmed. No reports of this issue since 2010. Is this issue still being seen?

Note that this bug is about site stats not being updated at all post-import. Bug 40009 is about stats being updated incorrectly.

(In reply to This, that and the other (TTO) from comment #24)

Setting to unconfirmed. No reports of this issue since 2010. Is this issue
still being seen?

No response => closing this bug. For issues with stats being inflated too high on import, see bug 40009.