Help:Wiki Development Help
From www.ChopStork.com
Look and ask for help on this page. Not in the blogs.
Missing Special Page Error
I've only tested out my scripts with MediaWiki 1.4.0, so good luck with other versions. See Special:Version for more details. But, it seems like you need to install SpecialBlogs.php and SpecialUserBlogs.php as special pages. Here's an example (in 1.4.0).
Basically, you can add the following code to the extension...
# Make sure these require statements are listed before the function declaration.
require_once("SpecialBlogs.php");
require_once("SpecialUserBlogs.php");
# Put these in the extension function ie wfBlogfilterExtension
SpecialPage::addPage( new SpecialPage("Blogs") );
SpecialPage::addPage( new SpecialPage("UserBlogs") );
OR you can add elements to the $wgSpecialPages array in SpecialPage.php (in includes). This is what I did.
Then you will need to create/edit the the following "messages" in the MediaWiki namespace...
For Special:Blogs
- MediaWiki:Blogs => Title of Special:Blogs
- MediaWiki:Blogstext => Whatever message you would like to appear as the header of Special:Blogs.
- MediaWiki:Blogs-url => Navigation url for use in the $wgNavigationLinks array in LocalSettings.php.
For Special:UserBlogs
- MediaWiki:Userblogs => Title of Special:UserBlogs
- MediaWiki:Blogslogintext => Whatever message you would like to appear as the header of Special:UserBlogs.
- MediaWiki:Blogsnologintext => Message to anyone not logged in and trying to view Special:UserBlogs.
Good Luck.
Wmluke 00:22, 12 Jul 2005
Next Step Of Including Blog
after spending a few hours, without success, a few questions arise:
- does it work with mediawiki v. 1.5 ?
- shouldn't it be :
$wgNamespacesWithSubpages = $wgNamespacesWithSubpages + array( 100 =>1,101 => 1,102 =>1, 103=>1); $wgNamespacesToBeSearchedDefault = $wgNamespacesToBeSearchedDefault + array( 100 => 1, 101 => 1,102=>1, 103=>1 );
rather than
$wgNamespacesWithSubpages = array( -1 => 0, 0 => 1, 1 => 1, 2 => 1, 3 => 1, 4 => 1, 5 => 1, 6 => 1, 7 => 1, 8 => 1, 9 => 1, 10 => 1, 11 => 1, 100 =>1,101 => 1,102 =>1, 103=>1); $wgNamespacesToBeSearchedDefault = array( -1 => 1, 0 => 1, 1 => 1, 2 => 1, 3 => 1, 4 => 1, 5 => 1, 6 => 1, 7 => 1, 8 => 1, 9 => 1, 10 => 1, 11 => 1, 100 => 1, 101 => 1,102=>1, 103=>1 );
i just got a error message; not existing special page.
i'm thinking of a patching system for wiki, as i did it for mambo.
Scrollup 06:21, 11 Jul 2005
File Locations
All extension scripts go into the extensions folder. Everything else goes into the includes folder.
Wmluke 12:39, 10 Jul 2005
Help please
I Wanted To Install This BlogExtension and PhotoAlbum extension but hey, where should i copy all these php files? but please at least this information would be appreciated. i am very horrible in install of extension mediawiki !!! and very bad english sorry...
Karyn 11:32, 10 Jul 2005
I Wanted To Install This Nice BlogWikility
but hey, where should i copy all these php files? I assume into the include path, but please at least this information would be appreciated.
I successfully implemented the FCK Editor. Yeahhhh.
And finally programmed an interface to the gallery2 . I can now drag and drop images from gallery2 into the wikieditor field (not fck yet) and there appear a <foto>1234</foto> or i can include <album>15</album>. This create a sequence of images in the wiki.
now i'm going to clean up the code.
Scrollup 14:08, 6 Jul 2005

