[Mediawiki-l] Link list on page

Jan Steinman Jan at Bytesmiths.com
Sun Feb 13 21:53:53 UTC 2005

With the caveat that I have not actually looked through the code, I 
suspect that this is a fairly expensive operation, causing at least a 
table index to be traversed. Pages are already too slow!

On 13 Feb 2005, at 11:36, Douglas Fields wrote:

> Hi Ulf,
> If you ever figure it out, please post what you had to do, no matter 
> how complex. This is a feature I've always liked, but never wanted to 
> get down and dirty to do.
> Thanks,
> Doug
> On Feb 13, 2005, at 1:27 PM, Ulf Clausen wrote:
>>>> It would be great to have the results of "whatlinkshere" as
>>>> cross-references at the bottom of every page. I tried to include 
>>>> the page
>>>> as a template, but this will still only give me the link to
>>>> "whatlinkshere" instead of the actual linking pages. Any idea how I 
>>>> could
>>>> get the links on the same page?
>>> Maybe you should have a look into SpecialPage.php and
>>> SpecialWhatlinkshere.php
>>> for inspiration. I think (!) it's basically creating a SpecialPage 
>>> object
>>> and execute() it.
>>> untested:
>>> include_once("includes/SpecialPage.php");
>>> $sp = new SpecialPage("Whatlinkshere");
>>> $sp->execute();
>> Excuse my lack of knowledge, but how and where do I include this code 
>> into my pages so it gets executed?
>>>> And while I am writing: Is there a way of telling mediawiki to open
>>>> external links in a new window? I have tried everything to persuade 
>>>> the
>>>> parser to accept the HTML code "target=_blank", but failed.
>>> in the head:
>>> <base target="_blank" />
>> Assuming I am editing the pages via the frontend - how do I actually 
>> include something in the head when the pages are actually  generated 
>> dynamically?
>> Thanks, Ulf
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at Wikimedia.org
>> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

:::: If you really want to hurt your parents, and you don’t have the 
guts to be a homosexual, the least you can do is go into the arts. -- 
Kurt Vonnegut
:::: Jan Steinman <http://www.Bytesmiths.com/Item/03GAB14>

More information about the MediaWiki-l mailing list