https://bugzilla.wikimedia.org/show_bug.cgi?id=12242


Purodha Blissenbach <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |odha.net




--- Comment #5 from Purodha Blissenbach <[email protected]>  
2009-08-08 08:37:01 UTC ---
I shall suggest an extended version of render for use in (i)frames,
and similar, where you cannot easily wrap your own HTML/markup around
the generated pages.

A possible way to do this might be:

   action=render&html&css&body

so as to get:

   <html ... >
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">  <!--
comes with "html" -->
      <link rel="stylesheet" ... />
   <body ... >
   ...
   </body>
   </html>

for instance. Leaving keyword(s) out, after action=render, shall not
output the respective part(s).

If need be, one should be able to specify (some) header content
verbatim:

   action=render&css=httl://example.com/a.css&body=lang="yi"%20dir="rtl"

for example, should output:

      <link rel="stylesheet" hef="httl://example.com/a.css" type="text/css"/>
   <body lang="yi" dir="rtl" >
   ...
   </body>
   </html>

regardless of page/wiki language and directionality.
Maybe, this is not totally thought out in all details, but I believe,
this sketch gives a direction. I also believe the amount and complexity
of possibly useful headers to be pretty limited.

If that is not so, I'd rather suggest using a minimalistic skin
instead of action=render. If a skin does not output a logo, portlets,
sidebar, and all such, it should as well deliver pages suited for
embedding.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to