Jump to content

Wikinews:Dialog/do/test/stack

From Wikinews, the free news source you can write!

This page tests the dialog push/pop facilities, and especially how they interact with dialog cache expiry.


Parameters

count {{{count}}}
STACK-DEPTH {{{STACK-DEPTH}}}
INCOMING-PUSH {{{INCOMING-PUSH}}}
INCOMING-PUSH-ERROR {{{INCOMING-PUSH-ERROR}}}

Tests

action=do&label=occupy cache&verb:button-local-field-verb&page:button-local-field-page&count:button-local-field-count&test:button-local-field-test&cols=&rows=&viewxcols=&rows=&Wikinews:Dialog/do/test/stackxWikinews:Dialog/do/test/stackcols=&rows=&0xcols=&rows=&x uses up another dialog id; doing this repeatedly forces cache expiry of older ids unless held on the stack
action=do&label=push&verb:button-local-field-verb&page:button-local-field-page&push:button-local-field-push&count:button-local-field-count&test:button-local-field-test&cols=&rows=&viewxcols=&rows=&Wikinews:Dialog/do/test/stackxWikinews:Dialog/do/test/stackcols=&rows=&xxcols=&rows=&0xcols=&rows=&x attempts to push previous url onto the stack
action=do&label=pop&verb:button-local-field-verb&page:button-local-field-page&pop:button-local-field-pop&count:button-local-field-count&test:button-local-field-test&cols=&rows=&viewxcols=&rows=&Wikinews:Dialog/do/test/stackxWikinews:Dialog/do/test/stackcols=&rows=&xxcols=&rows=&0xcols=&rows=&x attempts to pop a url off the stack