X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRevision.php;h=6d684a8052e2262c150c9ca795ff4a5360f0a6a3;hb=415243600b27d47b5c28a3f20bc0e141de886f57;hp=dc15f97c99bf4b86f64eaddb897106579903d2a1;hpb=e554e9522693ceedd35684fd5be59d76ed5a2c65;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Revision.php b/includes/Revision.php index dc15f97c99..6d684a8052 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -739,7 +739,7 @@ class Revision implements IDBAccessObject { /** * Set the title of the revision * - * @deprecated: since 1.31, this is now a noop. Pass the Title to the constructor instead. + * @deprecated since 1.31, this is now a noop. Pass the Title to the constructor instead. * * @param Title $title */ @@ -887,7 +887,7 @@ class Revision implements IDBAccessObject { * Revision::FOR_PUBLIC to be displayed to all users * Revision::FOR_THIS_USER to be displayed to $user * Revision::RAW get the text regardless of permissions - * @param User $user User object to check for, only if FOR_THIS_USER is passed + * @param User|null $user User object to check for, only if FOR_THIS_USER is passed * to the $audience parameter * @since 1.21 * @return Content|null @@ -927,7 +927,7 @@ class Revision implements IDBAccessObject { * used to determine the content model to use. If no title is know, CONTENT_MODEL_WIKITEXT * is used as a last resort. * - * @todo: drop this, with MCR, there no longer is a single model associated with a revision. + * @todo drop this, with MCR, there no longer is a single model associated with a revision. * * @return string The content model id associated with this revision, * see the CONTENT_MODEL_XXX constants. @@ -942,7 +942,7 @@ class Revision implements IDBAccessObject { * If no content format was stored in the database, the default format for this * revision's content model is returned. * - * @todo: drop this, the format is irrelevant to the revision! + * @todo drop this, the format is irrelevant to the revision! * * @return string The content format id associated with this revision, * see the CONTENT_FORMAT_XXX constants. @@ -1013,7 +1013,7 @@ class Revision implements IDBAccessObject { * @param stdClass $row The text data * @param string $prefix Table prefix (default 'old_') * @param string|bool $wiki The name of the wiki to load the revision text from - * (same as the the wiki $row was loaded from) or false to indicate the local + * (same as the wiki $row was loaded from) or false to indicate the local * wiki (this is the default). Otherwise, it must be a symbolic wiki database * identifier as understood by the LoadBalancer class. * @return string|false Text the text requested or false on failure