- function getTrail() {
- $html = MWDebug::getDebugHTML( $this->getSkin()->getContext() );
- $html .= $this->get( 'bottomscripts' );
- $html .= $this->get( 'reporttime' );
-
- return $html;
+ public function getTrail() {
+ return WrappedString::join( "\n", [
+ MWDebug::getDebugHTML( $this->getSkin()->getContext() ),
+ $this->get( 'bottomscripts' ),
+ $this->get( 'reporttime' )
+ ] );