Page MenuHomePhabricator

Special:NewItem doesn't correctly verify site ids
Closed, ResolvedPublicBUG REPORT

Description

Currently Special:NewItem only checks whether a given site is known, but not whether we're allowed to link it.

Special:NewItem should check that the target site exists and is an allowed link target, otherwise it should claim that the site isn't known.

Event Timeline

Change 760943 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] Use a SiteLinkTargetProvider in SpecialNewItem

https://gerrit.wikimedia.org/r/760943

Change 760943 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] SpecialNewItem: Fix site validation

https://gerrit.wikimedia.org/r/760943

Manuel claimed this task.
Manuel added a subscriber: Manuel.

Tested this with @hoo. Done!