mediawiki_twentyten icon indicating copy to clipboard operation
mediawiki_twentyten copied to clipboard

Undefined Method

Open pbouman opened this issue 13 years ago • 3 comments

Hi,

Using mw 1.18.0.

After installing got the error "Call to undefined method SkinTwentyTen::tooltipAndAccesskey". Found with Google that it has something to do with the mw version.

Can you help me out?

Greetz, Pascal

pbouman avatar Dec 23 '11 23:12 pbouman

had the same issue, found the answer here

in twentyten.php replace all instances of "tooltipAndAccesskey" with "tooltipAndAccesskeyAttribs"

br3ttb avatar Mar 15 '12 17:03 br3ttb

Excellent, that saved me a lot of troubleshooting when upgrading from 1.17 to 1.19, where I was simply unable to see what the error was but the login and other menues disappeared and the logo was replaced with another instance of the home page.

Just replacing this in all instances seems to have solved my error as well. Lots of thanks :)

ghost avatar May 02 '12 19:05 ghost

I just added the following code to SkinTwentyTen class which fixed the error.

function tooltipAndAccesskey($string) {
    return $string;
}

bensinclair avatar May 24 '12 00:05 bensinclair