https://bugzilla.wikimedia.org/show_bug.cgi?id=24631

--- Comment #11 from Anton Yackushev <yackushe...@gmail.com> 2011-01-11 
17:47:34 UTC ---
(In reply to comment #10)
> Fixed on trunk with r64876. We can backport changes related to setHTMLTitle()
> from it.


Has helped but only if to change this code location:

@@ -447,17 +447,9 @@
     /**
      * "HTML title" means the contents of <title>.
      * It is stored as plain, unescaped text and will be run through
htmlspecialchars in the skin file.
-     * 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.
      */
-    public function setHTMLTitle( $name, $frompagetitle = false ) {
-        if ( $frompagetitle && $this->mHTMLtitleFromPagetitle ) {
-            $this->mHTMLtitle = $name;
-        }
-        elseif ( $this->mHTMLtitleFromPagetitle ) {
-            $this->mHTMLtitle = $name;
-            $this->mHTMLtitleFromPagetitle = false;
-        }
+    public function setHTMLTitle( $name ) {
+        $this->mHTMLtitle = $name;
     }

If you change all file OutPage.php, I receive an error:

PHP Fatal error:  Call to undefined method OutputPage::getFrameOptions() in
/var/www/.../includes/Skin.php on line 416

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to