Mediawiki-wysiwyg / WYSIWYG-CKeditor

Mediawiki extension: WYSIWYG. Includes extension and other components required by it
GNU General Public License v3.0
67 stars 34 forks source link

Method getInterwikiLinkAttributes not found #126

Open topsnet-holgerd opened 4 years ago

topsnet-holgerd commented 4 years ago

Running MW 1.31.5, try to edit one special article, getting

Error from line 471 of /var/www/clients/client1/web1/web/extensions/WYSIWYG/CKeditorLinker.php: Call to undefined method Linker::getInterwikiLinkAttributes()

Changed CKeditorLinker.php in order to edit the article:

471 // $style = Linker::getInterwikiLinkAttributes( $link, $text, 'extiw' );

477 // $t = "<a {$args}href=\"{$u}\"{$style}>{$text}"; 478 $t = "<a {$args}href=\"{$u}\">{$text}";

furyuri commented 4 years ago

I'm getting this error as well, trying to edit index.php?title=MediaWiki:Common.css