X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryDeletedRevisions.php;h=3a984788031e363d00ce9ca3230473e4bed44ef6;hb=e35e90f7d222b21f568d61ccaf9d7f1ab9530e60;hp=0271037cfbadcf8ce1ce1d38e8ccd754a0326b06;hpb=6c7bb3a57cb8488549788c208d812718166806ea;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryDeletedRevisions.php b/includes/api/ApiQueryDeletedRevisions.php index 0271037cfb..3a98478803 100644 --- a/includes/api/ApiQueryDeletedRevisions.php +++ b/includes/api/ApiQueryDeletedRevisions.php @@ -94,7 +94,7 @@ class ApiQueryDeletedRevisions extends ApiQueryRevisionsBase { $this->addWhereFld( 'ct_tag', $params['tag'] ); } - if ( $this->fld_content || !is_null( $this->diffto ) || !is_null( $this->difftotext ) ) { + if ( $this->fetchContent ) { // Modern MediaWiki has the content for deleted revs in the 'text' // table using fields old_text and old_flags. But revisions deleted // pre-1.5 store the content in the 'archive' table directly using @@ -299,6 +299,6 @@ class ApiQueryDeletedRevisions extends ApiQueryRevisionsBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Properties#deletedrevisions_.2F_drv'; + return 'https://www.mediawiki.org/wiki/API:Deletedrevisions'; } }