(bug 23676) Spelling correction: ArticleRevisionVisiblitySet -> ArticleRevisionVisibi...
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 27 May 2010 15:13:30 +0000 (15:13 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 27 May 2010 15:13:30 +0000 (15:13 +0000)
docs/hooks.txt
includes/RevisionDelete.php

index 6243579..7de172f 100644 (file)
@@ -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
 
index 69b87a2..72fdfde 100644 (file)
@@ -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();
        }
 }