Difference between revisions of "Help:Contents"

From IHE Wiki
Jump to navigation Jump to search
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''[[Wiki Map]]''' describes the high level layout of this wiki.
 +
 
A '''wiki''' is basically a website you can edit.
 
A '''wiki''' is basically a website you can edit.
  
 
To '''edit''' a page, click the edit tab at the top, edit the material in the input box then click the '''Save page''' button at the bottom.
 
To '''edit''' a page, click the edit tab at the top, edit the material in the input box then click the '''Save page''' button at the bottom.
  
[[WikiAccount| Create a user account]] so we can keep track of who is doing what.
+
'''[[Wiki Accounts| Create a user account]]''' so we can keep track of who is doing what.
 +
 
 +
Browse the '''[[How To's]]''' and the rest of this help page.
 +
 
 +
 
 +
__TOC__
 +
 
  
 
==How to edit==
 
==How to edit==
  
 
Wiki pages are mostly plain text with a few basic formatting characters.
 
Wiki pages are mostly plain text with a few basic formatting characters.
 +
If you're nervous about formatting, just type plain text and leave a blank line to separate paragraphs.
  
 
Read this tutorial:  http://meta.wikimedia.org/wiki/Help:Editing
 
Read this tutorial:  http://meta.wikimedia.org/wiki/Help:Editing
  
In about 2 pages it explains the basic concepts & formatting characters.  It also has loads of good links you can come back to later when you want to know more. At that point, the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] is also a good entry page.
+
In about 2 pages it explains the basic concepts & formatting characters.  It also has loads of good links you can come back to later when you want to know more.
 +
 
 +
Many types of pages (e.g. specific Domains, specific Committees) have [[:Category:Templates| templates]] you can copy/paste when creating new pages.
 +
 
 +
If you want a safe place to practice editing, feel free to play in the [[Sandbox]] page.
 +
 
 +
Use '''[[:Category:Templates| Templates]]''' for creating typical pages.
  
 
==How to write==
 
==How to write==
Line 20: Line 35:
 
* [http://www.useit.com/alertbox/9710a.html How Users Read on the Web]
 
* [http://www.useit.com/alertbox/9710a.html How Users Read on the Web]
 
* [http://www.useit.com/alertbox/20030811.html Information Pollution]
 
* [http://www.useit.com/alertbox/20030811.html Information Pollution]
 +
 +
==Text Conventions==
 +
'''''<These are just provisional and should be discussed>'''''
 +
 +
Use '''bold text''' to emphasize topics.
 +
 +
Use ''<italic text in angle brackets>'' for '''instructions to editors''', i.e. text that should be replaced and explains what goes there, such as in a template
 +
 +
Use '''''<bold italic text in angle brackets>''''' when adding '''in-line comments''' about the contents of a page.
  
 
==How to use MediaWiki==
 
==How to use MediaWiki==
  
The links that are always available along the left and across the top provide a lot of useful features.
+
The links that are always available on the left side and across the top of the page provide a lot of useful features.
 +
 
 +
===Recent Changes / History===
 +
 
 +
The Recent Changes link in the navigation box takes you to the Recent Changes page.  Every edit to any wiki page is listed from newest to oldest.  Clicking on the (diff) link lets you see what the edit changed.  Clicking on the page link itself lets you see that version.  Clicking on the (hist) link lets you see the history of changes to that page. 
 +
 
 +
You can also see past versions from the History tab on each page.
 +
 
 +
===Watch / Watchlist===
 +
 
 +
The My watchlist link at the top is a filtered list that only shows changes to pages you have flagged by clicking the Watch tab at the top of each page.
  
 
===Search===
 
===Search===
Line 29: Line 63:
 
The search box on the left lets you do keyword searches on the site contents.  You can change the scope of the search in your preferences.
 
The search box on the left lets you do keyword searches on the site contents.  You can change the scope of the search in your preferences.
  
===Recent Changes===
+
===Printable Version===
 +
 
 +
The Printable Version link on the left generates a version of the current page more suitable for printing from your browser.
 +
 
 +
===Discussions===
 +
 
 +
Each page has a Discussion tab at the top.  If you feel it useful/necessary, explain the purpose of the page or the rationale of it's structure here. 
 +
 
 +
If you are about to make a major change to a page, check the Discussion page to make sure you aren't misunderstanding the page.  If you are going ahead with a major change, consider documenting your rationale.
 +
 
 +
===User Page===
 +
 
 +
Click on a user name (yours appears up at the top, others appear on history pages, etc) to get to their personal page.  Also at the top is a my talk link which takes you to the Discussion page associated with your user page.  Other users can leave you messages there.  You will be automatically notified when you log in if someone has updated your discussion/talk page.
 +
 
 +
Consider this [[User Page Template| template]] when creating your User Page.
 +
 
 +
===Special Pages===
  
The Recent Changes link in the navigation box takes you to the Recent Changes page.  Every edit to any wiki page is listed from newest to oldest.  Clicking on the (diff) link lets you see what the edit changed.  Clicking on the page link itself lets you see that version.  Clicking on the (hist) link lets you see the history of changes to that page.
+
'''''<Need to explain the really handy pages under Special Pages>'''''
  
==Conventions==
+
===Categories===
'''Using Templates''' - We may have template for some types of pages (maybe referenced in the See Also section).  To use the template, click it's link, click "Edit", and select and copy all the text in the edit window.  Then go to your new page, and paste the template text into the edit window.
 
  
'''Adding Instructions to Editors''' - Use ''<italic text in angle brackets>'' when adding instructions to editors, for example in a template
+
You can categorize pages by adding one or more [http://www.mediawiki.org/wiki/Category '''category'''] tags to the text. Adding a tag creates a link at the bottom of the article which take you to the list of all pages in that category, which makes it easy to browse related articles. 
  
'''Adding In-line Comments''' - Use '''''<bold italic text in angle brackets>''''' when adding comments about the page contents
+
For example, add one of these to the bottom of a page:
  
 +
<nowiki>
 +
[[Category:Actor]]
 +
[[Category:Agenda]]
 +
[[Category:Minutes]]
 +
[[Category:Profiles]]
 +
[[Category:Templates]] </nowiki>
  
==Useful Tricks==
+
In addtion, you can categorize each page based on its [[Domains | domain]] abbreviation:
  
 +
<nowiki>
 +
[[Category:PCD]]</nowiki>
 +
 +
Add as many tags as you like, so your page will be found in as many appropriate category listings as makes sense.
 +
 +
Finally, you may want your category sorted differently. The following tag puts your page on the Profiles list, but sorted using the "SortMeHere" tag:
 +
 +
<nowiki>
 +
[[Category:Profiles | SortMeHere]]</nowiki>
 +
 +
==Tips & Tricks==
 +
 +
'''Quasi-Back Button'''
 +
 +
If you have done several edits, when you use the browser "Back" button you will have to go back many times to get to the page you came from.
 +
 +
As an alternative that takes two clicks, you can click on "What links here" in the Toolbox on the left side of the Wiki page.  The page you came from will be listed there an you can click on it.
 +
 +
'''Text Size'''
 +
 +
To change the font size from the normal size to <big>larger</big> or <small>smaller</small> use:
 +
 +
::<tt><nowiki>  <big> text  </big>      </nowiki></tt>
 +
::<tt><nowiki>  <small> text  </small>  </nowiki></tt>
 +
 +
'''Text Color'''
 +
 +
To change the color of the <font color=red>font</font> being displayed use:
 +
 +
::<tt><nowiki>  <font color=red> text </font>  </nowiki></tt>
 +
 +
'''Line Formatting'''
 +
 +
To force a hard Carriage-Return/Line-feed in the displayed document, either leave a blank line, or use:
 +
 +
::<tt><nowiki>  <br />  </nowiki></tt>
 +
 +
To center a text line, or all text between start HTML Tag and end HTML tag, use:
 +
 +
::<tt><nowiki>  <center>text</center>  </nowiki></tt>
 +
 +
'''Quoting Text'''
 +
 +
To quote text without applying the wiki formatting rules use:
 +
::<tt><nowiki>  <nowiki> text </nowiki>  </nowiki></tt>
 +
 +
Within a nowiki section, only HTML-quoting of special characters (<>&) will occur--no other formatting rules will be applied.
 +
 +
'''Embedding Images/Graphics/Documents'''
 +
 +
First upload the jpg using the Upload File link on the left.  Then put a link to the jpg at the place you want the image to appear using the following format:
 +
 +
::<tt><nowiki>  [[Image:NameOfYourFile.jpg]]  </nowiki></tt>
 +
 +
You can also embed links to files such as:
 +
 +
::<tt><nowiki>  [[:Media:NameOfYourFile.doc | link text]]</nowiki></tt>
 +
 +
;Term (bolded term):Definition (with indented definition)
 +
is accomplished by:
 +
::<tt><nowiki>  ;Term (bolded term):Definition (with indented definition)  </nowiki></tt>
 +
 +
'''Using Templates'''
 +
 +
There are templates for some typical types of pages.  A page often has a link in the See Also section to the template it was created from.
 +
 +
To use the template, click it's link, click "Edit", and select and copy all the text in the edit window.  Then go to your new page, and paste the template text into the edit window.
  
 
'''Table of Contents'''
 
'''Table of Contents'''
  
All pages with more than two headers include a Table of Contents at the top of the page with each of the section headers included as links.  To move the TOC, insert the text <nowiki>__TOC__</nowiki> at the point in the page where you would like it to appear.  To remove the TOC, insert the text <nowiki>__NOTOC__</nowiki> at the start of the page.
+
All pages with more than two headers include a Table of Contents at the top of the page with each of the section headers included as links.   
 +
 
 +
To move the TOC, insert the text <nowiki>__TOC__</nowiki> at the point in the page where you would like it to appear.   
 +
 
 +
To remove the TOC, insert the text <nowiki>__NOTOC__</nowiki> at the start of the page.
  
 
'''Combined Pages'''
 
'''Combined Pages'''
Line 52: Line 178:
 
To combine several existing pages into a single meta page when it makes sense to do so for viewing or printing, create a new page with the following syntax:
 
To combine several existing pages into a single meta page when it makes sense to do so for viewing or printing, create a new page with the following syntax:
  
:<nowiki>=Optional Heading=</nowiki>
+
::<tt><nowiki>   ==Optional Heading=</nowiki></tt>
:<nowiki>{{:Page page1}}</nowiki>
+
::<tt><nowiki>   {{:Page page1}}       </nowiki></tt>
:<nowiki>{{:Page page2}}</nowiki>
+
::<tt><nowiki>   {{:Page page2}}       </nowiki></tt>
:''and so on''
+
::''and so on''
 
 
  
 
'''Printing Pages'''
 
'''Printing Pages'''
Line 72: Line 197:
 
* File->Page Setup-> reset the margins
 
* File->Page Setup-> reset the margins
 
* Tools->Templates and Add-ins
 
* Tools->Templates and Add-ins
* '''''<explain how to import/overwrite the appropriate paragraph styles>'''''
+
* '''''<still need to explain how to import/overwrite the appropriate paragraph styles>'''''
 
* print from Word
 
* print from Word
 
 
  
 
'''Spellchecking'''
 
'''Spellchecking'''
  
 
There are client side spell checkers that will check what you edit:
 
There are client side spell checkers that will check what you edit:
* Google Toolbar v3.0 for Explorer (http://toolbar.google.com/)
+
* Google Toolbar for Explorer (http://toolbar.google.com/)
* ieSpell v2.1.1 for Explorer (http://www.iespell.com/)
+
* ieSpell for Explorer (http://www.iespell.com/)
 
* Spellbound for Firefox (http://wiki.ehow.com/Install-a-Spell-Checker-Into-Firefox)
 
* Spellbound for Firefox (http://wiki.ehow.com/Install-a-Spell-Checker-Into-Firefox)
  
 +
'''Task Lists'''
  
'''Uploading Files'''
+
The [http://wiki.arandeltac.com/MediaWiki_Tasks MediaWikiTasks] plugin supports managing task lists.
  
To avoid the broken link icon at the link to your uploaded file, add a : at the
+
'''Timelines'''
start of the link.  E.g. <nowiki>[[:Media:NameOfYourFile.doc | link text]]</nowiki>
 
  
 +
The [http://members.chello.nl/epzachte/Wikipedia/EasyTimeline/Introduction.htm EasyTimelines] plugin supports displaying annotated timelines.
  
 
'''Converting Pages to HTML Files'''
 
'''Converting Pages to HTML Files'''
Line 101: Line 226:
 
<nowiki>"mw2html.py http://172.16.16.134/wiki/ out -f"</nowiki>
 
<nowiki>"mw2html.py http://172.16.16.134/wiki/ out -f"</nowiki>
  
'''''The current problem is that it doesn't use the login cookie cached for the browser so it only gets the top page right, but otherwise looks like it is doing the right thing.'''''
+
Note: you may have a problem becausee it doesn't seem to use the login cookie cached for the browser so mw2html.py is an anonymous user so it only gets logon pages for pages that anonymous users don't have permission to view.
 
 
''I tested mw2html and it worked ok. Currently, our wiki allow anonymous users to view main page, logon page, and help page only. So mw2html.py can only get logon pages for others. Because of that, mw2html went pretty fast. I expect it will run lot longer when I allow anonymous user to view all pages.- howard''
 
 
 
 
 
  
 
'''PDF Export'''
 
'''PDF Export'''
Line 148: Line 269:
 
*Funky caching issues
 
*Funky caching issues
  
 +
==See Also==
 +
The IHE Wiki is built on MediaWiki software.  The [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide MediaWiki User's Guide] is an excellent reference.
  
 
'''Task Lists'''
 
 
The [http://wiki.arandeltac.com/MediaWiki_Tasks MediaWikiTasks] plugin supports managing task lists.
 
 
 
'''Timelines'''
 
 
The [http://members.chello.nl/epzachte/Wikipedia/EasyTimeline/Introduction.htm EasyTimelines] plugin supports displaying annotated timelines.
 
 
==See Also==
 
 
[http://meta.wikimedia.org/wiki/MediaWiki MediaWiki] and [http://en.wikipedia.org/wiki/Main_Page Wikipedia, the free encyclopedia] provide more information and examples of using MediaWiki.
 
[http://meta.wikimedia.org/wiki/MediaWiki MediaWiki] and [http://en.wikipedia.org/wiki/Main_Page Wikipedia, the free encyclopedia] provide more information and examples of using MediaWiki.
  
 
[http://news.zdnet.com/2036-2_22-5815948.html Wiki Introduction] provides a short video outlining the use of Wiki's for collaboration  
 
[http://news.zdnet.com/2036-2_22-5815948.html Wiki Introduction] provides a short video outlining the use of Wiki's for collaboration  
  
==Wiki Features==
+
[http://www.mediawiki.org/wiki/Help:Configuration_settings Configuration settings list] explains the MediaWiki config variables.
Neat stuff under special pages.  Explain Categories and Category Pages.
 
Discussion Page: If you feel it useful/necessary, explain the purpose of the page or the rationale of it's structure.  If you are about to make a major change to a page, check the Discussion to make sure you aren't misunderstanding the page.  If you are going ahead with a major change, consider documenting your rationale.
 
 
 
Explain User page, watchlists, my contributions, Recent Changes, Look into My Talk,
 
 
 
 
 
 
 
===Changing Size===
 
To change the font size from the normal size to a size <big>larger</big> use the following:
 
 
 
::<tt><nowiki>  <big> ...text  </big>  </nowiki></tt>
 
 
 
To change the font size from the normal size to a size <small>smaller</small> use the following:
 
 
 
::<tt><nowiki>  <small> ...text  </small>    </nowiki></tt>
 
 
 
===Changing Types===
 
 
 
 
 
===Changing Colors===
 
To change the color of the <font color=red>font</font> being displayed use the following:
 
::<tt><nowiki>  <font color=red> ...text </font>  </nowiki></tt>
 
 
 
 
 
===Text Line Controls===
 
* To force a hard Carriage-Return/Line-feed in the displayed document, use the following charcter sequence
 
 
<nowiki>        <br />  </nowiki>
 
 
 
* To center a text line, or all test between start fo HTML Tag and end of HTML tag.
 
 
 
<nowiki>    <center>...</center>  </nowiki>
 
 
 
 
 
 
 
===Tables===
 
Wikicode can be used to create a table, as follows:
 
 
 
*The entire table begins with a line "{| optional table parameters " and ends with the line "|}".
 
*An optional table caption is included with a line "|+ caption " after "{|".
 
*The code for a table row consists of the line "|- optional table parameters ", and, starting on a new line, the codes for the cells in the row, separated by newline or "|"
 
*Table data are the codes for the cells; cell code is of the form "| value " or "| cell parameters | value "
 
*a row of column headings is identified by using "!" instead of "|", except for the separator between a cell parameter and a value; the difference with a normal row depends on the browser, column headings are often rendered in a bold font.
 
*the first cell of a row is identified as row heading by starting the line with "!" instead of "|", and starting subsequent data cells on a new line.
 
 
 
====Example====
 
<nowiki>{| </nowiki>
 
 
 
<nowiki>| Cell 1, row 1 </nowiki>
 
 
 
<nowiki>| Cell 2, row 1 </nowiki>
 
 
 
<nowiki>|- </nowiki>
 
 
<nowiki>| Cell 1, row 2 </nowiki>
 
 
 
<nowiki>| Cell 2, row 2 </nowiki>
 
 
 
<nowiki>|}</nowiki>
 
 
 
generate
 
 
 
{|
 
| Cell 1, row 1
 
| Cell 2, row 1
 
|-
 
| Cell 1, row 2
 
| Cell 2, row 2
 
|}
 
 
 
 
 
===Term with indented definition:===
 
 
 
<nowiki>;Term:Definition (indented)</nowiki>
 
 
 
<nowiki>;;Term (indented):Definition (indented two levels)</nowiki>
 
 
 
<nowiki>;;;Term (indented twice):Definition (indented to third level)</nowiki>
 
 
 
...which looks like:
 
 
 
;Term:Definition (indented)
 
;;Term (indented):Definition (indented two levels)
 
;;;Term (indented twice):Definition (indented to third level)
 
 
 
 
 
===Miscellaneous Rules===
 
*To quote text without applying the wiki formatting rules, enclose it within a <nowiki> ... </nowiki> section. Within a nowiki section, only HTML-quoting of special characters (<>&) will occur--no other formatting rules will be applied.
 
  
[[Category:English Documentation]]
+
[http://www.mediawiki.org/wiki/Help:FAQ MediaWiki FAQ] answers most questions about managing and using MediaWiki.

Latest revision as of 14:54, 10 March 2014

Wiki Map describes the high level layout of this wiki.

A wiki is basically a website you can edit.

To edit a page, click the edit tab at the top, edit the material in the input box then click the Save page button at the bottom.

Create a user account so we can keep track of who is doing what.

Browse the How To's and the rest of this help page.



How to edit

Wiki pages are mostly plain text with a few basic formatting characters. If you're nervous about formatting, just type plain text and leave a blank line to separate paragraphs.

Read this tutorial: http://meta.wikimedia.org/wiki/Help:Editing

In about 2 pages it explains the basic concepts & formatting characters. It also has loads of good links you can come back to later when you want to know more.

Many types of pages (e.g. specific Domains, specific Committees) have templates you can copy/paste when creating new pages.

If you want a safe place to practice editing, feel free to play in the Sandbox page.

Use Templates for creating typical pages.

How to write

Writing a web page is different than writing a document.

These links provide some useful insight.

Text Conventions

<These are just provisional and should be discussed>

Use bold text to emphasize topics.

Use <italic text in angle brackets> for instructions to editors, i.e. text that should be replaced and explains what goes there, such as in a template

Use <bold italic text in angle brackets> when adding in-line comments about the contents of a page.

How to use MediaWiki

The links that are always available on the left side and across the top of the page provide a lot of useful features.

Recent Changes / History

The Recent Changes link in the navigation box takes you to the Recent Changes page. Every edit to any wiki page is listed from newest to oldest. Clicking on the (diff) link lets you see what the edit changed. Clicking on the page link itself lets you see that version. Clicking on the (hist) link lets you see the history of changes to that page.

You can also see past versions from the History tab on each page.

Watch / Watchlist

The My watchlist link at the top is a filtered list that only shows changes to pages you have flagged by clicking the Watch tab at the top of each page.

Search

The search box on the left lets you do keyword searches on the site contents. You can change the scope of the search in your preferences.

Printable Version

The Printable Version link on the left generates a version of the current page more suitable for printing from your browser.

Discussions

Each page has a Discussion tab at the top. If you feel it useful/necessary, explain the purpose of the page or the rationale of it's structure here.

If you are about to make a major change to a page, check the Discussion page to make sure you aren't misunderstanding the page. If you are going ahead with a major change, consider documenting your rationale.

User Page

Click on a user name (yours appears up at the top, others appear on history pages, etc) to get to their personal page. Also at the top is a my talk link which takes you to the Discussion page associated with your user page. Other users can leave you messages there. You will be automatically notified when you log in if someone has updated your discussion/talk page.

Consider this template when creating your User Page.

Special Pages

<Need to explain the really handy pages under Special Pages>

Categories

You can categorize pages by adding one or more category tags to the text. Adding a tag creates a link at the bottom of the article which take you to the list of all pages in that category, which makes it easy to browse related articles.

For example, add one of these to the bottom of a page:

 [[Category:Actor]]
 [[Category:Agenda]]
 [[Category:Minutes]]
 [[Category:Profiles]]
 [[Category:Templates]] 

In addtion, you can categorize each page based on its domain abbreviation:

 [[Category:PCD]]

Add as many tags as you like, so your page will be found in as many appropriate category listings as makes sense.

Finally, you may want your category sorted differently. The following tag puts your page on the Profiles list, but sorted using the "SortMeHere" tag:

 [[Category:Profiles | SortMeHere]]

Tips & Tricks

Quasi-Back Button

If you have done several edits, when you use the browser "Back" button you will have to go back many times to get to the page you came from.

As an alternative that takes two clicks, you can click on "What links here" in the Toolbox on the left side of the Wiki page. The page you came from will be listed there an you can click on it.

Text Size

To change the font size from the normal size to larger or smaller use:

<big> text </big>
<small> text </small>

Text Color

To change the color of the font being displayed use:

<font color=red> text </font>

Line Formatting

To force a hard Carriage-Return/Line-feed in the displayed document, either leave a blank line, or use:

<br />

To center a text line, or all text between start HTML Tag and end HTML tag, use:

<center>text</center>

Quoting Text

To quote text without applying the wiki formatting rules use:

<nowiki> text </nowiki>

Within a nowiki section, only HTML-quoting of special characters (<>&) will occur--no other formatting rules will be applied.

Embedding Images/Graphics/Documents

First upload the jpg using the Upload File link on the left. Then put a link to the jpg at the place you want the image to appear using the following format:

[[Image:NameOfYourFile.jpg]]

You can also embed links to files such as:

[[:Media:NameOfYourFile.doc | link text]]
Term (bolded term)
Definition (with indented definition)

is accomplished by:

;Term (bolded term):Definition (with indented definition)

Using Templates

There are templates for some typical types of pages. A page often has a link in the See Also section to the template it was created from.

To use the template, click it's link, click "Edit", and select and copy all the text in the edit window. Then go to your new page, and paste the template text into the edit window.

Table of Contents

All pages with more than two headers include a Table of Contents at the top of the page with each of the section headers included as links.

To move the TOC, insert the text __TOC__ at the point in the page where you would like it to appear.

To remove the TOC, insert the text __NOTOC__ at the start of the page.

Combined Pages

To combine several existing pages into a single meta page when it makes sense to do so for viewing or printing, create a new page with the following syntax:

==Optional Heading==
{{:Page page1}}
{{:Page page2}}
and so on

Printing Pages

To get a printable page with BIG HEADERS:

  • click on Printable View in the toolbox on the left
  • print from the browser.


To get a document formatted for paper:

  • click on Printable View in the toolbox on the left
  • select and copy all the text in the Printable View
  • open an empty Microsoft Word document
  • paste the text into the Word document
  • File->Page Setup-> reset the margins
  • Tools->Templates and Add-ins
  • <still need to explain how to import/overwrite the appropriate paragraph styles>
  • print from Word

Spellchecking

There are client side spell checkers that will check what you edit:

Task Lists

The MediaWikiTasks plugin supports managing task lists.

Timelines

The EasyTimelines plugin supports displaying annotated timelines.

Converting Pages to HTML Files

mw2html is a tool for doing just this. Right click on this link and "Save Target as.." mw2html.py

It can be run with a Python binary package.

You will also need to get the htmldata module. Do a "Save Target As..." on the newest version link on that page. I don't remember off-hand how I got it to compile.

Once it's ready, try: "mw2html.py http://172.16.16.134/wiki/ out -f"

Note: you may have a problem becausee it doesn't seem to use the login cookie cached for the browser so mw2html.py is an anonymous user so it only gets logon pages for pages that anonymous users don't have permission to view.

PDF Export

Combining articles into a single PDF for printing. It needs htmldoc (open source utility) to take multiple HTML pages and turn them into a PDF file. All pdf files stored on wiki server's folder called /printouts.

The coding is very simple and works like this: (we'll call this page "Test Print")

Put articles that will appear in sequence in curly braces: {Index_of_Work_Items | Feature_Proposals_Index | Index_of_Trend_Reports}

and put articles to combine into a single set of curly braces separated by the | pipe symbol. {Index_of_Work_Items | Feature_Proposals_Index | Index_of_Trend_Reports} These articles will not have a page break in the PDF file. This is really useful for articles that are short and related, such as a function list. Then add a link to this page:

Print these articles

Now when a user browses to this page on your site and clicks the above link, the page will re-output through the special PrintArticles.php file instead of index.php. The page will be changed from looking like this:

{Index_of_Work_Items | Feature_Proposals_Index | Index_of_Trend_Reports}

Print these articles


to this:

{Index_of_Work_Items | Feature_Proposals_Index | Index_of_Trend_Reports}

Print these articles

Creating: (Index_of_Work_Items)

Creating: (Feature_Proposals_Index)

Creating: (Index_of_Trend_Reports)

Test Print

Known Problems:

  • HTMLDOC can import images when running from command line but not reliable when spawn from wiki.
  • Quotes print out as: a with an accent
  • Funky caching issues

See Also

The IHE Wiki is built on MediaWiki software. The MediaWiki User's Guide is an excellent reference.

MediaWiki and Wikipedia, the free encyclopedia provide more information and examples of using MediaWiki.

Wiki Introduction provides a short video outlining the use of Wiki's for collaboration

Configuration settings list explains the MediaWiki config variables.

MediaWiki FAQ answers most questions about managing and using MediaWiki.