https://bugzilla.wikimedia.org/show_bug.cgi?id=56875

Nathan Larson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Nathan Larson <[email protected]> ---
I still use it. E.g., at Mises Wiki we have a customized skin that prints a
bunch of junk at the top if you try to print without first clicking to get the
printable version. Compare what happens if you do a print preview from:

* http://wiki.mises.org/wiki/Main_Page
* http://wiki.mises.org/mediawiki/index.php?title=Main_Page&printable=yes

Here is the Vector.php we use: http://pastebin.com/QKGARhTU Notice these lines:

if ( isset ( $_REQUEST[ 'printable' ] ) ) {
      require_once ( "Vector.printable.php" );
} else { ...

In other words, if the user has selected the printable version, then
Vector.printable.php, which is just the regular Vector.php that comes with
MediaWiki and doesn't have all that MisesWiki-specific stuff that would cause
all that junk to print at the top, is used instead of the rest of the code in
Vector.php. If there's a more elegant solution to this issue, please let me
know. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to