Difference between revisions of "Help:Contents"

From NST Wiki
Jump to navigationJump to search
(Adding Source Code Links)
(Updated page with information on how to show source files from the subversion repository (left CVS info as well - though we will probably not use it in the future))
 
(2 intermediate revisions by one other user not shown)
Line 10: Line 10:
 
== NST Specific Tips ==
 
== NST Specific Tips ==
  
=== Adding Source Code Links ===
+
=== Adding SVN Source Code Links ===
  
You can add links to color coded source files making up the '''NST''':
+
It is possible to add links to Wiki pages that will display the contents of source files making up the '''NST''' distribution. The public '''NST''' Subversion repository maintained at [http://www.sourceforge.net/ SourceForge] provides '''HTTP''' access.
 +
 
 +
For example, to add a link to the ''include/javascript/core/Properties.js'' source file, you would enter the following:
 +
 
 +
<pre class="programListing">
 +
<nowiki>See: [http://nst.svn.sourceforge.net/viewvc/nst/trunk/include/javascript/core/Properties.js?revision=HEAD&view=markup include/javascript/core/Properties.js]</nowiki>
 +
</pre>
 +
 
 +
The above Wiki code should result in a link (shown below) which will display the contents of the source file.
 +
 
 +
See: [http://nst.svn.sourceforge.net/viewvc/nst/trunk/include/javascript/core/Properties.js?revision=HEAD&view=markup include/javascript/core/Properties.js]
 +
 
 +
=== Adding CVS Source Code Links ===
 +
 
 +
If you want to link to the old NST source code under CVS, you will need to use a different '''URL''':
  
 
For example, the following '''Wiki''' text will create a link to: "'''include/data/acronyms-db.xml'''":
 
For example, the following '''Wiki''' text will create a link to: "'''include/data/acronyms-db.xml'''":
Line 25: Line 39:
  
  
=== NST Specific CSS Classes ===
+
=== Edit NST Specific CSS Styles ===
 +
 
 +
Use the following links to add/modify '''NST specifc CSS''' styles.
  
 
[[MediaWiki:Common.css]]
 
[[MediaWiki:Common.css]]
  
http://wiki.networksecuritytoolkit.org/nstwiki/index.php/MediaWiki:Common.css
+
[http://wiki.networksecuritytoolkit.org/nstwiki/index.php/MediaWiki:Common.css MediaWiki:Common.css]

Latest revision as of 11:10, 22 September 2010

Getting started

Consult the MediaWiki Handbook for information on using the wiki software.

NST Specific Tips

Adding SVN Source Code Links

It is possible to add links to Wiki pages that will display the contents of source files making up the NST distribution. The public NST Subversion repository maintained at SourceForge provides HTTP access.

For example, to add a link to the include/javascript/core/Properties.js source file, you would enter the following:

See: [http://nst.svn.sourceforge.net/viewvc/nst/trunk/include/javascript/core/Properties.js?revision=HEAD&view=markup include/javascript/core/Properties.js]

The above Wiki code should result in a link (shown below) which will display the contents of the source file.

See: include/javascript/core/Properties.js

Adding CVS Source Code Links

If you want to link to the old NST source code under CVS, you will need to use a different URL:

For example, the following Wiki text will create a link to: "include/data/acronyms-db.xml":

See: [http://nst.cvs.sourceforge.net/nst/include/data/acronyms-db.xml?revision=HEAD&view=markup include/data/acronyms-db.xml]

Appears as:

See: include/data/acronyms-db.xml


Edit NST Specific CSS Styles

Use the following links to add/modify NST specifc CSS styles.

MediaWiki:Common.css

MediaWiki:Common.css