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
WikiPage: Update comments related to new PreparedEdit object
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialRedirect.php
diff --git
a/includes/specials/SpecialRedirect.php
b/includes/specials/SpecialRedirect.php
index
80dc797
..
3273046
100644
(file)
--- a/
includes/specials/SpecialRedirect.php
+++ b/
includes/specials/SpecialRedirect.php
@@
-33,16
+33,18
@@
class SpecialRedirect extends FormSpecialPage {
/**
* The type of the redirect (user/file/revision)
*
/**
* The type of the redirect (user/file/revision)
*
+ * Example value: `'user'`
+ *
* @var string $mType
* @var string $mType
- * @example 'user'
*/
protected $mType;
/**
* The identifier/value for the redirect (which id, which file)
*
*/
protected $mType;
/**
* The identifier/value for the redirect (which id, which file)
*
+ * Example value: `'42'`
+ *
* @var string $mValue
* @var string $mValue
- * @example '42'
*/
protected $mValue;
*/
protected $mValue;
@@
-182,7
+184,7
@@
class SpecialRedirect extends FormSpecialPage {
'log_user_text',
];
'log_user_text',
];
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
// Gets the nested SQL statement which
// returns timestamp of the log with the given log ID
// Gets the nested SQL statement which
// returns timestamp of the log with the given log ID