Page MenuHomePhabricator

diffs2.txt

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

diffs2.txt

Index: hooks.txt
===================================================================
--- hooks.txt (revision 13022)
+++ hooks.txt (working copy)
@@ -613,6 +613,14 @@
to be echoed at the top of the edit form as wikitext. Return true without altering
$error to allow the edit to proceed.
+'EditPageAfterEditBox': On the edit page, after the edit box is rendered
+&$editpage: the EditPage object
+&$out: the OutputPage object
+
+'EditPageAfterToolbar': On the edit page, after the toolbar is constructed but before it is rendered
+&$editpage: the EditPage object
+&$toolbar: the HTML string representing the toolbar
+
'EditPageBeforeConflictDiff': allows modifying the EditPage object and output
when there's an edit conflict. Return false to halt normal diff output; in
this case you're responsible for computing and outputting the entire "conflict"

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6488
Default Alt Text
diffs2.txt (875 B)

Event Timeline