Oh PHP, how do I loathe thee? Let me count the ways:
1) 0 == '0'
2) 0 == ''
3) '0' != ''
Q.E.D.
installation
* (bug 9383) Don't set a default value for BLOB column in rc-deleted
database patch
+* (bug 10149) Don't show full template list on section-0 edit
+
== MediaWiki API changes since 1.10 ==
if( !$this->preview && !$this->diff ) {
$wgOut->setOnloadHandler( 'document.editform.wpTextbox1.focus()' );
}
- $templates = ($this->preview || $this->section) ? $this->mPreviewTemplates : $this->mArticle->getUsedTemplates();
+ $templates = ($this->preview || $this->section != '') ? $this->mPreviewTemplates : $this->mArticle->getUsedTemplates();
$formattedtemplates = $sk->formatTemplates( $templates, $this->preview, $this->section != '');
global $wgUseMetadataEdit ;