Index: branches/wmf/1.18wmf1/includes/Title.php |
— | — | @@ -855,7 +855,7 @@ |
856 | 856 | |
857 | 857 | // Ugly quick hack to avoid duplicate prefixes (bug 4571 etc) |
858 | 858 | // Correct fix would be to move the prepending elsewhere. |
859 | | - if ( $wgRequest->getVal( 'action' ) != 'render' ) { |
| 859 | + if ( $wgRequest->getVal( 'action' ) != 'render' && $wgRequest->getVal( 'action' ) != 'parse' ) { |
860 | 860 | $url = $wgServer . $url; |
861 | 861 | } |
862 | 862 | } else { |
Property changes on: branches/wmf/1.18wmf1/includes/Title.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
863 | 863 | Merged /branches/wmf/1.17wmf1/includes/Title.php:r98308 |
Index: branches/wmf/1.18wmf1/includes/parser/ParserCache.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | |
50 | 50 | // idhash seem to mean 'page id' + 'rendering hash' (r3710) |
51 | 51 | $pageid = $article->getID(); |
52 | | - $renderkey = (int)($wgRequest->getVal('action') == 'render') + 2*(int)($wgRequest->getVal('action') == 'parse'); |
| 52 | + $renderkey = (int)($wgRequest->getVal('action') == 'render') + 3*(int)($wgRequest->getVal('action') == 'parse'); |
53 | 53 | |
54 | 54 | $key = wfMemcKey( 'pcache', 'idhash', "{$pageid}-{$renderkey}!{$hash}" ); |
55 | 55 | return $key; |