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 "mw.Upload.BookletLayout: Better handle error messages from AbuseFilter and...
[lhc/web/wiklou.git]
/
includes
/
jobqueue
/
jobs
/
DoubleRedirectJob.php
diff --git
a/includes/jobqueue/jobs/DoubleRedirectJob.php
b/includes/jobqueue/jobs/DoubleRedirectJob.php
index
c6d8ec5
..
3cd3448
100644
(file)
--- a/
includes/jobqueue/jobs/DoubleRedirectJob.php
+++ b/
includes/jobqueue/jobs/DoubleRedirectJob.php
@@
-179,7
+179,8
@@
class DoubleRedirectJob extends Job {
*
* @param Title $title
*
*
* @param Title $title
*
- * @return bool If the specified title is not a redirect, or if it is a circular redirect
+ * @return Title|bool The final Title after following all redirects, or false if
+ * the page is not a redirect or the redirect loops.
*/
public static function getFinalDestination( $title ) {
$dbw = wfGetDB( DB_MASTER );
*/
public static function getFinalDestination( $title ) {
$dbw = wfGetDB( DB_MASTER );