User "Bawolff" posted a comment on MediaWiki.r85247. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85247#c15734
Comment: One potential use case for not making the Linker static, is consider how sites that have multiple urls (aka http://secure.wikimedia.org/wikipedia/en/wiki/ vs http://en.wikipedia.org ) In most contexts one would want to make links that reflect the site you're currently looking at, but in some cases you would want to use the canonical url for the site. (email notifications, perhaps the irc notifications although at the moment we use some black magic to get around that). Being able to have different linker objects to generate canonical vs normal links might be useful. Of course at the moment we don't do that, but making the Linker static makes it more difficult to do (on the other hand, it is somewhat of an edge case that sites have multiple urls). _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
