Index: trunk/extensions/SemanticMaps/RELEASE-NOTES |
— | — | @@ -10,7 +10,8 @@ |
11 | 11 | === Semantic Maps 1.0.4 === |
12 | 12 | (2011-0x-xx) |
13 | 13 | |
14 | | -* |
| 14 | +* Added compatibility with SMW 1.6.2 and later. |
| 15 | +* Removed compatibility with SMW 1.6.1 and earlier. |
15 | 16 | |
16 | 17 | === Semantic Maps 1.0.3 === |
17 | 18 | (2011-09-14) |
Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php |
— | — | @@ -48,30 +48,6 @@ |
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | | - * (non-PHPdoc) |
53 | | - * @see SMWResultPrinter::readParameters() |
54 | | - */ |
55 | | - protected function readParameters( /* array */ $params, $outputmode ) { |
56 | | - parent::readParameters( $params, $outputmode ); |
57 | | - |
58 | | - $validator = new Validator( $this->getName(), false ); |
59 | | - $validator->setParameters( $params, $this->getParameterInfo() ); |
60 | | - $validator->validateParameters(); |
61 | | - |
62 | | - $fatalError = $validator->hasFatalError(); |
63 | | - |
64 | | - if ( $fatalError === false ) { |
65 | | - $this->parameters = $validator->getParameterValues(); |
66 | | - } |
67 | | - else { |
68 | | - $this->fatalErrorMsg = |
69 | | - '<span class="errorbox">' . |
70 | | - htmlspecialchars( wfMsgExt( 'validator-fatal-error', 'parsemag', $fatalError->getMessage() ) ) . |
71 | | - '</span>'; |
72 | | - } |
73 | | - } |
74 | | - |
75 | | - /** |
76 | 52 | * Returns an array containing the parameter info. |
77 | 53 | * |
78 | 54 | * @since 1.0 |
— | — | @@ -174,7 +150,7 @@ |
175 | 151 | if ( $this->fatalErrorMsg === false ) { |
176 | 152 | global $wgParser; |
177 | 153 | |
178 | | - $params = $this->parameters; |
| 154 | + $params = $this->m_params; |
179 | 155 | |
180 | 156 | $queryHandler = new SMQueryHandler( $res, $outputmode ); |
181 | 157 | $queryHandler->setShowSubject( $params['showtitle'] ); |