logo       

[MediaWiki-CVS] SVN: [54121] trunk/extensions/SemanticMediaWiki/includes/jo: msg#01499

mediawiki-cvs

Subject: [MediaWiki-CVS] SVN: [54121] trunk/extensions/SemanticMediaWiki/includes/jobs/SMW_UpdateJob .php

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@xxxxxxxxxxxxxxxxxxx
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise