(bug 39099) Changed error-levels in Uri.php
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Tue, 7 Aug 2012 23:16:22 +0000 (19:16 -0400)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Tue, 7 Aug 2012 23:19:04 +0000 (19:19 -0400)
commitce138ec3f06c7159e24eed659d80c32634c9d0db
tree1942f7e29f6a3cd2874ddc12994354093723b72f
parent180208751f3821c972887a7ca67cdb5a1db95e9a
(bug 39099) Changed error-levels in Uri.php

Switched component aliases and invalid URLs to wfDebug()
instead of wfWarn() so that it fails gracefully. Also
changed Uri::setComponents() to throw an exception for
invalid components instead of warning in order to be
the same as the other methods.

Change-Id: I2f2b552f8b13b7063c6b85b6a02d05eaba470b90
Signed-off-by: Tyler Anthony Romeo <tylerromeo@gmail.com>
includes/Uri.php