Last modified: 2012-04-05 19:43:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36818, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34818 - Improving Regular expression for PHP Errors in Database handling
Improving Regular expression for PHP Errors in Database handling
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.20.x
All All
: Unprioritized trivial (vote)
: 1.20.0 release
Assigned To: Nobody - You can work on this!
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-29 22:48 UTC by christian
Modified: 2012-04-05 19:43 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Eating colon's white space upon error message extraction (513 bytes, patch)
2012-02-29 22:48 UTC, christian
Details

Description christian 2012-02-29 22:48:52 UTC
Created attachment 10133 [details]
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.
Comment 1 Antoine "hashar" Musso (WMF) 2012-03-01 13:12:13 UTC
Patch applied with r112800, will be in 1.20.

Thanks 8-)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links