Wiki linking: Difference between revisions

286 bytes added ,  8 March 2004
list of Interwiki links available now
( Linking to Wikipedia and Meta-wikipedia is now working)
(list of Interwiki links available now)
Line 7: Line 7:


----
----
===Interwiki linking===  
==Interwiki linking==  
is used to link to other wiki's namespaces without writing the fully qualified URL. This makes collaboration between wikis much simpler.
is used to link to other wiki's namespaces without writing the fully qualified URL. This makes collaboration between wikis much simpler.


Line 16: Line 16:
Links outside [[Consumerium]] are colored [[w:color|differently]] then the usual ones.
Links outside [[Consumerium]] are colored [[w:color|differently]] then the usual ones.
----
----
===Name spaces===
==Name spaces==
There exists a number of namespaces in the consumerium wiki space these are  
There exists a number of namespaces in the consumerium wiki space these are  
*"Special" this is used for machine generated pages, accessible through the "special pages" drop down list on the top of the page
*"Special" this is used for machine generated pages, accessible through the "special pages" drop down list on the top of the page
Line 28: Line 28:




===Hiding namespaces===
==Hiding namespaces==
You can use "the pipe trick" to hide the namespace without typing in alternative text like this  
You can use "the pipe trick" to hide the namespace without typing in alternative text like this  
* <nowiki>[[wiktionary:Product|]]</nowiki> (notice the "pipe" symbol) is presented like this [[wiktionary:Product|Product]]
* <nowiki>[[wiktionary:Product|]]</nowiki> (notice the "pipe" symbol) is presented like this [[wiktionary:Product|Product]]
* <nowiki>[[Consumerium:Village pump|]]</nowiki> is presented like this [[Consumerium:Village pump|Village pump]]
* <nowiki>[[Consumerium:Village pump|]]</nowiki> is presented like this [[Consumerium:Village pump|Village pump]]


===New in [[MediaWiki]] 1.2.0rc3===
==New in [[MediaWiki]] 1.2.0rc3==
Now the following ways will work to correctly link:
Now the following ways will work to correctly link:
  http://www.consumerium.org/wiki/wiki.phtml?title=Wiki_linking (as before)
  http://www.consumerium.org/wiki/wiki.phtml?title=Wiki_linking (as before)
  http://www.consumerium.org/wiki/index.php?title=Wiki_linking (notice the change from wiki.phtml to index.php
  http://www.consumerium.org/wiki/index.php?title=Wiki_linking (notice the change from wiki.phtml to index.php
  http://www.consumerium.org/wiki/index.php/Wiki_linking (new ease of use without mod_rewrite
  http://www.consumerium.org/wiki/index.php/Wiki_linking (new ease of use without mod_rewrite
==Interwiki links available now==
REPLACE INTO interwiki (iw_prefix,iw_url,iw_local) VALUES
('w','http://www.wikipedia.org/wiki/$1',1),
('m','http://meta.wikipedia.org/wiki/$1',1),
('meta','http://meta.wikipedia.org/wiki/$1',1),
('simple','http://simple.wikipedia.org/wiki/$1',1);
9,854

edits