Page MenuHomePhabricator

Add query.wikidata.org to shortening URL list for UrlShortener
Closed, ResolvedPublic

Description

Currently, UrlShortener config allows to use URLs based on wikidata.org but not query.wikidata.org. It would be very useful if we could also shorten query URLs, this requires adding query.wikidata.org to whitelisted domains for UrlShortener.

Also, test.wikidata.org is not allowed even on labs, may make sense to add that too for testing purposes. Maybe even *.wikidata.org?

Related Objects

StatusSubtypeAssignedTask
ResolvedLadsgroup
ResolvedBBlack
ResolvedSmalyshev
ResolvedLadsgroup
Resolvedmatmarex
Resolvedmatmarex
ResolvedLegoktm
Resolvedmatmarex
DuplicateNone
Resolvedori
ResolvedBBlack
ResolvedBBlack
Resolved dpatrick
Resolved Prtksxna
ResolvedLegoktm
ResolvedLegoktm
ResolvedArielGlenn
ResolvedJoe
ResolvedBBlack
ResolvedSmalyshev
ResolvedLadsgroup
ResolvedMarostegui
ResolvedLegoktm
Resolved Prtksxna
ResolvedLadsgroup
DeclinedNone

Event Timeline

Hm, this seems like an oversight. We should be whitelisting *.wikidata.org, I'm not sure why it's not a wildcard...

Change 302851 had a related patch set uploaded (by Legoktm):
UrlShortener: Whitelist *.wikidata.org

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

git blame points to me...no idea what I was thinking!

Change 302851 merged by jenkins-bot:
UrlShortener: Whitelist *.wikidata.org

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

This change will also allow to work with www.wikidata.org and not only https://wikidata.org

Mentioned in SAL [2016-08-11T23:37:41Z] <dereckson@tin> Synchronized wmf-config/CommonSettings.php: UrlShortener: Whitelist *.wikidata.org (T142055) (duration: 00m 47s)

@Dereckson That's the point - all *.wikidata.org should be allowed.

Smalyshev claimed this task.