better localization. Change is reverse-compatible and can be ignored for
most wikis.
* Adding a 'reason' field to Special:Userrights
+* Added 'MonoBookTemplateAboveColumnContent' hook; see docs/hooks.txt for more information
== Bugfixes since 1.9 ==
# code to actually show the article goes here
}
-
+
An extension writer, or a local admin, will often add custom code to
the function -- with or without a global variable. For example,
someone wanting email notification when an article is shown may add:
$errmsg: error message, in HTML (string). Nonempty indicates failure
of rendering the formula
+'MonoBookTemplateAboveColumnContent': Monobook output, above div#column-content. Any string
+you echo here will be printed above the div#column-content element on every page.
+$outObj: instance of the output class
+
'OutputPageBeforeHTML': a page has been processed by the parser and
the resulting HTML is about to be displayed.
$parserOutput: the parserOutput (object) that corresponds to the page
<?php if($this->data['body_onload' ]) { ?>onload="<?php $this->text('body_onload') ?>"<?php } ?>
class="mediawiki <?php $this->text('nsclass') ?> <?php $this->text('dir') ?> <?php $this->text('pageclass') ?>">
<div id="globalWrapper">
+<?php
+ // this is meant to be above div#column-content
+ wfRunHooks( 'MonoBookTemplateAboveColumnContent', array( &$this ) );
+
+?>
<div id="column-content">
<div id="content">
<a name="top" id="top"></a>