Seer Snively wrote:
I'm loving the Wikipedia PHP Script, and solving
my all my install
problems except one. I'm not quite sure how to edit the tinyblog
user_rights field so that I can become a sysop of my own site! Does
anyone have a php script or an SQL query to do it?
UPDATE user SET user_rights="is_sysop";
should do it.
Also, this might not be the place, but I've
noticed how cool the
wikipedia.com's mod_rewrite is, but I don't know how to use it? Is there
a simple setup text file on how to use mod_rewrite with Wikipedia?
Here are the rewrite rules currently in use:
RewriteEngine On
RewriteRule ^/wiki/(.*)$ /w/wiki.phtml?title=$1 [NE]
RewriteRule ^/w/wiki.phtml(.*) /w/wiki.phtml$1
RewriteRule ^/wiki$ /w/wiki.phtml
RewriteRule ^/$ /w/wiki.phtml
RewriteRule ^/wiki.phtml/(.*)$ /w/wiki.phtml/$1 [NE]
RewriteRule ^/wiki.phtml$ /w/wiki.phtml
-- brion vibber (brion @
pobox.com)