Page MenuHomePhabricator

WMDE_2020_challenge_10 is linking to bad wikidata urls
Closed, ResolvedPublic

Description

For example:

/wiki/Q2?uselang=de?campaign=WMDE_2020_challenge_10

This should switch from a ? to & in this case.

Event Timeline

Addshore created this task.Jun 15 2020, 1:09 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 15 2020, 1:09 PM

@Addshore Hi Adam, thank you for bringing this to our attention. I checked the links in challenge 10 and for me they all work. If I replace the ? with a & I am directed to a non existing page in Wikidata. Could you specify which links you are referring to?

Tobi_WMDE_SW added a comment.EditedJun 18 2020, 8:48 AM

@Addshore Hi Adam, thank you for bringing this to our attention. I checked the links in challenge 10 and for me they all work. If I replace the ? with a & I am directed to a non existing page in Wikidata. Could you specify which links you are referring to?

Only the first ? should stay. The second ? needs to be replaced with a &.

So,

/wiki/Q2?uselang=de?campaign=WMDE_2020_challenge_10

needs to be replaced with

/wiki/Q2?uselang=de&campaign=WMDE_2020_challenge_10

Otherwise, I guess, the campaign tag will not be recognized and nothing will be tracked for the campaign.

Yes sorry, the second ? should be a &!

Otherwise MediaWiki tries to use de?campaign=WMDE_2020_challenge_10 as the language code, which breaks.

@Tobi_WMDE_SW @Addshore Okay, thank you! I changed the link.

Christine_Domgoergen_WMDE closed this task as Resolved.Jun 18 2020, 9:18 AM