vonloxley / Shariff-Mediawiki

A mediawiki-extension for Shariff, protecting users privacy.
4 stars 4 forks source link

Support more Shariff features, e. g. language #6

Closed krabina closed 3 years ago

krabina commented 4 years ago

The Shariff attribute "data-lang" is per default set to German "de". This can be changed by adding data-lange="en" into https://github.com/vonloxley/Shariff-Mediawiki/blob/d220040068bafa80f456b2ecb79e0d3772dbbbfc/Shariff.php#L39 (just before the data-backend-url...)

But this is a hack, as the script should read the MediaWiki language and set the correct one automatically. Furthermore, it might be useful, to support further attributes...

vonloxley commented 4 years ago

Patches are welcome.