Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -1157,7 +1157,7 @@ |
1158 | 1158 | !! input |
1159 | 1159 | [[Image: test]] |
1160 | 1160 | !! result |
1161 | | -<p><a href="https://www.mediawiki.org/wiki/Image:Test" class="image" title="Image: test"><img src="/%7Ewmahan/phase3/images/0/0c/Test" alt="Image: test" /></a> |
| 1161 | +<p><a href="https://www.mediawiki.org/wiki/Image:Test" class="image" title="Image: test"><img src="/images/0/0c/Test" alt="Image: test" /></a> |
1162 | 1162 | </p> |
1163 | 1163 | !! end |
1164 | 1164 | |
— | — | @@ -1166,7 +1166,7 @@ |
1167 | 1167 | !! input |
1168 | 1168 | [[Image:test|right]] |
1169 | 1169 | !! result |
1170 | | -<div class="floatright"><span><a href="https://www.mediawiki.org/wiki/Image:Test" class="image" title="right"><img src="/%7Ewmahan/phase3/images/0/0c/Test" alt="right" /></a></span></div> |
| 1170 | +<div class="floatright"><span><a href="https://www.mediawiki.org/wiki/Image:Test" class="image" title="right"><img src="/images/0/0c/Test" alt="right" /></a></span></div> |
1171 | 1171 | |
1172 | 1172 | !! end |
1173 | 1173 | |
— | — | @@ -1175,7 +1175,7 @@ |
1176 | 1176 | !! input |
1177 | 1177 | [[Image:test|right|Caption text]] |
1178 | 1178 | !! result |
1179 | | -<div class="floatright"><span><a href="https://www.mediawiki.org/wiki/Image:Test" class="image" title="Caption text"><img src="/%7Ewmahan/phase3/images/0/0c/Test" alt="Caption text" /></a></span></div> |
| 1179 | +<div class="floatright"><span><a href="https://www.mediawiki.org/wiki/Image:Test" class="image" title="Caption text"><img src="/images/0/0c/Test" alt="Caption text" /></a></span></div> |
1180 | 1180 | |
1181 | 1181 | !! end |
1182 | 1182 | |
— | — | @@ -1184,7 +1184,7 @@ |
1185 | 1185 | !! input |
1186 | 1186 | [[Image:Foobar.jpg|frame|left|This is a test image [[Main Page]]]] |
1187 | 1187 | !! result |
1188 | | -<div class="thumb tleft"><div style="width:202px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="This is a test image "><img src="/%7Ewmahan/phase3/images/3/3a/Foobar.jpg" alt="This is a test image " width="200" height="200" /></a> <div class="thumbcaption" >This is a test image <a href="https://www.mediawiki.org/wiki/Main_Page" title="Main Page">Main Page</a></div></div></div> |
| 1188 | +<div class="thumb tleft"><div style="width:202px;"><a href="https://www.mediawiki.org/wiki/Image:Foobar.jpg" class="internal" title="This is a test image "><img src="/images/3/3a/Foobar.jpg" alt="This is a test image " width="200" height="200" /></a> <div class="thumbcaption" >This is a test image <a href="https://www.mediawiki.org/wiki/Main_Page" title="Main Page">Main Page</a></div></div></div> |
1189 | 1189 | |
1190 | 1190 | !! end |
1191 | 1191 | |
Index: trunk/phase3/maintenance/parserTests.php |
— | — | @@ -257,6 +257,7 @@ |
258 | 258 | 'wgScript' => '/index.php', |
259 | 259 | 'wgScriptPath' => '/', |
260 | 260 | 'wgArticlePath' => '/wiki/$1', |
| 261 | + 'wgUploadPath' => '/images', |
261 | 262 | 'wgSitename' => 'MediaWiki', |
262 | 263 | 'wgLanguageCode' => 'en', |
263 | 264 | 'wgUseLatin1' => false, |