r94106 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94105‎ | r94106 | r94107 >
Date:13:30, 9 August 2011
Author:demon
Status:ok
Tags:
Comment:
Followup r92643: refer to the passed object as $parser, not $this
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -1371,7 +1371,7 @@
13721372 can begin in one section and end in another. Make sure your code can handle
13731373 that case gracefully. See the EditSectionClearerLink extension for an
13741374 example.
1375 -$this: the calling Parser instance
 1375+$parser: the calling Parser instance
13761376 $section: the section number, zero-based, but section 0 is usually empty
13771377 &$sectionContent: ref to the content of the section. modify this.
13781378 $showEditLinks: boolean describing whether this section has an edit link

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92643Documenting new parser hook, re r92506....raindrift17:08, 20 July 2011

Status & tagging log