Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -410,7 +410,7 @@ |
411 | 411 | # not for special pages or file pages AND only when viewing AND if the page exists |
412 | 412 | # (or is in MW namespace, because that has default content) |
413 | 413 | if( !in_array( $this->getTitle()->getNamespace(), array( NS_SPECIAL, NS_FILE ) ) && |
414 | | - $wgRequest->getVal( 'action', 'view' ) == 'view' && |
| 414 | + in_array( $wgRequest->getVal( 'action', 'view' ), array( 'view', 'historysubmit' ) ) && |
415 | 415 | ( $this->getTitle()->exists() || $this->getTitle()->getNamespace() == NS_MEDIAWIKI ) ) { |
416 | 416 | $pageLang = $this->getTitle()->getPageLanguage(); |
417 | 417 | $realBodyAttribs = array( 'lang' => $pageLang->getCode(), 'dir' => $pageLang->getDir(), |