Odp:Development

From Odp

(Difference between revisions)
Jump to: navigation, search
(ToDo List)
Line 18: Line 18:
* Review's procedure related to VersionID of the article
* Review's procedure related to VersionID of the article
* Extension ReplaceText installed, [[Special:ReplaceText| go to see it]]
* Extension ReplaceText installed, [[Special:ReplaceText| go to see it]]
-
 
-
==Tests and Examples==
 
-
===Testing www and non-www url===
 
-
These two links are equivalent: [http://ontologydesignpatterns.org/index.php/Odp:Development with www] , [http://ontologydesignpatterns.org/index.php/Odp:Development without www]
 
-
 
-
===Testing UrlGetParameter extension===
 
-
<pre>
 
-
{{#urlget:paramname|default}}
 
-
</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. <del>BUT IT DOES NOT WORK ALREADY</del>
 
-
 
-
 
-
<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.
 
-
}}
 

Revision as of 11:25, 6 June 2008

This page is used to discuss new features between ODP administrators, testing templates or new extensions.

ToDo List

  • send article by e-mail extension
  • adding property: isGraphicallyRepresentedBy
  • Review's procedure: 'ask for review'
  • newsletter
  • Content OP Form (Template is the same as Content OP Proposal)
  • when a new account request s posted, send e-mail to bureoucrats
  • adding support for image file types: PNG, SVN
  • browsing catalogue's owl through KANZAKI stylesheets (courtesy of http://www.kanzaki.com/ns/)

Done List

  • News procedure added from page Odp:News
  • www.ontologydesignpatterns.org is now redirected to ontologydesignpatterns.org
  • Review's procedure related to VersionID of the article
  • Extension ReplaceText installed, go to see it
Personal tools
Quality Committee
Content OP publishers