Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialQueryCreator.php |
— | — | @@ -17,8 +17,6 @@ |
18 | 18 | * @author Sanyam Goyal |
19 | 19 | * @author Jeroen De Dauw |
20 | 20 | * @author Devayon Das |
21 | | - * |
22 | | - * |
23 | 21 | */ |
24 | 22 | class SMWQueryCreatorPage extends SMWQueryUI { |
25 | 23 | |
— | — | @@ -63,7 +61,7 @@ |
64 | 62 | * @global booolean $smwgQSortingSupport |
65 | 63 | * @return string |
66 | 64 | * |
67 | | - * TODO: clean up the lines handling sorting |
| 65 | + * @todo Clean up the lines handling sorting. |
68 | 66 | */ |
69 | 67 | protected function makeResults() { |
70 | 68 | global $wgOut; |
— | — | @@ -111,22 +109,21 @@ |
112 | 110 | |
113 | 111 | } |
114 | 112 | |
115 | | - /** |
116 | | - * Compatibility method to get the skin; MW 1.18 introduces a getSkin method in SpecialPage. |
117 | | - * |
118 | | - * @since 1.6 |
119 | | - * |
120 | | - * @return Skin |
121 | | - */ |
122 | | - public function getSkin() { |
123 | | - if ( method_exists( 'SpecialPage', 'getSkin' ) ) { |
124 | | - return parent::getSkin(); |
| 113 | + /** |
| 114 | + * Compatibility method to get the skin; MW 1.18 introduces a getSkin method in SpecialPage. |
| 115 | + * |
| 116 | + * @since 1.6 |
| 117 | + * |
| 118 | + * @return Skin |
| 119 | + */ |
| 120 | + public function getSkin() { |
| 121 | + if ( method_exists( 'SpecialPage', 'getSkin' ) ) { |
| 122 | + return parent::getSkin(); |
| 123 | + } else { |
| 124 | + global $wgUser; |
| 125 | + return $wgUser->getSkin(); |
| 126 | + } |
125 | 127 | } |
126 | | - else { |
127 | | - global $wgUser; |
128 | | - return $wgUser->getSkin(); |
129 | | - } |
130 | | - } |
131 | 128 | |
132 | 129 | } |
133 | 130 | |