Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -467,6 +467,13 @@ |
468 | 468 | $wgOut->addWikiText( $editnotice_base_msg->plain() ); |
469 | 469 | } |
470 | 470 | } |
| 471 | + } else { |
| 472 | + # Even if there are no subpages in namespace, we still don't want / in MW ns. |
| 473 | + $editnoticeText = $editnotice_ns . '-' . str_replace( '/', '-', $this->mTitle->getDBkey() ); |
| 474 | + $editnoticeMsg = wfMessage( $editnoticeText )->inContentLanguage(); |
| 475 | + if ( $editnoticeMsg->exists() ) { |
| 476 | + $wgOut->addWikiText( $editnoticeMsg->plain() ); |
| 477 | + } |
471 | 478 | } |
472 | 479 | |
473 | 480 | # Attempt submission here. This will check for edit conflicts, |
Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -94,6 +94,7 @@ |
95 | 95 | * (bug 30907) Special:Unusedcategories should sort ascendingly. |
96 | 96 | * (bug 18424) Special:Prefixindex and Special:Allpages paging links are |
97 | 97 | really small, and somewhat inconsistent with each other. |
| 98 | +* Per page edit-notices now work in namespaces without subpages enabled. |
98 | 99 | |
99 | 100 | === API changes in 1.19 === |
100 | 101 | * (bug 19838) siprop=interwikimap can now use the interwiki cache. |