Disambiguations as cards don't make much sense and styling is pretty bad.
**Spike questions:**
- [x] Can we exclude disambiguation and just include the search results? (is there a parameter we can pass search?)
- [x] Can we detect when a page is a disambiguation page?
- [x] Can we extract disambiguation links from the page?
**Spike answers:**
- [x] Can we exclude disambiguation and just include the search results? (is there a parameter we can pass search?)
YES! The search api can tell us if a results is a disambig (or mainpage!). Example here: https://github.com/montehurd/apps-ios-wikipedia/commits/disambigSpike
Basically add the bold parts below to our search parameters:
> @"prop": @"pageterms|pageimages|**pageprops**",
> @"**ppprop**": @"mainpage|**disambiguation**",
- [x] Can we detect when a page is a disambiguation page?
YES! The "mobileview" query can be configured to tell us if a page is a disambig/mainpage too!
https://github.com/montehurd/apps-ios-wikipedia/commit/d30d62db112a0b612e0c8bb0df06fcb374272755
- [x] Can we extract disambiguation links from the page?
YES! See @Reedy's answer in the comments.