Wikibooks:Dialog/do/test/delegation

From Wikibooks, open books for an open world
Jump to navigation Jump to search

This page tests all the ways action do may perform delegation. Each delegation can be tested with or without authentication. Data reported: a parameter passed explicitly; a parameter passed implicitly during delegation; the requesting page; and the incoming authenticated.


Parameters and authentication

Parameter foo (explicit): <not received>
Parameter bar (implicit): <not received> action=do&label=set up implicit parameter&verb:button-local-field-verb&page:button-local-field-page&bar:button-local-field-bar&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/delegationxWikibooks:Dialog/do/test/delegationcols=&rows=&quuxx
Requesting page: <none>
Incoming authentication: <none>
Outgoing authentication: no action=do&label=turn on authentication&verb:button-local-field-verb&page:button-local-field-page&set-auth:button-local-field-set-auth&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/delegationxWikibooks:Dialog/do/test/delegationcols=&rows=&onx
diagnostic panel

Tests of particular delegating calls

test what is tested
action=do&label=delegating button&verb:button-local-field-verb&page:button-local-field-page&foo:button-local-field-foo&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/delegationxWikibooks:Dialog/do/test/delegationcols=&rows=&0x handleDelegatingButton
embedded dialog request doView.viewStepSix: wikilink with embedded dialog query
action=do&label=view error&verb:button-local-field-verb&page:button-local-field-page&foo:button-local-field-foo&misbehave:button-local-field-misbehave&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/delegationxWikibooks:Dialog/do/test/delegationcols=&rows=&0xcols=&rows=&xx doView.viewStepSix: local-error
action=do&label=edit error&verb:button-local-field-verb&form:button-local-field-form&subject:button-local-field-subject&foo:button-local-field-foo&misbehave:button-local-field-misbehave&cols=&rows=&editxcols=&rows=&Wikibooks:Dialog/do/test/delegation/formxWikibooks:Dialog/do/test/delegation/formcols=&rows=&Wikibooks:Dialog/do/test/delegation/subjectxWikibooks:Dialog/do/test/delegation/subjectcols=&rows=&0xcols=&rows=&xx doEdit.handleAuthenticationError: to handler
action=do&label=null edit&verb:button-local-field-verb&form:button-local-field-form&subject:button-local-field-subject&foo:button-local-field-foo&misbehave:button-local-field-misbehave&page:button-local-field-page&cols=&rows=&editxcols=&rows=&Wikibooks:Dialog/do/test/delegation/formxWikibooks:Dialog/do/test/delegation/formcols=&rows=&Wikibooks:Dialog/do/test/delegation/subjectxWikibooks:Dialog/do/test/delegation/subjectcols=&rows=&0xcols=&rows=&xcols=&rows=&Wikibooks:Dialog/do/test/delegationxWikibooks:Dialog/do/test/delegation
(only works with authentication)
doEdit.editStepEight: to page