X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=skins%2FCologneBlue.php;h=3b534687a87e0ebd9a8b6ad18a81bb70601d496d;hb=fd3ac84a6b10145fe79a8479bd0e9afc84e3a763;hp=9344febf22447f6c6fb9b9e9bdbb5e8dc56428e4;hpb=540329ebd55e2839555ea9f631160756fa63fa45;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/CologneBlue.php b/skins/CologneBlue.php index 9344febf22..3b534687a8 100644 --- a/skins/CologneBlue.php +++ b/skins/CologneBlue.php @@ -36,7 +36,7 @@ class SkinCologneBlue extends SkinTemplate { var $useHeadElement = true; /** - * @param $out OutputPage + * @param OutputPage $out */ function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); @@ -47,6 +47,8 @@ class SkinCologneBlue extends SkinTemplate { /** * Override langlink formatting behavior not to uppercase the language names. * See otherLanguages() in CologneBlueTemplate. + * @param string $name + * @return string */ function formatLanguageName( $name ) { return $name; @@ -111,7 +113,7 @@ class CologneBlueTemplate extends BaseTemplate { return $html; } - /** + /** * @param string $name */ protected function renderAfterPortlet( $name ) { @@ -137,9 +139,9 @@ class CologneBlueTemplate extends BaseTemplate { /** * Used in bottomLinks() to eliminate repetitive code. * - * @param $key string Key to be passed to makeListItem() - * @param $navlink array Navlink suitable for processNavlinkForDocument() - * @param $message string Key of the message to use in place of standard text + * @param string $key Key to be passed to makeListItem() + * @param array $navlink Navlink suitable for processNavlinkForDocument() + * @param string $message Key of the message to use in place of standard text * * @return string */ @@ -257,8 +259,8 @@ class CologneBlueTemplate extends BaseTemplate { * and removes the accesskeys. This is necessary to be able to use the same navlink twice, * e.g. in sidebar and in footer. * - * @param $navlink array Navigational link generated by SkinTemplate - * @param $idPrefix mixed Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'. + * @param array $navlink Navigational link generated by SkinTemplate + * @param mixed $idPrefix Prefix to add to id of this navlink. If false, id is removed entirely. Default is 'cb-'. */ function processNavlinkForDocument( $navlink, $idPrefix = 'cb-' ) { if ( $navlink['id'] ) { @@ -383,9 +385,10 @@ class CologneBlueTemplate extends BaseTemplate { Title::newFromText( wfMessage( 'aboutpage' )->inContentLanguage()->text() ), wfMessage( 'about' )->text() ), - Linker::linkKnown( - Title::newFromText( wfMessage( 'helppage' )->inContentLanguage()->text() ), - wfMessage( 'help' )->text() + Linker::makeExternalLink( + Skin::makeInternalOrExternalUrl( wfMessage( 'helppage' )->inContentLanguage()->text() ), + wfMessage( 'help' )->text(), + false ), Linker::linkKnown( Title::newFromText( wfMessage( 'faqpage' )->inContentLanguage()->text() ), @@ -406,8 +409,8 @@ class CologneBlueTemplate extends BaseTemplate { /** * Adds CologneBlue-specific items to the sidebar: qbedit, qbpageoptions and qbmyoptions menus. * - * @param $bar sidebar data - * @return array modified sidebar data + * @param array $bar Sidebar data + * @return array Modified sidebar data */ function sidebarAdditions( $bar ) { // "This page" and "Edit" menus @@ -542,7 +545,7 @@ class CologneBlueTemplate extends BaseTemplate { } /** - * @param $label string + * @param string $label * @return string */ function searchForm( $which ) {