(Testing non-www url)
 
(71 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page is used to discuss new features between ODP administrators, testing templates or new extensions.
+
A complete task list can be found [[Odp:Tasks|here]].
===Testing non-www url===
+
[http://ontologydesignpatterns.org/index.php/Odp:Development test non www]
+
  
==Testing UrlGetParameter extension==
+
{{Create task link}} This is only for users in ''EditorialBoard'' group.
<pre>
+
<!--
{{#urlget:paramname|default}}
+
{{Tasks root}}
</pre>
+
-->
Try adding param=value to the current URL.
+
 
+
Value is: {{#urlget:param|no param}}
+
 
+
==Testing RightFunctions extension==
+
 
+
<pre>
+
{{#ifright:right|then|else}}
+
</pre>
+
 
+
<pre>
+
{{#ifallowed:user|right|then|else}}
+
</pre>
+
 
+
<pre>
+
{{#switchright:right1=result1|right2|right3=result2 and 3|right4=result4|default (or #default=default if the default text contains =)}}
+
</pre>
+
 
+
<pre>
+
{{#userrights:}} (for current user) or {{#userrights:user}}
+
</pre>
+
 
+
<pre>
+
'''Warning!''' do not use it.
+
{{#usergroup:}} (for current user) or {{#usergroup:user}}
+
</pre>
+
 
+
<pre>
+
{{#ifgroup:group|then|else}} (for current user) or {{#ifgroup:group|then|else|user}} (for other users)
+
</pre>
+
 
+
<pre>
+
{{#switchgroup:group1=result1|group2|group3=result2 and 3|group4=result4|default (or #default=default if the default text contains =)}}
+
</pre>
+
 
+
<pre>
+
{{#ifpageright:right|then|else|page}} for testing other pages or {{#ifpageright:right|then|else}} for testing the current page.
+
</pre>
+
 
+
<pre>
+
{{#ifpageallowed:user|right|then|else|page}} for testing other pages or {{#ifpageallowed:user|right|then|else}} for testing the current page.
+
</pre>
+
 
+
<pre>
+
{{#ifprotected:then|else|page}} for testing other pages, or {{#ifprotected:then|else}} for testing the current page or (for example) {{#ifprotected:then|else|page|fns}} for testing only certain types of protection.
+
</pre>
+
 
+
<pre>
+
{{#getrestrictions:right|page}} for testing other pages, or {{#getrestrictions:right}} for testing the current page or {{#getrestrictions:right|page|true}} for listing all restrictions instead of just the highest one.
+
</pre>
+
 
+
<pre>
+
 
+
</pre>
+
 
+
==Testing ImageMap extension==
+
Details about this extension can be found [http://www.mediawiki.org/wiki/Extension:ImageMap here].
+
 
+
ImageMap extension is installed. BUT IT DOES NOT WORK ALREADY.
+
 
+
<imagemap>
+
Image:Warning.gif|200px|picture of a foo
+
poly 131 45 213 41 210 110 127 109 [[Community:Display|Display]]
+
poly 104 126 105 171 269 162 267 124 [[Community:Keyboard|Keyboard]]
+
rect 15 95 94 176  [[Community:Foo type A|Foo type A]]
+
# A comment, this line is ignored
+
circle 57 57 20    [[Community:Foo type B|Foo type B]]
+
desc bottom-left
+
</imagemap>
+
 
+
==Testing Variables extension==
+
Details about this extension can be found [http://www.mediawiki.org/wiki/Extension:Variables here]
+
 
+
Syntax:
+
<pre>
+
{{#vardefine:A|value of A}}
+
{{#vardefine:B|1000}}
+
Value of A is '''{{#var:A}}''' and value of B is '''{{#var:B}}'''
+
</pre>
+
Result:
+
{{#vardefine:A|value of A}}
+
{{#vardefine:B|1000}}
+
Value of A is '''{{#var:A}}''' and value of B is '''{{#var:B}}'''
+
 
+
==Testing template [[Template:Definition|Definition]]==
+
{{Definition
+
|Title of definition
+
|Of example:
+
* bullett list of
+
* items
+
We test if the second paramenter of the ''template'' allows use of wikitext.
+
}}
+

Latest revision as of 13:49, 5 July 2011

A complete task list can be found here.

. This is only for users in EditorialBoard group.

The page [[Bootstrap:Footer]] was not found.