Issue:LanguageGetMagic is deprecated
From FollowTheScore
Revision as of 15:09, 13 June 2013 by Maiden taiwan (talk | contribs)
Description: | LanguageGetMagic is deprecated |
Extension / Version: | DPL / 2.0.1 |
Type / Status: | Bug / open |
Problem
The hook LanguageGetMagic
is deprecated in MediaWiki. DPL should use the new standard of writing magic words in the i18n file:
$magicWords = array(); $magicWords['en'] = array( 'dpl' => array( 0, 'dpl' ), 'dplnum' => array( 0, 'dplnum' ), 'dplvar' => array( 0, 'dplvar' ), 'dplreplace' => array( 0, 'dplreplace' ), 'dplchapter' => array( 0, 'dplchapter' ), 'dplmatrix' => array( 0, 'dplmatrix' ), 'DynamicPageList' => array( 0, 'DynamicPageList' ), );
Then delete all $wgHooks['LanguageGetMagic']
lines and their related callbacks.