Hi,
I'd like to know which is the filed who defines a disambiguation link/page/element in the database.
I was looking for it in http://www.mediawiki.org/wiki/File:Mediawiki-database-schema.png, but I couldn`t.
Can anybody help me please?
Regards
On Mon, Feb 09, 2009 at 06:23:52PM +0100, Vanessa Tejada Muñoz wrote:
I'd like to know which is the filed who defines a disambiguation link/page/element in the database.
There isn't one. MediaWiki:Disambiguationspage is used by MediaWiki when it needs to make that determination (any page transcluding one of the templates there is considered a disambiguation page). On enwiki, you can also check the page for membership in [[:Category:All disambiguation pages]].
For a link, you have to determine if the target page is a disambiguation page. I don't know what a "disambiguation element" might be.
Mmmm, I understand :S
I was interested in get disambiguation pages from a Query. I mean, check if the result is part of a disambiguation and get all of them, but you tell em that is impossible, o rnot?
On Mon, Feb 9, 2009 at 7:06 PM, Brad Jorsch b-jorsch@northwestern.eduwrote:
On Mon, Feb 09, 2009 at 06:23:52PM +0100, Vanessa Tejada Muñoz wrote:
I'd like to know which is the filed who defines a disambiguation link/page/element in the database.
There isn't one. MediaWiki:Disambiguationspage is used by MediaWiki when it needs to make that determination (any page transcluding one of the templates there is considered a disambiguation page). On enwiki, you can also check the page for membership in [[:Category:All disambiguation pages]].
For a link, you have to determine if the target page is a disambiguation page. I don't know what a "disambiguation element" might be.
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
You can get it from page table. If particular page is a disambiguation then its title will show that .
I am not sure about the answers.
Look this example:
http://en.wikipedia.org/w/api.php?action=query&prop=templates&titles...
Java is a disambiguation page, but its template is not defined!
On Mon, Feb 9, 2009 at 7:38 PM, Brad Jorsch b-jorsch@northwestern.eduwrote:
On Mon, Feb 09, 2009 at 11:47:57PM +0530, Ankuj Gupta wrote:
You can get it from page table. If particular page is a disambiguation
then
its title will show that .
How does "AA" show that [[AA]] is a disambiguation page?
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
No, [[Java]] is not a disambiguation page on enwiki. [[Java (disambiguation)]] is, though. ----- Original Message ----- From: Vanessa Tejada Muñoz To: MediaWiki API announcements & discussion Sent: Monday, February 09, 2009 1:41 PM Subject: Re: [Mediawiki-api] Disambiguations in Database
I am not sure about the answers.
Look this example:
http://en.wikipedia.org/w/api.php?action=query&prop=templates&titles...
Java is a disambiguation page, but its template is not defined!
On Mon, Feb 9, 2009 at 7:38 PM, Brad Jorsch b-jorsch@northwestern.edu wrote:
On Mon, Feb 09, 2009 at 11:47:57PM +0530, Ankuj Gupta wrote: > You can get it from page table. If particular page is a disambiguation then > its title will show that .
How does "AA" show that [[AA]] is a disambiguation page?
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
--
Vanessa Tejada
------------------------------------------------------------------------------
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Thanks :) this is the idea, my problem is exactly that, I can´t check a disambiguation page with gloBal vars or something. That`s the way I ask for a fiel in database or something to help me!
On Mon, Feb 9, 2009 at 7:44 PM, Russell Blau russblau@imapmail.org wrote:
No, [[Java]] is not a disambiguation page on enwiki. [[Java (disambiguation)]] is, though.
----- Original Message ----- *From:* Vanessa Tejada Muñoz vatemu@gmail.com *To:* MediaWiki API announcements & discussionmediawiki-api@lists.wikimedia.org *Sent:* Monday, February 09, 2009 1:41 PM *Subject:* Re: [Mediawiki-api] Disambiguations in Database
I am not sure about the answers.
Look this example:
http://en.wikipedia.org/w/api.php?action=query&prop=templates&titles...
Java is a disambiguation page, but its template is not defined!
On Mon, Feb 9, 2009 at 7:38 PM, Brad Jorsch b-jorsch@northwestern.eduwrote:
On Mon, Feb 09, 2009 at 11:47:57PM +0530, Ankuj Gupta wrote:
You can get it from page table. If particular page is a disambiguation
then
its title will show that .
How does "AA" show that [[AA]] is a disambiguation page?
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
--
Vanessa Tejada
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Vanessa Tejada Muñoz schreef:
Thanks :) this is the idea, my problem is exactly that, I can´t check a disambiguation page with gloBal vars or something. That`s the way I ask for a fiel in database or something to help me!
You can't. End of story, goodbye, the end. The only way to check if something is a disambiguation page is to run prop=templates on it and look for Template:Disambig (or whatever template MediaWiki:Disambiguationspage points to). Alternatively, you can get a list of all disambig pages by running list=embeddedin on Template:Disambig.
Roan Kattouw (Catrope)
Goodbye.
On Mon, Feb 9, 2009 at 8:09 PM, Roan Kattouw roan.kattouw@home.nl wrote:
Vanessa Tejada Muñoz schreef:
Thanks :) this is the idea, my problem is exactly that, I can´t check a disambiguation page with gloBal vars or something. That`s the way I ask
for
a fiel in database or something to help me!
You can't. End of story, goodbye, the end. The only way to check if something is a disambiguation page is to run prop=templates on it and look for Template:Disambig (or whatever template MediaWiki:Disambiguationspage points to). Alternatively, you can get a list of all disambig pages by running list=embeddedin on Template:Disambig.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Vanessa Tejada Muñoz schreef:
Goodbye.
Whoa, the goodbye part wasn't meant literally. "End of story, goodbye, the end" is just a quote from a movie.
My point was that you kept asking for something that isn't there, even though we said it wasn't there multiple times.
Roan Kattouw (Catrope)
:S I don't want to disturb anyone. I'm preparing my master thesis and I had several ideas about MediaWiki and disambiguation pages. I was looking for information, no more.
Thanks for all.
On Mon, Feb 9, 2009 at 9:44 PM, Roan Kattouw roan.kattouw@home.nl wrote:
Vanessa Tejada Muñoz schreef:
Goodbye.
Whoa, the goodbye part wasn't meant literally. "End of story, goodbye, the end" is just a quote from a movie.
My point was that you kept asking for something that isn't there, even though we said it wasn't there multiple times.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
2009/2/10 Vanessa Tejada Muñoz vatemu@gmail.com:
:S I don't want to disturb anyone. I'm preparing my master thesis and I had several ideas about MediaWiki and disambiguation pages. I was looking for information, no more.
Thanks for all.
On Mon, Feb 9, 2009 at 9:44 PM, Roan Kattouw roan.kattouw@home.nl wrote:
Vanessa Tejada Muñoz schreef:
Goodbye.
Whoa, the goodbye part wasn't meant literally. "End of story, goodbye, the end" is just a quote from a movie.
My point was that you kept asking for something that isn't there, even though we said it wasn't there multiple times.
Roan Kattouw (Catrope)
Disambiguation is not currently a MediaWiki software concept, it is a Wikipedia content concept. That doesn't mean it's not a good candidate to become part of the MediaWiki software. It's such a firmly entrenched idea that it makes good sense to be able to query it and thus for it to become part of MediaWiki and the database structure.
Of course not all projects using MediaWiki have the disambiguation concept. Most Wiktionarys for instance do not use it. My conclusion is that a disambiguation extension would be useful.
The alternative is to use the API to access categories and do some parsing of the wikitext. This is plausible if you are interested in only a single project and a single language. If you wish to query many language Wikipedias your parser would need to be able to cope with many natural languages. If a disambiguation extension were to be developed there would be far less need to parse many languages.
Andrew Dunbar (hippietrail)
Vanessa Tejada Muñoz skrev:
:S I don't want to disturb anyone. I'm preparing my master thesis and I had several ideas about MediaWiki and disambiguation pages. I was looking for information, no more.
...
You were asking for information, and Mr Roan Kattouw noticed that, and gave you the correct information.
For different reasons, his answers were not taken though, so he restated and emphasized that his information was really correct (because it was).
I think you've got the information you were asking for. No more, no less.
// Rolf Lampa
Ok, It's all right. I asked for something and I have got it.
Thanks for all ;)
On Tue, Feb 10, 2009 at 3:36 PM, Rolf Lampa [RIL] rolf.lampa@rilnet.comwrote:
Vanessa Tejada Muñoz skrev:
:S I don't want to disturb anyone. I'm preparing my master thesis and I had several ideas about MediaWiki and disambiguation pages. I was looking for information, no more.
...
You were asking for information, and Mr Roan Kattouw noticed that, and gave you the correct information.
For different reasons, his answers were not taken though, so he restated and emphasized that his information was really correct (because it was).
I think you've got the information you were asking for. No more, no less.
// Rolf Lampa
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Vanessa Tejada Muñoz wrote:
Hi,
I'd like to know which is the filed who defines a disambiguation link/page/element in the database.
I was looking for it in http://www.mediawiki.org/wiki/File:Mediawiki-database-schema.png, but I couldn`t.
Can anybody help me please?
Regards
--
Vanessa Tejada
There's no special field. Look at MediaWiki:Disambiguationspage for the name of the disambiguation template. Then follow templatelinks to get all pages where it's included.
mediawiki-api@lists.wikimedia.org