r107426 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107425‎ | r107426 | r107427 >
Date:21:22, 27 December 2011
Author:ialex
Status:ok
Tags:
Comment:
Updated comment and a call from Article to WikiPage
Modified paths:
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -2875,9 +2875,9 @@
28762876 * This clears some fields in this object, and clears any associated
28772877 * keys in the "bad links" section of the link cache.
28782878 *
2879 - * - This is called from Article::doEdit() and Article::insertOn() to allow
 2879+ * - This is called from WikiPage::doEdit() and WikiPage::insertOn() to allow
28802880 * loading of the new page_id. It's also called from
2881 - * Article::doDeleteArticle()
 2881+ * WikiPage::doDeleteArticle()
28822882 *
28832883 * @param $newid Int the new Article ID
28842884 */
@@ -3689,7 +3689,7 @@
36903690 $nt->purgeSquid();
36913691 } else {
36923692 # Purge caches as per article creation, including any pages that link to this title
3693 - Article::onArticleCreate( $nt );
 3693+ WikiPage::onArticleCreate( $nt );
36943694 }
36953695 $this->purgeSquid();
36963696 }

Status & tagging log