Wikibooks:Dialog/do/test/preview

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

This page tests the content preview facility of action do. Fixed content is previewed twice, first with a non-live preview (in which ordinary buttons are disabled) and once in a live preview. Dialog parameters foo and bar are both defined, but the preview is only given permission to substitute in foo. Two buttons are provided, one specifying a subject page (from whose perspective the preview is done), the other with no specified subject (so the preview is from the perspective of the displaying page).


action=do&label=test other&verb:button-local-field-verb&page:button-local-field-page&subject:button-local-field-subject&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/previewxWikibooks:Dialog/do/test/previewcols=&rows=&Wikibooks:Dialog/do/test/preview/otherxWikibooks:Dialog/do/test/preview/other action=do&label=test here&verb:button-local-field-verb&page:button-local-field-page&subject:button-local-field-subject&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/previewxWikibooks:Dialog/do/test/previewcols=&rows=&x

non-live

[edit source]

<preview>


<preview-live>