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:
ff903a4
)
Fix child class visibility
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 10 Mar 2010 12:59:44 +0000
(12:59 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 10 Mar 2010 12:59:44 +0000
(12:59 +0000)
12 files changed:
maintenance/addwiki.php
patch
|
blob
|
history
maintenance/checkSyntax.php
patch
|
blob
|
history
maintenance/commandLine.inc
patch
|
blob
|
history
maintenance/findhooks.php
patch
|
blob
|
history
maintenance/patchSql.php
patch
|
blob
|
history
maintenance/rebuildtextindex.php
patch
|
blob
|
history
maintenance/renameDbPrefix.php
patch
|
blob
|
history
maintenance/renamewiki.php
patch
|
blob
|
history
maintenance/runBatchedQuery.php
patch
|
blob
|
history
maintenance/sql.php
patch
|
blob
|
history
maintenance/sqlite.php
patch
|
blob
|
history
maintenance/updateSearchIndex.php
patch
|
blob
|
history
diff --git
a/maintenance/addwiki.php
b/maintenance/addwiki.php
index
dcce8f4
..
1aba977
100644
(file)
--- a/
maintenance/addwiki.php
+++ b/
maintenance/addwiki.php
@@
-38,7
+38,7
@@
class AddWiki extends Maintenance {
$this->addArg( 'dbname', 'Name of database to create' );
}
$this->addArg( 'dbname', 'Name of database to create' );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
return Maintenance::DB_ADMIN;
}
diff --git
a/maintenance/checkSyntax.php
b/maintenance/checkSyntax.php
index
54f84f9
..
cf1b262
100644
(file)
--- a/
maintenance/checkSyntax.php
+++ b/
maintenance/checkSyntax.php
@@
-39,7
+39,7
@@
class CheckSyntax extends Maintenance {
$this->addOption( 'syntax-only', 'Check for syntax validity only, skip code style warnings' );
}
$this->addOption( 'syntax-only', 'Check for syntax validity only, skip code style warnings' );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_NONE;
}
return Maintenance::DB_NONE;
}
diff --git
a/maintenance/commandLine.inc
b/maintenance/commandLine.inc
index
ab7c0a8
..
332527b
100644
(file)
--- a/
maintenance/commandLine.inc
+++ b/
maintenance/commandLine.inc
@@
-18,7
+18,7
@@
class CommandLineInc extends Maintenance {
}
}
}
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
global $wgUseNormalUser;
return ( isset( $wgUseNormalUser ) && $wgUseNormalUser ) ?
global $wgUseNormalUser;
return ( isset( $wgUseNormalUser ) && $wgUseNormalUser ) ?
diff --git
a/maintenance/findhooks.php
b/maintenance/findhooks.php
index
c7b7a0d
..
13236b6
100644
(file)
--- a/
maintenance/findhooks.php
+++ b/
maintenance/findhooks.php
@@
-43,7
+43,7
@@
class FindHooks extends Maintenance {
$this->addOption( 'online', 'Check against mediawiki.org hook documentation' );
}
$this->addOption( 'online', 'Check against mediawiki.org hook documentation' );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_NONE;
}
return Maintenance::DB_NONE;
}
diff --git
a/maintenance/patchSql.php
b/maintenance/patchSql.php
index
6071323
..
0aee36f
100644
(file)
--- a/
maintenance/patchSql.php
+++ b/
maintenance/patchSql.php
@@
-30,7
+30,7
@@
class PatchSql extends Maintenance {
$this->addArg( 'patch-name', 'Name of the patch file, either full path or in maintenance/archives' );
}
$this->addArg( 'patch-name', 'Name of the patch file, either full path or in maintenance/archives' );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
return Maintenance::DB_ADMIN;
}
diff --git
a/maintenance/rebuildtextindex.php
b/maintenance/rebuildtextindex.php
index
03fa897
..
4521c6f
100644
(file)
--- a/
maintenance/rebuildtextindex.php
+++ b/
maintenance/rebuildtextindex.php
@@
-35,7
+35,7
@@
class RebuildTextIndex extends Maintenance {
$this->mDescription = "Rebuild search index table from scratch";
}
$this->mDescription = "Rebuild search index table from scratch";
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
return Maintenance::DB_ADMIN;
}
diff --git
a/maintenance/renameDbPrefix.php
b/maintenance/renameDbPrefix.php
index
daf79fc
..
f73db50
100644
(file)
--- a/
maintenance/renameDbPrefix.php
+++ b/
maintenance/renameDbPrefix.php
@@
-30,7
+30,7
@@
class RenameDbPrefix extends Maintenance {
$this->addOption( "new", "New db prefix [0 for none]", true, true );
}
$this->addOption( "new", "New db prefix [0 for none]", true, true );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
return Maintenance::DB_ADMIN;
}
diff --git
a/maintenance/renamewiki.php
b/maintenance/renamewiki.php
index
5751aea
..
36437be
100644
(file)
--- a/
maintenance/renamewiki.php
+++ b/
maintenance/renamewiki.php
@@
-33,7
+33,7
@@
class RenameWiki extends Maintenance {
$this->addArg( 'newdb', 'New DB name' );
}
$this->addArg( 'newdb', 'New DB name' );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
return Maintenance::DB_ADMIN;
}
diff --git
a/maintenance/runBatchedQuery.php
b/maintenance/runBatchedQuery.php
index
0a113cc
..
03c56aa
100644
(file)
--- a/
maintenance/runBatchedQuery.php
+++ b/
maintenance/runBatchedQuery.php
@@
-50,7
+50,7
@@
class BatchedQueryRunner extends Maintenance {
} while ( $affected > 0 );
}
} while ( $affected > 0 );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
}
return Maintenance::DB_ADMIN;
}
}
diff --git
a/maintenance/sql.php
b/maintenance/sql.php
index
cceec00
..
fd4be19
100644
(file)
--- a/
maintenance/sql.php
+++ b/
maintenance/sql.php
@@
-70,7
+70,7
@@
class MwSql extends Maintenance {
}
}
}
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
}
return Maintenance::DB_ADMIN;
}
}
diff --git
a/maintenance/sqlite.php
b/maintenance/sqlite.php
index
5b856b4
..
8886fe7
100644
(file)
--- a/
maintenance/sqlite.php
+++ b/
maintenance/sqlite.php
@@
-35,7
+35,7
@@
class SqliteMaintenance extends Maintenance {
* While we use database connection, this simple lie prevents useless --dbpass and
* --dbuser options from appearing in help message for this script.
*/
* While we use database connection, this simple lie prevents useless --dbpass and
* --dbuser options from appearing in help message for this script.
*/
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_NONE;
}
return Maintenance::DB_NONE;
}
diff --git
a/maintenance/updateSearchIndex.php
b/maintenance/updateSearchIndex.php
index
6bb290f
..
152ce1b
100644
(file)
--- a/
maintenance/updateSearchIndex.php
+++ b/
maintenance/updateSearchIndex.php
@@
-40,7
+40,7
@@
class UpdateSearchIndex extends Maintenance {
$this->addOption( 'l', 'How long the searchindex and revision tables will be locked for', false, true );
}
$this->addOption( 'l', 'How long the searchindex and revision tables will be locked for', false, true );
}
- p
rotected
function getDbType() {
+ p
ublic
function getDbType() {
return Maintenance::DB_ADMIN;
}
return Maintenance::DB_ADMIN;
}