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

       Web browser: ---
             Bug #: 29884
           Summary: Gallery default filename caption removes unnecessarily
                    removes filename extension
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SemanticResultFormats
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


On line 66 of SRF_Gallery.php the filename extensions are removed for no good
reason. I assume this was done with the thinking that a properly named file
would eliminate the need for a caption, so when the filename is used as the
default caption, the file extension would seem out of place.

But...

Most of the time filenames are nonsensical AND they can't be renamed. So,
without the file extension, it is confusing. There is no reason to do this work
by default, and so this feature should be removed unless there's some good
reason for the bug-fixer to choose to make it an OPTION (not the default).

I suspect that it may also be related to the cause of this bug, where turning
off autocaptions does not work:

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

By the way, not having a complete file name could complicate other tasks that
might try to use data from Semantic Results Format.

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

Reply via email to