<a href="/wiki/Category:MediaWiki_User%27s_Guide" title="Category:MediaWiki User's Guide">MediaWiki User's Guide</a>
!! end
+!! test
+PAGESINCATEGORY invalid title fatal (r33546 fix)
+!! input
+{{PAGESINCATEGORY:<bogus>}}
+!! result
+<p>0
+</p>
+!! end
+
###
### Inter-language links
###
!! input
[[:Image:No such.jpg]]
!! result
-<p><a href="/index.php?title=Image:No_such.jpg&action=edit&redlink=1" class="new" title="No such.jpg (not yet written)">Image:No such.jpg</a>
+<p><a href="/index.php?title=Image:No_such.jpg&action=edit&redlink=1" class="new" title="Image:No such.jpg (not yet written)">Image:No such.jpg</a>
</p>
!! end
xxx
!! end
+!! test
+Section replacement test with initial whitespace (bug 13728)
+!! options
+replace=2,"xxx"
+!! input
+ Preformatted initial line
+==a==
+===a===
+!! result
+ Preformatted initial line
+==a==
+xxx
+!! end
+
!! test
Section extraction, heading followed by pre with 20 spaces (bug 6398)