Jump to content

Interwiki link standard: Difference between revisions

rewrite; you cannot set standards by institutionalizing bad technology-driven errors as misfeatures; the ISO sets these standards, ditch MediaWiki if it can't meet them
(language:service -> service:language with explanations)
(rewrite; you cannot set standards by institutionalizing bad technology-driven errors as misfeatures; the ISO sets these standards, ditch MediaWiki if it can't meet them)
Line 1: Line 1:
In a [[wikitext standard]], an '''interwiki link standard''' refers to articles in wiki form stored in another service.  Protocol and editing functions are assumed to be similar, so the '''interwiki link standard''' is a bit simpler than the [[standard wiki URI]] for linking into a wiki from non-wiki space.  It consists only of:
In a [[wikitext standard]], an '''interwiki link standard''' refers to articles in wiki form stored in another service.  Protocol and editing functions are assumed to be similar, so the '''interwiki link standard''' is a bit simpler than the [[standard wiki URI]] for linking into a wiki from non-wiki space.  It consists only of:


<s>[ [ language:service:namespace_within_service:page/subpage#section ] ]</s>
[ [ language:service:namespace_within_service:page/subpage#section ] ]
<pre>[ [ service:language:namespace_within_service:page/subpage#section ] ]</pre>


'''This approach is more workable since it happens to work on this [[wiki]] and other [[wikis]] too without any [[MediaWiki modifications|changes]] to [[MediaWiki|the underlying software]]'''
:''This contrasts with the current [[GetWiki]] and [[MediaWiki]] usage:


For example [[Wikipedia:fr:Commerce �quitable]] or [[w:fr:Commerce �quitable]] map correctly, as would <nowiki>[[fr:Commerce �quitable]] map to http://fr.consumerium.org/ if this domain existed and would be enabled in the interwiki maps stored in the database.
:''[ [ service:language:namespace_within_service:page/subpage#section ] ]''


''Note it omits the "http://" protocol and "/wiki/" subprotocol designations as redundant.''
:''This usage is clearly wrong since languages is above.]]


Supporting these radically simplifies [[wiki linking]].  Because of various uses of abbreviations for services, assumptions about services, etc., it is presently quite confusing.  [[Mediawiki]] supports a deliberately Wikipedia-centric scheme in which for instance "[ [ en: ] ]" means not "in English" but "in the English Wikipedia".  As a result, a reference to "[ [ en: Metaweb: phyle ] ]" will be interpreted incorrectly as a reference to English Wikipedia where there is no article, instead of correctly to [http://www.metaweb.com/wiki/wiki.phtml?title=phyle English Metaweb 'phyle'] where there is one.  [[Mediawiki]] is likely to continue to resist and retard the development of such a standard for the usual reasons (typically [[software imperialism]] - see [[Wikimedia]] for discussion of this.)  ''Prove us wrong?''
For example [[Wikipedia:fr:Commerce �quitable]] or [[w:fr:Commerce �quitable]] map incorrectly to what should be at [[fr:Wikipedia:Commerce �quitable]].  ''It is not up to the service to decide what languages to serve in, nor is it up to the service to decide how to carve up space within that language.  Not only that, but the name of the service is itself expressed in a language.''
 
Regardless of the current incorrect or proper standard usage, [[fr:Commerce �quitable]] should map to http://fr.consumerium.org/ if this domain existed and would be enabled in the interwiki maps stored in the database.
 
Note that, as [[wiki linking]] relies on [[HTTP]] almost by definition, it omits the "http://" protocol and "/wiki/" subprotocol designations as redundant.
 
Supporting the proper "language:service:" prefix radically simplifies [[wiki linking]].  Among other things, the language prefix can often be omitted or assumed, if it is the same as the language the current page is in.
 
Because of various uses of abbreviations for services, assumptions about services, etc., it is presently quite confusing.  [[Mediawiki]] supports a deliberately Wikipedia-centric scheme in which for instance "[ [ en: ] ]" means not "in English" but "in the English Wikipedia".  As a result, a reference to "[ [ en: Metaweb: phyle ] ]" will be interpreted incorrectly as a reference to English Wikipedia where there is no article, instead of correctly to [http://www.metaweb.com/wiki/wiki.phtml?title=phyle English Metaweb 'phyle'] where there is one.  [[Mediawiki]] is likely to continue to resist and retard the development of such a standard for the usual reasons (typically [[software imperialism]] - see [[Wikimedia]] for discussion of this.)  ''Prove us wrong?''


A single standard for at least the [[GFDL text corpus]] is highly desirable, and hopefully will be supported in [[GetWiki_2.0]], which will then hopefully displace [[MediaWiki]] entirely.
A single standard for at least the [[GFDL text corpus]] is highly desirable, and hopefully will be supported in [[GetWiki_2.0]], which will then hopefully displace [[MediaWiki]] entirely.
Line 16: Line 23:
''See [http://www.wikinfo.org/wiki.phtml?title=interwiki_link_standard Wikinfo:interwiki link standard] for more on this and integration into [[GetWiki]].''
''See [http://www.wikinfo.org/wiki.phtml?title=interwiki_link_standard Wikinfo:interwiki link standard] for more on this and integration into [[GetWiki]].''


'''See [[Wiki linking]] for practical information how similar linking is done right now.'''</nowiki>
'''See [[Wiki linking]] for practical information how similar linking is done right now.'''
Anonymous user
We use only those cookies necessary for the functioning of the website.