Page MenuHomePhabricator

linking pages on Wikipedia can cause error: $number needs to be a integer
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. https://es.wikipedia.org/wiki/Categor%C3%ADa:Boxeo_en_2014
  2. Click 'Add links'
  3. In the 'Link with page' dialog, enter 'enwiki' and 'Category:2014 in boxing' and click on the autosuggestion 'Category:2014 in boxing'
  4. Submit by clicking 'Link with page' button.

Expected results:
The two categories should be linked.

Actual results:
Error: "An unexpected error occurred." with Details: "$number needs to be a integer"

Going to the English category page and trying to link to the Spanish category has the same error.

After experiencing this, I was able to link the Spanish category to Category:2013 in boxing , so this doesnt occur every time.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=0

Details

Reference
bz63567

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:16 AM
bzimport set Reference to bz63567.
bzimport added a subscriber: Unknown Object (MLST).

The same error appears when linking these two:

https://es.wikipedia.org/wiki/Categor%C3%ADa:Eventos_deportivos_en_curso
https://en.wikipedia.org/wiki/Category:Current_sports_events

In the two cases where this happens, both categories already have a wikidata item.

I havent experienced this in any scenario where zero or one of the two categories has an item already.

If it is preventing linking of pages with two existing items, which definitely worked last week, it is a regression and it is a significant one as bots are routinely creating wikidata entries for Wikipedia pages that do not have any interwiki links.

  • This bug has been marked as a duplicate of bug 63278 ***

This isn't a duplicate as it affects lining pages an not merging items.

In the two cases where this happens, both categories already have a wikidata item.

Sorry, did not read this.

  • This bug has been marked as a duplicate of bug 63278 ***