Index: trunk/extensions/SemanticForms/includes/SF_FormLinker.php |
— | — | @@ -317,6 +317,14 @@ |
318 | 318 | return $default_forms; |
319 | 319 | } |
320 | 320 | } |
| 321 | + |
| 322 | + // All that's left is checking for the namespace. If this is |
| 323 | + // a subpage, exit out - default forms for namespaces don't |
| 324 | + // apply to subpages. |
| 325 | + if ( $title->isSubpage() ) { |
| 326 | + return array(); |
| 327 | + } |
| 328 | + |
321 | 329 | // If we're still here, just return the default form for the |
322 | 330 | // namespace, which may well be null. |
323 | 331 | if ( NS_MAIN === $namespace ) { |