Hello,
How does MediaWiki handle "duplicates"?
For example, there are two programmers and they have identical names (e.g. John Doe). I'd like to know how this will be represented in URIs and stored in a database.
On Tue, Oct 23, 2012 at 12:14 PM, thorsopia@lavabit.com wrote:
Hello,
How does MediaWiki handle "duplicates"?
For example, there are two programmers and they have identical names (e.g. John Doe). I'd like to know how this will be represented in URIs and stored in a database.
Page titles are unique within each MediaWiki instance -- you can only have one page titled 'John Doe' in the article namespace.
In "encyclopedia-style" projects like Wikipedia, it's common to use parenthetical disambiguations in the titles -- such as "John Doe (American programmer)" and "John Doe (British programmer)", and to then take the base name and either make it point to both or redirect it to one and add a note that you might be looking for the other.
See http://en.wikipedia.org/wiki/Wikipedia:Disambiguation for details on how this is done on English-language Wikipedia.
-- brion
mediawiki-l@lists.wikimedia.org