Problem solved, I forgot to add

  "MessagesDirs": {
     "Purge": [ "i18n" ]
  },

in extension.json

Am 30.03.2016 um 12:48 schrieb Sigbert Klinke:
> Hi,
> 
> I'am just adapting Extension:Purge (actually taken from
> https://github.com/Hutchy68/Purge) to MediaWiki 1.26.2. It adds a tab
> which allows the user to purge a wiki page.
> 
> In the code has been written
> 
> $content_actions['actions']['purge'] =
>   array('class' => $action === 'purge' ? 'selected' : false,
>       'text'  => wfMsg( 'purge' ),
>       'href' => $title->getLocalUrl( 'action=purge' )
>       );
> 
> But in the tab appears <purge> rather then "Purge" from
> i18n/en.json. Any ideas why?
> 
> Thanks in advance
> 
> Sigbert
> 


-- 
http://u.hu-berlin.de/sk
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to