dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090f743
)
Followup r92643: refer to the passed object as $parser, not $this
author
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 9 Aug 2011 13:30:01 +0000
(13:30 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Tue, 9 Aug 2011 13:30:01 +0000
(13:30 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
dbf9a52
..
12741ea
100644
(file)
--- a/
docs/hooks.txt
+++ b/
docs/hooks.txt
@@
-1371,7
+1371,7
@@
wrapping the section in a DIV). Caveat: DIVs are valid wikitext, and a DIV
can begin in one section and end in another. Make sure your code can handle
that case gracefully. See the EditSectionClearerLink extension for an
example.
-$
this
: the calling Parser instance
+$
parser
: the calling Parser instance
$section: the section number, zero-based, but section 0 is usually empty
&$sectionContent: ref to the content of the section. modify this.
$showEditLinks: boolean describing whether this section has an edit link