Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -2091,7 +2091,6 @@ |
2092 | 2092 | '<h2 id="mw-previewheader">' . htmlspecialchars( wfMsg( 'preview' ) ) . "</h2>" . |
2093 | 2093 | $wgOut->parse( $note ) . $conflict . "</div>\n"; |
2094 | 2094 | |
2095 | | - wfProfileOut( __METHOD__ ); |
2096 | 2095 | global $wgBetterDirectionality, $wgContLang; |
2097 | 2096 | if( $wgBetterDirectionality ) { |
2098 | 2097 | $getPageLang = $wgOut->parserOptions()->getTargetLanguage( $this->mTitle ); |
— | — | @@ -2099,6 +2098,7 @@ |
2100 | 2099 | $realBodyAttribs = array( 'lang' => $pageLang->getCode(), 'dir' => $pageLang->getDir() ); |
2101 | 2100 | $previewHTML = Html::rawElement( 'div', $realBodyAttribs, $previewHTML ); |
2102 | 2101 | } |
| 2102 | + wfProfileOut( __METHOD__ ); |
2103 | 2103 | return $previewhead . $previewHTML . $this->previewTextAfterContent; |
2104 | 2104 | } |
2105 | 2105 | |