I'm not sure if it is because it uses wfMsg which needs to be replaced with see 
Manual:Messages API - Mediawiki please.
|   |
|   |   |   |   |   |
| Manual:Messages API - MediaWikii18n docs  |
|  |
| View on www.mediawiki.org | Preview by Yahoo |
|  |
|   |


 

    On Wednesday, 30 March 2016, 11:48, Sigbert Klinke 
<[email protected]> wrote:
 

 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 &lt;purge&gt; 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


  
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to