Difference between revisions of "Editor tips"

From SME Server
Jump to navigationJump to search
(Page init)
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Editor Tips ==
 
 
 
 
This page contains wiki page editor tips
 
This page contains wiki page editor tips
 
  
 
=== Repositories ===
 
=== Repositories ===
 
Several pages contain references to new repositories. To ensure the correctness and to prevent typo's one could use the following syntax to refer to those repos:
 
Several pages contain references to new repositories. To ensure the correctness and to prevent typo's one could use the following syntax to refer to those repos:
 
  
 
Example to add the epel repo to SME Server 8
 
Example to add the epel repo to SME Server 8
 
  <nowiki>
 
  <nowiki>
 
{{:epel|transcludesection=epel8}}
 
{{:epel|transcludesection=epel8}}
{{:epel|transcludesection=yum-modify}}
+
{{:epel|transcludesection=yum-modify}}</nowiki>
</nowiki>
+
the above syntax will show in the wiki page as:
Will result show in the wiki page as:
 
  
 
{{:epel|transcludesection=epel8}}
 
{{:epel|transcludesection=epel8}}
 
{{:epel|transcludesection=yum-modify}}
 
{{:epel|transcludesection=yum-modify}}
 +
 +
By changing the version number to 9 in this line
 +
<nowiki>
 +
{{:epel|transcludesection=epel8}}</nowiki>
 +
 +
 +
to
 +
<nowiki>
 +
{{:epel|transcludesection=epel9}}</nowiki>
 +
will result in:
 +
 +
{{:epel|transcludesection=epel9}}
 +
 +
and do not forget to inlcude this line
 +
<nowiki>
 +
{{:epel|transcludesection=yum-modify}}</nowiki>
 +
 +
=== Next tip ===

Latest revision as of 08:15, 30 December 2013

This page contains wiki page editor tips

Repositories

Several pages contain references to new repositories. To ensure the correctness and to prevent typo's one could use the following syntax to refer to those repos:

Example to add the epel repo to SME Server 8

{{:epel|transcludesection=epel8}}
{{:epel|transcludesection=yum-modify}}

the above syntax will show in the wiki page as:


yum install smeserver-extrarepositories-epel -y


yum install smeserver-extrarepositories-epel -y


By changing the version number to 9 in this line

{{:epel|transcludesection=epel8}}


to

{{:epel|transcludesection=epel9}}

will result in:


yum install smeserver-extrarepositories-epel -y


and do not forget to inlcude this line

{{:epel|transcludesection=yum-modify}}

Next tip