User "Reedy" changed the status of MediaWiki.r86763.

Old Status: fixme
New Status: new

User "Reedy" also posted a comment on MediaWiki.r86763.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/86763#c16266
Commit summary:

* (bug 26882) Allow listing of indefinite protections with the api


Swap some !empty for count

Comment:

I stole the code from Special:ProtectedPages

Which has...
<pre>   
                if( $this->indefonly ) {
                        $conds[] = "pr_expiry = 'infinity' OR pr_expiry IS 
NULL";
                }
</pre>

I think you're right though.. I'll change both


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to