diff options
author | Tim Harder <radhermit@gentoo.org> | 2010-10-24 19:27:20 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2010-10-24 19:27:20 +0000 |
commit | 46a7320e8cf190f3cc87e28c3bf974638432538e (patch) | |
tree | 0b0c977332d42639bd745005e91e7924c7821b13 /www-apps/mediawiki/files | |
parent | Remove old versions (diff) | |
download | gentoo-2-46a7320e8cf190f3cc87e28c3bf974638432538e.tar.gz gentoo-2-46a7320e8cf190f3cc87e28c3bf974638432538e.tar.bz2 gentoo-2-46a7320e8cf190f3cc87e28c3bf974638432538e.zip |
Remove old versions and patches.
(Portage version: 2.2_rc98/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/mediawiki/files')
-rw-r--r-- | www-apps/mediawiki/files/access_restrict.patch | 21 | ||||
-rw-r--r-- | www-apps/mediawiki/files/access_restrict_1.12.0.patch | 21 | ||||
-rw-r--r-- | www-apps/mediawiki/files/jobindexlength-mysql.patch | 9 | ||||
-rw-r--r-- | www-apps/mediawiki/files/postinstall-1.11-en.txt | 72 |
4 files changed, 0 insertions, 123 deletions
diff --git a/www-apps/mediawiki/files/access_restrict.patch b/www-apps/mediawiki/files/access_restrict.patch deleted file mode 100644 index c4db4eec99a3..000000000000 --- a/www-apps/mediawiki/files/access_restrict.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- mediawiki-1.8.2/config/index.php.orig 2006-12-11 13:44:52.000000000 +0200 -+++ mediawiki-1.8.2/config/index.php 2006-12-11 13:45:22.000000000 +0200 -@@ -1451,6 +1451,18 @@ - # sure that cached pages are cleared. - \$configdate = gmdate( 'YmdHis', @filemtime( __FILE__ ) ); - \$wgCacheEpoch = max( \$wgCacheEpoch, \$configdate ); -+ -+# Added by Gentoo Developer Philippe Trottier <tchiwam@gentoo.org> -+# This will make the access by default very restricted. This is not supported -+# by mediawiki themself. Here I make a very gross assumtion that everyone will install in english 1st. -+# Please read http://meta.wikimedia.org/wiki/Preventing_Access before filing bug reports -+# -+\$wgGroupPermissions['*']['createaccount'] = false; -+\$wgGroupPermissions['*']['edit'] = false; -+\$wgWhitelistRead = array( \"Main Page\", \"Special:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" ); -+# \$wgWhitelistRead = array( \"Hauptseite\", \"Spezial:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" ); -+# \$wgWhitelistRead = array( \"Pagina principale\", \"Speciale:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" ); -+\$wgGroupPermissions['*']['read'] = false; - "; ## End of setting the $localsettings string - - // Keep things in Unix line endings internally; diff --git a/www-apps/mediawiki/files/access_restrict_1.12.0.patch b/www-apps/mediawiki/files/access_restrict_1.12.0.patch deleted file mode 100644 index ccf68b636942..000000000000 --- a/www-apps/mediawiki/files/access_restrict_1.12.0.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- mediawiki-1.12.0/config/index.php.orig 2008-03-20 23:08:49.000000000 +0100 -+++ mediawiki-1.12.0/config/index.php 2008-05-12 19:57:05.000000000 +0200 -@@ -1692,6 +1692,18 @@ - # When you make changes to this configuration file, this will make - # sure that cached pages are cleared. - \$wgCacheEpoch = max( \$wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) ); -+ -+# Added by Gentoo Developer Philippe Trottier <tchiwam@gentoo.org> -+# This will make the access by default very restricted. This is not supported -+# by mediawiki themself. Here I make a very gross assumtion that everyone will install in english 1st. -+# Please read http://meta.wikimedia.org/wiki/Preventing_Access before filing bug reports -+# -+\$wgGroupPermissions['*']['createaccount'] = false; -+\$wgGroupPermissions['*']['edit'] = false; -+\$wgWhitelistRead = array( \"Main Page\", \"Special:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" ); -+# \$wgWhitelistRead = array( \"Hauptseite\", \"Spezial:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" ); -+# \$wgWhitelistRead = array( \"Pagina principale\", \"Speciale:Userlogin\", \"-\", \"MediaWiki:Monobook.css\" ); -+\$wgGroupPermissions['*']['read'] = false; - "; ## End of setting the $localsettings string - - // Keep things in Unix line endings internally; diff --git a/www-apps/mediawiki/files/jobindexlength-mysql.patch b/www-apps/mediawiki/files/jobindexlength-mysql.patch deleted file mode 100644 index ad61803eee0e..000000000000 --- a/www-apps/mediawiki/files/jobindexlength-mysql.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- mediawiki-1.7.1/maintenance/archives/patch-job.sql.orig 2006-12-11 12:41:04.000000000 +0200 -+++ mediawiki-1.7.1/maintenance/archives/patch-job.sql 2006-12-11 12:41:17.000000000 +0200 -@@ -16,5 +16,5 @@ - job_params blob NOT NULL default '', - - PRIMARY KEY job_id (job_id), -- KEY (job_cmd, job_namespace, job_title) -+ KEY (job_cmd(128), job_namespace, job_title(128)) - ) TYPE=InnoDB; diff --git a/www-apps/mediawiki/files/postinstall-1.11-en.txt b/www-apps/mediawiki/files/postinstall-1.11-en.txt deleted file mode 100644 index 375599e1ad99..000000000000 --- a/www-apps/mediawiki/files/postinstall-1.11-en.txt +++ /dev/null @@ -1,72 +0,0 @@ -1. Completing setup: - -To complete installation cd into the MediaWiki install location, but -make sure to start mysql first. - -$ /etc/init.d/mysql start -$ cd ${MY_INSTALLDIR} - -Then temporarily make the MediaWiki /config directory writable -to the user the web server is running as. The quickest way is -to make the directory world writable. For example: - -$ chmod a+w config - -Then access it via a web browser, for example: - -lynx http://${VHOST_HOSTNAME}${VHOST_APPDIR}/config/ - -2. After setup move the newly created LocalSettings.php from the config/ -directory to the main mediawiki directory, for example: - -$ mv config/LocalSettings.php . - -Remember to restore safe permissions to the MediaWiki config/ and -LocalSettings.php (which contains clear-text passwords). - -$ chmod a-w config -$ chmod ug=r,o= LocalSettings.php -$ chown root:apache LocalSettings.php - -After these steps MediaWiki should be accesable at -http://${VHOST_HOSTNAME}${VHOST_APPDIR}/ - -3. Enabling Optional Features: - -If you wish to enable image uploads then you must manually edit the -LocalSettings.php file to uncomment the \$wgEnableUploads line. -If MediaWiki was built with the imagemagick USE-flag the directory -permissions are correct, otherwise you must install ImageMagick and -also adjust permissions on the images directory to allow the server -to write. For example: - -$ chown apache:apache ${MY_INSTALLDIR}/images - -Math Support: - -If you wish to enable the math support then you must manually edit" -the LocalSettings.php file to uncomment the \$wgUseTeX line. -MediaWiki must have been built with the math USE-flag enabled or the -necessary support executable will not be present. -You may also have to execute - -$ texconfig dvips printcmd - - -if you have not configured tetex before. - - -4. Things you need to have on the server: - -- SQL database of your choice and support for that database compiled in PHP -We check for required PHP features for mysql and postgres use flags in the ebuild; -you are on your own if you are using a different kind of DB backend. -- dev-php/PEAR-Mail is needed for using external smtp server. - -These are not installed as dependencies since it is possible to run the database -and other services on other machines. - -It is very important that you follow all the major versions upgrade instructions -from the mediawiki.org web page - http://www.mediawiki.org/wiki/Manual:Upgrading - -Do not, I repeat, do not assume that we can upgrade from version to version just -like this. Make backups before upgrading. |