Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6951
diffs2.txt
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 11:11 PM
2014-11-21 23:11:11 (UTC+0)
Size
875 B
Referenced Files
None
Subscribers
None
diffs2.txt
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6488
Default Alt Text
diffs2.txt (875 B)
Attached To
Mode
T25278: Two hooks for edit page: after toolbar and after edit box
Attached
Detach File
Event Timeline
Log In to Comment