Wikinews:Dialog/do/test/delegation

< Wikinews:Dialog‎ | do‎ | test

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=&Wikinews:Dialog/do/test/delegationxWikinews: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=&Wikinews:Dialog/do/test/delegationxWikinews: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=&Wikinews:Dialog/do/test/delegationxWikinews: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=&Wikinews:Dialog/do/test/delegationxWikinews: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=&Wikinews:Dialog/do/test/delegation/formxWikinews:Dialog/do/test/delegation/formcols=&rows=&Wikinews:Dialog/do/test/delegation/subjectxWikinews: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=&Wikinews:Dialog/do/test/delegation/formxWikinews:Dialog/do/test/delegation/formcols=&rows=&Wikinews:Dialog/do/test/delegation/subjectxWikinews:Dialog/do/test/delegation/subjectcols=&rows=&0xcols=&rows=&xcols=&rows=&Wikinews:Dialog/do/test/delegationxWikinews:Dialog/do/test/delegation
(only works with authentication)
doEdit.editStepEight: to page