http://www.mediawiki.org/wiki/Special:Code/MediaWiki/54121

Revision: 54121
Author:   mkroetzsch
Date:     2009-07-31 20:39:38 +0000 (Fri, 31 Jul 2009)

Log Message:
-----------
do not require that a title object is passed to job (job queue sometimes passes 
NULL if title creation failed for some reason)

Modified Paths:
--------------
    trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php

Modified: trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php  
2009-07-31 20:22:02 UTC (rev 54120)
+++ trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob.php  
2009-07-31 20:39:38 UTC (rev 54121)
@@ -9,9 +9,9 @@
  */
 
 /**
- * SMWUpdateJob updates the semantic data in the database for a given title 
+ * SMWUpdateJob updates the semantic data in the database for a given title
  * using the MediaWiki JobQueue. Update jobs are created if, when saving an 
article,
- * it is detected that the content of other pages must be re-parsed as well 
(e.g. 
+ * it is detected that the content of other pages must be re-parsed as well 
(e.g.
  * due to some type change).
  *
  * @note This job does not update the page display or parser cache, so in 
general
@@ -23,7 +23,7 @@
  */
 class SMWUpdateJob extends Job {
 
-       function __construct(Title $title) {
+       function __construct($title) {
                parent::__construct( 'SMWUpdateJob', $title);
        }
 



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to