Where is the CSS related to this extension, for the MediaWiki:Common.css ?
Extension talk:PostEdit/Flow
Appearance
I have a requirement where this extension fits well, but I am not able to get it working. I am getting following Warining and error:
PHP Warning: Missing argument 2 for PostEditHooks::onMakeGlobalVariablesScript()...in PostEdit.hooks.php
PHP Fatal error: Call to a member function getRequest() on a non-object...in PostEdit.hooks.php
Seems the $out parameter passed to onMakeGlobalVariablesScript function donot hold any object to call the getRequest() function. I am using MW 1.18.2
Please advise on how I can resolve this, link to new bug free version or suggest any alternate hook that I can refer.
Many Thanks!
Shrinivas Gangal
You could try replacing the function with this one (untested, but should work):
public static function onMakeGlobalVariablesScript( &$vars ) {
global $wgCookiePath, $wgRequest;
if ( $wgRequest->getCookie( 'showPostEdit' ) ) {
$vars[ 'wgCookiePath' ] = $wgCookiePath;
}
return true;
}
This post was posted by Ori Livneh, but signed as Ori.livneh.
So at least there is no data.
Sorry, forgot to preface it with the Research namespace. Fixed now, and correct link is m:Research:Post-edit feedback/PEF-1
Thank you.
There are no older topics