Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialQueryCreator.php |
— | — | @@ -112,7 +112,7 @@ |
113 | 113 | $result = '<div class="smwqcerrors">' . $this->getErrorsHtml() . '</div>'; |
114 | 114 | |
115 | 115 | $formParameters = array( 'name' => 'qc', 'id'=>'smwqcform', |
116 | | - 'action' => $specTitle->escapeLocalURL(), 'method' => 'get' ); |
| 116 | + 'action' => htmlspecialchars( $specTitle->getLocalURL() ), 'method' => 'get' ); |
117 | 117 | $result .= Html::openElement( 'form', $formParameters ) . "\n" . |
118 | 118 | Html::hidden( 'title', $specTitle->getPrefixedText() ) . |
119 | 119 | // Header: |
Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -495,7 +495,7 @@ |
496 | 496 | |
497 | 497 | if ( $this->m_editquery ) { |
498 | 498 | $spectitle = $this->getTitleFor( 'Ask' ); |
499 | | - $result .= '<form name="ask" action="' . $spectitle->escapeLocalURL() . '" method="get">' . "\n" . |
| 499 | + $result .= '<form name="ask" action="' . htmlspecialchars( $spectitle->getLocalURL() ) . '" method="get">' . "\n" . |
500 | 500 | '<input type="hidden" name="title" value="' . $spectitle->getPrefixedText() . '"/>'; |
501 | 501 | |
502 | 502 | // Table for main query and printouts. |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByProperty.php |
— | — | @@ -401,7 +401,7 @@ |
402 | 402 | private function queryForm() { |
403 | 403 | self::addAutoComplete(); |
404 | 404 | $spectitle = SpecialPage::getTitleFor( 'SearchByProperty' ); |
405 | | - $html = '<form name="searchbyproperty" action="' . $spectitle->escapeLocalURL() . '" method="get">' . "\n" . |
| 405 | + $html = '<form name="searchbyproperty" action="' . htmlspecialchars( $spectitle->getLocalURL() ) . '" method="get">' . "\n" . |
406 | 406 | '<input type="hidden" name="title" value="' . $spectitle->getPrefixedText() . '"/>' ; |
407 | 407 | $html .= wfMsg( 'smw_sbv_property' ) . ' <input type="text" id="property_box" name="property" value="' . htmlspecialchars( $this->propertystring ) . '" />' . "   \n"; |
408 | 408 | $html .= wfMsg( 'smw_sbv_value' ) . ' <input type="text" name="value" value="' . htmlspecialchars( $this->valuestring ) . '" />' . "\n"; |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialBrowse.php |
— | — | @@ -378,7 +378,7 @@ |
379 | 379 | private function queryForm() { |
380 | 380 | self::addAutoComplete(); |
381 | 381 | $title = SpecialPage::getTitleFor( 'Browse' ); |
382 | | - return ' <form name="smwbrowse" action="' . $title->escapeLocalURL() . '" method="get">' . "\n" . |
| 382 | + return ' <form name="smwbrowse" action="' . htmlspecialchars( $title->getLocalURL() ) . '" method="get">' . "\n" . |
383 | 383 | ' <input type="hidden" name="title" value="' . $title->getPrefixedText() . '"/>' . |
384 | 384 | wfMsg( 'smw_browse_article' ) . "<br />\n" . |
385 | 385 | ' <input type="text" name="article" id="page_input_box" value="' . htmlspecialchars( $this->articletext ) . '" />' . "\n" . |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialPageProperty.php |
— | — | @@ -148,7 +148,7 @@ |
149 | 149 | // Display query form |
150 | 150 | $spectitle = $this->getTitle(); |
151 | 151 | $html .= '<p> </p>'; |
152 | | - $html .= '<form name="pageproperty" action="' . $spectitle->escapeLocalURL() . '" method="get">' . "\n" . |
| 152 | + $html .= '<form name="pageproperty" action="' . htmlspecialchars( $spectitle->getLocalURL() ) . '" method="get">' . "\n" . |
153 | 153 | '<input type="hidden" name="title" value="' . $spectitle->getPrefixedText() . '"/>' ; |
154 | 154 | $html .= wfMsg( 'smw_pp_from' ) . ' <input type="text" name="from" value="' . htmlspecialchars( $pagename ) . '" />' . "   \n"; |
155 | 155 | $html .= wfMsg( 'smw_pp_type' ) . ' <input type="text" name="type" value="' . htmlspecialchars( $propname ) . '" />' . "\n"; |
Index: trunk/extensions/SemanticMediaWiki/RELEASE-NOTES |
— | — | @@ -26,8 +26,6 @@ |
27 | 27 | * Added automatic invocation of the SMW_setup maintenance script when running |
28 | 28 | update.php (for MW >= 1.19). |
29 | 29 | * Added support for the Page Schemas extension. |
30 | | -* Dropped compatibility with MediaWiki 1.15.x (and earlier). |
31 | | -* Dropped compatibility with old-style (SMW < 1.6) query printers. |
32 | 30 | * Removed defunct "SMWLight" files. |
33 | 31 | * Fixed separator and filename parameters for the DSV format. |
34 | 32 | * Fixed display of properties of type URL (bug 30912). |
— | — | @@ -39,6 +37,9 @@ |
40 | 38 | * Fixed display of images to old behavior after a recent regression. |
41 | 39 | * Fixed several more issues not listed here. |
42 | 40 | * Fixed fatal error in the concept cache maintenance script (bug 32592). |
| 41 | +* Dropped compatibility with MediaWiki 1.15.x (and earlier). |
| 42 | +* Dropped compatibility with old-style (SMW < 1.6) query printers. |
| 43 | +* Full compatibility with MediaWiki 1.18 and foreward-compatibility with 1.19. |
43 | 44 | |
44 | 45 | == SMW 1.6.1 == |
45 | 46 | |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_ParseData.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | * store this array in the current parser output, using the variable |
28 | 28 | * mSMWMagicWords. |
29 | 29 | */ |
30 | | - static public function stripMagicWords( &$text, $parser ) { |
| 30 | + static public function stripMagicWords( &$text, Parser $parser ) { |
31 | 31 | $words = array(); |
32 | 32 | $mw = MagicWord::get( 'SMW_NOFACTBOX' ); |
33 | 33 | |