Index: trunk/extensions/Wikilog/WikilogMainPage.php |
— | — | @@ -218,8 +218,15 @@ |
219 | 219 | */ |
220 | 220 | private function formatPostCount( $skin, $elem, $type, $num ) { |
221 | 221 | global $wgWikilogFeedClasses; |
222 | | - $s = $skin->makeKnownLinkObj( $this->mTitle, |
223 | | - wfMsgExt( "wikilog-post-count-{$type}", array( 'parsemag' ), $num ), |
| 222 | + |
| 223 | + // Uses messages 'wikilog-post-count-published', 'wikilog-post-count-drafts', 'wikilog-post-count-all' |
| 224 | + $s = $skin->makeKnownLinkObj( |
| 225 | + $this->mTitle, |
| 226 | + wfMsgExt( |
| 227 | + "wikilog-post-count-{$type}", |
| 228 | + array( 'parsemag' ), |
| 229 | + $num |
| 230 | + ), |
224 | 231 | "view=archives&show={$type}" |
225 | 232 | ); |
226 | 233 | if ( !empty( $wgWikilogFeedClasses ) ) { |
Index: trunk/extensions/Wikilog/Wikilog.i18n.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | 'wikilog-tab' => 'Wikilog', |
34 | 34 | 'wikilog-tab-title' => 'Wikilog actions', |
35 | 35 | 'wikilog-information' => 'Wikilog information', |
36 | | - 'wikilog-post-count-published' => 'There {{PLURAL:$1|is one published article|are $1 published articles}} in this wikilog,', |
| 36 | + 'wikilog-post-count-published' => 'There {{PLURAL:$1|is one published article|are $1 published articles}} in this wikilog', |
37 | 37 | 'wikilog-post-count-drafts' => 'There {{PLURAL:$1|is one unpublished (draft) article|are $1 unpublished (draft) articles}},', |
38 | 38 | 'wikilog-post-count-all' => 'In total there {{PLURAL:$1|is one article|are $1 articles}}.', |
39 | 39 | 'wikilog-new-item' => 'Create new wikilog article', |