Merge "Remove ParserTestParser hook from hooks.txt"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 8 Nov 2016 02:43:12 +0000 (02:43 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 8 Nov 2016 02:43:12 +0000 (02:43 +0000)
1  2 
docs/hooks.txt

diff --combined docs/hooks.txt
@@@ -1926,8 -1926,8 +1926,8 @@@ $code: language of the preferred transl
  in various places to allow extensions to define the effective language
  links for a page.
  $title: The page's Title.
 -&$links: Associative array mapping language codes to prefixed links of the
 -  form "language:title".
 +&$links: Array with elements of the form "language:title" in the order
 +  that they will be output.
  &$linkFlags: Associative array mapping prefixed links to arrays of flags.
    Currently unused, but planned to provide support for marking individual
    language links in the UI, e.g. for featured articles.
@@@ -2521,10 -2521,6 +2521,6 @@@ $showEditLinks: boolean describing whet
  &$globals: Array with all the globals which should be set for parser tests.
    The arrays keys serve as the globals names, its values are the globals values.
  
- 'ParserTestParser': Called when creating a new instance of Parser in
- tests/parser/parserTest.inc.
- &$parser: Parser object created
  'ParserTestTables': Alter the list of tables to duplicate when parser tests are
  run. Use when page save hooks require the presence of custom tables to ensure
  that tests continue to run properly.