예제 #1
0
 /**
  * Set the title, and create the cache key under which to store this page's TOC.
  *
  * @param Title $t The title to use.
  *
  * @see Skin::setTitle()
  * @return void
  */
 function setTitle($t)
 {
     parent::setTitle($t);
     $article_id = $this->mTitle->getArticleID();
     $this->savedTocCacheKey = wfMemcKey('clean', 'saved-toc', $article_id);
 }