Difference between revisions of "Geïnstalleerde Mediawiki Extensies"
Line 9: | Line 9: | ||
require_once( "{$IP}/extensions/ASHighlight/ashighlight.php" ); | require_once( "{$IP}/extensions/ASHighlight/ashighlight.php" ); | ||
− | == Usage == | + | ==== Usage ==== |
Use a '<tt>source</tt>' HTML-style tag in your wiki code, and give it a '<tt>lang</tt>' attribute that matches the standard '''file extension''' for your source code, eg 'c' for C code, 'cpp' for C++ code, 'py' for Python, etc. For example: | Use a '<tt>source</tt>' HTML-style tag in your wiki code, and give it a '<tt>lang</tt>' attribute that matches the standard '''file extension''' for your source code, eg 'c' for C code, 'cpp' for C++ code, 'py' for Python, etc. For example: | ||
Line 54: | Line 54: | ||
According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref> | According to scientists, the Sun is pretty big.<ref>E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.</ref> | ||
− | + | The Moon, however, is not so big.<ref>R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.</ref> | |
− | ==Notes== | + | ==== Notes ==== |
<references/> | <references/> | ||
Revision as of 20:27, 14 January 2008
Hier een overzicht van alle extensies/aanpassingen die we op deze wiki gebruiken:
Contents
- 1 ASHighlight
- 2 CategoryTree
- 3 Cite
- 4 Collapsible tables
- 5 FCKeditor
- 6 Graphviz.php
- 7 LatexDoc
- 8 latexmk
- 9 OpenID
- 10 OpenWetWare:Toggle
- 11 PdfExport
- 12 RawHTML.php
- 13 Renameuser
- 14 SecureLoginPage.php
- 15 SpecialImportUsers.php
- 16 SpecialNoCategoryContributions.php
- 17 WhoIsWatching
- 18 WikiArticleFeeds
ASHighlight
link: ASHighlight
Insert into your LocalSettingsExtra.php:
require_once( "{$IP}/extensions/ASHighlight/ashighlight.php" );
Usage
Use a 'source' HTML-style tag in your wiki code, and give it a 'lang' attribute that matches the standard file extension for your source code, eg 'c' for C code, 'cpp' for C++ code, 'py' for Python, etc. For example:
What it looks like | What you type |
---|---|
while(1){
i++;
}
|
<source lang="c"> while(1){ i++; } </source> |
CategoryTree
link: CategoryTree
Insert into your LocalSettingsExtra.php:
$wgUseAjax = true; require_once( 'extensions/CategoryTree/CategoryTree.php' );
Cite
link: Cite/Cite
Insert into your LocalSettingsExtra.php:
require_once( $IP.'/extensions/Cite/Cite.php' );
Example
According to scientists, the Sun is pretty big.[1] The Moon, however, is not so big.[2]
Notes
Collapsible tables
link: [1]
FCKeditor
Graphviz.php
LatexDoc
latexmk
OpenID
OpenWetWare:Toggle
link: Toggle items
PdfExport
RawHTML.php
Renameuser
SecureLoginPage.php
SpecialImportUsers.php
SpecialNoCategoryContributions.php
WhoIsWatching
WikiArticleFeeds
link: WikiArticleFeeds