Index: trunk/extensions/ExternalData/ED_GetData.php |
— | — | @@ -25,6 +25,8 @@ |
26 | 26 | $title = Title::newFromText( $page_name ); |
27 | 27 | if( is_null( $title ) ) |
28 | 28 | return; |
| 29 | + if( ! $title->userCanRead() ) |
| 30 | + return; |
29 | 31 | $article = new Article( $title ); |
30 | 32 | $page_text = $article->fetchContent(); |
31 | 33 | // Remove <noinclude> sections and <includeonly> tags from text |