Last modified: 2011-02-10 01:59:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28094, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26094 - User Image Gallery (Version 1.1) incompatible with MediaWiki 1.16.0
User Image Gallery (Version 1.1) incompatible with MediaWiki 1.16.0
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: High trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-24 06:05 UTC by Benoit VAN BOGAERT
Modified: 2011-02-10 01:59 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Benoit VAN BOGAERT 2010-11-24 06:05:47 UTC
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();
Comment 1 Sam Reed (reedy) 2011-02-10 01:37:26 UTC
r81861


Thanks

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links