dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2913e
)
Don't print out username and password, that's just rude.
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 11 Aug 2004 09:45:17 +0000
(09:45 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 11 Aug 2004 09:45:17 +0000
(09:45 +0000)
Instead print an explanation of the file's purpose.
maintenance/trivialCmdLine.php
patch
|
blob
|
history
diff --git
a/maintenance/trivialCmdLine.php
b/maintenance/trivialCmdLine.php
index
321e86e
..
82f23dd
100644
(file)
--- a/
maintenance/trivialCmdLine.php
+++ b/
maintenance/trivialCmdLine.php
@@
-1,8
+1,11
@@
<?php
+
require_once( "commandLine.inc" );
-print "DB name: $wgDBname\n";
-print "DB user: $wgDBuser\n";
-print "DB password: $wgDBpassword\n";
+# print "DB name: $wgDBname\n";
+# print "DB user: $wgDBuser\n";
+# print "DB password: $wgDBpassword\n";
+
+print "This is an example command-line maintenance script.\n";
$dbr =& wfGetDB( DB_SLAVE );
$cur = $dbr->tableName( 'cur' );