I haven't had time to look at the code yet, but one of the recent upgrades broke subpage support (used on Wikipedia for user and talk pages). Check out
http://en2.wikipedia.org/wiki/User:Eloquence/Boilerplate_texts
for an example. The backlink title is shown, but the actual link is not.
Regards,
Erik
On Dec 1, 2003, at 14:31, Erik Moeller wrote:
I haven't had time to look at the code yet, but one of the recent upgrades broke subpage support (used on Wikipedia for user and talk pages). Check out
http://en2.wikipedia.org/wiki/User:Eloquence/Boilerplate_texts
for an example. The backlink title is shown, but the actual link is not.
Here's your problem: $growinglink.=$link; $getlink=$this->makeLink( $growingLink, $link);
Case sensitivity strikes again! In PHP function names are not case sensitive, but variable names are. (GARRRRRRRRRRR) We're passing an empty string to makeLink()... Fixed.
Also this is hideous: if(preg_match("/class='new'/i",$getlink)) { break; } # this is a hack, but it saves time
but it works for now.
-- brion vibber (brion @ pobox.com)
Brion-
Case sensitivity strikes again! In PHP function names are not case sensitive, but variable names are.
Well, that wasn't me. Someone must have thought that a CamelCase variable would look nicer. Time to get some naming conventions, maybe?
Also this is hideous: if(preg_match("/class='new'/i",$getlink)) { break; } # this is a hack, # but it saves time
Dude, read the comment! It's all documented! ;-)
Regards,
Erik
wikitech-l@lists.wikimedia.org