'nowiki']; } public static function create($text, $params, \Parser $parser, \PPFrame $frame) { $parser->getOutput()->addModules(['ext.isekai.previewCard']); $titleChunk = explode('/', $text); $len = count($titleChunk); $displayTitle = $titleChunk[$len - 1]; unset($titleChunk[$len - 1]); $path = implode('/', $titleChunk); return self::getHtml([ 'title' => $text, 'displayTitle' => $displayTitle, 'path' => $path, ]); } }