Index: trunk/phase3/includes/SpecialLog.php |
— | — | @@ -124,9 +124,10 @@ |
125 | 125 | function limitTitle( $page , $pattern ) { |
126 | 126 | global $wgMiserMode; |
127 | 127 | $title = Title::newFromText( $page ); |
128 | | - if( empty( $page ) || is_null( $title ) ) { |
| 128 | + |
| 129 | + if( strlen( $page ) == 0 || !$title instanceof Title ) |
129 | 130 | return false; |
130 | | - } |
| 131 | + |
131 | 132 | $this->title =& $title; |
132 | 133 | $this->pattern = $pattern; |
133 | 134 | $ns = $title->getNamespace(); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -232,6 +232,8 @@ |
233 | 233 | * Delay AJAX watch initialization until click so IE 6 with ugly security |
234 | 234 | settings doesn't prompt you until you use the link. |
235 | 235 | * (bug 10401) Provide non-redirecting link to original title in Special:Movepage |
| 236 | +* Fix broken handling of log views for page titles consisting of one |
| 237 | + or more zeros, e.g. "0", "00" etc. |
236 | 238 | |
237 | 239 | == API changes since 1.10 == |
238 | 240 | |