-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Nemo,
Am 28.10.2015 um 21:38 schrieb Federico Leva (Nemo): > Main docs are at https://www.mediawiki.org/wiki/Manual:$wgRightsUrl I do know them. :-( > I assume you're talking of https://help.libreoffice.org/Main_Page I'm talking about https://wiki.documentfoundation.org , but the helpwiki is having the same problem. > and > friends, a tricky situation indeed. :) Given > https://help.libreoffice.org/api.php?action=query&siprop=rightsinfo&me ta=siteinfo > and https://help.libreoffice.org/MediaWiki:Copyright it seems you are > successfully passing your custom copyright text to the message, but yo u > are lacking a copyright URL and a copyright icon (unless it was an > intentional skin modification?). So you have a couple things to do. It is indeed intentional at the moment. If you set this, you won't get any possibility to get a correct a message for logged-out users. :-( At least with our preconditions. > 1) You should complete the machine-readable setup of your licensing, > otherwise your content is not really usable. Something like this: > > $wgRightsUrl = 'https://www.gnu.org/licenses/lgpl-3.0.html'; > $wgRightsIcon = 'https://licensebuttons.net/l/LGPL/2.1/88x62.png'; > # Or FSF or local: $wgRightsIcon = > 'https://www.gnu.org/graphics/lgplv3-88x31.png'; So how to change it for wikis which do use multi-license? (not used at the moment) > 2) Do something about the lego mixup which also generates mixed-langua ge > messages such as «Il contenuto è disponibile in base alla licenza the > GNU Lesser General Public License (LGPLv3), unless otherwise specified , > [...], se non diversamente specificato». (Which is expected per > https://www.mediawiki.org/wiki/Manual:$wgRightsText .) :-( > 2a) Just circumvent the "copyright" message entirely and use your own, > maybe even with an English hardcoded text (and the same for the messag e > in action=edit), with a mechanism similar to > > $wgHooks['MessageCache::get'][] = 'onMessageCacheGet'; > # blabla > (https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikimediaMess ages/17c9434c5615808153b6aa3f06c7cd732e2c58ae/WikimediaMessages.hooks.ph p > ) I believe I do understand what you want to do here, but I do not understand how to do it correctly... :-( > 2b) Or, leave $wgRightsText as is but don't really use it beyond the > API. It's not an API problem (or I miss understood anything) > Edit https://help.libreoffice.org/MediaWiki:Copyright and friends > to contain only the text you want in the footer, without "$1", and do so > for all desired languages. But that won't help if you use html/wikitext to get some links in. :-( > MediaWiki:Copyright is one of the few > messages which still allows raw HTML > (https://phabricator.wikimedia.org/T45646 ) so watch what your sysops > put there. :) Luckily crazy admins is really not a problem at our wiki. :-) > Nemo Thanks for your lengthy answer. Regards, Dennis Roczek -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWNV/uAAoJEM4+Qf3OKrbZQfcP/3+DASxPGO71T8mYPf2stxtl +rC+cWTMp0gRM23tUYJgqa6EDEafCDa7WPwokQaU/msdUX583p5IFsAlN6DC7/3e e2vE/S+DYHCACr4M/y/Ouj63ti8G3oQEKZqiSiOKVK7ZcU9bNfakL8Wt1zji5HkM ZWH9NBzU23R+GGyvbW+LlUMK+soRXGFDtaf0yK4ofpizV5dc2oxClz02cb2ah/Nx v5v8EZM5zm3DxxWQZrqMQNp2F3eCkHW+qzh9YR5Y4rPNLkNgq0kpOM5H6QInPsDW unTlEuKFs64sadm/0gFbH3tp5efIb+Lc4OLCC3AMBix2ts3aWzSQBw5fdT2RG2kQ NGzw6911i9/oZExL0MTkUHMqC7kwurtbzDcIrOEgjPbf+tZeg4MchYaWoKhgcS+c aj8UEw0AcktUdP79V+jKR/RkDnI85NoTsIimT3aPIPv8mJrGjdspYX36CQKXL6ec gSHzIKeMv8Dsa2QRjBbpqVHRxs5i4e2EQwwiEcHsoIr3IJleIpJF7DfCQivGsFQD HG28DKEzpdt1ZXXK6ux8SgAEMM1Qvp1rx7G2JTC+PyjWPIzf/T4T2AKoz/RK5Adc p+BAADJwgS0+FuxiALHU76JlJ/zwU4oYpMnQG+v9Aj0WzhAgPvoUu1s28bzONgRQ ek57POUaT5Zq56ulD3eW =RyQZ -----END PGP SIGNATURE----- _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
