« Issue/Default form » : différence entre les versions

De Semantic MediaWiki - Sandbox
(Page créée avec « {{Example | description = When saving a page with a set form, the 'edit with form' link doesn't get set |extensions = Page Forms | other links = }} {{#default_f... »)
Balise : Éditeur de wikicode 2017
 
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Ligne 5 : Ligne 5 :
}}
}}


{{#default_form:Author}}
{{#default_form:Article}}
 
==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 <code>$wgPageFormsRenameEditTabs = true;</code> is used.
 
==Steps to reproduce==
===Scenario: Directly set default form and wait ===
#Save a new page with as content: <code><nowiki>{{#default_form:Article}}</nowiki></code>
#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: <code><nowiki>{{#default_form:Article}}</nowiki></code>
#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 <code><nowiki>{{#default_form:Author}}</nowiki></code>
#Save a new page with as content: <code><nowiki>[[Category:Authors]]</nowiki></code>
#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

Version du 16 mai 2018 à 13:25

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
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

  1. Save a new page with as content: {{#default_form:Article}}
  2. The "Edit with form" link doesn't yet exist
  3. Refresh
  4. The "Edit with form" link doesn't yet exist
  5. Wait?
  6. The "Edit with form" link appears

Scenario: Directly set default form and do a dummy edit

  1. Save a new page with as content: {{#default_form:Article}}
  2. The "Edit with form" link doesn't yet exist
  3. Refresh
  4. The "Edit with form" link doesn't yet exist
  5. Click 'edit' (editsource)
  6. The "Edit with form" link doesn't yet exist
  7. Make a dummy edit (ie add 'x' to the end of the contents)
  8. The "Edit with form" link doesn't yet exist

Scenario: form through category

  1. Have Category:Authors contain {{#default_form:Author}}
  2. Save a new page with as content: [[Category:Authors]]
  3. The "Edit with form" link doesn't yet exist
  4. Refresh
  5. The "Edit with form" link doesn't yet exist
  6. Click 'edit' (editsource)
  7. The "Edit with form" link doesn't yet exist
  8. Make a dummy edit (ie add 'x' to the end of the contents)
  9. The "Edit with form" link doesn't yet exist
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.