From: Antoine Musso Date: Tue, 29 Nov 2011 10:52:26 +0000 (+0000) Subject: nice debug msg for Title::getRestrictionTypes X-Git-Tag: 1.31.0-rc.0~26238 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=bcb5bdb928f0293dbb04e3aaa49a67218b8f7752;p=lhc%2Fweb%2Fwiklou.git nice debug msg for Title::getRestrictionTypes --- diff --git a/includes/Title.php b/includes/Title.php index d1d1e78231..28defc58e9 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -4330,8 +4330,8 @@ class Title { wfRunHooks( 'TitleGetRestrictionTypes', array( $this, &$types ) ); - wfDebug( __METHOD__ . ': applicable restriction types for ' . - $this->getPrefixedText() . ' are ' . implode( ',', $types ) . "\n" ); + wfDebug( __METHOD__ . ': applicable restrictions to [[' . + $this->getPrefixedText() . ']] are {' . implode( ',', $types ) . "}\n" ); return $types; }