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

           Summary: Deprecate WikiError
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


The WikiError class is used only in the Mail backend, very isolated areas in
SpecialImport and SpecialUserrights, and a few odd bits scattered through
filerepo; its documentation says it was implemented "because PHP4 doesn't have
exceptions".  We now require PHP5, which *does* have exceptions, although I'm
not entirely sure that they're entirely suitable for all the uses.  But between
exceptions, Message string errors, and Status objects, this system is
completely duplicated and extremely inconvenient to keep around; the mail
system in particular creeps all over the place.

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