Post thumbnail of How to really delete TWiki attachments from the Trash
25 August 2009
Continue reading How to really delete TWiki attachments from the Trash

How to really delete TWiki attachments from the Trash

Moving lets you transfer an attachment from one topic to another. The soft delete moves an attachment to the special TrashAttachment topic in the Trash web, where it’s hidden but can be “undeleted” with system administrator access. Click on action on the file in the FileAttachment table, then in the …

Post thumbnail of I configured $wgSMTP in LocalSettings.php, but password resets just weren’t working…
11 March 2009
Continue reading I configured $wgSMTP in LocalSettings.php, but password resets just weren’t working…

I configured $wgSMTP in LocalSettings.php, but password resets just weren’t working…

I had $wgSMTP set up to talk to a remote exchange server, but password resets just weren’t working from the wiki. It turns out all I was missing was the ‘php-pear-Mail package’ (in fedora, for debian or other systems it may be a different package name). I started by checking any logs related to this problem… mail.php missing in UserMailer.php - dependency problem

Post thumbnail of Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users
10 March 2009
Continue reading Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users

Control the links that appear in Mediawiki’s toolbox and make it vanish for anonymous users

I wanted to simplify the toolbox for a special purpose wiki, but everywhere I searched all I could find was how to change the name of the toolbox, or how to show it only to logged in users, etc. To delete one of the default toolbox links, just change the data value to something it will never see. You could remove the if statements completely for each link you want removed, or just change the data value to something that will never result in entering the if statement. It’s less intrusive than removing the code completely. Either way, you won’t be deleting the toolbox function, only the link from the interface — which is exactly what I wanted. If you want to trim the navigation part of the sidebar, that’s built right in. Just go to Mediawiki:Sidebar and edit that page.

Post thumbnail of LDAP + Lighttpd :: Easy setup
5 March 2009
Continue reading LDAP + Lighttpd :: Easy setup

LDAP + Lighttpd :: Easy setup

Enabling LDAP authentication should take you about 2 minutes, unless you type with just 2 fingers. Then maybe 3 or 4. …If you don’t allow anonymous connections to your ldap, give it a user/password combination that has enough privs to do the lookups, or just use your master account if you’re just testing or don’t really care. … Now tell it what parts of your webserver you want to protect and how. You can specify any string you’d like for the realm. Here I require an LDAP user account name and password just to get to the wiki main page, and only admin can see the server-config page… Restart lighttpd and you’re done.

Post thumbnail of Install Mediawiki and Lighttpd on Fedora 10
4 March 2009
Continue reading Install Mediawiki and Lighttpd on Fedora 10

Install Mediawiki and Lighttpd on Fedora 10

blah blah, mediawiki http://blog.rootninja.com, And finally, “To complete the installation, move config/LocalSettings.php to the parent directory.” just like it says…

Powered by Wordpress   |   Lunated designed by ZenVerse