r87580 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87579‎ | r87580 | r87581 >
Date:21:14, 6 May 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fixed typo and added some docs
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php
@@ -253,6 +253,8 @@
254254 * includes relations, attributes, and special properties. This does
255255 * not delete the respective text from the wiki, but only clears the
256256 * stored data.
 257+ *
 258+ * @param Title $subject
257259 */
258260 public abstract function deleteSubject( Title $subject );
259261
@@ -260,6 +262,8 @@
261263 * Update the semantic data stored for some individual. The data is
262264 * given as a SMWSemanticData object, which contains all semantic data
263265 * for one particular subject.
 266+ *
 267+ * @param SMWSemanticData $data
264268 */
265269 public abstract function doDataUpdate( SMWSemanticData $data );
266270
@@ -275,7 +279,7 @@
276280
277281 $this->doDataUpdate( $data );
278282
279 - // Invalidate the page, so data stored on it gets displayed immeditaely in queries.
 283+ // Invalidate the page, so data stored on it gets displayed immediately in queries.
280284 global $smwgAutoRefreshSubject;
281285 if ( $smwgAutoRefreshSubject && !wfReadOnly() ) {
282286 $title = Title::makeTitle( $data->getSubject()->getNamespace(), $data->getSubject()->getDBkey() );
@@ -323,7 +327,9 @@
324328 * the case that the query asked for a plain string (querymode
325329 * MODE_COUNT or MODE_DEBUG) a plain wiki and HTML-compatible string is
326330 * returned.
327 - *
 331+ *
 332+ * @param SMWQuery $query
 333+ *
328334 * @return SMWQueryResult
329335 */
330336 public abstract function getQueryResult( SMWQuery $query );

Status & tagging log