Editing Wiki linking
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
==What you type is not what they see== | ===What you type is not what they see=== | ||
It is possible to make link texts differ from the name of the target using the "pipe" (unix) symbol which is "|" like this: | It is possible to make link texts differ from the name of the target using the "pipe" (unix) symbol which is "|" like this: | ||
Line 5: | Line 5: | ||
*Remember <nowiki>[[reality first|what ever you want people to see second]]</nowiki> if you have trouble remembering which way it is. | *Remember <nowiki>[[reality first|what ever you want people to see second]]</nowiki> if you have trouble remembering which way it is. | ||
---- | |||
==Interwiki linking== | |||
is used to link to other wiki's namespaces without writing the fully qualified URL. This makes collaboration between wikis much simpler. | |||
*To link to http://www.wikipedia.org/wiki/Wikipedia use [[w:Wikipedia]] | |||
*To link to http://meta.wikipedia.org/wiki/Wikipedia use [[m:Wikipedia]] | |||
*To link to http://wiktionary.org/wiki/Consumer use [[wiktionary:Consumer]] | |||
Links outside [[Consumerium]] are colored [[w:color|differently]] then the usual ones. | |||
---- | ---- | ||
==Name spaces== | ==Name spaces== | ||
Line 18: | Line 26: | ||
*"Image" [[image uploading is disabled for now, sorry]] | *"Image" [[image uploading is disabled for now, sorry]] | ||
*"Image_talk" [[image uploading is disabled for now, sorry]] | *"Image_talk" [[image uploading is disabled for now, sorry]] | ||
==Hiding namespaces== | ==Hiding namespaces== | ||
Line 24: | Line 32: | ||
* <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== | ||
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 | REPLACE INTO interwiki (iw_prefix,iw_url,iw_local) VALUES | ||
('w','http://www.wikipedia.org/wiki/$1',1), | ('w','http://www.wikipedia.org/wiki/$1',1), | ||
('m','http://meta. | ('m','http://meta.wikipedia.org/wiki/$1',1), | ||
('meta','http://meta. | ('meta','http://meta.wikipedia.org/wiki/$1',1), | ||
('simple','http://simple.wikipedia.org/wiki/$1',1 | ('simple','http://simple.wikipedia.org/wiki/$1',1); | ||
Should anyone have the need to link to Wikipedia in languages other than English, just stick in the language code like so: [[Wikipedia:fr:Commerce �quitable]] or [[w:fr:Commerce �quitable]]. | |||
Should anyone have the need to link to Wikipedia in languages other than English, just stick in the language code like so: [[Wikipedia:fr:Commerce | |||