From: Aaron Schulz Date: Thu, 27 May 2010 15:13:30 +0000 (+0000) Subject: (bug 23676) Spelling correction: ArticleRevisionVisiblitySet -> ArticleRevisionVisibi... X-Git-Tag: 1.31.0-rc.0~36698 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=7a0769d619a2bb28c2d35a04524a4694180a202e;p=lhc%2Fweb%2Fwiklou.git (bug 23676) Spelling correction: ArticleRevisionVisiblitySet -> ArticleRevisionVisibilitySet --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 6243579d19..7de172f273 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -439,7 +439,7 @@ $moveonly: boolean whether it was for move only or not 'ArticlePurge': before executing "&action=purge" $article: article (object) to purge -'ArticleRevisionVisiblitySet': called when changing visibility of one or more +'ArticleRevisionVisibilitySet': called when changing visibility of one or more revision of an article &$title: title object of the article diff --git a/includes/RevisionDelete.php b/includes/RevisionDelete.php index 69b87a2a81..72fdfde807 100644 --- a/includes/RevisionDelete.php +++ b/includes/RevisionDelete.php @@ -766,7 +766,7 @@ class RevDel_RevisionList extends RevDel_List { public function doPostCommitUpdates() { $this->title->purgeSquid(); // Extensions that require referencing previous revisions may need this - wfRunHooks( 'ArticleRevisionVisiblitySet', array( &$this->title ) ); + wfRunHooks( 'ArticleRevisionVisibilitySet', array( &$this->title ) ); return Status::newGood(); } }