Editing User talk:GregoryRasputin
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
# upload (http://www. | # upload (http://www.vitadevwiki.com/index.php?title=Special:Upload) the needed buttons | ||
# add category (<nowiki>[[Category:Custom edit buttons]])</nowiki> to their description | # add category (<nowiki>[[Category:Custom edit buttons]])</nowiki> to their description | ||
# note their URL's to be used below | # note their URL's to be used below | ||
For global, edit At http://www. | For global, edit At http://www.vitadevwiki.com/index.php?title=MediaWiki:Common.js and add the pre-text (without the <nowiki>== header == and without pre-tags</nowiki>): | ||
== add seperate "table buttons" to the tool bar == | == add seperate "table buttons" to the tool bar == | ||
Line 10: | Line 10: | ||
if (mwCustomEditButtons) { | if (mwCustomEditButtons) { | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { | mwCustomEditButtons[mwCustomEditButtons.length] = { | ||
"imageFile": "http://www. | "imageFile": "http://www.vitadevwiki.com/images/a/a4/TableStart.png", | ||
"speedTip": "Table Start", | "speedTip": "Table Start", | ||
"tagOpen": "{|", | "tagOpen": "{|", | ||
Line 17: | Line 17: | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { | mwCustomEditButtons[mwCustomEditButtons.length] = { | ||
"imageFile": "http://www. | "imageFile": "http://www.vitadevwiki.com/images/7/71/TableCell.png", | ||
"speedTip": "Table Cell", | "speedTip": "Table Cell", | ||
"tagOpen": "|", | "tagOpen": "|", | ||
Line 24: | Line 24: | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { | mwCustomEditButtons[mwCustomEditButtons.length] = { | ||
"imageFile": "http://www. | "imageFile": "http://www.vitadevwiki.com/images/4/4c/TableRow.png", | ||
"speedTip": "Table Row", | "speedTip": "Table Row", | ||
"tagOpen": "|-", | "tagOpen": "|-", | ||
Line 31: | Line 31: | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { | mwCustomEditButtons[mwCustomEditButtons.length] = { | ||
"imageFile": "http://www. | "imageFile": "http://www.vitadevwiki.com/images/0/06/TableEnd.png", | ||
"speedTip": "Table End", | "speedTip": "Table End", | ||
"tagOpen": "", | "tagOpen": "", | ||
Line 42: | Line 42: | ||
<pre> | <pre> | ||
mwCustomEditButtons.push({ | mwCustomEditButtons.push({ | ||
"imageFile": "http://www. | "imageFile": "http://www.vitadevwiki.com/images/4/4a/Button_table.png", | ||
"speedTip": "Insert a table", | "speedTip": "Insert a table", | ||
"tagOpen": '{| class="wikitable"\n|', | "tagOpen": '{| class="wikitable"\n|', | ||
Line 66: | Line 66: | ||
[[User:Euss|Euss]] 19:19, 26 June 2013 (EDT) | [[User:Euss|Euss]] 19:19, 26 June 2013 (EDT) | ||
== Wiki has no GeSHi == | == Wiki has no GeSHi == | ||
Line 77: | Line 74: | ||
a sample that should work once it is installed: | a sample that should work once it is installed: | ||
<syntaxhighlight lang="php"> | |||
<?php | <?php | ||
$v = "string"; // sample initialization | $v = "string"; // sample initialization | ||
Line 85: | Line 82: | ||
echo $v; // end of php code | echo $v; // end of php code | ||
?> | ?> | ||
</syntaxhighlight> |