Editing User talk:GregoryRasputin

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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.psdevwiki.com/vita/index.php?title=Special:Upload) the needed buttons
# add category (<nowiki>[[Category:Custom edit buttons]])</nowiki> to their description
# note their URL's to be used below
For global, edit At http://www.psdevwiki.com/vita/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 ==
<pre>
<pre>
Line 10: Line 4:
if (mwCustomEditButtons) {
if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://www.psdevwiki.com/vita/images/a/a4/TableStart.png",
     "imageFile": "http://www.vitadevwiki.com/images/a/a4/TableStart.png",
     "speedTip": "Table Start",
     "speedTip": "Table Start",
     "tagOpen": "{|",
     "tagOpen": "{|",
Line 17: Line 11:
   
   
   mwCustomEditButtons[mwCustomEditButtons.length] = {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://www.psdevwiki.com/vita/images/7/71/TableCell.png",
     "imageFile": "http://www.vitadevwiki.com/images/7/71/TableCell.png",
     "speedTip": "Table Cell",
     "speedTip": "Table Cell",
     "tagOpen": "|",
     "tagOpen": "|",
Line 24: Line 18:
   
   
   mwCustomEditButtons[mwCustomEditButtons.length] = {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://www.psdevwiki.com/vita/images/4/4c/TableRow.png",
     "imageFile": "http://www.vitadevwiki.com/images/4/4c/TableRow.png",
     "speedTip": "Table Row",
     "speedTip": "Table Row",
     "tagOpen": "|-",
     "tagOpen": "|-",
Line 31: Line 25:


   mwCustomEditButtons[mwCustomEditButtons.length] = {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://www.psdevwiki.com/vita/images/0/06/TableEnd.png",
     "imageFile": "http://www.vitadevwiki.com/images/0/06/TableEnd.png",
     "speedTip": "Table End",
     "speedTip": "Table End",
     "tagOpen": "",
     "tagOpen": "",
Line 42: Line 36:
<pre>
<pre>
     mwCustomEditButtons.push({
     mwCustomEditButtons.push({
         "imageFile": "http://www.psdevwiki.com/vita/images/4/4a/Button_table.png",
         "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 50: Line 44:
</pre>
</pre>


save and hardrefresh the edit page to preview the buttons.
add to http://www.vitadevwiki.com/index.php?title=MediaWiki:Common.js
test out if they work as intended.
 
 
== Added templates need enabling of parsing ==
Added some handy templates, that will not work without enabling parsing (navigational boxes and documentation subspace)they are also used on ps3/ps4 wiki as the familiar blueish boxes for main navigation on ps4 wiki and most commonly on ps3wiki at the firmware page (to make it easier to add firmwares and have a nice readable overview of what is available.
 
https://www.mediawiki.org/wiki/Extension:ParserFunctions
 
alternatively: "This extension is bundled with MediaWiki 1.18 and above"
 
this wiki runs 1.17.0...
 
(PS3wiki: 1.18.1 / PS4wiki: 1.20.2 / new shared psdevwiki: 1.21.1)
 
[[User:Euss|Euss]] 19:19, 26 June 2013 (EDT)
 
: current wiki runs 1.24.0 (yay!) but some parsings still do not work (which depend on the logical and string functions that https://www.mediawiki.org/wiki/Extension:ParserFunctions gives)
: [[User:Euss|Euss]] ([[User talk:Euss|talk]]) 18:31, 10 April 2015 (MDT)
 
== Wiki has no GeSHi ==
* https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi is not installed, so we cannot get posted code be highlighted
 
a sample of where it is also used on this wiki : [[PlayView#content.dat.28.edat.29:]] (scroll to "Second part XML:")
 
a sample that should work once it is installed:
 
 
<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;        // end of php code
?>
Please note that all contributions to Vita Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see Vita Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)