{"id":7179,"date":"2023-04-29T18:30:31","date_gmt":"2023-04-29T13:00:31","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=7179"},"modified":"2023-04-29T18:30:35","modified_gmt":"2023-04-29T13:00:35","slug":"how-to-change-the-logo-in-mediawiki-website","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-change-the-logo-in-mediawiki-website\/","title":{"rendered":"How to change the logo in MediaWiki website"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Introduction:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MediaWiki is a free and open-source software platform used to create and manage wikis. It was originally developed for Wikipedia and is now widely used by various organizations for knowledge sharing and collaboration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisites<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>SSH Login details<\/li>\n\n\n\n<li>Logo in .png format<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Procedure<\/strong>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1:&nbsp;<\/strong>Login to the server<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$ ssh username@IP<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 2:<\/strong>&nbsp;Move the logo to the server using scp<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$ sudo scp username@ip:\/path\/to\/logo.png \/path\/to\/document\/root<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3:<\/strong> Check the document root for the domain in the web server configuration file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$ sudo vim \/etc\/&lt;webserver>\/sites-available\/domain.conf<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#ffffff\" class=\"has-inline-color has-black-color\"><strong>Step 4:<\/strong> Enter the document root and move the logo.png to the <strong>resources\/assets<\/strong> directory .<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$ sudo mv logo.png resources\/assets<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 5:<\/strong> Open the LocalSettings.php file to change the logo of mediawiki website,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$ sudo vim LocalSettings.php<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Edit the line \u201c $wgLogos \u201c to the path of the logo.png for changing the logo.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$wgLogos = [ &#8216;1x&#8217; => &#8220;$wgResourceBasePath\/<strong>resources\/assets\/logo.png<\/strong>&#8221; ];<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also edit the line, From<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$wgEnableUploads = false;<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:#000000\" class=\"has-inline-color has-white-color\">$wgEnableUploads = true;<\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Save and exit the file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 6:<\/strong> Check the website, now the logo will be changed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If it still showing the old logo clear the cache on a browser or check it in an incognito browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Conclusion:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">MediaWiki is a powerful and flexible platform that allows users to create and manage wikis with ease. Its popularity and scalability make it an excellent choice for anyone looking to facilitate collaboration and knowledge sharing within their organization.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: MediaWiki is a free and open-source software platform used to create and manage wikis. It was originally developed for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[274],"class_list":["post-7179","post","type-post","status-publish","format-standard","hentry","category-web-architecture","tag-ubuntu","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1RN","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=7179"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/7179\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=7179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=7179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=7179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}