Last modified: 2014-04-10 16:08:48 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 T65567, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63567 - linking pages on Wikipedia can cause error: $number needs to be a integer
linking pages on Wikipedia can cause error: $number needs to be a integer
Status: RESOLVED DUPLICATE of bug 63278
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-05 08:30 UTC by John Mark Vandenberg
Modified: 2014-04-10 16:08 UTC (History)
5 users (show)

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


Attachments

Description John Mark Vandenberg 2014-04-05 08:30:19 UTC
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.
Comment 1 John Mark Vandenberg 2014-04-05 08:47:32 UTC
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.
Comment 2 John Mark Vandenberg 2014-04-05 10:42:22 UTC
I have been able to merge two items several times, and there is a slow stream of merges here
https://www.wikidata.org/w/index.php?title=Special:AbuseLog&wpSearchFilter=32

Another pair that cause this error message:
https://es.wikipedia.org/wiki/Categor%C3%ADa:Adventure_Time
https://en.wikipedia.org/wiki/Category:Adventure_Time
Comment 3 Marius Hoch 2014-04-07 18:27:22 UTC

*** This bug has been marked as a duplicate of bug 63278 ***
Comment 4 Bene* 2014-04-10 15:56:02 UTC
This isn't a duplicate as it affects lining pages an not merging items.
Comment 5 Bene* 2014-04-10 16:08:48 UTC
> 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 ***

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


Navigation
Links