Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Starting trunk/ based on a MW 1.13 version
Browse files Browse the repository at this point in the history
Trunk should be always "ready to run". Every change commited here will be pushed live next Tuesday.


git-svn-id: svn+ssh://svn.wikia-code.com/svn/wikia/trunk@1210 e846bd91-c042-42a7-a218-4b65e2c1904d
  • Loading branch information
emil committed Aug 26, 2008
0 parents commit cf58c10
Show file tree
Hide file tree
Showing 9,444 changed files with 2,132,812 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
27 changes: 27 additions & 0 deletions AdminSettings.sample
@@ -0,0 +1,27 @@
<?php
/**
* This file should be copied to AdminSettings.php, and modified
* to reflect local settings. It is required for the maintenance
* scripts which run on the command line, as an extra security
* measure to allow using a separate user account with higher
* privileges to do maintenance work.
*
* Developers: Do not check AdminSettings.php into Subversion
*/

/*
* This data is used by all database maintenance scripts
* (see directory maintenance/). The SQL user MUST BE
* MANUALLY CREATED or set to an existing user with
* necessary permissions.
*
* This is not to be confused with sysop accounts for the
* wiki.
*/
$wgDBadminuser = 'wikiadmin';
$wgDBadminpassword = 'adminpass';

/*
* Whether to enable the profileinfo.php script.
*/
$wgEnableProfileInfo = false;
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions FAQ
@@ -0,0 +1,5 @@
The original MediaWiki FAQ can be found at
http://meta.wikimedia.org/wiki/MediaWiki_FAQ.

A newer version is available at
http://www.mediawiki.org/wiki/Manual:FAQ.
5,666 changes: 5,666 additions & 0 deletions HISTORY

Large diffs are not rendered by default.

99 changes: 99 additions & 0 deletions INSTALL
@@ -0,0 +1,99 @@
---
Installing MediaWiki
---

Starting with MediaWiki 1.2.0, it's possible to install and configure the wiki
"in-place", as long as you have the necessary prerequisites available.

Required software:
* Web server with PHP 5.x or higher.
* A MySQL server, 4.0.14 or higher OR a Postgres server, 8.1 or higher

MediaWiki is developed and tested mainly on Unix/Linux platforms, but should
work on Windows as well.

If your PHP is configured as a CGI plug-in rather than an Apache module you may
experience problems, as this configuration is not well tested. safe_mode is also
not tested and unlikely to work.

If you want math support see the instructions in math/README

Don't forget to check the RELEASE-NOTES file...


Additional documentation is available online, which may include more detailed
notes on particular operating systems and workarounds for difficult hosting
environments:

http://www.mediawiki.org/wiki/Manual:Installation_guide


******************* WARNING *******************

REMEMBER: ALWAYS BACK UP YOUR DATABASE BEFORE
ATTEMPTING TO INSTALL OR UPGRADE!!!

******************* WARNING *******************

----
In-place web install
----

Decompress the MediaWiki installation archive either on your server, or on your
local machine and upload the directory tree. Rename it from "mediawiki-1.x.x" to
something nice, like "wiki", since it'll be in your URL.

+--------------------------------------------------------------------------+
| Hint: If you plan to use a fancy URL-rewriting scheme to prettify your |
| URLs, you should put the files in a *different* directory from the |
| virtual path where page names will appear. |
| |
| See: http://www.mediawiki.org/wiki/Manual:Short_URL |
+--------------------------------------------------------------------------+

To run the install script, you'll need to temporarily make the 'config'
subdirectory writable by the web server. The simplest way to do this on a
Unix/Linux system is to make it world-writable:

chmod a+w config

Hop into your browser and surf into the wiki directory. It'll direct you into
the config script. Fill out the form... remember you're probably not on an
encrypted connection.
Gaaah! :)

If all goes well, you should soon be told that it's set up your wiki database
and written a configuration file. There should now be a 'LocalSettings.php' in
the config directory; move it back up to the main wiki directory, and the wiki
should now be working.

+-------------------------------------------------------------------------+
| Security hint: if you have limited access on your server and cannot |
| change ownership of files, you might want to *copy* instead of *move* |
| LocalSettings.php. |
| |
| This will make the file owned by your user account instead of by |
| the web server, which is safer in case another user's account is |
| compromised. |
+-------------------------------------------------------------------------+

Once the wiki is set up, you should remove the config directory, or at least
make it not world-writable (though it will refuse to config again if the wiki
is set up).


----

Don't forget that this is free software under development! Chances are good
there's a crucial step that hasn't made it into the documentation. You should
probably sign up for the MediaWiki developers' mailing list; you can ask for
help (please provide enough information to work with, and preferably be aware of
what you're doing!) and keep track of major changes to the software, including
performance improvements and security patches.

http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce (low traffic)

http://lists.wikimedia.org/mailman/listinfo/mediawiki-l (site admin support)

http://lists.wikimedia.org/mailman/listinfo/wikitech-l (development)

28 changes: 28 additions & 0 deletions Makefile
@@ -0,0 +1,28 @@
#
# This Makefile is used to test some MediaWiki functions. If you
# want to install MediaWiki, point your browser to ./config/
#

# Configuration:
PROVE_BIN="prove"

# Describe our tests:
BASE_TEST=$(wildcard t/*.t)
INCLUDES_TESTS=$(wildcard t/inc/*t)
MAINTENANCE_TESTS=$(wildcard t/maint/*t)

# Build groups:
FAST_TESTS=$(BASE_TEST) $(INCLUDES_TESTS)
ALL_TESTS=$(BASE_TEST) $(INCLUDES_TESTS) $(MAINTENANCE_TESTS)

test: t/Test.php
$(PROVE_BIN) $(ALL_TESTS)

fast: t/Test.php
$(PROVE_BIN) $(FAST_TESTS)

maint:
$(PROVE_BIN) $(MAINTENANCE_TESTS)

verbose: t/Test.php
$(PROVE_BIN) -v $(ALL_TESTS) | egrep -v '^ok'
103 changes: 103 additions & 0 deletions README
@@ -0,0 +1,103 @@
2007-09-15

For system requirements, installation and upgrade details, see the files RELEASE-NOTES,
INSTALL, and UPGRADE.

== MediaWiki ==

MediaWiki is the software used for Wikipedia [http://www.wikipedia.org/] and the
other Wikimedia Foundation websites. Compared to other wikis, it has an
excellent range of features and support for high-traffic websites using
multiple servers (Wikimedia sites peak in the 50000+ requests per second range
as of January 2008).

While quite usable on smaller sites, you may find you have to "roll your own"
local documentation, and some aspects of configuration may seem overcomplicated
because MediaWiki is primarily targeted as an in-house tool.

The MediaWiki software was written by:
* Lee Daniel Crocker
* Magnus Manske
* Jan Hidders
* Brion Vibber
* Axel Boldt
* Geoffrey T. Dairiki
* Tomasz Wegrzanowski
* Erik Moeller
* Tim Starling
* Gabriel Wicke
* Ashar Voultoiz
* Evan Prodromou
* Ævar Arnfjörð Bjarmason
* Niklas Laxström
* Domas Mituzas
* Rob Church
* Jens Frank
* Several others

The contributors hold the copyright to this work, and it is licensed
under the terms of the GNU General Public License, version 2 or later[1]
(see http://www.fsf.org/licenses/gpl.html). Derivative works and later
versions of the code must be free software licensed under the same
terms. This includes "extensions" that use MediaWiki functions or
variables; see http://www.gnu.org/licenses/gpl-faq.html#GPLAndPlugins
for details.

The Wikimedia Foundation currently has no legal rights to the software.

[1] Sections of code written exclusively by Lee Crocker or Erik Moeller are
also released into the public domain, which does not impair the obligations of
users under the GPL for use of the whole code or other sections thereof.

[2] MediaWiki makes use of the Sajax Toolkit by modernmethod,
http://www.modernmethod.com/sajax/
which has the following license:

'This work is licensed under the Creative Commons Attribution
License. To view a copy of this license, visit
http://creativecommons.org/licenses/by/2.0/ or send a letter
to Creative Commons, 559 Nathan Abbott Way,
Stanford, California 94305, USA.'

Many thanks to the Wikimedia regulars for testing and suggestions.

The official website for MediaWiki is located at:

http://www.mediawiki.org/

The code is currently maintained in a Subversion repository
at svn.wikimedia.org. See http://www.mediawiki.org/wiki/Subversion
for details.

Please report bugs and make feature requests in our Bugzilla system:

http://bugzilla.wikimedia.org/

Documentation and discussion on new features may be found at:

http://www.mediawiki.org/wiki/Manual:FAQ
http://www.mediawiki.org/wiki/Documentation
http://www.mediawiki.org/wiki/Development

Extensions are listed at:

http://www.mediawiki.org/wiki/Category:Extensions

If you are setting up your own wiki based on this software, it is highly
recommended that you subscribe to mediawiki-announce:

http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce

The mailing list is very low volume, and is intended primarily for
announcements of new versions, bug fixes, and security issues.

A higher volume support mailing list can be found at:

http://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Developer discussion takes place at:

http://lists.wikimedia.org/mailman/listinfo/wikitech-l

There is also a development and support channel #mediawiki on
irc.freenode.net, and an unoffical support forum at www.mwusers.com.

0 comments on commit cf58c10

Please sign in to comment.