1.5.3, fresh install.
I'm embarrassed to ask, but I can't seem to find in the docs why I can edit pages with plain text, and they display fine. But if I add == headings == or other formatting the page displays correctly in preview but when saved it seems like only the last page without formatting is displayed for that page.
The page's history shows the fully formatted version of the pages.
On 09/12/05, Bill Moseley moseley@hank.org wrote:
I'm embarrassed to ask, but I can't seem to find in the docs why I can edit pages with plain text, and they display fine. But if I add == headings == or other formatting the page displays correctly in preview but when saved it seems like only the last page without formatting is displayed for that page.
This could be a caching issue (and the formatting irrelevant/coincidental). Have you tried doing a hard refresh in your browser (see en.wikipedia.org/wiki/WP:CACHE), and using an "action=purge" URL (like "action=edit")?
-- Rowan Collins BSc [IMSoP]
On Fri, Dec 09, 2005 at 04:25:48PM +0000, Rowan Collins wrote:
On 09/12/05, Bill Moseley moseley@hank.org wrote:
I'm embarrassed to ask, but I can't seem to find in the docs why I can edit pages with plain text, and they display fine. But if I add == headings == or other formatting the page displays correctly in preview but when saved it seems like only the last page without formatting is displayed for that page.
This could be a caching issue (and the formatting irrelevant/coincidental). Have you tried doing a hard refresh in your browser (see en.wikipedia.org/wiki/WP:CACHE), and using an "action=purge" URL (like "action=edit")?
No, it's no a caching issue. I should have mentioned that (and that's it's plugged in, too ;) It's more likely something I missed setting up the wiki -- or some fundamental lack of knowledge about mediwike.
Here's the page:
http://www.cal-sailing.org/testwiki/index.php/Main_Page
Then look at the history. Click on the top item in the history list and you can see the main page is not really the most current version.
On 09/12/05, Bill Moseley moseley@hank.org wrote:
Here's the page:
http://www.cal-sailing.org/testwiki/index.php/Main_Page
I added "?action=purge", and it seems to have purged to the correct version. Why it got stuck on that version in the first place, I've no idea, but it seems it *was* a caching issue (server side, not browser cache).
-- Rowan Collins BSc [IMSoP]
On Fri, Dec 09, 2005 at 06:43:53PM +0000, Rowan Collins wrote:
On 09/12/05, Bill Moseley moseley@hank.org wrote:
Here's the page:
http://www.cal-sailing.org/testwiki/index.php/Main_Page
I added "?action=purge", and it seems to have purged to the correct version. Why it got stuck on that version in the first place, I've no idea, but it seems it *was* a caching issue (server side, not browser cache).
(Hope I have fewer typos this time...)
Server side as in Mediawiki? I assume it would have to be. Is that a problem with the version I'm running? Or just some cache settings that need to be modified?
I changed this to false:
$wgEnableParserCache = false;
Seems to have fixed it.
It's a low volume wiki, so anything else need changing?
fgrep Cache includes/DefaultSettings.php /** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */ $wgCacheSharedUploads = true; $wgMainCacheType = CACHE_NONE; $wgMessageCacheType = CACHE_ANYTHING; $wgParserCacheType = CACHE_ANYTHING; $wgLinkCacheMemcached = false; # Not fully tested $wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working $wgMemCachedServers = array( '127.0.0.1:11000' ); $wgMemCachedDebug = false; $wgMsgCacheExpiry = 86400; $wgEnableParserCache = false; $wgCachePages = true; $wgCacheEpoch = '20030516000000'; $wgUseFileCache = false; $wgFileCacheDirectory = "{$wgUploadDirectory}/cache"; * Cache timeout for the squid, will be sent as s-maxage (without ESI) or $wgUseWatchlistCache = false; $wgWLCacheTimeout = 3600; $wgFeedCacheTimeout = 60;
Any ideas about my timezone in the other message? ;)
MediaWiki maintains all sorts of different caches, depending upon what's available. For the most part, it works fine in that the cache is invalidated when the pages are changed, and at a sensible rate.
The main page, however, in particular, can often become stubbornly out of date. A good action=purge will clear this.
Rob Church
On 09/12/05, Bill Moseley moseley@hank.org wrote:
On Fri, Dec 09, 2005 at 06:43:53PM +0000, Rowan Collins wrote:
On 09/12/05, Bill Moseley moseley@hank.org wrote:
Here's the page:
http://www.cal-sailing.org/testwiki/index.php/Main_Page
I added "?action=purge", and it seems to have purged to the correct version. Why it got stuck on that version in the first place, I've no idea, but it seems it *was* a caching issue (server side, not browser cache).
(Hope I have fewer typos this time...)
Server side as in Mediawiki? I assume it would have to be. Is that a problem with the version I'm running? Or just some cache settings that need to be modified?
I changed this to false:
$wgEnableParserCache = false;
Seems to have fixed it.
It's a low volume wiki, so anything else need changing?
fgrep Cache includes/DefaultSettings.php /** Cache shared metadata in memcached. Don't do this if the commons wiki is in a different memcached domain */ $wgCacheSharedUploads = true; $wgMainCacheType = CACHE_NONE; $wgMessageCacheType = CACHE_ANYTHING; $wgParserCacheType = CACHE_ANYTHING; $wgLinkCacheMemcached = false; # Not fully tested $wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working $wgMemCachedServers = array( '127.0.0.1:11000' ); $wgMemCachedDebug = false; $wgMsgCacheExpiry = 86400; $wgEnableParserCache = false; $wgCachePages = true; $wgCacheEpoch = '20030516000000'; $wgUseFileCache = false; $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
- Cache timeout for the squid, will be sent as s-maxage (without ESI) or
$wgUseWatchlistCache = false; $wgWLCacheTimeout = 3600; $wgFeedCacheTimeout = 60;
Any ideas about my timezone in the other message? ;)
-- Bill Moseley moseley@hank.org
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Sounds like a caching issue to me. Do a hard-refresh in the browser (usually Ctrl + the refresh button, for graphical browsers).
Rob Church
On 09/12/05, Bill Moseley moseley@hank.org wrote:
1.5.3, fresh install.
I'm embarrassed to ask, but I can't seem to find in the docs why I can edit pages with plain text, and they display fine. But if I add == headings == or other formatting the page displays correctly in preview but when saved it seems like only the last page without formatting is displayed for that page.
The page's history shows the fully formatted version of the pages.
-- Bill Moseley moseley@hank.org
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org