コード例 #1
0
ファイル: Clean.php プロジェクト: cllu/MediaWiki-Theme
 /**
  * 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);
 }