Wikia code/includes/specials/SpecialPreferences.php
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.42.1. |
--- 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>',