Mediawiki Help: Difference between revisions

From PSP Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
  <nowiki>#REDIRECT [[pagename]]</nowiki>  <--- The command, where it says pagename, enter the name of the page that you want to be redirected to, for instance, i went into the blank page CFW and entered
  <nowiki>#REDIRECT [[pagename]]</nowiki>  <--- The command, where it says pagename, enter the name of the page that you want to be redirected to, for instance, i went into the blank page CFW and entered
  <nowiki>#REDIRECT [[CFW]]</nowiki>, saved it then that was it set up, you can find more info [https://www.mediawiki.org/wiki/Help:Redirects here]
  <nowiki>#REDIRECT [[CFW]]</nowiki>, saved it then that was it set up, you can find more info [https://www.mediawiki.org/wiki/Help:Redirects here]
==Images==
To post images, you must use Imgur
Configuration parameters
<pre>
<imgur>xSO1ufX.jpg</imgur>
<imgur w="200">xSO1ufX.jpg</imgur>
<imgur thumb="yes" w="250" comment="This is a chicken in class.">xSO1ufX.jpg</imgur>
</pre>
Images can be thumbnailed and size controlled by using <code>w</code> attribute for width and setting the <code>thumb</code> attribute to <code>yes</code> and entering text into the <code>comment</code> attribute.  The thumbnailed version is wrapped in a <code>div .imgur-thumb</code> tag and class for skin based and wiki wide CSS changes.

Revision as of 17:52, 20 June 2017

This is to help people who are not very familiar with editing on Mediawiki and is also a guide to help me remember certain things that are useful when editing.

Redirecting

Sometimes you will need to redirect, for instance we have an article called Custom Firmware(CFW) which is the main article, but we also had CFW, so we added the redirect in CFW, to make it point to Custom Firmware(CFW), if you click on either link, they should direct to the same place.

Never redirect an article which contains information, only redirect an article that is completely blank.

#REDIRECT [[pagename]]  <--- The command, where it says pagename, enter the name of the page that you want to be redirected to, for instance, i went into the blank page CFW and entered
#REDIRECT [[CFW]], saved it then that was it set up, you can find more info here


Images

To post images, you must use Imgur Configuration parameters

<imgur>xSO1ufX.jpg</imgur>

<imgur w="200">xSO1ufX.jpg</imgur>

<imgur thumb="yes" w="250" comment="This is a chicken in class.">xSO1ufX.jpg</imgur>

Images can be thumbnailed and size controlled by using w attribute for width and setting the thumb attribute to yes and entering text into the comment attribute. The thumbnailed version is wrapped in a div .imgur-thumb tag and class for skin based and wiki wide CSS changes.