https://bugzilla.wikimedia.org/show_bug.cgi?id=26094

           Summary: User Image Gallery (Version 1.1) incompatible with
                    MediaWiki  1.16.0
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: [other]
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: benoit.van-boga...@kadrane.com


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();

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to