Mediawiki Help: Difference between revisions

From PSP Developer wiki
Jump to navigation Jump to search
No edit summary
m (Gfycat is dead 9/1/2023)
 
(8 intermediate revisions by 2 users not shown)
Line 10: Line 10:


==Images==
==Images==
To post images, you must use Imgur.<br />
To post images, you need to look at the left hand side of your screen, under the tools section you will see "Upload file", click on it and follow the instructions.<br>
Configuration parameters
You can also view this page for more details - https://www.mediawiki.org/wiki/Help:Images
<pre>
<imgur>xSO1ufX.jpg</imgur>


<imgur w="200">xSO1ufX.jpg</imgur>
==Embedding Video==
Sometimes videos are a great way of showing something.<br />
====<nowiki><embedvideo></nowiki> - Tag Hook====
Videos can easily be embedded with the <nowiki><embedvideo></embedvideo></nowiki> tag hook.  The ID/URL goes as the input between the tags and parameters can be added as the tag arguments.


<imgur thumb="yes" w="250" comment="This is a chicken in class.">xSO1ufX.jpg</imgur>
<pre><nowiki><embedvideo service="youtube">https://www.youtube.com/watch?v=pSsYTj9kCHE</embedvideo></nowiki></pre>
</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.
Alternativly, you can also use the service id as the tag (assuming another extension isn't already using this tag).


<pre><nowiki><youtube>https://www.youtube.com/watch?v=pSsYTj9kCHE</youtube></nowiki></pre><br />


==Embedding Video==
Sometimes videos are a great way of showing something.<br />
As of version 2.x, EmbedVideo supports embedding video content from the following services:
As of version 2.x, EmbedVideo supports embedding video content from the following services:
{| class="wikitable"
{| class="wikitable"
Line 94: Line 93:
| <nowiki>c61fb67ac9</nowiki>
| <nowiki>c61fb67ac9</nowiki>
| <nowiki>http://www.funnyordie.com/videos/c61fb67ac9/to-catch-a-predator-elastic-heart-edition</nowiki>
| <nowiki>http://www.funnyordie.com/videos/c61fb67ac9/to-catch-a-predator-elastic-heart-edition</nowiki>
|-
! [http://gfycat.com/ Gfycat]
| colspan="2"|<code>gfycat</code>
| <nowiki>BruisedSilentAntarcticfurseal</nowiki>
| <nowiki>http://www.gfycat.com/BruisedSilentAntarcticfurseal</nowiki>
|-
|-
! [http://www.hitbox.tv/ Hitbox]
! [http://www.hitbox.tv/ Hitbox]
Line 194: Line 188:
|-
|-
|}
|}
==Customise Sidebar==
The sidebar can provide great information and be of help for visitors, it can also be a great help for visitors, [https://www.mediawiki.org/wiki/Manual:Interface/Sidebar you can read more info here]
==Quote==
<nowiki>{{Quote box
|quote  = bla bla bla bla bla bla
<br />
|source = '' '''Source''' -  .
}}</nowiki>
[https://en.wikipedia.org/wiki/Template:Quote_box More Info]

Latest revision as of 19:11, 4 July 2023

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[edit | edit source]

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[edit | edit source]

To post images, you need to look at the left hand side of your screen, under the tools section you will see "Upload file", click on it and follow the instructions.
You can also view this page for more details - https://www.mediawiki.org/wiki/Help:Images

Embedding Video[edit | edit source]

Sometimes videos are a great way of showing something.

<embedvideo> - Tag Hook[edit | edit source]

Videos can easily be embedded with the <embedvideo></embedvideo> tag hook. The ID/URL goes as the input between the tags and parameters can be added as the tag arguments.

<embedvideo service="youtube">https://www.youtube.com/watch?v=pSsYTj9kCHE</embedvideo>

Alternativly, you can also use the service id as the tag (assuming another extension isn't already using this tag).

<youtube>https://www.youtube.com/watch?v=pSsYTj9kCHE</youtube>


As of version 2.x, EmbedVideo supports embedding video content from the following services:

Site Service Name(s) ID Example URL Example(s)
Archive.org Videos archiveorg electricsheep-flock-244-80000-6 https://archive.org/details/electricsheep-flock-244-80000-6
 https://archive.org/embed/electricsheep-flock-244-80000-6
Bambuser bambuser - Broadcasts bambuser_channel - Channels 5262334 http://bambuser.com/v/5262334
Beam beam - Streams RocketBear https://beam.pro/RocketBear
Bing bing 31ncp9r7l http://www.bing.com/videos/watch/video/adorable-cats-attempt-to-eat-invisible-tuna/31ncp9r7l
Blip.tv blip - Blip requires the full URL to the video page and does not accept the raw ID. http://blip.tv/vinylrewind/review-6864612
C3TV mediacccde 32c3-7305-quantum_cryptography https://media.ccc.de/v/32c3-7305-quantum_cryptography
CollegeHumor collegehumor 6875289 http://www.collegehumor.com/video/6875289/batman-says-his-goodbyes
Dailymotion dailymotion x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms http://www.dailymotion.com/video/x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms
Daum TVPot tvpot - Obtain the URL or ID from the share menu URL. s9011HdLzYwpLwBodQzCHRB http://tvpot.daum.net/v/s9011HdLzYwpLwBodQzCHRB
Div Share divshare
Edutopia Edutopia content moved to YouTube. Please use the youtube service selector below.
FunnyOrDie funnyordie c61fb67ac9 http://www.funnyordie.com/videos/c61fb67ac9/to-catch-a-predator-elastic-heart-edition
Hitbox hitbox Washuu http://www.hitbox.tv/Washuu
JW Player jwplayer cr5d8nbu-8ZpoNmmJ https://content.jwplatform.com/players/cr5d8nbu-8ZpoNmmJ.html
Kickstarter kickstarter elanlee/exploding-kittens https://www.kickstarter.com/projects/elanlee/exploding-kittens
Metacafe metacafe 11404579 http://www.metacafe.com/watch/11404579/lan_party_far_cry_4/
Nico Nico Video nico sm24394325 http://www.nicovideo.jp/watch/sm24394325
RuTube rutube b698163ccb67498db74d50cb0f22e556 http://rutube.ru/video/b698163ccb67498db74d50cb0f22e556/
SoundCloud soundcloud use full url https://soundcloud.com/skrillex/skrillex-rick-ross-purple-lamborghini
TeacherTube teachertube 370511 http://www.teachertube.com/video/thats-a-noun-sing-along-hd-version-370511
TED Talks ted bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war http://www.ted.com/talks/bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war
Tubi TV tubitv 318409 http://tubitv.com/video/318409
Tudou tudou mfQXfumwiew http://www.tudou.com/listplay/mfQXfumwiew.html
Twitch twitch - Live Streams twitchvod - Archived Videos on Demand twitchplayspokemon http://www.twitch.tv/twitchplayspokemon
Videomaten videomaten
Vimeo vimeo 105035718 http://vimeo.com/105035718
Vine vine h2B7WMtuX2t https://vine.co/v/h2B7WMtuX2t
Yahoo Screen yahoo katy-perry-dances-sharks-2015-024409668 https://screen.yahoo.com/videos-for-you/katy-perry-dances-sharks-2015-024409668.html
YouTube youtube - Single Videos youtubeplaylist - Playlists pSsYTj9kCHE https://www.youtube.com/watch?v=pSsYTj9kCHE
 https://www.youtube.com/watch?v=CW_PbErQ_c8&list=PL76E80C7F756A2047
Youku youku XODc3NDgzMTY4 http://v.youku.com/v_show/id_XODc3NDgzMTY4.html

Customise Sidebar[edit | edit source]

The sidebar can provide great information and be of help for visitors, it can also be a great help for visitors, you can read more info here


Quote[edit | edit source]

{{Quote box |quote = bla bla bla bla bla bla <br /> |source = '' '''Source''' - . }} More Info