) in the content. If it is missing - it indicates that * the template contains a non-portable infobox * - if no, check for an occurrence of a word "infobox" inside all class HTML attributes * * Returns true if a page may consist a non-portable infobox * * @param string $titleText * @param string $contentText * @return bool */ public static function isTitleWithNonportableInfobox( $titleText, $contentText ) { // ignore docs pages if ( stripos( $titleText, '/doc' ) ) { return false; } $titleNeedle = 'infobox'; if ( strripos( $titleText, $titleNeedle ) !== false ) { $portableInfoboxNeedle = '