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

       Web browser: ---
             Bug #: 34818
           Summary: Improving Regular expression for PHP Errors in
                    Database handling
           Product: MediaWiki
           Version: 1.20-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: Database
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: christ...@quelltextlich.at
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10133
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10133
Eating colon's white space upon error message extraction

The colon in PHP Error messages is typically followed by a blank. E.g.:

mysql_connect(): Access denied for user 'wikisvnsomeText'@'localhost' (using
password: YES)

The attached patch allows to not only eat "mysql_connect():" in the above
example, but "mysql_connect(): " upon error message extraction in DatabaseBase.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to