I second the idea of the static Linker class. It's far better than the
subclass system. Skin modification of links should focus on CSS anyway,
rather than trying to overload link generating code.

Daniel Friesen-4 wrote:
> 
> On 11-04-04 02:40 PM, Platonides wrote:
>> I like it. Specially the Linker change. It really looks the way to have
>> it.
>>
>>> I'm considering
>>> making the Parser get it's linker via $po->getLinker(); (either
>>> ParserOutput or ParserOptions, I need another look)
>> The linker would be an input parameter, so it is a ParserOptions
> Yeah, I just couldn't remember which set of code that was when I wrote 
> the e-mail...
> 
> It's moot now anyways, since Linker is now used statically as Linker::* 
> instead.
> 
> ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
> 
> 
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Some-changes-to-%24wgOut%2C-%24wgUser%2C-Skin%2C-and-SpecialPage-code-patterns-tp31305991p31320028.html
Sent from the Wikipedia Developers mailing list archive at Nabble.com.


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to