Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_ConceptPage.php |
— | — | @@ -67,35 +67,5 @@ |
68 | 68 | return $result; |
69 | 69 | } |
70 | 70 | |
71 | | - /** |
72 | | - * Format a list of wiki pages chunked by letter, either as a bullet |
73 | | - * list or a columnar format, depending on the length. |
74 | | - * |
75 | | - * @param int $cutoff |
76 | | - * @return string |
77 | | - */ |
78 | | -// private function formatList( $cutoff = 6 ) { |
79 | | -// $end = count( $this->diWikiPages ); |
80 | | -// |
81 | | -// if ( $end > $this->limit ) { |
82 | | -// if ( $this->until !== '' ) { |
83 | | -// $start = 1; |
84 | | -// } else { |
85 | | -// $start = 0; |
86 | | -// $end --; |
87 | | -// } |
88 | | -// } else { |
89 | | -// $start = 0; |
90 | | -// } |
91 | | -// |
92 | | -// if ( count ( $this->diWikiPages ) > $cutoff ) { |
93 | | -// return $this->columnList( $start, $end, $this->diWikiPages ); |
94 | | -// } elseif ( count( $this->diWikiPages ) > 0 ) { |
95 | | -// return $this->shortList( $start, $end, $this->diWikiPages ); |
96 | | -// } else { |
97 | | -// return ''; |
98 | | -// } |
99 | | -// } |
100 | | - |
101 | 71 | } |
102 | 72 | |
Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_OrderedListPage.php |
— | — | @@ -76,8 +76,8 @@ |
77 | 77 | |
78 | 78 | wfProfileIn( __METHOD__ . ' (SMW)' ); |
79 | 79 | |
80 | | - $this->from = $wgRequest->getVal( 'from' ); |
81 | | - $this->until = $wgRequest->getVal( 'until' ); |
| 80 | + $this->from = $wgRequest->getVal( 'from', '' ); |
| 81 | + $this->until = $wgRequest->getVal( 'until', '' ); |
82 | 82 | |
83 | 83 | if ( $this->initParameters() ) { |
84 | 84 | $wgOut->addHTML( "<br id=\"smwfootbr\"/>\n" . $this->getHtml() ); |