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:
e92342b
)
(bug 50025) rebuildall.php script needs database admin rights
author
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Tue, 25 Jun 2013 06:14:20 +0000
(08:14 +0200)
committer
Krinkle
<krinklemail@gmail.com>
Tue, 25 Jun 2013 07:24:13 +0000
(07:24 +0000)
It calls rebuildtextindex.php, which use the ALTER command.
Bug: 50025
Change-Id: Ifbd1d1d1d9c0d6f53ce13b92d94824beee67963f
maintenance/rebuildall.php
patch
|
blob
|
history
diff --git
a/maintenance/rebuildall.php
b/maintenance/rebuildall.php
index
54444e9
..
1268d20
100644
(file)
--- a/
maintenance/rebuildall.php
+++ b/
maintenance/rebuildall.php
@@
-35,6
+35,10
@@
class RebuildAll extends Maintenance {
$this->mDescription = "Rebuild links, text index and recent changes";
}
+ public function getDbType() {
+ return Maintenance::DB_ADMIN;
+ }
+
public function execute() {
// Rebuild the text index
if ( wfGetDB( DB_SLAVE )->getType() != 'postgres' ) {