Last modified: 2014-05-08 20:28:17 UTC
It looks like the page load succeeds but a call to load.php fails. The error message: PHP Fatal error: Call to undefined method ResourceLoaderGeSHiModule::getDefinitionMtime() in /usr/local/src/SyntaxHighlight_GeSHi/ResourceLoaderGeSHiModule.php on line 38
The master branch has just undergone some modernization and is no longer compatible with MediaWiki versions older than 1.23 (which is a Release Candidate right now, due to be released in under a month). Is any documentation claiming otherwise? I'd like to fix it if so :) You can download an older version of the extension compatible with your MediaWiki version via [[mw:Special:ExtensionDistributor/SyntaxHighlight_GeSHi]]).
https://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi says 1.11+ - isn't that the main documentation? :) But actually it was the commit message at https://git.wikimedia.org/commit/mediawiki%2Fextensions%2FSyntaxHighlight_GeSHi/b6d8b1a5b9a75a085d7d609db3524d99b99d345c that fooled me: > The old way still works and is used for MediaWiki 1.20 and lower. Which led me to think the new way works for 1.21 and up. Unfortunately my WorkingWiki extension relies on SyntaxHighlight to highlight code, and I'd very much like to use the new RL-enabled SyntaxHighlight since I'm going over to retrieving files via AJAX, and would like to use RL to get the related resources, including css for syntax highlighting. And my main user is on MW 1.21 for now...
(In reply to Lee Worden from comment #2) > > The old way still works and is used for MediaWiki 1.20 and lower. > > Which led me to think the new way works for 1.21 and up. Yeah, I was under the impression that what I did will work, but it turns out it doesn't :( I just updated the misleading documentation about the methods I used: https://gerrit.wikimedia.org/r/132237