|
| 1 | +$wgQuickSurveysConfig = [ |
| 2 | + [ |
| 3 | + 'name' => 'internal example survey', |
| 4 | + 'type' => 'internal', |
| 5 | + 'layout' => 'single-answer', |
| 6 | + 'question' => 'ext-quicksurveys-example-internal-survey-question', |
| 7 | + 'answers' => [ |
| 8 | + 'ext-quicksurveys-example-internal-survey-answer-positive', |
| 9 | + 'ext-quicksurveys-example-internal-survey-answer-neutral', |
| 10 | + 'ext-quicksurveys-example-internal-survey-answer-negative', |
| 11 | + ], |
| 12 | + 'enabled' => true, |
| 13 | + 'coverage' => 0, |
| 14 | + 'platforms' => [ |
| 15 | + 'desktop' => [ 'stable' ], |
| 16 | + 'mobile' => [ 'stable', 'beta' ], |
| 17 | + ], |
| 18 | + ], |
| 19 | + [ |
| 20 | + 'name' => 'internal example survey with description and freeform text', |
| 21 | + 'type' => 'internal', |
| 22 | + 'layout' => 'single-answer', |
| 23 | + 'question' => 'ext-quicksurveys-example-internal-survey-question', |
| 24 | + 'answers' => [ |
| 25 | + 'ext-quicksurveys-example-internal-survey-answer-positive', |
| 26 | + 'ext-quicksurveys-example-internal-survey-answer-neutral', |
| 27 | + 'ext-quicksurveys-example-internal-survey-answer-negative', |
| 28 | + ], |
| 29 | + 'description' => 'ext-quicksurveys-example-internal-survey-description', |
| 30 | + 'freeformTextLabel' => 'ext-quicksurveys-example-internal-survey-freeform-text-label', |
| 31 | + 'enabled' => true, |
| 32 | + 'coverage' => 0, |
| 33 | + 'platforms' => [ |
| 34 | + 'desktop' => [ 'stable' ], |
| 35 | + 'mobile' => [ 'stable', 'beta' ], |
| 36 | + ], |
| 37 | + ], |
| 38 | + [ |
| 39 | + 'name' => 'internal multiple answer example survey', |
| 40 | + 'type' => 'internal', |
| 41 | + 'layout' => 'multiple-answer', |
| 42 | + 'question' => 'ext-quicksurveys-example-internal-survey-question', |
| 43 | + 'answers' => [ |
| 44 | + 'ext-quicksurveys-example-internal-survey-answer-positive', |
| 45 | + 'ext-quicksurveys-example-internal-survey-answer-neutral', |
| 46 | + 'ext-quicksurveys-example-internal-survey-answer-negative', |
| 47 | + ], |
| 48 | + 'enabled' => true, |
| 49 | + 'coverage' => 0, |
| 50 | + 'platforms' => [ |
| 51 | + 'desktop' => [ 'stable' ], |
| 52 | + 'mobile' => [ 'stable', 'beta' ], |
| 53 | + ], |
| 54 | + 'shuffleAnswersDisplay' => true, |
| 55 | + ], |
| 56 | + [ |
| 57 | + 'name' => 'internal multiple answer example survey with description and freeform text', |
| 58 | + 'type' => 'internal', |
| 59 | + 'layout' => 'multiple-answer', |
| 60 | + 'question' => 'ext-quicksurveys-example-internal-survey-question', |
| 61 | + 'answers' => [ |
| 62 | + 'ext-quicksurveys-example-internal-survey-answer-positive', |
| 63 | + 'ext-quicksurveys-example-internal-survey-answer-neutral', |
| 64 | + 'ext-quicksurveys-example-internal-survey-answer-negative', |
| 65 | + ], |
| 66 | + 'description' => 'ext-quicksurveys-example-internal-survey-description', |
| 67 | + 'freeformTextLabel' => 'ext-quicksurveys-example-internal-survey-freeform-text-label', |
| 68 | + 'enabled' => true, |
| 69 | + 'coverage' => 0, |
| 70 | + 'platforms' => [ |
| 71 | + 'desktop' => [ 'stable' ], |
| 72 | + 'mobile' => [ 'stable', 'beta' ], |
| 73 | + ], |
| 74 | + 'shuffleAnswersDisplay' => true, |
| 75 | + ], |
| 76 | + [ |
| 77 | + 'name' => 'external example survey', |
| 78 | + 'type' => 'external', |
| 79 | + 'question' => 'ext-quicksurveys-example-external-survey-question', |
| 80 | + 'description' => 'ext-quicksurveys-example-external-survey-description', |
| 81 | + 'link' => 'ext-quicksurveys-example-external-survey-link', |
| 82 | + 'privacyPolicy' => 'ext-quicksurveys-example-external-survey-privacy-policy', |
| 83 | + 'coverage' => 0, |
| 84 | + 'enabled' => true, |
| 85 | + 'platforms' => [ |
| 86 | + 'desktop' => [ 'stable' ], |
| 87 | + 'mobile' => [ 'stable', 'beta' ], |
| 88 | + ], |
| 89 | + ], |
| 90 | +]; |
0 commit comments