I'm trying to get MediaWiki running and I keep hitting the same problem.
I've tried the 1.3.x builds and the latest 1.4 builds and I get the same
problem each time. I don't think it's a database problem because the
configuration doesn't get that far. I'm able to get other wiki packages
running on this site so I don't think there is an admin problem.
The error I get is this:
Fatal error: Cannot redeclare class namespace in /na/h1/t/tk/tkw4u
/public_html/spacewiki/includes/Namespace.php on line 52
I've looked at the file and at that section of code. There doesn't seem to
be anything I can manually enter there.
Does anyone have any thoughts or ideas of what might be causing this error?
Thanks!
Tim
It's been at rc1 for some time. Any clue on when it will be "blessed"
as an official release?
I notice Brion referring to "1.4" without a qualifier -- is he
telegraphing that rc1 *is* 1.4?
TIA!
:::: Come to think of it, there are already a million monkeys typing on
a million typewriters, and the Internet is NOTHING like Shakespeare.
:::: Jan Steinman <http://www.Bytesmiths.com/Item/85AE07>
I've updated my Graphviz extension hacks. It now includes two new entry
points that cause an image to be text flowed left or right without
using tables. See the Annotated examples at the link below. (The text
flow example is the last one on that page.)
---------------- previous message -----------------
I wanted to use other layout engines besides dot(1), so I hacked
Graphviz.php to allow a Unix-style interpreter specification for the
other rendering engines in Graphviz. This is backwards compatible
(since it is a legal dot comment) and avoids coming up with new syntax.
The interpreter spec must immediately follow the opening tag:
"<graphviz>#!/sw/bin/neato" for example. I explicitly check for allowed
rendering engines to avoid script injection security issues.
Extension at: <http://www.Bytesmiths.com/InfoArk/Graphviz.php.gz>
Annotated examples at: <http://www.IslandSeeds.org/wiki/Test:Graphviz>
Enjoy!
PS: It would be nice to have "out of band" communications with
extensions, like <graphviz engine="neato">. It could simply bundle up
everything it finds in the tag into an associative array. This would be
very useful (for example) in text-wrapping, since so many extensions
seem to generate images. (<graphviz style="float:right">, for example)
:::: We will see in some subsequent charts that we probably have
reached peak oil. -- US Congressman Roscoe Bartlett, in presentation to
the US Congress, 15 March 2005
:::: Jan Steinman "http://www.IslandSeeds.org"
Are there any other options for locking down which pages anonymous users can see other than the $wgWhitelistRead? As far as I can tell this array is literally setup such that I'd need to manually enter every single page that anonymous users can read. Any ideas on other ways to manage this? Thanks, Ed Greaves
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
For my project, www.wikigaming.com, I am eventually going to break it
into two or more mediawiki installs but I would like a user to only
have to sign up on one site and have an account on all the others. I
don't have root access to the host or any way to run a LDAP server, so
I can't do something like that, and I would prefer to not have to
change the code if at all possible (or at least in a minimal way).
I have an elegant solution for a postgreSQL (or mysql 5) install, but
unfortunately, postgre support is still experimental (and my host does
not have pg dbs). It goes like this:
1) Remove the user table from all databases.
2) Either create a new database (lets call it main) or designate an
existing database to be the main one.
3) Create the user table on the main db.
4) Create views on all other dbs that shadows the main.user table.
This should, unless I'm missing something, work seamlessly. watchlist
and user_rights would still stay project-dependent... or you could
shadow user_rights in the same way if you want an admin on one project
to be an admin on all projects. Any comments on if this would work as
planned?
I have also thought about a much less elegant solution for MySQL which
would basically use a brute force method with triggers to update all
user tables whenever one user table changes. With a lot of users, I
could see this being a major performance hit, though. Any ideas how
else this could be done in MySQL?
Finally, has anyone written any code to do this very same thing?
--
~Jason Walker
Take back the web - Get Firefox!
I'm new to MW too, but my first step would be to untar MW in another
directory and diff the two directory structures. At least that would
tell you all of the changes that have been made, and the problem might
become apparent from the differences.
George
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of - -
Sent: Thursday, March 17, 2005 12:19 PM
To: mediawiki-l(a)Wikimedia.org
Subject: [Mediawiki-l] I seem to have messed something up.
Hello all, new to wiki management, and I've finished installing MW 1.4.
I have started to customize it, and somehow, I have managed to mess
something up, and I'm not exactly sure where/how to put it back.
Normally, when I open up a page in edit mode, It should say Editing
PAGENAME. However I've done something (I'm not sure exactly what) that
just says Help:Formatting no matter what the page. I've tried
searching around but have had no luck figuring out where I messed up, or
how to fix it. Any have an idea?Thanks, Ed Greaves
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Hello all, new to wiki management, and I've finished installing MW 1.4. I have started to customize it, and somehow, I have managed to mess something up, and I'm not exactly sure where/how to put it back. Normally, when I open up a page in edit mode, It should say Editing PAGENAME. However I've done something (I'm not sure exactly what) that just says Help:Formatting no matter what the page. I've tried searching around but have had no luck figuring out where I messed up, or how to fix it. Any have an idea?Thanks, Ed Greaves
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
From: mediawiki-l-bounces(a)Wikimedia.org
> However, on the top of all my pages I get the following error:
>
> Notice: Undefined index REQUEST_URI in
> D:\web\wiki\includes\Setup.php on
> line 113
>
> Can someone please tell me what is going on and how do I fix it?
This problem is a PHP for Windows problem, as I understand it. You
should replace all references to the REQUEST_URI member of the _SERVER
array with SCRIPT_NAME. The name of the same variable is different
between the Windows and UNIX versions of PHP.
Thus:
Old: $_SERVER['REQUEST_URI']
change to:
New: $_SERVER['SCRIPT_NAME']
There are two instances in Setup.php that require changing and perhaps
one other file as well. You'll find that other file by doing a 'grep'
or waiting for the next error message. :)
Scott
Hi,
is there any way to completely remove an article? When the content is
deleted, there still is a blank page for that article and links to it are
marked blue (as for existing article), but what I need is removing article
;)
thanks
Hi, could some one help me, Im starting my new wiki site, called
wikicg.com/wiki/, and I want it to have it in several languages, for what I
have read I need to create a new subdomain for each language, for example
en.wikicg.com for english, es.wikicg.com for spanish. And I'll install
mediawiki in each subdomain with its own database, right??
The question is how to make avaible the "in other languages" menu and how to
make the link en: and es: to work on my links, for example this:
[[en:Wikipedia:MediaWiki namespace]]
Sorry for my bad english, and thanks in advance.