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

       Web browser: ---
             Bug #: 39426
           Summary: Skins should have a way of overriding interface images
                    used in core like the redirect arrow
           Product: MediaWiki
           Version: 1.20-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: User interface
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


See the thread at support desk:
http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Need_to_replace_redirect_file_File:Redirect_arrow_without_text.svg

Basically someone asked how to change the redirect arrow that displays with
#redirect syntax so that it works with their green on black skin.

I advised them to just replace the image file, as we don't really have any
method of overriding those images in a skin (short of some really hacky CSS).

However, really skins should be able to override such images, as we don't want
skin designers patching core.

Perhaps some method in the Skin class getURLForImage, core code does stuff like
$context->getUser()->getSkin()->getURLForImage( 'redirect arrow' ) which
returns the appropriate url of either redirectarrowltr or redirectarrowrtl
depending on the directionality of interface (Thus as added bonsu, hiding
details of LTR vs RTL from core parts).

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to