MediaWiki Extension BreadCrumbs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


<syntaxhighlight lang='bash'>
<syntaxhighlight lang='bash'>
tar -xzf BreadCrumbs-....tar.gz -C /var/www/mediawiki-1.35.0/extensions # The process will create a "BreadCrumbs" subdirectory
cd /var/www/mediawiki-1.35.0/extensions
chmod -R apache:apache BreadCrumbs
</syntaxhighlight>
</syntaxhighlight>
* gunzip < ... | tar xfv - the downloaded file in /var/www/mediawiki-1.26.2/extensions. The process will create a "BreadCrumbs" subdirectory,
* chmod -R apache:apache BreadCrumbs
* Add the following configuration line at the bottom of /var/www/mediawiki-1.26.2/LocalSettings.php


...
Add the following code line at the bottom of [[Media_Wiki_Production_Deployment_Info#LocalSettings.php_Location|/LocalSettings.php]]:
require_once "$IP/extensions/BreadCrumbs/BreadCrumbs.php";
 
<syntaxhighlight lang='php'>
wfLoadExtension( 'BreadCrumbs' );
</syntaxhighlight>


It should start working without restart.  
It should start working without restart.  


Additional configuration suggestions available on https://www.mediawiki.org/wiki/Extension:BreadCrumbs
Additional configuration suggestions available on https://www.mediawiki.org/wiki/Extension:BreadCrumbs

Revision as of 06:55, 7 December 2020

External

Internal

Installation

Go to https://www.mediawiki.org/wiki/Extension:BreadCrumbs and download the latest version.

tar -xzf BreadCrumbs-....tar.gz -C /var/www/mediawiki-1.35.0/extensions # The process will create a "BreadCrumbs" subdirectory
cd /var/www/mediawiki-1.35.0/extensions
chmod -R apache:apache BreadCrumbs

Add the following code line at the bottom of /LocalSettings.php:

wfLoadExtension( 'BreadCrumbs' );

It should start working without restart.

Additional configuration suggestions available on https://www.mediawiki.org/wiki/Extension:BreadCrumbs