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.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Support other namespaces in CommonsLinkChecker | mediawiki/extensions/WikibaseQualityConstraints | master | +140 -69 |
Related Objects
Event Timeline
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
@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