From 80f05ca7055430f7b6c2ae0269e98f055b0d4ae1 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sun, 25 Mar 2007 23:42:09 +0000 Subject: [PATCH] * Update release notes for r20680 * Typos in hook documentation Please remember to document hook additions in both places in future. --- RELEASE-NOTES | 2 ++ docs/hooks.txt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d765de6128..e8d96881b0 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -279,6 +279,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 4777) Separate prev/next messages for Special:Whatlinkshere * Merge approx 15 missing Wikipedia language codes into wikipedia-interwiki.sql based on Jeff Merkey's mediawiki-1.9.3.WG-20070316.tar.gz.bz2 archive. +* Introduce PageHistoryBeforeList and PageHistoryLineEnding hooks; see docs/hooks.txt + for more information == Maintenance == * New script maintenance/language/checkExtensioni18n.php used to check i18n diff --git a/docs/hooks.txt b/docs/hooks.txt index 75dddaa293..afe2172915 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -422,10 +422,10 @@ the resulting HTML is about to be displayed. $parserOutput: the parserOutput (object) that corresponds to the page $text: the text that will be displayed, in HTML (string) -'PageHistoryBeforeList': When a history page list is about to be contructed. +'PageHistoryBeforeList': When a history page list is about to be constructed. $article: the article that the history is loading for -'PageHistoryLineEnding' : right before the end
  • is added to a histroy line +'PageHistoryLineEnding' : right before the end
  • is added to a history line $row: the revision row for this line $s: the string representing this parsed line -- 2.20.1