Wikia code/includes/specials/SpecialPreferences.php

--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\specials\SpecialPreferences.php	2011-07-18 22:31:17.685546900 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\specials\SpecialPreferences.php	2011-08-17 15:28:16.332031200 +0100
@@ -28,6 +28,11 @@
 		
 		$wgOut->addScriptFile( 'prefs.js' );
 
+		/* Wikia change begin - @author: macbre */
+		/* Enable custom notifications handling */
+		wfRunHooks('SpecialPreferencesOnRender', array(&$this));
+		/* Wikia change end */
+
 		if ( $wgRequest->getCheck( 'success' ) ) {
 			$wgOut->wrapWikiMsg(
 				'<div class="successbox"><strong>$1</strong></div><div id="mw-pref-clear"></div>',