+
+ // Allow extensions to add more links
+ $links = [];
+ Hooks::run( 'UndeletePageToolLinks', [ $this->getContext(), $linkRenderer, &$links ] );
+
+ if ( $links ) {
+ $subtitle .= ''
+ . $this->msg( 'word-separator' )->escaped()
+ . $this->msg( 'parentheses' )
+ ->rawParams( $this->getLanguage()->pipeList( $links ) )
+ ->escaped();
+ }
+ return Html::rawElement( 'div', [ 'class' => 'mw-undelete-subtitle' ], $subtitle );