Index: trunk/extensions/Translate/SpecialTranslationChanges.php |
— | — | @@ -25,7 +25,7 @@ |
26 | 26 | $this->setHeaders(); |
27 | 27 | $this->hours = min( 168, $wgRequest->getInt( 'hours', 24 ) ); |
28 | 28 | |
29 | | - $rows = TranslateUtils::translationChanges( $this->hours ); |
| 29 | + $rows = TranslateUtils::translationChanges( $this->hours, true ); |
30 | 30 | $wgOut->addHTMl( $this->settingsForm() . $this->output( $rows ) ); |
31 | 31 | } |
32 | 32 | |
— | — | @@ -49,7 +49,7 @@ |
50 | 50 | } |
51 | 51 | |
52 | 52 | protected static function timeLimitSelector( $selected = 24 ) { |
53 | | - $items = array( 3, 6, 12, 24, 48, 72, 168 ); |
| 53 | + $items = array( 3, 6, 12, 24, 48, 72, 168 ); |
54 | 54 | $selector = new HTMLSelector( 'hours', 'hours', $selected ); |
55 | 55 | foreach ( $items as $item ) $selector->addOption( $item ); |
56 | 56 | return $selector->getHTML(); |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | list( $pieces, ) = explode( '/', $wgContLang->lcfirst( $row->rc_title ), 2 ); |
68 | 68 | |
69 | 69 | $group = 'Unknown'; |
70 | | - $mg = TranslateUtils::messageKeyToGroup( $row->rc_namespace, ':' . $pieces ); |
| 70 | + $mg = TranslateUtils::messageKeyToGroup( $row->rc_namespace, $pieces ); |
71 | 71 | if ( !is_null( $mg ) ) $group = $mg; |
72 | 72 | |
73 | 73 | $lang = 'site'; |
— | — | @@ -96,10 +96,10 @@ |
97 | 97 | |
98 | 98 | $sorted[$class][$group][$lang][] = $row; |
99 | 99 | |
100 | | - $batch->add( NS_USER, $row->rc_user_text ); |
101 | | - $batch->add( NS_USER_TALK, $row->rc_user_text ); |
| 100 | + $batch->add( NS_USER, $row->rc_user_text ); |
| 101 | + $batch->add( NS_USER_TALK, $row->rc_user_text ); |
102 | 102 | if ( $group !== 'core' ) { |
103 | | - $batch->add( NS_MEDIAWIKI, $row->rc_title ); |
| 103 | + $batch->add( NS_MEDIAWIKI, $row->rc_title ); |
104 | 104 | } |
105 | 105 | $batch->add( NS_MEDIAWIKI_TALK, $row->rc_title ); |
106 | 106 | } |