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 "Provide RequestContext from fixDoubleRedirects"
[lhc/web/wiklou.git]
/
maintenance
/
fixDoubleRedirects.php
diff --git
a/maintenance/fixDoubleRedirects.php
b/maintenance/fixDoubleRedirects.php
index
b5dc1e3
..
41458d1
100644
(file)
--- a/
maintenance/fixDoubleRedirects.php
+++ b/
maintenance/fixDoubleRedirects.php
@@
-94,6
+94,7
@@
class FixDoubleRedirects extends Maintenance {
foreach ( $res as $row ) {
$titleA = Title::makeTitle( $row->pa_namespace, $row->pa_title );
$titleB = Title::makeTitle( $row->pb_namespace, $row->pb_title );
+ RequestContext::getMain()->setTitle( $titleA );
$processedTitles .= "* [[$titleA]]\n";