Page MenuHomePhabricator

Modify Collection format variables from PDF to ODT for Tamil Wikiprojects
Closed, ResolvedPublic


It is known that PDF rendering for complex scripts is buggy / yet to be implemented properly.See bug 28206. Tamil WikiSource, Wikinews, Wikibooks currently use Collection extension and has the default link on the portlet as PDF only. Since PDF is buggy, please modify the configuration to display ODT for Tamil wiki projects on the portlet instead of PDF. Community concensus for installing on Tamil Wikipedia(another bug will be filed soon for it) is going on (see URL) and the need to change wikinews was brought up there. I am putting down the possible config changes required as I was not sure of the usage between $wmg and $wg. I am also assuming the mw-render has odf as one of the available output formats.

$wgCollectionPortletFormats = array(

'default' => array(
'tawikibooks' => array(
#'rl' for future use after bug 28206
'tawikisource' =>array(
#'rl' for future use after bug 28206
'tawikinews' => array(
#'rl' for future use after bug 28206


Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:25 AM
bzimport set Reference to bz37154.
bzimport added a subscriber: Unknown Object (MLST).

2 Things. I am still getting PDF on the site and I think the reason is due to the typo below.

In CommonSettings.php I think its

  1. $wgCollectionPortletFormat*s* = $wmgCollectionPortletFormats;
  2. 'tawikiwikibooks' => array( 'odf' ),

o_O. Just 'tawikibooks' please.


Just as a heads up: the new PDF renderer should render Tamil correctly now -- and the old ODF renderer is going to be shut down on Oct 3. So I'm about to remove ODF from the configuration for the Tamil projects.