Closed funes79 closed 6 years ago
What kind of caching are you using? Did you clear it? Ex, File cache? Delete cache files.
It is a fresh install, using file cache. But cannot find anything in cache dir or /tmp.
[root@ip-10-197-10-28 dev]# cat LocalSettings-dev.php | grep Cache
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = [];
## Set $wgCacheDirectory to a writable directory on the web server
#$wgCacheDirectory = "$IP/cache";
$wgCacheDirectory = "tmp/mediawiki_dev_cache";
[root@ip-10-197-10-28 dev]#
[root@ip-10-197-10-28 dev]# cat LocalSettings-dev.php | grep cache
#$wgCacheDirectory = "$IP/cache";
$wgCacheDirectory = "tmp/mediawiki_dev_cache";
[root@ip-10-197-10-28 dev]#
[root@ip-10-197-10-28 dev]# ls -l ./cache
total 0
[root@ip-10-197-10-28 dev]# pwd
/var/www/dev
[root@ip-10-197-10-28 dev]# ls -l /tmp
<empty>
That cache directory is for localisation. $wgUseFileCache
explicitly must be set to true. Then the default is $wgFileCacheDirectory
is "{$wgUploadDirectory}/cache"
which would be under your images. Since it didn't grep, assuming not using it.
Quick test, open an incognito browser window to the url you are using on dev and check results.
???? Browsers and versions: MediaWiki version: Database version: PHP version: Pivot version: Extension version (if connected to the issue):
Using 1.30.0 (4c97eee) 20:35, 2 March 2018
tabs works fine for me.
Oh, check output buffering too. php.ini and make sure it is set to something and not Off
The page does not understand/interpret the \
[root@ip-10-197-10-28 dev]# cat LocalSettings-dev.php | grep Cache | grep -v '^#'
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = [];
$wgCacheDirectory = "tmp/mediawiki_dev_cache";
$wgUseFileCache = true;
$wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
[root@ip-10-197-10-28 dev]# cat LocalSettings-dev.php | grep Upload | grep -v '^#'
$wgEnableUploads = true;
$wgUploadDirectory = "$IP/images_dev";
$wgUploadPath = "/dev/images_dev";
$wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
[root@ip-10-197-10-28 dev]# cat /etc/php.ini | grep buffering | grep -v '^;'
output_buffering = 4096
MediaWiki | 1.30.0 PHP | 5.6.34 (apache2handler) MySQL | 5.7.17-log
What should I do now?
And I tried to delete the local cache rm -rf ./images_dev/cache But didnt helped.
Oops, just noticed you have $wgPivotDefaultFeatures
. Change it to:
$wgPivotFeatures = [
'usePivotTabs' => true,
'wikiNameDesktop' => 'Wiki name desktop'
];
Yes, that was it! Thanks for the help. After the change from wgPivotDefaultFeatures to wgPivotFeatures I had to clear the cache and then the tabs displayed. Thanks
Great... closing
Setup
Issue
Detailed description of the issue goes here.
I changed the default settings
but instead of Tabs the page displays this: