Difference between revisions of "MediaWiki:Common.js"

From Makers Local 256
Jump to: navigation, search
m (update to make project button work, after Last Molested changed)
(removed the proposal button. We don't use it anymore)
Line 5: Line 5:
 
     "tagOpen": "\{\{Project|Creator=User Name",
 
     "tagOpen": "\{\{Project|Creator=User Name",
 
     "tagClose": "\n|Status=\<onlyinclude\> Your Status \<\/onlyinclude\>                                \<\!\-\-LEAVE ONLYINCLUDES FOR STATUS HACK\-\-\> \n|Born On=\~\~\~\~\~                                                                  \<\!\-\-DO NOT EDIT \-\-\>\n|Last Updated=\{\{\#time\: H\:i\, d F Y\| \{\{REVISIONTIMESTAMP\}\} \}\} \(CDT\)              \<\!\-\-DO NOT EDIT \-\-\>\n\}\}\n\n==Overview==\nThis is for a description of your project.\n\n\n\n\n\[\[Category:Put Category Here\]\]                                                  \<\!\-\-MAKE AS MANY CATEGORIES AS YOU NEED\-\-\>",
 
     "tagClose": "\n|Status=\<onlyinclude\> Your Status \<\/onlyinclude\>                                \<\!\-\-LEAVE ONLYINCLUDES FOR STATUS HACK\-\-\> \n|Born On=\~\~\~\~\~                                                                  \<\!\-\-DO NOT EDIT \-\-\>\n|Last Updated=\{\{\#time\: H\:i\, d F Y\| \{\{REVISIONTIMESTAMP\}\} \}\} \(CDT\)              \<\!\-\-DO NOT EDIT \-\-\>\n\}\}\n\n==Overview==\nThis is for a description of your project.\n\n\n\n\n\[\[Category:Put Category Here\]\]                                                  \<\!\-\-MAKE AS MANY CATEGORIES AS YOU NEED\-\-\>",
    "sampleText": ""};
 
 
  mwCustomEditButtons[mwCustomEditButtons.length] = {
 
    "imageFile": "https://256.makerslocal.org/wiki/images/proposal.png",
 
    "speedTip": "New Proposal",
 
    "tagOpen": "\=\= Proposal Name \=\=\n",
 
    "tagClose": "\* Call To Vote Date: \~\~\~\~\~\n* Voting Period Shall end in 72 hours from Call to Vote date.\n\*\* Called by: \~\~\~\~\n\*\* Seconded by:\n\n\=\= Summary \=\=\n\<\!\-\- Remove and place summary \-\-\>\n\n\=\= Proposal \=\=\n\<\!\-\- Remove and place proposal\-\-\>\n\n\=\= Discussion \=\=\n\<\!\-\- Remove and place discussion notes\-\-\>\n\n\=\= Votes \=\=\n\=\=\= Yay \=\=\=\n\n\=\=\= Nay \=\=\=\n\n\=\=\= Abstain \=\=\=\n\n\[\[Category\:Proposals\]\]\n\[\[Category\:Proposals\/Active\]\]",
 
 
     "sampleText": ""};
 
     "sampleText": ""};
 
}
 
}

Revision as of 21:49, 28 November 2011

 if (mwCustomEditButtons) { 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "https://256.makerslocal.org/wiki/images/project.png",
     "speedTip": "New Project",
     "tagOpen": "\{\{Project|Creator=User Name",
     "tagClose": "\n|Status=\<onlyinclude\> Your Status \<\/onlyinclude\>                                \<\!\-\-LEAVE ONLYINCLUDES FOR STATUS HACK\-\-\> \n|Born On=\~\~\~\~\~                                                                  \<\!\-\-DO NOT EDIT \-\-\>\n|Last Updated=\{\{\#time\: H\:i\, d F Y\| \{\{REVISIONTIMESTAMP\}\} \}\} \(CDT\)              \<\!\-\-DO NOT EDIT \-\-\>\n\}\}\n\n==Overview==\nThis is for a description of your project.\n\n\n\n\n\[\[Category:Put Category Here\]\]                                                  \<\!\-\-MAKE AS MANY CATEGORIES AS YOU NEED\-\-\>",
     "sampleText": ""};
}