data['namespace_urls'] = $this->data['content_navigation']['namespaces']; $this->data['view_urls'] = $this->data['content_navigation']['views']; $this->data['action_urls'] = $this->data['content_navigation']['actions']; $this->data['variant_urls'] = $this->data['content_navigation']['variants']; // Move the watch/unwatch star outside of the collapsed "actions" menu to the main "views" menu if ( $this->config->get( 'VectorUseIconWatch' ) ) { $mode = $this->getSkin()->getUser()->isWatched( $this->getSkin()->getRelevantTitle() ) ? 'unwatch' : 'watch'; if ( isset( $this->data['action_urls'][$mode] ) ) { $this->data['view_urls'][$mode] = $this->data['action_urls'][$mode]; unset( $this->data['action_urls'][$mode] ); } } // Reverse horizontally rendered navigation elements if ( $this->data['rtl'] ) { $this->data['view_urls'] = array_reverse( $this->data['view_urls'] ); $this->data['namespace_urls'] = array_reverse( $this->data['namespace_urls'] ); $this->data['personal_urls'] = array_reverse( $this->data['personal_urls'] ); } $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); // Output HTML Page $this->html( 'headelement' ); ?>