Index: trunk/phase3/skins/Simple.php |
— | — | @@ -21,9 +21,6 @@ |
22 | 22 | var $skinname = 'simple', $stylename = 'simple', |
23 | 23 | $template = 'MonoBookTemplate', $useHeadElement = true; |
24 | 24 | |
25 | | - /** |
26 | | - * @param $out OutputPage |
27 | | - */ |
28 | 25 | function setupSkinUserCss( OutputPage $out ) { |
29 | 26 | parent::setupSkinUserCss( $out ); |
30 | 27 | |
Index: trunk/phase3/skins/CologneBlue.php |
— | — | @@ -19,9 +19,6 @@ |
20 | 20 | var $skinname = 'cologneblue', $stylename = 'cologneblue', |
21 | 21 | $template = 'CologneBlueTemplate'; |
22 | 22 | |
23 | | - /** |
24 | | - * @param $out OutputPage |
25 | | - */ |
26 | 23 | function setupSkinUserCss( OutputPage $out ){ |
27 | 24 | parent::setupSkinUserCss( $out ); |
28 | 25 | $out->addModuleStyles( 'skins.cologneblue' ); |
— | — | @@ -54,9 +51,6 @@ |
55 | 52 | |
56 | 53 | class CologneBlueTemplate extends LegacyTemplate { |
57 | 54 | |
58 | | - /** |
59 | | - * @return string |
60 | | - */ |
61 | 55 | function doBeforeContent() { |
62 | 56 | $mainPageObj = Title::newMainPage(); |
63 | 57 | |
— | — | @@ -97,9 +91,6 @@ |
98 | 92 | return $s; |
99 | 93 | } |
100 | 94 | |
101 | | - /** |
102 | | - * @return string |
103 | | - */ |
104 | 95 | function doAfterContent(){ |
105 | 96 | global $wgLang; |
106 | 97 | |
— | — | @@ -141,9 +132,6 @@ |
142 | 133 | return $s; |
143 | 134 | } |
144 | 135 | |
145 | | - /** |
146 | | - * @return string |
147 | | - */ |
148 | 136 | function sysLinks() { |
149 | 137 | global $wgUser, $wgLang; |
150 | 138 | $li = SpecialPage::getTitleFor( 'Userlogin' ); |
— | — | @@ -202,8 +190,6 @@ |
203 | 191 | /** |
204 | 192 | * Compute the sidebar |
205 | 193 | * @access private |
206 | | - * |
207 | | - * @return string |
208 | 194 | */ |
209 | 195 | function quickBar(){ |
210 | 196 | global $wgOut, $wgUser; |
— | — | @@ -359,19 +345,11 @@ |
360 | 346 | return $s; |
361 | 347 | } |
362 | 348 | |
363 | | - /** |
364 | | - * @param $key string |
365 | | - * @return string |
366 | | - */ |
367 | 349 | function menuHead( $key ) { |
368 | 350 | $s = "\n<h6>" . wfMsg( $key ) . "</h6>"; |
369 | 351 | return $s; |
370 | 352 | } |
371 | 353 | |
372 | | - /** |
373 | | - * @param $label string |
374 | | - * @return string |
375 | | - */ |
376 | 354 | function searchForm( $label = '' ) { |
377 | 355 | global $wgRequest, $wgUseTwoButtonsSearchForm; |
378 | 356 | |
Index: trunk/phase3/skins/Standard.php |
— | — | @@ -18,9 +18,6 @@ |
19 | 19 | var $skinname = 'standard', $stylename = 'standard', |
20 | 20 | $template = 'StandardTemplate'; |
21 | 21 | |
22 | | - /** |
23 | | - * @param $out OutputPage |
24 | | - */ |
25 | 22 | function setupSkinUserCss( OutputPage $out ){ |
26 | 23 | parent::setupSkinUserCss( $out ); |
27 | 24 | $out->addModuleStyles( 'skins.standard' ); |
— | — | @@ -50,9 +47,6 @@ |
51 | 48 | |
52 | 49 | class StandardTemplate extends LegacyTemplate { |
53 | 50 | |
54 | | - /** |
55 | | - * @return string |
56 | | - */ |
57 | 51 | function doAfterContent() { |
58 | 52 | global $wgContLang, $wgLang; |
59 | 53 | wfProfileIn( __METHOD__ ); |
— | — | @@ -101,9 +95,6 @@ |
102 | 96 | return $s; |
103 | 97 | } |
104 | 98 | |
105 | | - /** |
106 | | - * @return string |
107 | | - */ |
108 | 99 | function quickBar() { |
109 | 100 | global $wgOut, $wgUser, $wgRequest, $wgContLang; |
110 | 101 | |
Index: trunk/phase3/skins/Vector.php |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | } |
110 | 110 | if ( isset( $link['tooltiponly'] ) && $link['tooltiponly'] ) { |
111 | 111 | $nav[$section][$key]['key'] = |
112 | | - Linker::titleAttrib( $xmlID ); |
| 112 | + Linker::tooltip( $xmlID ); |
113 | 113 | } else { |
114 | 114 | $nav[$section][$key]['key'] = |
115 | 115 | Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( $xmlID ) ); |
— | — | @@ -302,7 +302,7 @@ |
303 | 303 | $msg = $name; |
304 | 304 | } |
305 | 305 | ?> |
306 | | -<div class="portal" id='<?php echo Sanitizer::escapeId( "p-$name" ) ?>'<?php echo Linker::titleAttrib( 'p-' . $name ) ?>> |
| 306 | +<div class="portal" id='<?php echo Sanitizer::escapeId( "p-$name" ) ?>'<?php echo Linker::tooltip( 'p-' . $name ) ?>> |
307 | 307 | <h5<?php $this->html( 'userlangattributes' ) ?>><?php $msgObj = wfMessage( $msg ); echo htmlspecialchars( $msgObj->exists() ? $msgObj->text() : $msg ); ?></h5> |
308 | 308 | <div class="body"> |
309 | 309 | <?php |
— | — | @@ -332,8 +332,6 @@ |
333 | 333 | /** |
334 | 334 | * Render one or more navigations elements by name, automatically reveresed |
335 | 335 | * when UI is in RTL mode |
336 | | - * |
337 | | - * @param $elements array |
338 | 336 | */ |
339 | 337 | private function renderNavigation( $elements ) { |
340 | 338 | global $wgVectorUseSimpleSearch, $wgVectorShowVariantName, $wgUser, $wgLang; |
Index: trunk/phase3/skins/Nostalgia.php |
— | — | @@ -18,9 +18,6 @@ |
19 | 19 | var $skinname = 'nostalgia', $stylename = 'nostalgia', |
20 | 20 | $template = 'NostalgiaTemplate'; |
21 | 21 | |
22 | | - /** |
23 | | - * @param $out OutputPage |
24 | | - */ |
25 | 22 | function setupSkinUserCss( OutputPage $out ){ |
26 | 23 | parent::setupSkinUserCss( $out ); |
27 | 24 | $out->addModuleStyles( 'skins.nostalgia' ); |
— | — | @@ -30,9 +27,6 @@ |
31 | 28 | |
32 | 29 | class NostalgiaTemplate extends LegacyTemplate { |
33 | 30 | |
34 | | - /** |
35 | | - * @return string |
36 | | - */ |
37 | 31 | function doBeforeContent() { |
38 | 32 | $s = "\n<div id='content'>\n<div id='top'>\n"; |
39 | 33 | $s .= '<div id="logo">' . $this->getSkin()->logoText( 'right' ) . '</div>'; |
— | — | @@ -65,9 +59,6 @@ |
66 | 60 | return $s; |
67 | 61 | } |
68 | 62 | |
69 | | - /** |
70 | | - * @return string |
71 | | - */ |
72 | 63 | function topLinks() { |
73 | 64 | global $wgOut, $wgUser; |
74 | 65 | $sep = " |\n"; |
— | — | @@ -114,9 +105,6 @@ |
115 | 106 | return $s; |
116 | 107 | } |
117 | 108 | |
118 | | - /** |
119 | | - * @return string |
120 | | - */ |
121 | 109 | function doAfterContent() { |
122 | 110 | $s = "\n</div><br clear='all' />\n"; |
123 | 111 | |
Index: trunk/phase3/skins/Chick.php |
— | — | @@ -21,9 +21,6 @@ |
22 | 22 | var $skinname = 'chick', $stylename = 'chick', |
23 | 23 | $template = 'MonoBookTemplate', $useHeadElement = true; |
24 | 24 | |
25 | | - /** |
26 | | - * @param $out OutputPage |
27 | | - */ |
28 | 25 | function setupSkinUserCss( OutputPage $out ){ |
29 | 26 | parent::setupSkinUserCss( $out ); |
30 | 27 | |
Index: trunk/phase3/skins/MonoBook.php |
— | — | @@ -23,9 +23,6 @@ |
24 | 24 | var $skinname = 'monobook', $stylename = 'monobook', |
25 | 25 | $template = 'MonoBookTemplate', $useHeadElement = true; |
26 | 26 | |
27 | | - /** |
28 | | - * @param $out OutputPage |
29 | | - */ |
30 | 27 | function setupSkinUserCss( OutputPage $out ) { |
31 | 28 | global $wgHandheldStyle; |
32 | 29 | parent::setupSkinUserCss( $out ); |
— | — | @@ -219,8 +216,6 @@ |
220 | 217 | /** |
221 | 218 | * Prints the cactions bar. |
222 | 219 | * Shared between MonoBook and Modern |
223 | | - * |
224 | | - * @param $skin Skin |
225 | 220 | */ |
226 | 221 | function cactions() { |
227 | 222 | ?> |
Index: trunk/phase3/skins/Modern.php |
— | — | @@ -21,9 +21,6 @@ |
22 | 22 | var $skinname = 'modern', $stylename = 'modern', |
23 | 23 | $template = 'ModernTemplate', $useHeadElement = true; |
24 | 24 | |
25 | | - /** |
26 | | - * @param $out OutputPage |
27 | | - */ |
28 | 25 | function setupSkinUserCss( OutputPage $out ){ |
29 | 26 | parent::setupSkinUserCss( $out ); |
30 | 27 | $out->addModuleStyles ('skins.modern'); |