I never noticed that behavior. Tom
On Feb 4, 2013, at 1:16 PM, Mlpearc <[email protected]> wrote: > It is Extension:Collection that displays the "Print" link in the sidebar. > Another strange reaction from that extension is for some un-known reason > when the extension is enabled, it adds the page name of the selected page > to the category box. > > Mlpearc > > On Mon, Feb 4, 2013 at 9:44 AM, Tom Hutchison <[email protected]> wrote: > >> 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 > > > > -- > * > Mlpearc* > Founder > Everything Food & Drink.org > everythingfoodanddrink.org<http://www.everythingfoodanddrink.org/w/index.php/Main_Page> > Phone: 760-718-1290 > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
