[Mediawiki-l] Help: where do I hack to change link output?

Jeremy G Byrne jeremy at iz.org
Thu Dec 29 10:37:46 UTC 2005


At 18:16:34 +0100 28/12/2005, Brion V. wrote:
>Jeremy G Byrne wrote:
> > I'm trying to work out what or where I need to hack the php
> > code to alter the way "broken local links" (ie. references to
> > pages which aren't in the wiki, which are normally transformed
> > into "&action=edit" style links) are displayed.
>
>If you want to alter how they're _displayed_ you should look at
>the CSS for each skin, in skins/*. They're the a.new class, iirc.

Sorry; imprecise wording.

>If you want to change the HTML markup that's produced, poke at
>Linker::makeBrokenLinkObj().

I had, but thanks to your prompting I've gone back to it and
persisted, and once I realised I needed to reload the pages with
&action=purge to see the effects of my hacking, it was pretty easy.
Many thanks!

CYa,
JEREMY




More information about the MediaWiki-l mailing list