mirror of
https://github.com/Hutchy68/pivot.git
synced 2024-11-23 10:59:03 +01:00
Replace wfRunHooks with Hooks::run
MediaWiki 1.32 removed wfRunHooks so replace with Hooks::run
This commit is contained in:
parent
15cce18901
commit
a128dd152a
@ -198,7 +198,7 @@ class pivotTemplate extends BaseTemplate {
|
|||||||
<a href="#" data-options="align:left" data-dropdown="drop1" class="button secondary small radius pull-right hide-for-print" id="drop"><i class="fa fa-navicon fa-lg"><span id="page-actions" class="show-for-medium-up"> <?php echo wfMessage( 'actions' )->text() ?></span></i></a>
|
<a href="#" data-options="align:left" data-dropdown="drop1" class="button secondary small radius pull-right hide-for-print" id="drop"><i class="fa fa-navicon fa-lg"><span id="page-actions" class="show-for-medium-up"> <?php echo wfMessage( 'actions' )->text() ?></span></i></a>
|
||||||
<ul id="drop1" class="tiny content f-dropdown" data-dropdown-content>
|
<ul id="drop1" class="tiny content f-dropdown" data-dropdown-content>
|
||||||
<?php foreach($this->data['content_actions'] as $key => $tab) { echo preg_replace(array('/\sprimary="1"/', '/\scontext="[a-z]+"/', '/\srel="archives"/'),'',$this->makeListItem($key, $tab)); } ?>
|
<?php foreach($this->data['content_actions'] as $key => $tab) { echo preg_replace(array('/\sprimary="1"/', '/\scontext="[a-z]+"/', '/\srel="archives"/'),'',$this->makeListItem($key, $tab)); } ?>
|
||||||
<?php wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this, true )); ?>
|
<?php Hooks::run( 'SkinTemplateToolboxEnd', array( &$this, true )); ?>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<?php endif;
|
<?php endif;
|
||||||
@ -307,4 +307,4 @@ class pivotTemplate extends BaseTemplate {
|
|||||||
}
|
}
|
||||||
return; }
|
return; }
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user