Page MenuHomePhabricator

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

Description

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(
'rl',
),
'tawikibooks' => array(
#'rl' for future use after bug 28206
'odf',
)
'tawikisource' =>array(
#'rl' for future use after bug 28206
'odf',
),
'tawikinews' => array(
#'rl' for future use after bug 28206
'odf', 
),

);


Version: unspecified
Severity: normal
URL: http://ta.wikipedia.org/wiki/%E0%AE%B5%E0%AE%BF%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AE%BF%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%80%E0%AE%9F%E0%AE%BF%E0%AE%AF%E0%AE%BE:%E0%AE%A8%E0%AF%81%E0%AE%9F%E0%AF%8D%E0%AE%AA_%E0%AE%AE%E0%AE%BE%E0%AE%B1%E0%AF%8D%E0%AE%B1_%E0%AE%B5%E0%AE%BE%E0%AE%95%E0%AF%8D%E0%AE%95%E0%AF%86%E0%AE%9F%E0%AF%81%E0%AE%AA%E0%AF%8D%E0%AE%AA%E0%AF%81#mw:Extension:Collection_.E0.AE.A8.E0.AF.80.E0.AE.9F.E0.AF.8D.E0.AE.9A.E0.AE.BF_.E0.AE.A8.E0.AE.BF.E0.AE.B1.E0.AF.81.E0.AE.B5_.E0.AE.86.E0.AE.A4.E0.AE.B0.E0.AE.B5.E0.AF.81

Details

Reference
bz37154

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.

Thanks

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.