Author: benoit.van-bogaert
Description:
The definition of the Render function has changed since 1.9.0+
To make it compatible with 1.16 (but no more 1.9.0+), I have modified UserImages.php in my environment but a cleaner solution should take into account the version of MediaWiki to provide the right definition of efUserImagesRender().
Index: UserImages.php
- UserImages.php (revision 77110)
+++ UserImages.php (working copy)
@@ -52,7 +52,7 @@
- @param $parser Parent parser
- @return string */
-function efUserImagesRender( $text, $args, &$parser ) {
+function efUserImagesRender( $text, $args, $parser, $frame ) {
global $wgUserImagesNoCache; if( $wgUserImagesNoCache ) $parser->disableCache();
Version: unspecified
Severity: trivial