Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -147,18 +147,6 @@ |
148 | 148 | } |
149 | 149 | } |
150 | 150 | |
151 | | - // Find implicit ordering for RSS -- needed for downwards compatibility with SMW <=1.1 |
152 | | - /* |
153 | | - if ( ($this->m_params['format'] == 'rss') && ($this->m_params['sort'] == '') && ($sortcount==0)) { |
154 | | - foreach ($this->m_printouts as $printout) { |
155 | | - if ((strtolower($printout->getLabel()) == "date") && ($printout->getTypeID() == "_dat")) { |
156 | | - $this->m_params['sort'] = $printout->getTitle()->getText(); |
157 | | - $this->m_params['order'] = 'DESC'; |
158 | | - } |
159 | | - } |
160 | | - } |
161 | | - */ |
162 | | - |
163 | 151 | if ( !array_key_exists( 'offset', $this->m_params ) ) { |
164 | 152 | $this->m_params['offset'] = $wgRequest->getVal( 'offset' ); |
165 | 153 | if ( $this->m_params['offset'] == '' ) $this->m_params['offset'] = 0; |
— | — | @@ -812,21 +800,4 @@ |
813 | 801 | return $input->getHtml(); |
814 | 802 | } |
815 | 803 | |
816 | | - /** |
817 | | - * Compatibility method to get the skin; MW 1.18 introduces a getSkin method in SpecialPage. |
818 | | - * |
819 | | - * @since 1.6 |
820 | | - * |
821 | | - * @return Skin |
822 | | - */ |
823 | | - public function getSkin() { |
824 | | - if ( method_exists( 'SpecialPage', 'getSkin' ) ) { |
825 | | - return parent::getSkin(); |
826 | | - } |
827 | | - else { |
828 | | - global $wgUser; |
829 | | - return $wgUser->getSkin(); |
830 | | - } |
831 | | - } |
832 | | - |
833 | 804 | } |