Quick update to r17088 - Fuzz testing was giving me a PHP Notice: "Undefined variable...
authorNick Jenkins <nickj@users.mediawiki.org>
Thu, 19 Oct 2006 02:11:36 +0000 (02:11 +0000)
committerNick Jenkins <nickj@users.mediawiki.org>
Thu, 19 Oct 2006 02:11:36 +0000 (02:11 +0000)
commitd44f1238db4ad4d41d7e12b9b4cd50723bb53d7c
tree707eb72290227da4232a63c777c1293433d00bca
parent9b5d01864327be6052ddc04248648b29aa38b289
Quick update to r17088 - Fuzz testing was giving me a PHP Notice: "Undefined variable: wgUseDatabaseMessages in <b>/var/www/hosts/mediawiki/wiki/languages/messages/MessagesPl.php</b> on line <b>1292</b><br />". This happens because the desired output is the literal string "$wgUseDatabaseMessages", not the value of the $wgUseDatabaseMessages variable. However variables are not expanded in single quotes, but they are in double quotes; so when the line was changed from single to double quotes, it started wanting to print out the variable - therefore modifying to use single quotes, and adding escaping for the literal singles quotes.
languages/messages/MessagesPl.php