mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-24 00:13:28 +00:00
refactor: use array style on adding modules to ParserOutput
String is deprecated since 1.38 (T296123) Closes #11
This commit is contained in:
parent
4ef6221d6c
commit
91105aa338
|
@ -37,7 +37,7 @@ class TabberNeueHooks {
|
|||
* @return string HTML
|
||||
*/
|
||||
public static function renderTabber( $input, array $args, Parser $parser, PPFrame $frame ) {
|
||||
$parser->getOutput()->addModules( 'ext.tabberNeue' );
|
||||
$parser->getOutput()->addModules( [ 'ext.tabberNeue' ] );
|
||||
$arr = explode( "|-|", $input );
|
||||
$htmlTabs = '';
|
||||
foreach ( $arr as $tab ) {
|
||||
|
|
Loading…
Reference in a new issue