Index: trunk/extensions/DumpHTML/SkinOffline.php |
— | — | @@ -57,12 +57,14 @@ |
58 | 58 | $nskey, |
59 | 59 | !$this->mTitle->isTalkPage() ); |
60 | 60 | |
61 | | - $content_actions['talk'] = $this->tabAction( |
62 | | - $this->mTitle->getTalkPage(), |
63 | | - 'talk', |
64 | | - $this->mTitle->isTalkPage(), |
65 | | - '', |
66 | | - true); |
| 61 | + if( $this->mTitle->canTalk() ) { |
| 62 | + $content_actions['talk'] = $this->tabAction( |
| 63 | + $this->mTitle->getTalkPage(), |
| 64 | + 'talk', |
| 65 | + $this->mTitle->isTalkPage(), |
| 66 | + '', |
| 67 | + true); |
| 68 | + } |
67 | 69 | |
68 | 70 | if ( isset( $wgHTMLDump ) ) { |
69 | 71 | $content_actions['current'] = array( |