X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=blobdiff_plain;f=includes%2FEditPage.php;h=6b79538e793aabeb8c676a344438f1ae7e80cfa8;hb=87bc4f22699e557410ab7e3b6aafb5d1036bca8a;hp=29abfb13aff73a7c91b61a271c5eb4d9f0a3e292;hpb=96361e8866b5e65b70d7235ca8e91d3cab1685fa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/EditPage.php b/includes/EditPage.php index 29abfb13af..6b79538e79 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2666,8 +2666,9 @@ ERROR; $title = Title::newFromText( $this->editintro ); if ( $title instanceof Title && $title->exists() && $title->userCan( 'read' ) ) { // Added using template syntax, to take 's into account. - $this->context->getOutput()->addWikiTextTitleTidy( + $this->context->getOutput()->addWikiTextAsContent( '
{{:' . $title->getFullText() . '}}
', + /*linestart*/true, $this->mTitle ); return true;