Lekshmi has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/115607

Change subject: editintro given a css class of its own
......................................................................

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'

Change-Id: I9afa41a01a2318fba27df04054871cd593be7e92
---
M includes/EditPage.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/07/115607/1

diff --git a/includes/EditPage.php b/includes/EditPage.php
index 9a27d23..67bfd38 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -2114,7 +2114,7 @@
                        if ( $title instanceof Title && $title->exists() && 
$title->userCan( 'read' ) ) {
                                global $wgOut;
                                // Added using template syntax, to take 
<noinclude>'s into account.
-                               $wgOut->addWikiTextTitleTidy( '{{:' . 
$title->getFullText() . '}}', $this->mTitle );
+                               $wgOut->addWikiTextTitleTidy( "div 
class='mw-editintro'>{{:' . $title->getFullText() . '}}', $this->mTitle</div>" 
);
                                return true;
                        }
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/115607
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9afa41a01a2318fba27df04054871cd593be7e92
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Lekshmi <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to