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

       Web browser: ---
             Bug #: 29984
           Summary: SocialProfile needs to be ported to ResourceLoader
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://www.mediawiki.org/wiki/Extension:SocialProfile/
                    Roadmap
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SocialProfile
        AssignedTo: krinklem...@gmail.com
        ReportedBy: j...@countervandalism.net
    Classification: Unclassified


Current trunk version of SocialProfile has been tested and developed against
MediaWiki 1.16 and it seems that it will work only on 1.16 at the moment; it
appears quite broken on current trunk version of MediaWiki (1.19alpha).

I've tried porting SocialProfile to use ResourceLoader a few times now and the
JS is always giving me a headache. I've rewritten
SocialProfile/UserGifts/UserGifts.js to be more object-oriented, but the way
its functions are (currently) used seems to be problematic when combined with
the ResourceLoader; see SocialProfile/UserGifts/SpecialGiveGift.php, lines 244,
313 and 372.

I'd like to retain backwards compatibility with MediaWiki 1.16 for the time
being, as I need to deploy SocialProfile on some ShoutWiki sites, which still
run 1.16.

SystemGifts, UserActivity, UserStats and UserWelcome have only CSS files;
UserSystemMessages has no CSS nor JS and the remaining "modules" (UserBoard,
UserGifts, UserProfile, UserRelationship and UserStatus) have both CSS and JS
files.

Assigning to Krinkle as per Reedy's suggestion on #mediawiki:

08:02 < ashley> to whom might I assign a ResourceLoader-related bug?
specifically, my SocialProfile extension appears to be rather...broken in
current trunk (and probably for 1.17+ in general) and it needs to be ported to
use RL (retaining backwards compat w/ 1.16) but jQuery and RL are driving me
crazy :-/
08:02 < Reedy> ashley, Roan, Trevor or maybe Krinkle

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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