"Aaron Schulz" posted a comment on MediaWiki.r101667.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/101667#c28400

Commit summary for MediaWiki.r101667:

* Let HTMLFileCache constructor take in a Title *or* a the prefixed dbkey 
itself.
* Tweaked filecache fallback in fileCachedPage() to try the raw title param. If 
the DB is down, we can get most views of titles with colons in them to work 
this way. Previously, it could fail on an interwiki lookup.

Aaron Schulz's comment:

This is how the old code was. It was (and is) trying to avoid a DB hit getting 
the message, which would often just create another exception when we were 
trying to handle a DBError to begin with.

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

Reply via email to