X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=includes%2Fapi%2FApiFeedContributions.php;h=2cdc87585d152def5550c865406e1e37f2b037d4;hb=2dfbd7761a1b8f293a3b6856e94217d8472a5da8;hp=f90ba988e37b82579255a95f15f6e8033d8e7e23;hpb=da39646ddc98bce9cc1243ab217428e449b5d9ae;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFeedContributions.php b/includes/api/ApiFeedContributions.php index f90ba988e3..2cdc87585d 100644 --- a/includes/api/ApiFeedContributions.php +++ b/includes/api/ApiFeedContributions.php @@ -78,6 +78,7 @@ class ApiFeedContributions extends ApiBase { 'tagFilter' => $params['tagfilter'], 'deletedOnly' => $params['deletedonly'], 'topOnly' => $params['toponly'], + 'newOnly' => $params['newonly'], 'showSizeDiff' => $params['showsizediff'], ) ); @@ -186,6 +187,7 @@ class ApiFeedContributions extends ApiBase { ), 'deletedonly' => false, 'toponly' => false, + 'newonly' => false, 'showsizediff' => false, ); } @@ -200,6 +202,7 @@ class ApiFeedContributions extends ApiBase { 'tagfilter' => 'Filter contributions that have these tags', 'deletedonly' => 'Show only deleted contributions', 'toponly' => 'Only show edits that are latest revisions', + 'newonly' => 'Only show edits that are page creations', 'showsizediff' => 'Show the size difference between revisions. Disabled in Miser Mode', ); }