Blog Scripts
From www.ChopStork.com
Here's what I did to implement a blog like interface for this wiki (version). I hope these work for you. As you will see I haven't documented or commented them very well. Of course the typical quid pro quo applies: use as is, no warrentee, etc, blaa, blaa.
Luke 17:54, 17 Jun 2005 (PDT)
Contents |
Getting Help
Send me an E-Mail if you have questions, comments, concerns, or exclaimations. Or post help about these scripts to Help:Wiki Development Help or use the talk pages. DO NOT post help to the front page of this wiki.
Updates
- 7/1/2005
- Enabled category filtering. Affected Files: SpecialBlogs.php and BlogExtension.php.
- Enabled feed support within SpecialBlogs.php. Still needs some work, but it's sunny out and I'm gonna go play.
Assumptions / Notes
- Blog namespace exists
- "Blog" articles have the same access rights as any other article within the wiki.
- Editing an article changes ownership.
Scripts
Put the extension into the extensions folder. Put everything else into the includes folder. Don't move existing files.
- Blog Scripts/SpecialUserBlogs - User page ("my blog") for users to create, edit, and publish their blog articles.
- Blog Scripts/SpecialBlogs - Public page that lists and filters blog articles.
- Blog Scripts/SpecialUserlist - Class that generates a user list that links to supplied resource.
- Blog Scripts/BlogExtension - Extension that uses SpecialBlogs to list blog articles.
- Blog Scripts/GlobalFunctions - Add wfParse function to GlobalFunctions.php.
- Blog Scripts/Skins - Add "my blog" link to the personal urls in either SkinTemplate.php or a specific skin template like MonoBook.php.
Screen Shots

