Hi Volker,

Thank you for your work, speed & efficiency.

I don't know if you expect improvement suggestions, but here I provide some ideas:

(1) customization through code (customconfig.py) is working, but not friendly. The file location is ugly. Multiple versions exists simultaneously. I suggest to put all customizable vars in a property file. I suggest as location $HOME/.mwlib/rl/properties. I suggest a very simple and readable format (neither JSON nor XML). An empty or absent file implies default values.

(2) customizable vars. I suggest these (besides those already available in customconfig.py)
  • authorName
  • readerName
  • leftHeaderText
  • centerHeaderText
  • rightHeaderText
  • leftFooterText
  • centerFooterText
  • rightFooterText
  • showLineAboveHeader
  • showLineBelowHeader
  • showLineAboveFooter
  • showLineBelowFooter
  • headerColor
  • footerColor
  • PDFFrontPages
  • PDFBackPages
  • (TOC format related vars...)
  • ...

notes:
in the *Text vars, references like &PageNumber, &Title and &Date should be possible
the PDF vars should make it possible to reference PDF  files in the filesystem to be added before and after the other pages

(3) mediawiki vars
I had to modify the magics.py file to force the visibility of mediawiki added variables (those added in LocalSettings.php with some code). I suggest to put these in the same property files suggested above, with a format familiar to mediawiki writers like
{{XMOD}} = M3M
{{XYZ}} = Rescope
...




I think these suggestions would make your software easier to use and more powerful.
What do you think ?

Best regards,

Philippe



Volker Haas wrote:
Hi Philippe,

you need to update mwlib.rl

* hg pull -u
* python setup.py install
in your mwlib.rl directory should do the trick

Regards,
Volker

pg wrote:
  
Excellent, Volker ! Tnx ! What a speedy service !  :-)

Which library should I update from mercurial to get the correction ? 
mwlib or mwlib.rl ?

Regards,

pge


Volker Haas wrote:
    
fixed now

Volker Haas wrote:
  
      
Hi Philippe,
now I understand the problem - and I can also confirm this is a bug. I 
added a ticket for  that http://code.pediapress.com/wiki/ticket/403

Regards,
Volker

pg wrote:
  
    
        
Hi Volker,

(1) Link Issue
Yes I understood that...
But as explained (see previous mail with image) it DOES APPEAR and 
DOES WORK for some links, but for others the link is NOT displayed.
Still open...
    
      
          
  
    
        
  
      
    

  


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to