Put the suppress & restore warnings calls *around* parse_url() rather than around...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Jan 2008 23:44:26 +0000 (23:44 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 30 Jan 2008 23:44:26 +0000 (23:44 +0000)
commit492d502295d7367fe61c4b00f58d5cfb542f0954
treee3da677c01afc729662e17b933d085c8fbda3fc9
parente48241342938e65c36fe4b6b6de752c00e2a6061
Put the suppress & restore warnings calls *around* parse_url() rather than around an empty space after it. :)
This avoids PHP warning notices when given not-quite-valid input, such as "http://en.wikipedia.org{{localurl:Talk:Wet_Tropics_of_Queensland/Comments|action=edit}}"
includes/GlobalFunctions.php