Hi all!
As you might have been noticing, the 'pedia is feeling a bit under the weather, so i thought i could help out magnus Manske a bit with the new code. So here comes a couple of questions for Magnus, the reply of which might prove interesting for more people than me i hope :-)
1. How does one go about with the CVS download from Sourceforge?
2. Is there a design specification, so one might get an overview of how the code hangs together?
3. How do you get it up and running on your home installation of Apache?
4. Is there any special area that needs attension?
and last but not least
5. Where do I get hold of the best PHP tutorial/documentation on the net :-)
Cheers!
/Anders Törlind
ps. If this topic has already been discussed today, i apologize: I just set my subscription off digest... ds
Hi Anders,
you are more than welcome to help :) Especially on that dreadful wiki-code parser!
OK, here they come:
- How does one go about with the CVS download from Sourceforge?
Best thing to do is to go to http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/wikipedia/phpwiki/fpw/ and get the latest files.
- Is there a design specification, so one might get an overview of how
the code hangs together?
No, but it's not that complicated. wiki.phtml loads all the other .php scripts, which contain the classes wikiTitle, wikiPage, wikiUser and the functions for the "special pages" and the database connection.
- How do you get it up and running on your home installation of Apache?
Just make sure PHP4 is installed and MySQL is running. Make a directory (e.g., fpw for final PHP wikipedia;) in your html directory (e.g., /var/www/html) and copy all files there. In fpw, create an "upload" directory for testing if you like. Set up the MySQL database (I can mail you a dump of my test version) and adapt the settings in "databaseFunctions.php". That's it!
- Is there any special area that needs attension?
The parser, most of the parser, and did I mention the parser? ;) I have an option for user rights management but didn't implement it yet since we didn't really decide on a way to do this. There was some talk on the wiki but I remember Larry didn't like some of the details I suggested.
- Where do I get hold of the best PHP tutorial/documentation on
the net :-)
Well, I am using the extensive helpfile/documentation that came with the Windows distribution (is also available as HTML, see http://www.php.net/docs.php), and a cheap paperback book. I take it you're not looking for an introduction?;)
Again, your help would be very much appreciated!
Magnus
On Fri, 5 Oct 2001, Magnus Manske wrote:
- Is there any special area that needs attension?
The parser, most of the parser, and did I mention the parser? ;) I have an option for user rights management but didn't implement it yet since we didn't really decide on a way to do this. There was some talk on the wiki but I remember Larry didn't like some of the details I suggested.
What details? Don't let me stand in your way.
Larry
I was just talking about the "protected" namespaces and how a first group of users would copy a "good" article to an intermediate namespace, then a second group could advance the article to s "stable" namespace or reject it. I forgot the wiki topic, though, sorry. If you remember it, tell me please :)
Magnus
-----Original Message----- From: wikipedia-l-admin@nupedia.com [mailto:wikipedia-l-admin@nupedia.com]On Behalf Of lsanger@nupedia.com Sent: Friday, October 05, 2001 11:10 PM To: wikipedia-l@nupedia.com Subject: RE: [Wikipedia-l] Wikipedia development
On Fri, 5 Oct 2001, Magnus Manske wrote:
- Is there any special area that needs attension?
The parser, most of the parser, and did I mention the parser? ;) I have an option for user rights management but didn't implement it yet since we didn't really decide on a way to do this. There was
some talk on
the wiki but I remember Larry didn't like some of the details I
suggested.
What details? Don't let me stand in your way.
Larry
[Wikipedia-l] To manage your subscription to this list, please go here: http://www.nupedia.com/mailman/listinfo/wikipedia-l
Oh! I don't remember where either.
It sounds like the issue here is how, exactly, a Wikipedia approval process should be designed. We've discussed that on
http://www.wikipedia.com/wiki/Wikipedia_approval_mechanism
but we didn't come to any conclusions.
Isn't it possible to have a finalized, working PHP Wikipedia before we decide this and code it? Seems to me that would be a good idea...
Larry
On Fri, 5 Oct 2001, Magnus Manske wrote:
I was just talking about the "protected" namespaces and how a first group of users would copy a "good" article to an intermediate namespace, then a second group could advance the article to s "stable" namespace or reject it. I forgot the wiki topic, though, sorry. If you remember it, tell me please :)
Magnus
That's the page! Thanks :)
So, you mean, get the PHP Wikipedia running *without* user management, and add that later on? Fine with me, less hacking! (thinking about that, it seems I'm about 80-90% finished, what do you think?)
Magnus
-----Original Message----- From: wikipedia-l-admin@nupedia.com [mailto:wikipedia-l-admin@nupedia.com]On Behalf Of lsanger@nupedia.com Sent: Friday, October 05, 2001 11:53 PM To: wikipedia-l@nupedia.com Subject: RE: [Wikipedia-l] Wikipedia development
Oh! I don't remember where either.
It sounds like the issue here is how, exactly, a Wikipedia approval process should be designed. We've discussed that on
http://www.wikipedia.com/wiki/Wikipedia_approval_mechanism
but we didn't come to any conclusions.
Isn't it possible to have a finalized, working PHP Wikipedia before we decide this and code it? Seems to me that would be a good idea...
Larry
On Fri, 5 Oct 2001, Magnus Manske wrote:
I was just talking about the "protected" namespaces and how a first group of users would copy a "good" article to an intermediate namespace, then a second group could advance the article to s "stable" namespace or reject it. I forgot the wiki topic, though, sorry. If you remember it, tell me please :)
Magnus
[Wikipedia-l] To manage your subscription to this list, please go here: http://www.nupedia.com/mailman/listinfo/wikipedia-l
On Sat, 6 Oct 2001, Magnus Manske wrote:
So, you mean, get the PHP Wikipedia running *without* user management, and add that later on? Fine with me, less hacking! (thinking about that, it seems I'm about 80-90% finished, what do you think?)
Yes, unless "user management" includes details about member pages such as the [[Magnus Manske]] page. I think *that* should work well. Definitely, if the lack of a consensus on a Wikipedia approval mechanism is what's stopping the PHP wiki from being finished, forget about the Wikipdia approval mechanism for now.
Larry
wikipedia-l@lists.wikimedia.org