Difference between revisions of "GPG guide/Site and Repo Design Ideas"

From LibrePlanet
Jump to: navigation, search
(Ideas)
(Ideas)
Line 12: Line 12:
 
* Having "3 copies of everything" (6 copies of the footer, in fact) is both inefficient and error-prone (I caught quite a few discrepancies between the common parts of the 3 main pages, including in the markup). Why not split the text into common and page-specific pieces as the German team does (see ..../enc/de/)? Modification and translation would be done on pieces, not whole pages. -- [[User:Tgodef|Tgodef]] 07:22, 15 July 2014 (EDT)
 
* Having "3 copies of everything" (6 copies of the footer, in fact) is both inefficient and error-prone (I caught quite a few discrepancies between the common parts of the 3 main pages, including in the markup). Why not split the text into common and page-specific pieces as the German team does (see ..../enc/de/)? Modification and translation would be done on pieces, not whole pages. -- [[User:Tgodef|Tgodef]] 07:22, 15 July 2014 (EDT)
  
* I tried to make templates for the 6 pages and includes for the common parts. Assembly is done by 2 script named "assemble-page" and "assemble-all-pages" (self-explanatory). Some day the webmasters may decide to use Apache for this. The result is in the French kitchen (..../enc/fr/kitchen). There are 7 includes. Getting rid of the remaining repetitive parts with other includes might be counterproductive.
+
* I tried to make templates for the 6 pages and includes for the common parts. Assembly is done by 2 script named "assemble-page" and "assemble-all-pages" (self-explanatory). Some day the webmasters may decide to use Apache for this. The result is in the French kitchen (..../enc/fr/kitchen, commit of 2014-07-15). There are 7 includes. Getting rid of the remaining repetitive parts with other includes might be counterproductive.
 
# head (2 versions with different keywords)
 
# head (2 versions with different keywords)
 
# translist.html
 
# translist.html
Line 19: Line 19:
 
# common-sections.html (sections 2 to 6 + commented-out FAQ)
 
# common-sections.html (sections 2 to 6 + commented-out FAQ)
 
# footer.html (the footer div only)
 
# footer.html (the footer div only)
# javascript.html (it probably won't be modified and shouldn't be wrapped; that's why I separated it from the footer) -- [[User:Tgodef|Tgodef]] 12:57, 15 July 2014 (EDT)
+
# javascript.html (it probably won't be modified and shouldn't be wrapped; that's why I separated it from the footer) -- [[User:Tgodef|Tgodef]] 12:57, 15 July 2014 (EDT) -- edit [[User:Tgodef|Tgodef]] 10:29, 17 July 2014 (EDT)
  
* Another way (probably simpler?) would be to have a single template for the 3 main pages, with head, translist, fsf-intro, footer and javascript as includes. The variable parts would have specific deletion markers; each page would be created by deleting the irrelevant parts. -- [[User:Tgodef|Tgodef]] 04:14, 16 July 2014 (EDT)
+
* Another possibility is to have a single template for the 3 main pages, and only 4 includes: head.html, translist.html, footer.html and javascript.html. The variable parts have specific deletion markers; each page is created by deleting the irrelevant parts (see .../enc/fr/kitchen, commit of 2014-07-17). -- [[User:Tgodef|Tgodef]] 04:14, 16 July 2014 (EDT) -- edit [[User:Tgodef|Tgodef]] 10:29, 17 July 2014 (EDT)

Revision as of 10:29, 17 July 2014

Instructions

If you are not a translator, please don't edit this page.

Translators, please leave your ideas here. If you are comfortable, please sign them with four tildes. This will cause MediaWiki to insert your username and the date.

If you see an existing idea you like, you can add your four-tilde signature after it, or a "+"

Ideas

  • What about a mailing list, rather than sending emails to 20 people? -- Tgodef 05:50, 15 July 2014 (EDT)
  • Having "3 copies of everything" (6 copies of the footer, in fact) is both inefficient and error-prone (I caught quite a few discrepancies between the common parts of the 3 main pages, including in the markup). Why not split the text into common and page-specific pieces as the German team does (see ..../enc/de/)? Modification and translation would be done on pieces, not whole pages. -- Tgodef 07:22, 15 July 2014 (EDT)
  • I tried to make templates for the 6 pages and includes for the common parts. Assembly is done by 2 script named "assemble-page" and "assemble-all-pages" (self-explanatory). Some day the webmasters may decide to use Apache for this. The result is in the French kitchen (..../enc/fr/kitchen, commit of 2014-07-15). There are 7 includes. Getting rid of the remaining repetitive parts with other includes might be counterproductive.
  1. head (2 versions with different keywords)
  2. translist.html
  3. fsf-intro.html
  4. step-1a.html
  5. common-sections.html (sections 2 to 6 + commented-out FAQ)
  6. footer.html (the footer div only)
  7. javascript.html (it probably won't be modified and shouldn't be wrapped; that's why I separated it from the footer) -- Tgodef 12:57, 15 July 2014 (EDT) -- edit Tgodef 10:29, 17 July 2014 (EDT)
  • Another possibility is to have a single template for the 3 main pages, and only 4 includes: head.html, translist.html, footer.html and javascript.html. The variable parts have specific deletion markers; each page is created by deleting the irrelevant parts (see .../enc/fr/kitchen, commit of 2014-07-17). -- Tgodef 04:14, 16 July 2014 (EDT) -- edit Tgodef 10:29, 17 July 2014 (EDT)