Page MenuHomePhabricator

[Task] Improve Commons link constraint
Closed, ResolvedPublic

Description

Currently, this check looks in the image table of commons, being not able to check other parameters than "image". Maybe, this constraint has to be split.

Event Timeline

Jonaskeutel raised the priority of this task from to Low.
Jonaskeutel updated the task description. (Show Details)
Jonaskeutel added subscribers: Aklapper, Jonaskeutel.

Yes as discussed this constraint needs to be split.

Lydia_Pintscher renamed this task from Improve Commons link constraint to [Task] Improve Commons link constraint.Aug 17 2015, 4:13 PM
Lucas_Werkmeister_WMDE moved this task from WBQC Backlog to DOING on the Wikibase-Quality board.

I don’t think it needs to be split – it can just look in the page table instead, with the right namespace (NS_FILE, …).

Oh, except that the page table has an escaped name (foo_bar.jpg instead of foo bar.jpg). I hope that’s not a problem.

(Edit: nevermind, image has the same problem and the old code just replaced with _. But let’s use a proper TitleParser.)

Change 360401 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Support other namespaces in CommonsLinkChecker

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

thiemowmde removed a project: Patch-For-Review.
thiemowmde moved this task from Review to Done on the Wikidata-Former-Sprint-Board board.
thiemowmde subscribed.

@Lucas_Werkmeister_WMDE, I hope the assigned Gerrit patch was the only one that is needed to resolve this ticket. If not, please reopen it.

Change 360401 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Support other namespaces in CommonsLinkChecker

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