Jump to content

Wiki linking: Difference between revisions

502 bytes added ,  5 June 2005
m
fix typos and one duplicate link
(Linking to URLs that use apostrophes + rearrange and reformat)
m (fix typos and one duplicate link)
 
(6 intermediate revisions by 4 users not shown)
Line 4: Line 4:
*<nowiki>[[XML|eXtendable Markup Language]]</nowiki>, which would be presented like this [[XML|eXtendable Markup Language]]
*<nowiki>[[XML|eXtendable Markup Language]]</nowiki>, which would be presented like this [[XML|eXtendable Markup Language]]
*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.
This is called [[anchor text]] and is usually best avoided, as it does not reinforce the name of the page in the end user's mind.


----
----
Line 31: Line 33:


Links outside [[Consumerium]] are colored [[w:color|differently]] then the usual ones.
Links outside [[Consumerium]] are colored [[w:color|differently]] then the usual ones.
----
----


Line 42: Line 45:
   
   
===Current Interwiki links===
===Current Interwiki links===
<pre>
  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.wikipedia.org/wiki/$1',1),
('m','http://meta.wikimedia.org/wiki/$1',1),
('meta','http://meta.wikipedia.org/wiki/$1',1),
('meta','http://meta.wikimedia.org/wiki/$1',1),
('simple','http://simple.wikipedia.org/wiki/$1',1);
('simple','http://simple.wikipedia.org/wiki/$1',1),
('Wiktionary','http://wiktionary.org/wiki/$1',0),
('WikiBooks','http://wikibooks.org/wiki/$1',0);
</pre>


===Linking to other language Wikipedias===
===Linking to other language Wikipedias===
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 équitable]] or [[w:fr:Commerce équitable]].
----
===Proposed Interwiki link standard===
''Please use alternate anchor text to simulate an [[interwiki link standard]] for now, e.g. [http://recyclopedia.info/wiki/wiki.phtml?title=Recyclopedia:avoid_anchor_text en: Recyclopedia: avoid anchor text].  Eventually this should be directly supported in software.''
----
----
==Linking to URLs that use apostrophes (')==
==Linking to URLs that use apostrophes (')==
Directly writing the apostrophe to the url does not work and the apostrophe (') should be replaced by "%27" instead of the apostrophe, in the URL.  Ugly but it works.
Directly writing the apostrophe to the url does not work and the apostrophe (') should be replaced by "%27" instead of the apostrophe, in the URL.  Ugly but it works.
9,841

edits

We use only those cookies necessary for the functioning of the website.