From: PiRSquared17 Date: Fri, 23 May 2014 23:45:41 +0000 (+0000) Subject: editintro given a css class of its own X-Git-Tag: 1.31.0-rc.0~15474^2 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=287ba2bbdb12b197b15b9b49c01c8e16ff142709;p=lhc%2Fweb%2Fwiklou.git editintro given a css class of its own The template added using the editintro url parameter is contained within a div tag with a unique class 'mw-editintro' Bug: 30959 Change-Id: I9afa41a01a2318fba27df04054871cd593be7e92 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index ca11f16964..c3f02daa5a 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -2302,7 +2302,7 @@ class EditPage { if ( $title instanceof Title && $title->exists() && $title->userCan( 'read' ) ) { global $wgOut; // Added using template syntax, to take 's into account. - $wgOut->addWikiTextTitleTidy( '{{:' . $title->getFullText() . '}}', $this->mTitle ); + $wgOut->addWikiTextTitleTidy( '
{{:' . $title->getFullText() . '}}
', $this->mTitle ); return true; } }