Hi, How to get links to a page incoming from another wiki in a wiki family? a particular other wiki which is local to the main wiki? For example, getting all wikiquote links to a page of wikipedia.
If there is no such extension implemented, how can I do it (beginner in php)?
Thanks, Regards,
2009/1/3 Mohsen A. Momeni m.alimomeni@gmail.com:
Hi, How to get links to a page incoming from another wiki in a wiki family? a particular other wiki which is local to the main wiki? For example, getting all wikiquote links to a page of wikipedia.
It is not a complete answer to your question, but take a look at:
http://meta.wikimedia.org/wiki/A_newer_look_at_the_interlanguage_link
On 1/2/09 11:36 PM, Amir E. Aharoni wrote:
2009/1/3 Mohsen A. Momenim.alimomeni@gmail.com:
Hi, How to get links to a page incoming from another wiki in a wiki family? a particular other wiki which is local to the main wiki? For example, getting all wikiquote links to a page of wikipedia.
It is not a complete answer to your question, but take a look at:
http://meta.wikimedia.org/wiki/A_newer_look_at_the_interlanguage_link
That essay actually concerns a totally separate issue -- interlanguage linking in its current *implementation* is sub-ideal, based upon a special case of interwiki linking, but interwiki linking is much more general.
The question here is about general interwiki linking, in which for instance various pages on Wikiquote might reference various pages on Wikipedia.
Currently MediaWiki simply doesn't keep a record of general interwiki links. (You can query interlanguage links, which are a special-cased subset of interwiki links, because they are recorded in the 'langlinks' table, but others are not recorded into link tables.)
https://bugzilla.wikimedia.org/show_bug.cgi?id=14473
The simplest way to do the requested query for now is probably a Google search, but a few quick tests trying to combine 'link:' with a Wikipedia URL and 'site:wikiquote.org' aren't quite working for me. (Maybe it doesn't like to combine the two special search types?)
A brute-force search through page dumps (or peeking at every page that turns up the target search term to see if it's linked) are probably what you're stuck with for the moment.
-- brion
wikitech-l@lists.wikimedia.org