Page MenuHomePhabricator

Printable view links to &printable=yes&printable=yes...
Closed, ResolvedPublic

Description

Author: chkno

Description:
This patch omits the 'printable version' link on the printable version. It fixes the problem in a default install, but includes/Skin.php and skins/disabled/MonoBookCBT.php may also need attention.

I noticed Googlebot indexing "/wiki/index.php?title=Foo&printable=yes&printable=yes"

Printable page URLs are constructed by adding &printable=yes to the current link.
The printable-version link on a printable page just adds another &printable=yes,
and that page adds another, and so on, indefinitely. The printable-version link
on a printable-version page isn't visible in the browser, but it's in the document.


Version: 1.15.x
Severity: minor

Attached:

Details

Reference
bz19390

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:41 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz19390.
bzimport added a subscriber: Unknown Object (MLST).
IAlex added a comment.Jul 2 2009, 9:27 AM

fixed in r52683.