exists()) { $page = WikiPage::factory($title); $pageContent = ContentHandler::makeContent("This page was automatically created. It serves as an anchor page for all '''[[Special:WhatLinksHere/Template:Extension_DPL|invocations]]''' of [http://mediawiki.org/wiki/Extension:DynamicPageList Extension:DynamicPageList (DPL)].", $title); $page->doEditContent( $pageContent, $title, EDIT_NEW | EDIT_FORCE_BOT ); } } /** * Get the unique update key for this logged update. * * @access protected * @return string Unique Key */ protected function getUpdateKey() { return 'dynamic-page-list-create-template'; } }