Index: trunk/extensions/Oversight/HideRevision.php |
— | — | @@ -61,7 +61,6 @@ |
62 | 62 | $GLOBALS['wgHooks']['ArticleViewHeader'][] = 'hrArticleViewHeaderHook'; |
63 | 63 | $GLOBALS['wgHooks']['DiffViewHeader'][] = 'hrDiffViewHeaderHook'; |
64 | 64 | $GLOBALS['wgHooks']['UndeleteShowRevision'][] = 'hrUndeleteShowRevisionHook'; |
65 | | - wfLoadExtensionMessages('HideRevision'); |
66 | 65 | } |
67 | 66 | |
68 | 67 | /** |
— | — | @@ -102,6 +101,7 @@ |
103 | 102 | } |
104 | 103 | |
105 | 104 | function insertTab( $skin, &$content_actions ) { |
| 105 | + wfLoadExtensionMessages('HideRevision'); |
106 | 106 | $special = Title::makeTitle( NS_SPECIAL, 'HideRevision' ); |
107 | 107 | $content_actions['hiderevision'] = array( |
108 | 108 | 'class' => false, |
— | — | @@ -145,6 +145,7 @@ |
146 | 146 | * Special page handler function for Special:HideRevision |
147 | 147 | */ |
148 | 148 | function wfSpecialHideRevision( $par=null ) { |
| 149 | + wfLoadExtensionMessages('HideRevision'); |
149 | 150 | global $wgRequest; |
150 | 151 | $form = new HideRevisionForm( $wgRequest ); |
151 | 152 | $form->run(); |
— | — | @@ -494,6 +495,7 @@ |
495 | 496 | */ |
496 | 497 | function wfSpecialOversight( $par=null ) { |
497 | 498 | global $wgRequest, $wgUser, $wgRCMaxAge; |
| 499 | + wfLoadExtensionMessages('HideRevision'); |
498 | 500 | $revision = $wgRequest->getIntOrNull( 'revision' ); |
499 | 501 | if ( $wgRequest->getCheck( 'diff' ) && !is_null( $revision )) { |
500 | 502 | sosShowDiff( $revision); |