Index: branches/werdna/restrictions-separation/includes/Article.php |
— | — | @@ -2837,7 +2837,7 @@ |
2838 | 2838 | # Get the diff |
2839 | 2839 | $templates_diff = array_diff( $poTemplates, $tlTemplates ); |
2840 | 2840 | |
2841 | | - if (count( $templates_diff ) > 0) { |
| 2841 | + if (count( $templates_diff ) > 0 && !wfReadOnly()) { |
2842 | 2842 | # Whee, link updates time. |
2843 | 2843 | $u = new LinksUpdate( $this->mTitle, $parserOutput ); |
2844 | 2844 | |