Jump to content

Module talk:TrainingPages/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

All 14 tests passed.

test_trainingpages
Text Expected Actual
checkY {{#invoke:TrainingPages|next_page|index=Wikipedia:Training/For students/Index for TrainingPages testcases|page=Wikipedia:Training/For students/valuable contribution}} Wikipedia:Training/For students/Editing topics Wikipedia:Training/For students/Editing topics
checkY {{#invoke:TrainingPages|next_page|index=Wikipedia:Training/For students/Index for TrainingPages testcases|page=Wikipedia:Training/For students/Editing topics}} Wikipedia:Training/For students/Getting started 1 Wikipedia:Training/For students/Getting started 1
checkY {{#invoke:TrainingPages|next_page|index=Wikipedia:Training/For students/Index for TrainingPages testcases|page=Wikipedia:Training/For students/Citing sources}} Wikipedia:Training/For students/Citing sources 2 Wikipedia:Training/For students/Citing sources 2
checkY {{#invoke:TrainingPages|next_page|index=Wikipedia:Training/For students/Index for TrainingPages testcases|page=Project:Training/For students/Citing sources}} Wikipedia:Training/For students/Citing sources 2 Wikipedia:Training/For students/Citing sources 2
checkY {{#invoke:TrainingPages|next_page|index=Wikipedia:Training/For students/Index for TrainingPages testcases|anonymize=yes|page=Wikipedia:Training/For students/Citing sources}} Project:Training/For students/Citing sources 2 Project:Training/For students/Citing sources 2
checkY {{#invoke:TrainingPages|last_page|index=Wikipedia:Training/For students/Index for TrainingPages testcases|page=Wikipedia:Training/For students/valuable contribution|defaultpage=Wikipedia:Training/header}} Wikipedia:Training/header Wikipedia:Training/header
checkY {{#invoke:TrainingPages|last_page|index=Wikipedia:Training/For students/Index for TrainingPages testcases|page=Wikipedia:Training/For students/Citing sources|defaultpage=Wikipedia:Training/header}} Wikipedia:Training/For students/Text editing Wikipedia:Training/For students/Text editing
checkY {{#invoke:TrainingPages|last_page|Wikipedia:Training/For students/Index for TrainingPages testcases|page=Wikipedia:Training/For students/Where to get help|defaultpage=Wikipedia:Training/header}} Module:TrainingPages error:no index parameter specified Module:TrainingPages error:no index parameter specified
checkY {{#invoke:TrainingPages|main|index=Wikipedia:Training/For students/Index for TrainingPages testcases|displacement=5|page=Wikipedia:Training/For students/Citing sources|defaultpage=}} Wikipedia:Training/For students/Sandbox edits for new articles Wikipedia:Training/For students/Sandbox edits for new articles
checkY {{#invoke:TrainingPages|main|index=Wikipedia:Training/For students/Index for TrainingPages testcases|displacement=5|page=Wikipedia:Training/For students/Where to get help|defaultpage=}}
checkY {{#invoke:TrainingPages|page_number|index=Wikipedia:Training/For students/Nonexistent index|defaultpage=|noerr=yes}}
checkY {{#invoke:TrainingPages|page_number|index=Wikipedia:Training/For students/Nonexistent index|defaultpage=}} Module:TrainingPages error (index parameter):failed to access mw.title.new(Wikipedia:Training/For students/Nonexistent index):getContent() to load the index data Module:TrainingPages error (index parameter):failed to access mw.title.new(Wikipedia:Training/For students/Nonexistent index):getContent() to load the index data
checkY {{#invoke:TrainingPages|main|index=Wikipedia:Training/For students/Index for TrainingPages testcases|page=1}} Wikipedia:Training/For students/valuable contribution Wikipedia:Training/For students/valuable contribution
checkY {{#invoke:TrainingPages|total_pages|index=Wikipedia:Training/For students/Index for TrainingPages testcases }} 21 21

Start a discussion about improving the Module:TrainingPages/testcases page

Start a discussion