Index: trunk/extensions/SemanticNotifyMe/specials/SMWNotifyMe/SMWNotifyMe.php |
— | — | @@ -340,7 +340,7 @@ |
341 | 341 | $showall = $dbr->selectField( 'smw_nm_query', 'show_all', array( 'notify_id' => $id ), 'NotifyMeRSS' ); |
342 | 342 | if ( $showall ) { |
343 | 343 | $query = $dbr->selectField( 'smw_nm_query', 'query', array( 'notify_id' => $id ), 'NotifyMeRSS' ); |
344 | | - SMWQueryProcessor::processFunctionParams( explode( "\n", $query ), $querystring, $params, $printouts ); |
| 344 | + SMWQueryProcessor::processFunctionParams( SMWNotifyProcessor::getQueryRawParams( $query ), $querystring, $params, $printouts ); |
345 | 345 | $query = SMWQueryProcessor::createQuery( $querystring, $params, SMWQueryProcessor::INLINE_QUERY, 'auto', $printouts ); |
346 | 346 | $res = smwfGetStore()->getQueryResult( $query ); |
347 | 347 | |
Index: trunk/extensions/SemanticNotifyMe/scripts/NotifyMe/NotifyHelper.js |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | ntr.appendChild(td); |
119 | 119 | item = document.createElement("a"); |
120 | 120 | td.appendChild(item); |
121 | | - item.href = "index.php?title=Special:NotifyMe&feed=rss&nid=" + nid; |
| 121 | + item.href = wgScript + "?title=Special:NotifyMe&feed=rss&nid=" + nid; |
122 | 122 | item.target = "_blank"; |
123 | 123 | item.innerHTML = $('nmqname').value; |
124 | 124 | |
— | — | @@ -170,7 +170,7 @@ |
171 | 171 | } |
172 | 172 | |
173 | 173 | $('nmtoolbar').parentNode.insertBefore(ntr, $('nmtoolbar')); |
174 | | - attachAutocompleteToField("nmd_" + nid); |
| 174 | + nmAttachAutocompleteToField("nmd_" + nid); |
175 | 175 | }, |
176 | 176 | |
177 | 177 | doUpdateMail:function() { |