Jump to content

Wikinews:Dialog/do/test/preview

From Wikinews, the free news source you can write!

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=&Wikinews:Dialog/do/test/previewxWikinews:Dialog/do/test/previewcols=&rows=&Wikinews:Dialog/do/test/preview/otherxWikinews: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=&Wikinews:Dialog/do/test/previewxWikinews:Dialog/do/test/previewcols=&rows=&x

non-live

[edit]

<preview>


live

[edit]

<preview-live>