OpenWetWare:Namespaces: Difference between revisions
No edit summary |
|||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
Many pages on OpenWetWare are of the form ''namespace:page.'' For example, this page has a namespace of OpenWetWare and the page name is Namespaces. | Many pages on OpenWetWare are of the form ''namespace:page.'' For example, this page has a namespace of OpenWetWare and the page name is Namespaces. | ||
The use of namespaces helps to prevent collision of page names and also is used for the [[OpenWetWare:Dewikify|dewikification]] of pages. | The use of namespaces helps to prevent collision of page names and also is used for the [[OpenWetWare:Dewikify|dewikification]] of pages. When creating new namespaces, make sure it doesn't conflict with existing namespaces and any of their aliases (ignoring case differences). When creating pages under namespaces, always use the same primary namespace name as the prefix. | ||
Still needs to be filled in more completely... | Still needs to be filled in more completely... | ||
Line 8: | Line 8: | ||
!Namespace | !Namespace | ||
!Use | !Use | ||
!Dewikify Aliases | |||
|---- | |---- | ||
|[[ | |[[BE.109]] | ||
| | |MIT's BE.109: Laboratory fundamentals of biological engineering | ||
|be109 | |||
|---- | |||
|[[BE Board]] | |||
|BE Graduate Student Board | |||
|beboard | |||
|---- | |||
|[[Chandra]] | |||
|Chandra lab at IISc | |||
| | |||
|---- | |---- | ||
|[[ | |[[Dewikify]] | ||
| | |Used by the dewikify script | ||
| | |||
|---- | |---- | ||
|[[Endy]] | |[[Endy]] | ||
|Endy lab at MIT | |Endy lab at MIT | ||
| | |||
|---- | |||
|[[IGEM]] | |||
|iGEM pages on openwetware | |||
| | |||
|---- | |||
|[[Kafatos]] | |||
|Kafatos/Christophides lab at Imperial College | |||
| | |||
|---- | |---- | ||
|[[Knight]] | |[[Knight]] | ||
|Knight lab at MIT | |Knight lab at MIT | ||
| | |||
|---- | |||
|[[MIT]] | |||
|For MIT specific pages (see [[MIT:Sequencing BioBrick DNA|this page]] for an example) | |||
| | |||
|---- | |||
|[[OpenWetWare]] | |||
|Use for info about the wiki itself | |||
|oww,openwetware | |||
|---- | |---- | ||
|[[Silver]] | |[[Silver]] | ||
|Silver lab at Harvard | |Silver lab at Harvard | ||
| | |||
|---- | |---- | ||
|[[Synthetic Biology]] | |[[Synthetic Biology]] | ||
|Synthetic Biology pages | |Synthetic Biology pages | ||
| | |||
|---- | |||
|[[Sauer]] | |||
|Sauer lab at MIT | |||
| | |||
|---- | |||
|} | |||
==Interwiki== | |||
In addition to the above, there are interwiki link prefixes. For example, the wiki code <nowiki>[[wikipedia:OpenWetWare]]</nowiki> gives [[wikipedia:OpenWetWare]]. ''The problem is that the interwiki link format is identical to a local link!'' So, for example, no page on this wiki can begin with <tt>Wikipedia:</tt> (it'll give a bad title error). | |||
Interwiki links can be helpful for simplifying links but it is up to us to decide which prefixes to reserve for interwiki linking and which to save for the local wiki. Here are some of the current interwiki links available (not complete at all). Add to the discussion pages for things to add or remove. | |||
{| border=1 | |||
!Prefix | |||
!URL | |||
!Example | |||
|---- | |||
|doi | |||
|<pre>http://hdl.handle.net/$1</pre> | |||
|[[doi:somedoi]] | |||
|---- | |||
|genbank | |||
|<pre>http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=nucleotide&val=$1</pre> | |||
|[[genbank:11111]] | |||
|---- | |||
|igemwiki | |||
|<pre>http://parts.mit.edu/wiki/index.php/$1</pre> | |||
|[[igemwiki:Main Page]] | |||
|---- | |||
|metawikipedia | |||
|<pre>http://meta.wikimedia.org/wiki/$1</pre> | |||
|[[metawikipedia:wikipedia]] | |||
|---- | |||
|pmid | |||
|<pre>http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$1</pre> | |||
|[[pmid:1234]] | |||
|---- | |||
|registry | |||
|<pre>http://parts.mit.edu/registry/index.php/$1</pre> | |||
|[[registry:Main Page]]<br>[[registry:Part:BBa_B0010]] | |||
|---- | |||
|wikipedia | |||
|<pre>http://en.wikipedia.org/wiki/$1</pre> | |||
|[[wikipedia:OpenWetWare]] | |||
|---- | |---- | ||
|} | |} |
Latest revision as of 12:26, 19 June 2006
Many pages on OpenWetWare are of the form namespace:page. For example, this page has a namespace of OpenWetWare and the page name is Namespaces.
The use of namespaces helps to prevent collision of page names and also is used for the dewikification of pages. When creating new namespaces, make sure it doesn't conflict with existing namespaces and any of their aliases (ignoring case differences). When creating pages under namespaces, always use the same primary namespace name as the prefix.
Still needs to be filled in more completely...
Namespace | Use | Dewikify Aliases |
---|---|---|
BE.109 | MIT's BE.109: Laboratory fundamentals of biological engineering | be109 |
BE Board | BE Graduate Student Board | beboard |
Chandra | Chandra lab at IISc | |
Dewikify | Used by the dewikify script | |
Endy | Endy lab at MIT | |
IGEM | iGEM pages on openwetware | |
Kafatos | Kafatos/Christophides lab at Imperial College | |
Knight | Knight lab at MIT | |
MIT | For MIT specific pages (see this page for an example) | |
OpenWetWare | Use for info about the wiki itself | oww,openwetware |
Silver | Silver lab at Harvard | |
Synthetic Biology | Synthetic Biology pages | |
Sauer | Sauer lab at MIT |
Interwiki
In addition to the above, there are interwiki link prefixes. For example, the wiki code [[wikipedia:OpenWetWare]] gives wikipedia:OpenWetWare. The problem is that the interwiki link format is identical to a local link! So, for example, no page on this wiki can begin with Wikipedia: (it'll give a bad title error).
Interwiki links can be helpful for simplifying links but it is up to us to decide which prefixes to reserve for interwiki linking and which to save for the local wiki. Here are some of the current interwiki links available (not complete at all). Add to the discussion pages for things to add or remove.
Prefix | URL | Example |
---|---|---|
doi | http://hdl.handle.net/$1 |
doi:somedoi |
genbank | http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=nucleotide&val=$1 |
genbank:11111 |
igemwiki | http://parts.mit.edu/wiki/index.php/$1 |
igemwiki:Main Page |
metawikipedia | http://meta.wikimedia.org/wiki/$1 |
metawikipedia:wikipedia |
pmid | http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$1 |
pmid:1234 |
registry | http://parts.mit.edu/registry/index.php/$1 |
registry:Main Page registry:Part:BBa_B0010 |
wikipedia | http://en.wikipedia.org/wiki/$1 |
wikipedia:OpenWetWare |