Last modified: 2014-11-17 08:25:44 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 T66333, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64333 - Updating Page count doesn't work reliably when a page is moved
Updating Page count doesn't work reliably when a page is moved
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: This, that and the other (TTO)
https://it.wikivoyage.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-23 22:47 UTC by Andyrom75
Modified: 2014-11-17 08:25 UTC (History)
1 user (show)

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


Attachments

Description Andyrom75 2014-04-23 22:47:27 UTC
When the page https://it.wikivoyage.org/wiki/Utente:Nastoshka/Smolensk has been moved by the User:Nastoshka into https://it.wikivoyage.org/wiki/Smolensk the page count has not increased by 1 unit.

On the other side, when I've moved the page https://it.wikivoyage.org/wiki/Riscone into the page https://it.wikivoyage.org/wiki/Utente:Manuela_Farina/Sandbox the page count has not decreased by 1 unit.

I take the chance to ask to reset (recount) all the Wikivoyage statistics (pages, images, etc...) because all the numbers are affect by several bugs so far to be realistic.

Thanks
Comment 1 Andre Klapper 2014-04-24 09:00:11 UTC
(In reply to Andyrom75 from comment #0)
> I take the chance to ask to reset (recount) all the Wikivoyage statistics
> (pages, images, etc...) because all the numbers are affect by several bugs
> so far to be realistic.

That's a request to file under the "Wikimedia" product.
Comment 2 Andyrom75 2014-05-06 06:56:38 UTC
Why it's still unconfirmed? Please let me know if you need further information.
Comment 3 Andre Klapper 2014-05-06 15:33:14 UTC
Anybody is free and welcome to reproduce the problem and change the status from UNCONFIRMED to NEW.
Comment 4 Andyrom75 2014-05-06 17:16:34 UTC
To reproduce it is possible to create a new page under the User:Username NS for example User:Username/Sandbox.
The total number of articles wouldn't correctly change because the page is under the USER NS.

Once done it can be moved on any NS:0 page, for example NewPage, now the count of the total article should be increase by 1 unit, but this wrongly doesn't happens.

The problem occurs when I move one "bad artcle" from the NS:0 to the Sandbox of the User that has created it. The count should decrease by 1 unit, but this doesn't happens.
Comment 5 Andyrom75 2014-07-22 05:59:42 UTC
Hi This, that and the other,
few days ago I've tried to create the destination page with an almost empty contente (just "."), before move the page from the User NS to the NS:0, just to see if the existence would change the behaviour and increase correctly the number of articles. Basically it the similar try that you have experimented on bug 40009.

Unfortunately it doesn't work. If you have some spare time, please try to take a look at this bug as well, to see if you can guess a potential resolution. At least you could change the status from Unconfirmed to New.
Comment 6 Gerrit Notification Bot 2014-07-23 02:25:28 UTC
Change 148585 had a related patch set uploaded by TTO:
Update article count when pages are moved

https://gerrit.wikimedia.org/r/148585
Comment 7 This, that and the other (TTO) 2014-07-23 02:25:40 UTC
I'm onto it...
Comment 8 Andyrom75 2014-07-23 14:50:52 UTC
Thanks :-)
Comment 9 Andyrom75 2014-09-10 06:15:58 UTC
Has the patch been reviewed? Let me know when is possible to perform a test on Wikivoyage. Thanks
Comment 10 Andyrom75 2014-10-24 13:21:31 UTC
Any update?
Comment 11 This, that and the other (TTO) 2014-10-25 00:47:32 UTC
I uploaded a rebased patch set. Hopefully it gets some eyes on it.
Comment 12 Andyrom75 2014-11-03 17:56:17 UTC
I've just made a test moving https://it.wikivoyage.org/wiki/Utente:Andyrom75/Test into https://it.wikivoyage.org/wiki/Test (and back), and unfortunately the pagecount doesn't change.

Let me know when can/should I do another test, to verify your patch.
Comment 13 This, that and the other (TTO) 2014-11-03 22:53:11 UTC
The patch hasn't been reviewed or merged yet. I'll try to poke someone (perhaps Kunal) to have a look at it.
Comment 14 Gerrit Notification Bot 2014-11-04 06:25:10 UTC
Change 148585 merged by jenkins-bot:
Update article count when pages are moved

https://gerrit.wikimedia.org/r/148585
Comment 15 This, that and the other (TTO) 2014-11-04 09:23:03 UTC
Now fixed on the beta cluster. Expect to see it on Wikivoyages on 11 November.
Comment 16 Andyrom75 2014-11-16 18:55:25 UTC
TTO I'm sorry to say that I've repeated the test done on Comment 12 and unfortunately it still doesn't work :-(

Any idea?
Comment 17 This, that and the other (TTO) 2014-11-16 23:55:03 UTC
Just tested this on en.wikivoyage (I'm not autoconfirmed on it.wikivoyage so couldn't test there):

* Special:Statistics "content pages" started off at 26301
* Created [[voy:TestMovePage]]
* Special:Statistics "content pages" still at 26301... oops, I didn't make
  the test page long enough/include any local wikilinks, apparently
* Added more content/wikilinks to [[voy:TestMovePage]]
* Special:Statistics "content pages" rose to 26302
* Moved [[voy:TestMovePage]] to 
  [[voy:User:This, that and the other/TestMovePage]]
* Special:Statistics "content pages" dropped to 26301

Isn't this the expected behaviour?
Comment 18 Andyrom75 2014-11-17 07:57:18 UTC
TTO thanks a lot for underlining the third bullet :-)
During my tests I've forgotten to create an enough long page, that's why the count didn't change.

Now I've tested again, and it works perfectly!

Thanks!
Comment 19 This, that and the other (TTO) 2014-11-17 08:25:44 UTC
Don't worry, I make that mistake every time I come back to these page counting bugs...

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


Navigation
Links