Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1118,7 +1118,7 @@ |
1119 | 1119 | if( !$this->preview && !$this->diff ) { |
1120 | 1120 | $wgOut->setOnloadHandler( 'document.editform.wpTextbox1.focus()' ); |
1121 | 1121 | } |
1122 | | - $templates = ($this->preview || $this->section) ? $this->mPreviewTemplates : $this->mArticle->getUsedTemplates(); |
| 1122 | + $templates = ($this->preview || $this->section != '') ? $this->mPreviewTemplates : $this->mArticle->getUsedTemplates(); |
1123 | 1123 | $formattedtemplates = $sk->formatTemplates( $templates, $this->preview, $this->section != ''); |
1124 | 1124 | |
1125 | 1125 | global $wgUseMetadataEdit ; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -132,7 +132,9 @@ |
133 | 133 | installation |
134 | 134 | * (bug 9383) Don't set a default value for BLOB column in rc-deleted |
135 | 135 | database patch |
| 136 | +* (bug 10149) Don't show full template list on section-0 edit |
136 | 137 | |
| 138 | + |
137 | 139 | == MediaWiki API changes since 1.10 == |
138 | 140 | |
139 | 141 | (For ongoing development discussion, see http://www.mediawiki.org/wiki/API) |