Last modified: 2012-04-12 13:53:58 UTC
setHTMLTitle is not respected when called from an extension. The code spec (comment) says: "If $name is from page title, it can only override names which are also from page title, but if it is not from page title, it can override all other names." In the latter case it does not. The body of the function should be: if ( $frompagetitle && $this->mHTMLtitleFromPagetitle ) { $this->mHTMLtitle = $name; } elseif ( $this->mHTMLtitleFromPagetitle ) { $this->mHTMLtitle = $name; $this->mHTMLtitleFromPagetitle = false; } else { $this->mHTMLtitle = $name; } The last 3 lines are the fix.
This part of code seems to be changed from 1.16. Can you test with trunk?
Cannot test right now, but the trunk is straightforward on this, so it should be OK.