Namespace Weirdness (was Re: [Mediawiki-l] Trying to get dynamic content on a page)
Jan Steinman
Jan at Bytesmiths.com
Mon Mar 14 04:35:02 UTC 2005
BTW: I had a weird problem while debugging Sebastien's cache hack. The
cache dirty info, cur_touched, was not getting updated.
Then I found that my page Test:Fortune was in namespace zero, under its
full name (Test:Fortune)! I moved it to Fortune, then back to
Test:Fortune, and it began working, but it still has
cur_title='Test:Fortune' and cur_namespace=0.
Perhaps I don't understand how namespaces work. I thought you could
simply put 'Namespace:Name' at the end of a URL, and it would create a
new namespace, but it seems Test behaves differently.
More puzzle: I queried for "cur_title LIKE '%:%" and I find all my Test
namespaces are in namespace 0 (like Test:Fortune), and so are the pages
in the 'Minutes' namespace that I thought I created.
Am I doing something wrong here? Or is this a known weirdness in 1.4b5?
:::: Base 8 is just like base 10, if you are missing two fingers. - Tom
Lehrer
:::: Jan Steinman <http://www.Bytesmiths.com/Item/003AA08>
More information about the MediaWiki-l
mailing list