Index: trunk/phase3/includes/specials/SpecialProtectedpages.php |
— | — | @@ -282,7 +282,8 @@ |
283 | 283 | |
284 | 284 | function getQueryInfo() { |
285 | 285 | $conds = $this->mConds; |
286 | | - $conds[] = 'pr_expiry>' . $this->mDb->addQuotes( $this->mDb->timestamp() ); |
| 286 | + $conds[] = '(pr_expiry>' . $this->mDb->addQuotes( $this->mDb->timestamp() ) . |
| 287 | + 'OR pr_expiry IS NULL)'; |
287 | 288 | $conds[] = 'page_id=pr_page'; |
288 | 289 | $conds[] = 'pr_type=' . $this->mDb->addQuotes( $this->type ); |
289 | 290 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -274,6 +274,8 @@ |
275 | 275 | * (bug 17990) trackback.php now has a trackback.php5 alias and works with |
276 | 276 | $wgScriptExtension |
277 | 277 | * (bug 14990) Parser tests works again with PostgreSQL |
| 278 | +* (bug 11487) Special:Protectedpages doesn't list protections with pr_expiry |
| 279 | + IS NULL |
278 | 280 | |
279 | 281 | == API changes in 1.15 == |
280 | 282 | * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |