| Index: trunk/phase3/includes/Title.php |
| — | — | @@ -680,7 +680,7 @@ |
| 681 | 681 | */ |
| 682 | 682 | function getSubpageText() { |
| 683 | 683 | global $wgNamespacesWithSubpages; |
| 684 | | - if( $wgNamespacesWithSubpages[ $this->mNamespace ] ) { |
| | 684 | + if( isset( $wgNamespacesWithSubpages[ $this->mNamespace ] ) && $wgNamespacesWithSubpages[ $this->mNamespace ] ) { |
| 685 | 685 | $parts = explode( '/', $this->mTextform ); |
| 686 | 686 | return( $parts[ count( $parts ) - 1 ] ); |
| 687 | 687 | } else { |
| Index: trunk/phase3/RELEASE-NOTES |
| — | — | @@ -51,6 +51,7 @@ |
| 52 | 52 | * Replace "doubleredirectsarrow" with a content language check that picks the appropriate arrow |
| 53 | 53 | * (bug 5537) Add stub language file for Samogitian (bat-smg); inherits Lithuanian (lt) |
| 54 | 54 | * Don't force edit summaries when a user is editing their own user/talk page |
| | 55 | +* (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces |
| 55 | 56 | |
| 56 | 57 | == Compatibility == |
| 57 | 58 | |