Wiki linking: Difference between revisions
standards are imposed by the GFDL text corpus and the need to support multiple languages and services, the Mediawiki and Getwiki defaults are wrong, and we must say so
(interwikis) |
(standards are imposed by the GFDL text corpus and the need to support multiple languages and services, the Mediawiki and Getwiki defaults are wrong, and we must say so) |
||
Line 33: | Line 33: | ||
* <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]] | ||
== | == proposed standards == | ||
*[[interwiki link standard]] | |||
*[[interwiki identity standard]] - for links between authors and articles which are presently treated as "special", despite the fact they are often very tenuous | |||
*[[standard wiki URI]] | |||
There are some temporary hacks which violate standards of the vast majority of [[GFDL text corpus]] articles, and others which make it difficult to move away from a service-specific hierarchy to a language-specific hierarchy. These are: | |||
===[[MediaWiki]] 1.2.0rc3 and [[GetWiki]] defaults == | |||
The following are the non-[[standard wiki URI]]s which are the unwise defaults: | |||
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 | ''The [[standard wiki URI]] as used at Wikipedia would be http://en.consumerium.org/wiki/Wiki_linking - the /wiki/ subspace indicating articles amenable to wiki based [[edits, votes and bets|editing]]. There may be other spaces for /print/ or a non-wiki /edit/.'' | ||
===Current Interwiki links=== | |||
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), | ||
Line 46: | Line 56: | ||
('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 �quitable]] or [[w:fr:Commerce �quitable]]. ''This also violates the proposed [[interwiki link standard]], which would reverse this to [[fr:Wikipedia:Commerce_�quitable]], putting the language first to create a language-specific hierarchy, and requiring the full service name "Wikipedia".'' |