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

       Web browser: ---
            Bug ID: 60099
           Summary: multimediaviewer-repository contains the name of the
                    local wiki instead of the remote repository when using
                    InstantCommons
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MultimediaViewer
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: dereck...@espace-win.org
                CC: aarcos.w...@gmail.com, fflo...@wikimedia.org,
                    gti...@wikimedia.org, mtrac...@member.fsf.org
    Classification: Unclassified
   Mobile Platform: ---

On a wiki not using a full remote repository configuration but using the
InstantCommons quick settings, the multimediaviewer-repository message contains
the local wiki name.

[ Bug analysis ]

This remote repository name is defined in the LIP.setRepoDisplayName method:
displayname = displayname || mw.config.get( 'wgSiteName' );

This method is called in
resources/ext.multimediaViewer/ext.multimediaViewer.js:
ui.setRepoDisplayName( repoData.displayname, repoData.isLocal );

The bug has been introduced in change Ife8293c86683ea914b1a5a60000584b501d92e55
and the new data model, where repoData.displayname doesn't seem to be set when
using $wgInstantCommons instead of a full foreign repository configuration.

-- 
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