Overview
Test reader demographics QuickSurvey on beta enwiki and beta hewiki. This will test for both RTL and LTR languages.
Steps
- Isaac: Get permissions for interface pages on enwiki and hewiki: https://en.wikipedia.beta.wmflabs.org/wiki/Special:CentralAuth?target=Isaac
- Isaac: Create interface pages on enwiki and hewiki (see below)
- Baha: Deploy survey to beta
- Isaac: Test (repeat w/ hewiki):
- Make sure the browser's DNT feature is turned off.
- Go to https://en.wikipedia.beta.wmflabs.org/wiki/Book (on desktop) and look for the survey on the top right of the article content.
- If you see another survey, dismiss it, and reload the page. Multiple surveys maybe enabled at one time, so keep dismissing other surveys until you see yours.
- Once you see your survey, take it and see if your survey token is being passed to the external URL.
- Check other things as you find fit.
English pages to create
https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-description : "", //leaving blank but the page needs to exist or placeholder text shows up
https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-link : https://docs.google.com/forms/d/e/1FAIpQLScALkNX4coMAHkpzhQOTxtvNJz3cKJMH7jjrFptPtesSOhA3w/viewform?hl=en
https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-message : "Take a short survey and help us improve Wikipedia."
https://en.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-privacy: "Survey data handled by a third party. [https://foundation.wikimedia.org/wiki/2019_Wikipedia_Demographics_Survey_Privacy_Statement Privacy]"
Hebrew pages to create
https://he.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-description : "" //leaving blank but the page needs to exist or placeholder text shows up
https://he.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-link : https://docs.google.com/forms/d/e/1FAIpQLScpadxPmomtIjfPxWqSPCgP-SNi-7J2FVfQaoHr_mysbnN-0A/viewform?hl=he
https://he.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-message : "מלא שאלון קצר ועזור לנו לשפר את ויקיפדיה."
https://he.wikipedia.beta.wmflabs.org/wiki/MediaWiki:Reader-demographics-1-privacy: "נתוני השאלון מטופלים על ידי צד שלישי. [https://foundation.wikimedia.org/wiki/2019_Wikipedia_Demographics_Survey_Privacy_Statement מדיניות פרטיות]"
Beta Configurations
enwiki => [ 'enabled' => true, "name" => "reader-demographics-en", "type" => "external", "description" => "Reader-demographics-1-description", "link" => "Reader-demographics-1-link", "question" => "Reader-demographics-1-message", "privacyPolicy" => "Reader-demographics-1-privacy", "coverage" => 1, // for deployment, this will be lower "instanceTokenParameterName" => "entry.1791119923", "platforms" => [ "desktop"=> ["stable"], "mobile"=> ["stable"] ], ] hewiki => [ 'enabled' => true, "name" => "reader-demographics-he", "type" => "external", "description" => "Reader-demographics-1-description", "link" => "Reader-demographics-1-link", "question" => "Reader-demographics-1-message", "privacyPolicy" => "Reader-demographics-1-privacy", "coverage" => 1, // for deployment, this will be lower "instanceTokenParameterName" => "entry.1791119923", "platforms" => [ "desktop"=> ["stable"], "mobile"=> ["stable"] ], ]