Page MenuHomePhabricator

Internal links should highlight pages included in the PDF
Closed, DeclinedPublic

Description

Originally (confusingly) filed at http://web.archive.org/web/20111004141732/http://code.pediapress.com/wiki/ticket/824

An internal link referring to an article not in the collection for output to a PDF produces a link to the wiki article. The problem is that the PDF document reader does not always have access to the wiki. For such cases it should be possible to set an option that changes these references simply to the article names as such, e.g. using italic.


Currently, I don't see anything like that and I don't understand what's the expected behaviour.

  • In attachment 16584 (a collection) all internal links are stripped, i.e. all is black, even though they link to pages included in the collection.
  • In attachment 16586 (a single page) internal links are in brick-red.

Whatever system is chosen should be consistent

  • for all kinds of PDF export,
  • for all content namespaces (without preferences for namespace 0).

This bug is only about aspect and is independent from whether the links "internal to the PDF" are actually clickable/form a TOC, see bug 60293 for that.


Version: unspecified
Severity: enhancement
See Also:
T62293: Add bookmarks to PDF files indicating the starting point of each chapter

Details

Reference
bz71316

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:57 AM
bzimport added a project: OCG-PDF-renderer.
bzimport set Reference to bz71316.
bzimport added a subscriber: Unknown Object (MLST).

Please don't move bugs to the OCG component if they involve mwlib output, at least not without updating them to indicate issues with OCG output.

Yes, sorry, wrong PDF: attachment 16589 is the correct one to compare.

For instance at p. 3, the link a) "Golfo del Tigullio Moscato" is of the same colour and everything as b) "vino moscato DOC", but (a) is a page included in the PDF while (b) is not. There should be some difference.

Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

As already announced in Tech News, OfflineContentGenerator (OCG) will not be used anymore after October 1st, 2017 on Wikimedia sites. OCG will be replaced by Electron. You can read more on mediawiki.org.

Closing as this lacks a testcase URL (cannot retest), and as OCG has been dead for years and superseded by Proton and Electron-PDFs on Wikimedia servers.

If this is still wanted and currently not available in the PDF export on Wikimedia servers, then please file a new feature request with updated information and steps to reproduce. Thanks!