Hi John,
I hadn't tried this yet.. but just for you I tried... ;-)
I remembered why I just droped the idea of using namespaces in mediawiki
(although I really used it a lot in Dokuwiki): I think that mediawiki
just creates a "what links here" (links) table for the main namespace.
I thought I could simply change the mysql query of my extension, but it
seems that it's the same with the "category links" table: only pages in
the main namespace are taken into account.
Therefore, I think you could change the sql query, and instead of
searching page with backlinks to the page, just query pages from your
blog namespace, and sort them by date... that is, create a proper blog
extension, instead of my complicated quote version :-)))
I really think it would be simpler of my version, because you wouldn't
have to take care of pages having links to themselves through fragment
incorporated, all this getting infinite loop.
Do you need a bit of help on this ?
François
John Yu wrote:
François,
Will your extension work for pages in namespaces other than the main
one? I'm interested to try it out, but I keep our blog-oriented entries
in custom namespace.
Thanks.
--
John