minj/foxtrick

Pass SourceSystem to external sites in Links module

Open

#1,329 opened on Oct 5, 2015

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (52 forks)auto 404
ExternalLinksPriority-Lowack-neededenhancementfeaturegood first issuehacktoberfesttask

Repository metrics

Stars
 (80 stars)
PR merge metrics
 (PR metrics pending)

Description

I see HT uses

  1. &SourceSystem=Hattrick for League/Friendly matches and
  2. &SourceSystem=HTOIntegrated for tournament/single/practice matches

to differentiate between those matches. Apparently, HT is recycling MatchIDs in HTOIntegrated, and is very unlikely to revert.

Issue : external links on match-report pages are refering to old/core hattrick MatchIDs

  1. http://www.databased.at/hattrick/halloffame/?matchid=7019889
  2. http://htev.org/match/7019889/
  3. http://www.fantamondi.it/HTMS/index.php?page=matchanalyze&matchid=7019889&lang=en-GB
  4. http://www.htstats.com/matchinfo-7019889&setlang=en-GB

Are these external systems equipped to handle tournament/single/practice matches? If they do, then don't we need to update refering URLs?

Contributor guide