| Addshore added a comment. |
In T193720#4268866, @Andrawaag wrote:Can we include setting the logo's in both Wikibase and the WDQS I currently use the following steps to do this.
CHANGE LOGO at WDQS
- . create a logo.svg file
- sudo docker cp wd.svg ubuntu_wdqs-frontend_1:/wd.svg
- sudo docker exec -it ubuntu_wdqs-frontend_1 sh
- cd /usr/share/nginx/html
- mv /wd.svg logo.svg
Change Logo at Wikibase- . create logo.png with a width of 135 pixels
- . sudo docker cp logo.png ubuntu_wdqs-frontend_1:/logo.png
- sudo docker exec -it ubuntu_wikibase_1 bash
- apt-get update
- apt-get install vim
- . vi + LocalSettings.php
- . add: $wgLogo = "{$wgScriptPath}/logo.png";
So, this definitely isn't the best way to do this, but it's pretty easy to do it better.
See the blogpost I just wrote https://addshore.com/2018/06/customizing-wikibase-config-in-the-docker-compose-example/ :)
TASK DETAIL
EMAIL PREFERENCES
To: Matthias_Geisler_WMDE, Addshore
Cc: Addshore, Tarrow, Nunomn, Andrawaag, Jonas, Matthias_Geisler_WMDE, Aklapper, Daniel_Mietchen, RazShuty, LJ, Lahi, Gq86, SandraF_WMF, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, Salgo60, Abbe98, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
Cc: Addshore, Tarrow, Nunomn, Andrawaag, Jonas, Matthias_Geisler_WMDE, Aklapper, Daniel_Mietchen, RazShuty, LJ, Lahi, Gq86, SandraF_WMF, GoranSMilovanovic, QZanden, Gstupp, LawExplorer, Salgo60, Abbe98, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
