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

Difference between revisions of "WikiPolicy"

From ICIS-intra
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Support]] [[Category:AllPages]]  
+
[[Category:Public]] [[Category:Support]] [[Category:AllPages]]
 +
== Navigation Policy  ==
  
== Navigation Policy ==
+
On each page we have :
  
On each page we have :
+
*sidebar ([[MediaWiki:Sidebar]]) : list the most important pages  
* sidebar ([[MediaWiki:Sidebar]]) :   list the most important pages  
+
*topbar ([[MediaWiki:Sitenotice]]) : list the several categories; from here all pages can be found
* topbar ([[MediaWiki:Sitenotice]]) : list the several categories; from here all pages can be found
 
  
== Category Policy ==
+
== Category Policy ==
  
At at end of each page add the following categories :<br>  
+
At at end of each page add the following categories&nbsp;:<br>  
  
* always add : <nowiki>[[Category:AllPages]]</nowiki>  
+
*always add&nbsp;: <nowiki>[[Category:AllPages]]</nowiki>  
* for each category X add : <nowiki>[[Category:X]]</nowiki>
+
*for each category X add&nbsp;: <nowiki>[[Category:X]]</nowiki>
  
Note: by using the <nowiki>[[Category:AllPages]]</nowiki> category instead of the <nowiki>[[Special:AllPages]]</nowiki> 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: by using the <nowiki>[[Category:AllPages]]</nowiki> category instead of the <nowiki>[[Special:AllPages]]</nowiki> we can hide some pages in the uncategorized space. We can see the pages in the uncategorized space using the special page&nbsp;: [[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
+
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  ==
 
== Tips  ==
Line 29: Line 29:
 
     Example:  
 
     Example:  
 
  in het [[Help:Contents]] page we added the following code&nbsp;:  
 
  in het [[Help:Contents]] page we added the following code&nbsp;:  
 
+
    <nowiki> {{:Getting_Started_MediaWiki}}</nowiki>
+
<nowiki> {{:Getting_Started_MediaWiki}}</nowiki>
 
  &nbsp;  
 
  &nbsp;  
 
  to include [[Getting Started MediaWiki]] page
 
  to include [[Getting Started MediaWiki]] page
  
*you can embed an external page into a page using the extension anyweb.
+
*you can embed an external page into a page using the extension anyweb.&nbsp;
 +
 
 
   <nowiki> <anyweb> http://www.nu.nl </anyweb></nowiki>  
 
   <nowiki> <anyweb> http://www.nu.nl </anyweb></nowiki>  
*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. However you can tweak this behaviour by the following html attributes&nbsp;:  
+
 
**'''minimalheight=200''&nbsp;: if your browser window gets very small, than the iframe height will also be dynamically set very small. <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;By setting a minimal height the iframe's height will never get smaller than this height.  
+
*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:&nbsp;[[Embed]]&nbsp;However you can tweak this behaviour by the following html attributes&nbsp;:  
 +
**'''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: see [[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.

Latest revision as of 15:34, 11 December 2019

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 Category:Embed. Here you can also find more examples.