...resulted in an utter failure.
I followed the instructions on the page
(http://meta.wikimedia.org/wiki/HTML2FPDF_and_Mediawiki) and got the
following error message when I tried to access my Wiki:
PHP Notice: Undefined variable: wgRequest in C:\Wiki\ITWiki\index.php on
line 32 PHP Fatal error: Call to a member function getVal() on a
non-object in C:\Wiki\ITWiki\index.php on line 32
(I restored my backup)
Could it be that it was written for an older version of Wiki?
I'm using 1.6.3 with PHP 5.0.5.
Anybody else tried it and got it to work?
And anybody up to the task of writing updated instructions? I would do
it but I don't know PHP.
Simon
Try this ...
if you want users to type
yourdomain.com/wiki/SomeArticle
to get
yourdomain.com/rootdirectory/index.php?title=SomeArticle
use
RewriteRule ^wiki/(.*)$ rootdirectory/index.php?title=$1 [QSA]
then go into your localsettings.php and set
$wgArticlePath = "/wiki/$1";
Note: This will only make pretty urls for article pages - not for
edit pages.
Hope this works for you
It's been a while since i've messed around with this
but i experienced the same frustration when i first tried to get
pretty urls
Thanks a lot Brian.
My server is in a different timezone than i am, and i had just
assumed that MediaWiki was storing timestamps in the server's
timezone. When i use UTC everything seems to work fine ...
except ...
I am in EDT so i should be -5 hours from UTC. But in the preferences
Time Zone panel it says that i am only 4 hours behind the server even
though it is correctly displaying my local time. Is this an error in
my localsettings?
Just to make sure i understand what's going on with dates and times...
MediaWiki stores all timestamps in UTC.
So gmdate('YmdHis') should be the same as $dbr->timestamp() ?
thanks again
/
Dear All,
I'm launching an small wiki site, in a week.
I want to know how to restrict some username at account creation,
such as root, admin, wiki, user, etc.
Is there a black list of disabled user name?
--
_ _
(@ @)// IKEDA Yuriko http://www.yuriko.net/
Can I protect a certain page by virtue of an access control list?
I would also like to authenticate via LDAP.
Thank you,
-Brett
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
My server time that's appearing in the user preferences Time Zone
panel (and that is also being used when writing to page_touched in
the db) is incorrect. It's several hours ahead of the timestamp i get
from date('YmdHis') in php or CURRENT_TIME() in mysql.
I have looked everywhere to try to find out where the offset is
coming from but with no luck. I don't have either $wgLocaltimezone or
$wgLocalTZoffset set so i know that these are not the culprits.
Does anyone know why my server time is being offset?
What other places should i look?
thanks
Hi all!
I'm seeking a way to get rid of those huge URLs for pages with
non-latin symbols in their titles (in my case it's Russian). I found
an unresolved request #1450 in mediazilla (http://bugzilla.wikimedia.org/show_bug.cgi?id=1450) on this theme, it contains
a comment with quite interesting advice (to use page id for it, like
/index.php?title=-&curid=1367).
Are there any more contemporary solutions to this issue? Ideally I'd
like to have URL for a page in a field separate from Title, perhaps
populated automatically with transliterated name of the page.
Thanks in advance,
Artem.
Hi,
I'm looking for the ability to create subcategory or articke directli in
category.
Something like "Create article in this category", "Create category in
this category" links in category view.
What should I be looking for? template? skin? or do I have to somehow
alter wiki source code itself?
Brona
Hi, I'm trying to add an external counter to all pages in my wiki, which
is powered by MediaWiki 1.5.5., and any help would be appreciated.
In my LocalSettings.php I have
$wgDefaultSkin = 'monobook';
First I've tried editing skins/MonoBook.php, but it doesn't seem to
work. To test whether this is the correct file, I have changed in class
MonoBookTemplate
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
to e.g.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 2.0 Transitional//EN"
This has no effect in the wiki when I reload the pages. However, if I
rename MonoBook.php to MonoBook.php.bak the wiki loses part of the format.
Regards,
--
Ramón Casero Cañas
http://www.robots.ox.ac.uk/~rcasero/wikihttp://www.robots.ox.ac.uk/~rcasero/blog