r920 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r919‎ | r920 | r921 >
Date:10:45, 19 November 2002
Author:eloquence
Status:old
Tags:
Comment:
changed admin page as per Toby's request (link to Administrators page)
fixed LocalSettings, sorry
Modified paths:
  • /trunk/phpwiki/newcodebase/Language.php (modified) (history)
  • /trunk/phpwiki/newcodebase/LocalSettings.php (modified) (history)

Diff [purge]

Index: trunk/phpwiki/newcodebase/LocalSettings.php
@@ -6,23 +6,22 @@
77
88 # URLs for the wiki site
99 #
10 -$wgServer = "http://chesoo.fokus.gmd.de/cvswp";
11 -$wgStyleSheetPath = "$wgServer/stylesheets";
 10+$wgServer = "http://www.myhost.com";
 11+$wgStyleSheetPath = "$wgServer/style";
1212 $wgScript = "/wiki.phtml";
1313 $wgRedirectScript = "/redirect.phtml";
1414 $wgArticlePath = "$wgServer$wgScript?title=$1";
15 -$wgUploadPath = "$wgServer/images";
16 -$wgUploadDirectory = "/var/www/htdocs/cvswp/images";
 15+$wgUploadPath = "http://www.myhost.com/upload";
 16+$wgUploadDirectory = "/usr/local/apache/htdocs/upload";
1717 $wgLogo = "$wgUploadPath/wiki.png";
18 -$wgLanguageCode = "en";
1918
2019 # MySQL settings
2120 #
22 -$wgDBserver = "localhost";
 21+$wgDBserver = "127.0.0.1";
2322 $wgDBname = "wikidb";
24 -$wgDBuser = "nobody";
25 -$wgDBpassword = "suppball";
26 -$wgDBadminpassword = "suppball";
 23+$wgDBuser = "wikiuser";
 24+$wgDBpassword = "userpass";
 25+$wgDBadminpassword = "adminpass";
2726 $wgDBminWordLen = 3;
2827
2928 # Turn this on during database maintenance
@@ -32,7 +31,7 @@
3332 # Turn this on to get HTML debug comments
3433 #
3534 # $wgDebugComments = true;
36 -# $wgDebugLogFile = "/usr/local/apache/htdocs/upload/logfile";
 35+$wgDebugLogFile = "/usr/local/apache/htdocs/upload/logfile";
3736
3837 # Which interwiki prefix represents _this_ wiki? This
3938 # only needs to be set when installing the software on
Index: trunk/phpwiki/newcodebase/Language.php
@@ -433,8 +433,8 @@
434434 "showpreview" => "Show preview",
435435 "blockedtitle" => "User is blocked",
436436 "blockedtext" => "Your user name or IP address has been blocked by $1.
437 -The reason given is this:<br>$2<p>You may contact the administrator to
438 -discuss the block.",
 437+The reason given is this:<br>''$2''<p>You may contact $1 or one of the other
 438+[[Wikipedia:administrators|administrators]] to discuss the block.",
439439 "newarticle" => "(New)",
440440 "newarticletext" => "Put your text for the new page here.",
441441 "noarticletext" => "(There is currently no text in this page)",
@@ -864,7 +864,7 @@
865865
866866 # What links here
867867 #
868 -"whatlinkshere" => "What links here",
 868+"whatlinkshere" => "What links here?",
869869 "notargettitle" => "No target",
870870 "notargettext" => "You have not specified a target page or user
871871 to perform this function on.",

Status & tagging log