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

           Summary: Shut up filemtime() warnings in ResourceLoader (and
                    possibly other warnings related to nonexistent files
                    as well)
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: roan.katt...@gmail.com
        ReportedBy: roan.katt...@gmail.com
                CC: roan.katt...@gmail.com, tpars...@wikimedia.org


We don't check file existence prior to calling filemtime(), and possibly other
functions operating on files as well. This causes PHP warnings to be thrown for
nonexistent files. These are nicely caught and displayed in a comment so they
don't mess up CSS/JS code, but they do still spam server logs, so we should
avoid them.

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