Access Log | 2.0 |
MediaWiki 1.24.2
PHP 5.6.19
( ! ) Warning: Missing argument 12 for accessLogEditAction() in wiki\extensions\UMEduWiki\AccessLog\AccessLog.php on line 104 |
---|
According to their documentation pages, the package UMEduWiki and the AccessLog extension both are not compatible with MediaWiki 1.24.
AccessLog\AccessLog.php on line 104 defines a function called accessLogEditAction(). This function has exactly 12(!) arguments, the 12th one being $redirect. This function gets executed from the ArticleSaveComplete hook. This hook, according to our documentation only has 11 arguments, not 12.
Since $redirect is not even used inside accessLogEditAction(), the fix might be as simple as to just remove this this 12th argument from accessLogEditAction(), so that this function only has 11 arguments just as it should have.
same warning applies for maintenance/Edit.php
[/share/Web/VHost_qbox4u/conf/abc/mwk/maintenance]# php edit.php -s "Quick edit" -m School:Bp3 < /share/Web/tst/boilerpage_01.txt
Saving...
Warning: Missing argument 12 for accessLogEditAction() in /share/MD0_DATA/Web/VHost_qbox4u/conf/abc/mwk/extensions/UMEduWiki/AccessLog/AccessLog.php on line 104
done
Please see my answer above!
Since $redirect is not even used inside accessLogEditAction(), the fix might be as simple as to just remove this this 12th argument from accessLogEditAction(), so that this function only has 11 arguments just as it should have.