Page MenuHomePhabricator

diffs.txt

Authored By
bzimport
Nov 21 2014, 11:11 PM
Size
774 B
Referenced Files
None
Subscribers
None

diffs.txt

*** /tmp/EditPage.php 2010-04-21 15:08:14.000000000 -0400
--- EditPage.php 2010-04-21 15:08:11.000000000 -0400
***************
*** 1502,1507 ****
--- 1502,1510 ----
);
$this->showTextbox1( $classes );
+ // Enhancing the edit page after the edit box
+ wfRunHooks( 'EditPageAfterEditBox', array(&$this, &$wgOut) );
+
$wgOut->wrapWikiMsg( "<div id=\"editpage-copywarn\">\n$1\n</div>", $copywarnMsg );
$wgOut->addHTML( <<<END
{$this->editFormTextAfterWarn}
***************
*** 2129,2134 ****
--- 2132,2141 ----
$toolbar.="/*]]>*/\n</script>";
$toolbar.="\n</div>";
+
+ // Hook for wrapping/enhancing the toolbar.
+ wfRunHooks( 'EditPageAfterToolbar', array(&$this, &$toolbar) );
+
return $toolbar;
}

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6487
Default Alt Text
diffs.txt (774 B)

Event Timeline