Page MenuHomePhabricator

Fix Governor's demo - party affiliations
Closed, ResolvedPublic

Description

Please fix https://www.mediawiki.org/wiki/Help:Extension:Kartographer - governor's demo. The SPARQL query gets "party" (if multiple, gets any one), and compares it with Democrat and Republican Qid. The "getting any" behavior is non-deterministic, and sometimes I see Mark Dayton as either Democrat or independent.

Please change it to explicitly check if entry has Democrat/Republic party link (without end date), and if either both are false or both are true, treat it as independent (or an error?).

Event Timeline

Restricted Application added subscribers: TerraCodes, Aklapper. · View Herald Transcript

Thanks, seems to be working great!

I updated Kentucky .. all should be up-to-date now. ;)