dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "feedback: Fix misplaced mw.Title.getNameText() call"
[lhc/web/wiklou.git]
/
maintenance
/
edit.php
diff --git
a/maintenance/edit.php
b/maintenance/edit.php
index
eb03b38
..
3609cf2
100644
(file)
--- a/
maintenance/edit.php
+++ b/
maintenance/edit.php
@@
-21,7
+21,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-use MediaWiki\
Storage
\SlotRecord;
+use MediaWiki\
Revision
\SlotRecord;
require_once __DIR__ . '/Maintenance.php';
require_once __DIR__ . '/Maintenance.php';
@@
-71,7
+71,7
@@
class EditCLI extends Maintenance {
$wgUser->addToDatabase();
}
$wgUser->addToDatabase();
}
- $title = Title::newFromText( $this->getArg() );
+ $title = Title::newFromText( $this->getArg(
0
) );
if ( !$title ) {
$this->fatalError( "Invalid title" );
}
if ( !$title ) {
$this->fatalError( "Invalid title" );
}