Difference between revisions of "Workflow example"

From Organic Design wiki
(Emoticon Workflow state set to Sad.)
m
 
(44 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{CreateAccount‎}}
+
{{legacy}}
 
*See [[MW:Extension:Workflow]] for detailed discussion and notes about this extension
 
*See [[MW:Extension:Workflow]] for detailed discussion and notes about this extension
 
*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 [[w:AJAX|AJAX]] request
Line 7: Line 7:
 
|-
 
|-
 
|valign=top|
 
|valign=top|
 +
<pre>
 
{{#Workflow:Emoticon
 
{{#Workflow:Emoticon
 
  | Smile    = [[Image:Face-smile.svg|75px]]
 
  | Smile    = [[Image:Face-smile.svg|75px]]
Line 14: Line 15:
 
  | Surprise = [[Image:Face-surprise.svg|75px]]
 
  | Surprise = [[Image:Face-surprise.svg|75px]]
 
}}
 
}}
 +
</pre>
 
|
 
|
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Line 27: Line 29:
 
</pre>
 
</pre>
 
|}
 
|}
 
[[Category:Examples‎]][[Category:TextTest]][[Category:Sad]]
 

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