Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1072,10 +1072,10 @@ |
1073 | 1073 | |
1074 | 1074 | /** |
1075 | 1075 | * return from error messages or notes |
1076 | | - * @param $auto automatically redirect the user after 10 seconds |
| 1076 | + * @param $unused No longer used |
1077 | 1077 | * @param $returnto page title to return to. Default is Main Page. |
1078 | 1078 | */ |
1079 | | - public function returnToMain( $auto = true, $returnto = NULL ) { |
| 1079 | + public function returnToMain( $unused = null, $returnto = NULL ) { |
1080 | 1080 | global $wgUser, $wgOut, $wgRequest; |
1081 | 1081 | |
1082 | 1082 | if ( $returnto == NULL ) { |
— | — | @@ -1099,9 +1099,6 @@ |
1100 | 1100 | $link = $sk->makeLinkObj( $titleObj, '' ); |
1101 | 1101 | |
1102 | 1102 | $r = wfMsg( 'returnto', $link ); |
1103 | | - if ( $auto ) { |
1104 | | - $wgOut->addMeta( 'http:Refresh', '10;url=' . $titleObj->escapeFullURL() ); |
1105 | | - } |
1106 | 1103 | $wgOut->addHTML( "\n<p>$r</p>\n" ); |
1107 | 1104 | } |
1108 | 1105 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -130,6 +130,7 @@ |
131 | 131 | prevents page editing |
132 | 132 | * (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no" |
133 | 133 | * Allow showing a one-off preview on first edit with "preview=yes" |
| 134 | +* (bug 9151) Remove timed redirects on "Return to X" pages for accessibility. |
134 | 135 | |
135 | 136 | == Bugfixes since 1.10 == |
136 | 137 | |