http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97319
Revision: 97319 Author: preilly Date: 2011-09-16 19:04:14 +0000 (Fri, 16 Sep 2011) Log Message: ----------- mft r97317 Modified Paths: -------------- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php Modified: branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php =================================================================== --- branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php 2011-09-16 19:03:47 UTC (rev 97318) +++ branches/wmf/1.17wmf1/extensions/MobileFrontend/MobileFrontend.php 2011-09-16 19:04:14 UTC (rev 97319) @@ -727,7 +727,7 @@ // before the output buffer callback function executes. // Thus, globalized objects will not be available as expected in the function. // This is stated to be intended behavior, as per the following: [http://bugs.php.net/bug.php?id=40104] - $mDefaultQuery = $wgRequest->getQueryValues(); + $mDefaultQuery = $_GET; unset( $mDefaultQuery['seg'] ); unset( $mDefaultQuery['useformat'] ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs