Hi All--
[I posted this in a different form last week, but didn't get a definitive reply.]
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.
I have looked in the obvious places--Linker.php and Skin.php--but I can't seem to locate the relevant function, and more general research has turned up nothing.
Can anyone shed some light, please?
CYa, JEREMY
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.
If you want to change the HTML markup that's produced, poke at Linker::makeBrokenLinkObj().
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org