OpenWetWare:Namespaces: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
 
Line 74: Line 74:
!URL
!URL
!Example
!Example
|----
|doi
|<pre>http://hdl.handle.net/$1</pre>
|[[doi:somedoi]]
|----
|----
|genbank
|genbank

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