-rakkaus/#mediawiki-i18n- [06-Sep-2011 19:12:04] PHP Fatal error: Call to a member...
authorSam Reed <reedy@users.mediawiki.org>
Tue, 6 Sep 2011 19:20:20 +0000 (19:20 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Tue, 6 Sep 2011 19:20:20 +0000 (19:20 +0000)
includes/SkinTemplate.php

index e0b7eb0..e3435c4 100644 (file)
@@ -549,7 +549,7 @@ class SkinTemplate extends Skin {
 
                /* set up the default links for the personal toolbar */
                $personal_urls = array();
-               
+
                $page = $request->getVal( 'returnto', $this->thispage );
                $query = $request->getVal( 'returntoquery', $this->thisquery );
                $a = array( 'returnto' => $page );
@@ -1535,7 +1535,7 @@ abstract class BaseTemplate extends QuickTemplate {
                }
                if ( isset( $item['single-id'] ) ) {
                        if ( isset( $item['tooltiponly'] ) && $item['tooltiponly'] ) {
-                               $attrs['title'] = $this->skin->titleAttrib( $item['single-id'] );
+                               $attrs['title'] = $this->getSkin()->titleAttrib( $item['single-id'] );
                                if ( $attrs['title'] === false ) {
                                        unset( $attrs['title'] );
                                }