"SPQRobin" posted a comment on MediaWiki.r111017.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/111017#c30771

Commit summary for MediaWiki.r111017:

put in r110285 again now that 1.19 branched

SPQRobin's comment:

This is useful, I was considering adding such a hook too. However, this doesn't 
affect internal links in page content (they remain redlinks) and I think it 
would be better/more logical if it does. They're checked in LinkHolderArray.php 
calling Title->isAlwaysKnown() and page existence checks are optimised in that 
file so I suppose we can't just change it to call isKnown(). We could perhaps 
either add a parameter to isKnown() which would skip the $this->exists() check 
or move this hook to isAlwaysKnown().

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

Reply via email to