"Cneubauer" posted a comment on MediaWiki.r85244.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85244#c29732

Commit summary for MediaWiki.r85244:

Drop connetion between Skin and Linker and turn Linker into a staticly usable 
class.

Cneubauer's comment:

"Things which should actually NEVER be trying to load up a skin which is 
dependent on the user in the current session. I just finally implemented what 
was noted forever."

Not sure what you mean. How is using the user specified skin to generate links 
different from using the user specified preferences to generate date formats or 
edit sections links?

Regardless, I don't really care about all that. What I'm really looking for is 
a way to work around this issue from an extension point of view. There don't 
seem to be any hooks in Linker or Parser that allow you to modify the way links 
are parsed. I guess the best option is to override the replaceInternalLinks 
function in a custom Parser subclass. Any other suggestions on that?

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to