Difference between revisions of "Extension & Option Samples"

From MagnetoWiki
Jump to navigation Jump to search
(Fix-up)
(Replace HarvardRef sample with built-in Cite sample.)
Line 31: Line 31:
 
{{#ev:youtube|X3dDQQcWhyU}}
 
{{#ev:youtube|X3dDQQcWhyU}}
  
==Harvard References Sample==
+
==Cite References Sample==
  
MagnetoWiki now includes the [http://www.mediawiki.org/wiki/Extension:HarvardReferences Harvard Reference Extension]
+
''[Note: old HarvardReference extension is deprecated]''
  
According to scientists, the Sun is pretty big.[Miller 2005]
+
MagnetoWiki now includes the [https://www.mediawiki.org/wiki/Extension:Cite Extension]
The Moon, however, is not so big.[Smith 1978:121]
+
 
 +
According to scientists, the Sun is pretty big.<ref name="miller2005" />
 +
The Moon, however, is not so big.<ref name="smith1978" />
  
 
===Notes===
 
===Notes===
* [*Miller 2005] E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
+
<references>
* [*Smith 1978] R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.
+
<ref name="miller2005">E. Miller, ''The Sun'', (New York: Academic Press, 2005), 23–25.</ref>
<HarvardReferences />
+
<ref name="smith1978">R. Smith, "Size of the Moon", ''Scientific American'', 46 (April 1978): 44–46.</ref>
 +
</references>
  
 
==Upgrade Test==
 
==Upgrade Test==

Revision as of 09:17, 4 July 2022

Here are some simple examples of useful extensions on MagnetoWiki. Edit or View Source to see the markup.

Raw HTML

MagnetoWiki allows raw HTML. This is a standard MediaWiki feature, not an extension.

Click here.

Magic Links

Optional MediaWiki Magic Links:

SimpleTable Sample

A B A xor B
0 0 0
0 1 1
1 0 1
1 1 0

EmbedVideo Sample

Cite References Sample

[Note: old HarvardReference extension is deprecated]

MagnetoWiki now includes the Extension

According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]

Notes

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23–25.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44–46.

Upgrade Test

This is a test that Mediawiki 1.23.9 is working.

An image using old Image namespace:

HouptLabIcon-flat.png

An image using new File namespace:

HouptLabIcon-flat.png

test edit.