If you're new here and like what you read, please subscribe to my blog feed or sign up for free email updates. Thanks for visiting!
Enter your email address to subscribe:

Disable media warning in MediaWiki

No comment - Post a comment (nofollow disabled)

To disable the message "Warning: This file may contain malicious code, by executing it your system may be compromised.", look for the check at includes/ImagePage.php, specifically for "mediawarning". Around this, you should see the following check:

if ( !$this->displayImg->isSafeFile() ) {
$warning = wfMsgNoTrans( 'mediawarning' );
$wgOut->addWikiText((some HTML text here distributed over a few lines));
} else {

You would like to remove this check; delete the entire thing and also the closing brace of the else's brace in the last line above. In MediaWiki 1.13.2, the if check above starts at line 440.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

Revival of Tagalista Watch

No comment - Post a comment (nofollow disabled)

I'm resurrecting my Tagalista Watch blog. I'm broadening its goals to include fighting against Web sites which automatically sets your language to Tagalog when it detects that your IP comes from the Philippines.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

Upgrading MyBB (too big a hassle)

No comment - Post a comment (nofollow disabled)

With a lot of things to do but finding time to waste still, I checked the internals of the Education in the Philippines Forum, a forum on Philippine education which I manage. I logged in to its administration console, which greets me with the notice that I last checked for updates to MyBB more than two weeks ago. More than two months, to be more exact.

So MyBB 1.4 had been released. It has a lot of cool and nice features, and I want to update to it right away... But I still have to do these things:

1. Backup the database (simple; provided in the admin panel).
2. Backup the files.
3. Download MyBB 1.4.
4. Upload and unzip MyBB 1.4 to my host.
5. Put back the changes to the template which I have done.
6. Check for errors.

I am stumped at steps 2 and 5. They're just too much of a hassle right now, and I won't update yet. :)

Like this post? Please help me pay for my Internet access.
Links to this post
email post

web.archive.org is a proxy/anonymizer service

No comment - Post a comment (nofollow disabled)

See for yourself:

Hmmm...

Like this post? Please help me pay for my Internet access.
Links to this post
email post

GMail offers themes

No comment - Post a comment (nofollow disabled)

I always start my day by checking out my mailbox. Some people think that that's counter-productive, but I have years of habit behind me ;-). While checking out my GMail account this morning (via Firefox, because Konqueror won't load GMail), I was surprised to see that they are offering me themes to choose from. GMail apparently loves me, since Google said they will be "rolling out themes to everyone over the next couple of days", and yet I already have it enabled in my account.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

OpenDNS caveats (rehash)

No comment - Post a comment (nofollow disabled)

So finally the powers-that-be in our company figured out how to block certain websites via OpenDNS. Obviously we're already using OpenDNS as our DNS server.

I think that outside the system administrator and his company in our school, I was the first one to broach the topic of OpenDNS among the teachers, and how useful (my evaluation at that time) it would be to limit Internet access to legitimate sites. We've even tried using it in my brother-in-law's Internet cafe, and we are still using it in some units because Globe Broadband's DNS server is sometimes unreliable. However, my long use of the system alerted me to one big flaw of OpenDNS:
The default behavior of Firefox (and other browsers, I think), if the target of a POST could not be reached, is to keep that data in some place, so if you do a refresh, it will be reposted. However OpenDNS does not tell Firefox that the network is unreachable, instead it gives the browser a custom page not found message - a soft 404. The user is of course alerted to that fact, but for Firefox the transaction was okay, and so it discards the form input.
In other words, you lose whatever you are typing if in case the server on the other side times out.

Now, I'm just wondering why Project Wonderful is blocked, when obviously useless sites such as Friendster, MySpace, and YouTube are not.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

GMail won't load in Konqueror

No comment - Post a comment (nofollow disabled)

My co-teacher and co-user of the sole surviving Ubuntu workstation in our school finally convinced me to switch to the KDE desktop instead of using Ubuntu's defaut Gnome, which I've been using ever since I had a conscience attack and vowed not to use pirated software (if I can help it :-)).
Despite my protests against KDE's one-click behavior (which my co-teacher assured me can be cured, because his home PC does not have that behavior -- only that he doesn't know how to tweak the settings), I was convinced to switch because Gnome could not seem to be able to unmount my flash drive, which unfortunately gets its share of Windows viruses whenever it goes to the Windows world.

Then I realize I have to switch to HTML view whenever I go try to load GMail. Apparently the issue is not yet fixed permanently; what was done was that Konqueror would just not identify itself as Firefox, so that GMail directs to the HTML interface. The problem seem to be related to the code used by GMail.

Like this post? Please help me pay for my Internet access.
Links to this post
email post

No ads for you, Isles Tech

No comment - Post a comment (nofollow disabled)

Finally I found the time to check my own site today :)

Then I realized that it displays public service ads from Google AdSense:


I admit I haven't been as active online lately as before, thanks to offline, real-world schemes which actually earns me money :)

Like this post? Please help me pay for my Internet access.
Links to this post
email post