Wikia code/includes/Hooks.php
< Wikia code | includes
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.43.0. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\Hooks.php 2011-07-18 22:31:28.160156300 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\Hooks.php 2011-08-17 15:28:46.521484400 +0100
@@ -121,6 +121,10 @@
$callback = array( $object, $method );
} elseif ( false !== ( $pos = strpos( $func, '::' ) ) ) {
$callback = array( substr( $func, 0, $pos ), substr( $func, $pos + 2 ) );
+ /* Wikia change begin - @author: Macbre */
+ /* BugId:6970 */
+ $func .= ' (called by hook)';
+ /* Wikia change end */
} else {
$callback = $func;
}