Yep, Collection is forcing the printable to its section:

// Move the 'printable' link into our section for consistency
                if ( $action == 'view' || $action == 'purge' ) {
                        global $wgOut;
                        if ( !$wgOut->isPrintable() ) {
                                $attribs = array(
                                        'href' => $sk->getTitle()->getLocalUrl( 
$wgRequest->appendQueryValue( 'printable', 'yes', 
true ) ),
                                        'title' => $sk->titleAttrib( 't-print', 
'withaccess' ),
                                        'accesskey' => $sk->accesskey( 
't-print' ),
                                );
                                if ( $attribs['title'] === false ) {
                                        unset( $attribs['title'] );
                                }
                                if ( $attribs['accesskey'] === false ) {
                                        unset( $attribs['accesskey'] );
                                }
                                $out .= Xml::tags( 'li',
                                        array( 'id' => 't-print' ),
                                        Xml::element( 'a', $attribs, wfMsg( 
'printableversion' ) ) );
                        }
                }

Tom



_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to