Extension talk:PageTrail

Enable PageTrail globally
I wanted to enable PageTrail globally for a whole wiki, but I didn't find some means provided already by PageTrail to do this. Is there something that I missed? My solution was to edit the PageTrail.body.php so that there is now

22                global $wgUser, $wgPageTrailGlobalEnable; 23 24                 if($wgPageTrailGlobalEnable) $this->enable = true; 25                else $this->enable = $wgUser->getOption('page_trail') != 0; instead of 22                global $wgUser; 23 24                 $this->enable = $wgUser->getOption('page_trail') != 0;

so one can globally enable PageTrail by setting

$wgPageTrailGlobalEnable = true;

in the LocalSettings.php

If there is not yet another means to do that already provided by PageTrails, I would suggest to implement this as a standard feature (if there is no other reason not to do so).

best regards, --Bin!johnny 19:01, 14 March 2008 (UTC)