MediaWiki:Common.js
Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.
- Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
- Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
- Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5.
- Opera: Naciśnij klawisze Ctrl+F5.
var quizName = "Quiz"; var quizLang = "en"; var resultsTextArray = [ "Text displayed after the user completes the quiz with the LOWEST score", "Text displayed after the user completes the quiz somewhere between the lowest and highest scores. Feel free to add more than one of these (separated by commas and inside double quotes)", "Text displayed after the user completes the quiz with the HIGHEST score" ]; var questions = [ ["This is the first question", "The CORRECT answer to question 1", "An INCORRECT answer to question 1", "Another INCORRECT answer to question 1", "Yet Another INCORRECT answer to question 1"], ["This is the second question, feel free to add as many questions as you like", "The CORRECT answer to question 2", "An INCORRECT answer to question 2", "Another INCORRECT answer to question 2"] ]; importArticles({ type: 'script', articles: [ 'u:dev:Quiz/code.js' ] }); // 1. AjaxRC configuration option var ajaxRefresh = 30000; // 2. AjaxRC import statement importScriptPage('AjaxRC/code.js','dev');