iCIS Intra Wiki
categories:             Info      -       Support      -       Software       -      Hardware       |      AllPages       -      uncategorized

Difference between revisions of "WikiPolicy"

From ICIS-intra
Jump to navigation Jump to search
Line 31: Line 31:
 
  in het [[Help:Contents]] page we added the following code :  
 
  in het [[Help:Contents]] page we added the following code :  
 
   
 
   
  <nowiki> {{:Getting_Started_MediaWiki}}</nowiki>
+
<nowiki> {{:Getting_Started_MediaWiki}}</nowiki>
 
  &nbsp;  
 
  &nbsp;  
 
  to include [[Getting Started MediaWiki]] page
 
  to include [[Getting Started MediaWiki]] page
Line 42: Line 42:
 
**'''minimalheight=200''&nbsp;: if your browser window gets very small, than the iframe height will also be dynamically set very small. By setting a minimal height the iframe's height will never get smaller than this height.  
 
**'''minimalheight=200''&nbsp;: if your browser window gets very small, than the iframe height will also be dynamically set very small. By setting a minimal height the iframe's height will never get smaller than this height.  
 
**''extraheight=-50''&nbsp;&nbsp;: adds extra height to the innerframe tag; note that a negative value will make it smaller.  
 
**''extraheight=-50''&nbsp;&nbsp;: adds extra height to the innerframe tag; note that a negative value will make it smaller.  
**''fixedheight=300 ''&nbsp;: By setting the fixedheight attribute the height of the iframe will be fixed to the given value. Then the dynamic height calculation based on window size is disabled! Example: &nbsp;[[People RU]]
+
**''fixedheight=300 ''&nbsp;: By setting the fixedheight attribute the height of the iframe will be fixed to the given value. Then the dynamic height calculation based on window size is disabled! Example: &nbsp;[[People RU]]  
* all pages which embed an external page should be put in the [Category:Embed]. Here you can also find more examples.
+
*all pages which embed an external page should be put in the [[Category:Embed]]. Here you can also find more examples.
  
 
[[Category:Support]] [[Category:AllPages]]
 
[[Category:Support]] [[Category:AllPages]]

Revision as of 17:48, 4 May 2012


Navigation Policy

On each page we have :

Category Policy

At at end of each page add the following categories :

  • always add : [[Category:AllPages]]
  • for each category X add : [[Category:X]]

Note: by using the [[Category:AllPages]] category instead of the [[Special:AllPages]] we can hide some pages in the uncategorized space. We can see the pages in the uncategorized space using the special page : Special:UncategorizedPages.

Note: in markup we can be the category links at the top of the page, but they will still be rendered at the end of the page

Tips

  • to force toc in page add __TOC__ in page
  • to escape content use the <nowiki> ... </nowiki> tags
  • Special:Version : lists info wiki + all loaded extensions (see WikiAdmin for more possible extensions)
  • Special:AllPages : Listing of really all pages
  • Special:Categories : Listing of all categories
  • you can include one page contents in another page.
   Example: 
in het Help:Contents page we added the following code : 

 {{:Getting_Started_MediaWiki}}
  
to include Getting Started MediaWiki page
  • you can embed an external page into a page using the extension anyweb. 
   <anyweb> http://www.nu.nl </anyweb> 
  • By default anyweb includes the page using an iframe and uses javascript to dynamically set the height of this iframe to the height of the current window. Example: Embed However you can tweak this behaviour by the following html attributes :
    • 'minimalheight=200 : if your browser window gets very small, than the iframe height will also be dynamically set very small. By setting a minimal height the iframe's height will never get smaller than this height.
    • extraheight=-50  : adds extra height to the innerframe tag; note that a negative value will make it smaller.
    • fixedheight=300  : By setting the fixedheight attribute the height of the iframe will be fixed to the given value. Then the dynamic height calculation based on window size is disabled! Example:  People RU
  • all pages which embed an external page should be put in the. Here you can also find more examples.