Difference between revisions of "Workflow example"

From Organic Design wiki
(Emoticon Workflow state set to Grin.)
m
 
Line 1: Line 1:
{{CreateAccount‎}}
+
{{legacy}}
*See [[Extension talk:Workflow.php]] for detailed discussion and notes about this extension
+
*See [[MW:Extension:Workflow]] for detailed discussion and notes about this extension
*The sequential order of this workflow examples is characterised in the article [[Workflow:Emoticon]]
+
*Changing the state of the emoticon recategorises the page using an [[w:AJAX|AJAX]] request
*Changing the state of the emoticon recategorises the page using an ajax request
 
 
*Buttons to change state only appear for users who have edit permission (in this wiki that means any logged in users)
 
*Buttons to change state only appear for users who have edit permission (in this wiki that means any logged in users)
  
 
{|
 
{|
 
|-
 
|-
| {{#Workflow:Emoticon|state=Grin|size=75px}}
+
|valign=top|
 +
<pre>
 +
{{#Workflow:Emoticon
 +
| Smile    = [[Image:Face-smile.svg|75px]]
 +
| Sad      = [[Image:Face-sad.svg|75px]]
 +
| Wink    = [[Image:Face-wink.svg|75px]]
 +
| Kiss    = [[Image:Face-kiss.svg|75px]]
 +
| Surprise = [[Image:Face-surprise.svg|75px]]
 +
}}
 +
</pre>
 +
|
 +
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 +
|
 +
<pre>
 +
{{#Workflow:Emoticon
 +
| Smile    = [[Image:Face-smile.svg|75px]]
 +
| Sad      = [[Image:Face-sad.svg|75px]]
 +
| Wink    = [[Image:Face-wink.svg|75px]]
 +
| Kiss    = [[Image:Face-kiss.svg|75px]]
 +
| Surprise = [[Image:Face-surprise.svg|75px]]
 +
}}
 +
</pre>
 
|}
 
|}
'''(Click the buttons)'''
 
 
[[Category:Examples/Workflow‎]]
 

Latest revision as of 22:37, 18 November 2014

Legacy.svg Legacy: This article describes a concept that has been superseded in the course of ongoing development on the Organic Design wiki. Please do not develop this any further or base work on this concept, this is only useful for a historic record of work done. You may find a link to the currently used concept or function in this article, if not you can contact the author to find out what has taken the place of this legacy item.
  • See MW:Extension:Workflow for detailed discussion and notes about this extension
  • Changing the state of the emoticon recategorises the page using an AJAX request
  • Buttons to change state only appear for users who have edit permission (in this wiki that means any logged in users)
{{#Workflow:Emoticon
 | Smile    = [[Image:Face-smile.svg|75px]]
 | Sad      = [[Image:Face-sad.svg|75px]]
 | Wink     = [[Image:Face-wink.svg|75px]]
 | Kiss     = [[Image:Face-kiss.svg|75px]]
 | Surprise = [[Image:Face-surprise.svg|75px]]
}}

        

{{#Workflow:Emoticon
 | Smile    = [[Image:Face-smile.svg|75px]]
 | Sad      = [[Image:Face-sad.svg|75px]]
 | Wink     = [[Image:Face-wink.svg|75px]]
 | Kiss     = [[Image:Face-kiss.svg|75px]]
 | Surprise = [[Image:Face-surprise.svg|75px]]
}}