Issue/Default form
De Semantic MediaWiki - Sandbox
Révision datée du 16 mai 2018 à 13:25 par Joris (discussion | contributions)
Description | When saving a page with a set form, the 'edit with form' link doesn't get set |
Parent topic | Catégorie:Examples |
Extension(s) | |
Keyword(s) | not specified |
Other link(s) | not specified |
Expected behaviour
"Edit with form" should be set/appear directly when saving the page. Now when (novice) users create a page using a form then realise they have to amend and click 'Edit', they can get confused and frustrated by the viewing of source code. This is exacerbated when $wgPageFormsRenameEditTabs = true;
is used.
Steps to reproduce
Scenario: Directly set default form and wait
- Save a new page with as content:
{{#default_form:Article}}
- The "Edit with form" link doesn't yet exist
- Refresh
- The "Edit with form" link doesn't yet exist
- Wait?
- The "Edit with form" link appears
Scenario: Directly set default form and do a dummy edit
- Save a new page with as content:
{{#default_form:Article}}
- The "Edit with form" link doesn't yet exist
- Refresh
- The "Edit with form" link doesn't yet exist
- Click 'edit' (editsource)
- The "Edit with form" link doesn't yet exist
- Make a dummy edit (ie add 'x' to the end of the contents)
- The "Edit with form" link doesn't yet exist
Scenario: form through category
- Have Category:Authors contain
{{#default_form:Author}}
- Save a new page with as content:
[[Category:Authors]]
- The "Edit with form" link doesn't yet exist
- Refresh
- The "Edit with form" link doesn't yet exist
- Click 'edit' (editsource)
- The "Edit with form" link doesn't yet exist
- Make a dummy edit (ie add 'x' to the end of the contents)
- The "Edit with form" link doesn't yet exist