This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4,610 changed files
with
917,711 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?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 | ||
* | ||
* @package MediaWiki | ||
*/ | ||
|
||
/* | ||
* 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 = ''; | ||
$wgDBadminpassword = ''; | ||
|
||
/* | ||
* Whether to enable the profileinfo.php script. | ||
*/ | ||
$wgEnableProfileInfo = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?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 | ||
* | ||
* @package MediaWiki | ||
*/ | ||
|
||
/* | ||
* 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; | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/Help:FAQ. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
--- | ||
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://meta.wikimedia.org/wiki/Help:Installation | ||
|
||
|
||
********************** 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://meta.wikimedia.org/wiki/Rewrite_rules | | ||
+-----------------------------------------------------------+ | ||
|
||
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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# This Makefile is used to test some MediaWiki functions. If you | ||
# want to install MediaWiki, point your browser to ./config/ | ||
# | ||
test: Test.php | ||
prove -r t | ||
|
||
verbose: | ||
prove -v -r t | egrep -v '^ok' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
2006-04-05 | ||
|
||
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 5000+ requests per second range | ||
as of November 2005). | ||
|
||
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/Help:FAQ | ||
http://www.mediawiki.org/wiki/Documentation | ||
http://www.mediawiki.org/wiki/Development | ||
|
||
Extensions are listed at: | ||
|
||
http://meta.wikimedia.org/wiki/Category:MediaWiki_extensions | ||
|
||
If you are setting up your own wiki based on this software, it is highly | ||
recommended that you subscribe to mediawiki-announce: | ||
|
||
http://mail.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://mail.wikimedia.org/mailman/listinfo/mediawiki-l | ||
|
||
Developer discussion takes place at: | ||
|
||
http://mail.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. |
Oops, something went wrong.