Add sampling by title options to QuickSurvey.
Why?
- Sampling by page_id/title is important as we are interested in studying if different users have different trajectories on Wikipedia and whether the differences can be described depending on the users' socio-demographics.
What's already there?
Client-side country information is available under mw.config.get( 'wgPageName' ) which could be compared to new survey configuration keys.
Acceptance criteria
- I can run a survey on Special:RecentChanges
- I can run a survey on an arbitrary page.
- I can run a survey on an arbitrary page outside of the Main namespace.
Developer notes
Using page_title would be prefered as special pages do not have page ids and T146495 requests that specifically.