Help:Sandbox

From OLPC
Revision as of 04:09, 19 June 2007 by Php5 (talk | contribs) (→‎test)
Jump to navigation Jump to search

If you are here, you are probably trying to test something ... so before you jump into the trial-and-error (or after ;) you may also try to see some of the documentation found at WikiMedia:

Please note that not all functionality detailed in the media wiki is available in this wiki...


Cell 1, row 1 Cell 2, row 1
Cell 1, row 2 Cell 2, row 2

My sandbox test

I found that Itlaic text and bold text Bold text Had a problem based on the HTML code what can I do to get BOLD ITLAIC? --Bakersdz 19:35, 14 February 2007 (EST)

Test Lists

*list item followed
by plain text line
  • list item followed

by plain text line

plain text line
*followed by list item

plain text line

  • followed by list item

Test Nested Lists

*Bullet
*Bullet
*#Bullet Numbered
*#Bullet Numbered
**Bullet Bullet
**Bullet Bullet
##Numbered Numbered
##Numbered Numbered
#Numbered
#Numbered
  • Bullet
  • Bullet
    1. Bullet Numbered
    2. Bullet Numbered
    • Bullet Bullet
    • Bullet Bullet
    1. Numbered Numbered
    2. Numbered Numbered
  1. Numbered
  2. Numbered

hello!

i started this new page so i could experiment a bit, i hope it's ok.

This is a little test of some stuff that might make a smaller box around some text.

i see we have some nice editing buttons, including one for bold and another for italic. it would be better if those worked as we expected, and modified the selected text in the edit-field itself, rather than requiring the writer to jump through some hoops, but i guess as reminders they're better than nothing.

in general, i think "wiki markup" is the type of system that would give the _easy_editing_capability_ described on this "wiki as e-books" page as your fundamental goal.

but i believe that "wiki markup" is still too complicated...

i'll write more on this later, but for now, let's make sure this page works correctly, and doesn't screw things up...

-bowerbird


I found that if I type some text and then click the B button now Bold text appears in the text. So I could use the B button and then remove the text that says Bold text and put some other text in its place, as now some other characters.

However, if I type directly and then click before the d of directly, then hold down the shift key of the keyboard and use the right arrow key eight times so as to highlight the word directly and then release the shift key and then click the B, the formatting is added around the highlighted text and the words Bold text do not appear.

William Overington

28 March 2006


test!

I can`t find the button so that great new page. And i found my English is very poor! ^-^!

You create a link by inserting two "[" brackets on either side of the link:


Sue is reading the [[video policy]].

Please refer to the Editing Help page for details. --Walter


thank you very much

bites



2004-04-26 0830Z

I am trying to restructure the Other Ideas page.

At its edit a few days ago three lines, one blank, were added at the start and a lot of text was clipped from the end, clipping starting from within a word.

I suspect that this was because the page went over 32 kilobytes.

I am now going to try to split the Other Ideas page into two pages, namely Other Ideas and a new Rollout and Community Building page, while retaining the three line addition of a few days ago.

I am not entirely sure how to do it at present, so please help out if it goes wrong!

To begin, the three lines added the other day are preserved here in the sandbox for later use.

FROM HERE

VoIP

Skype or somesuch? TO HERE

2004-04-26 0920Z

The changes have now been made. In the event I did not need to recover the new message from the storage space above.

Along the way I generated the page Rollout and Community Building and later realized that it should have been Rollout and Community Building Ideas, so the Rollout and Community Building page is surplus and may get deleted, unless it becomes used as an official policy page.

So, the desired result has been obtained, though with a hiccup along the way!


Trying to work out if the main page could be structured so that the two items are side by side.

The main page has the following.

OLPC Wiki

Blue-pivot.jpg

Enter the wiki here: One Laptop per Child.

View the Table of Contents.

       Papert.gif

Seymour's Corner: Seymour Papert's weekly column on Learning Learning


Suppose that it were restructured as follows.


OLPC Wiki

Blue-pivot.jpg

Papert.gif

Enter the wiki here: One Laptop per Child,

or visit Seymour's Corner (Seymour Papert's weekly column on Learning Learning)

View the Table of Contents.


Thank you for fixing my attempt at the markup and showing how to do it.

Thank you also for answering the question in the About page.

Original

One Laptop per Child

Original colours, space added at start

 One Laptop per Child

White on Blue

 One Laptop per Child

White on Orange

 One Laptop per Child

White on Green

 One Laptop per Child

Blue on Green

 One Laptop per Child


color bars

Note : you can change the color of a link by adding color specification inside the linktext

2006-06-15

The latest version of the green that was actually used in the OLPC template.

  This page is maintained by the OLPC team.  Please use the talk page for your comments.

Made a little nearer towards a white background.

  This page is maintained by the OLPC team.  Please use the talk page for your comments.

Made a little nearer towards a white background.

  This page is maintained by the OLPC team.  Please use the talk page for your comments.

Made a little nearer towards a white background.

  This page is maintained by the OLPC team.  Please use the talk page for your comments.

Made a little nearer towards a white background.

  This page is maintained by the OLPC team.  Please use the talk page for your comments.

The later colours are not traditional web-safe colours: does that matter?

Testing of the latest colour above with the text.

Color bars again

  This page is maintained by the OLPC team.  Please use the talk page for your comments.
This is actually more in tune with the colors on the wiki.
BTW, I was originally trying for a pale green in order to highlight the statement without being too garish. I wanted to use a background color to waste less vertical space on the page, especially important on the main page. Also, I wanted people to take note of this statement, try out the "Talk" link, and learn that there is a discussion page for every wiki page.

A. raw logo colors

Using the colors from the logo:

  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #ce006e/black f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #6cbe42/black f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #fa8e12/black f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #0082c4/black f]

B. lighter logo colors

Using lighter versions of the same:

  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #ce6789/black f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #8ad962/black f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #fab15c/black f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #76aac4/black f]

C. lighter background / darker font color

And darker versions for font colors:

  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #ce6789/#800155 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #8ad962/#2a8c00 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #fab15c/#944f00 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #76aac4/#004f78 f]

D. lighter background / even darker font

And even darker versions for font colors:

  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #ce6789/#600135 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #8ad962/#0a6c00 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #fab15c/#742f00 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #76aac4/#002f58 f]

E. lighter background / raw font colors

Same light background, but using the 'raw' logo color fonts...

  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #ce6789/#ce006e f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #8ad962/#6cbe42 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #fab15c/#fa8e12 f]
  This page is maintained by the OLPC team.  Please use the talk page for your comments. [b #76aac4/#0082c4 f]

possible link colors

And as possible link colors:

This is a possible link color. [f #800155]

This is a possible link color. [f #2a8c00]

This is a possible link color. [f #944f00]

This is a possible link color. [f #004f78]

xavi review

  • A - is nice and strong, although has to be used sparcely... I (mistakenly) tried using the green in News/lang-es#MILESTONES and a lighter tone would be better.
  • B - the black lettering makes the colors to feel washed out
  • C - keeping font & background in the same tone is nice (see D)...
  • D - ... in even darker fonts I like it better
  • E - just had to try :)

The link colors feel fine, but should be careful which ones are set and how they mingle with the wiki (ie: a missing link is red—attention caller & fine with me—so the 'child' color would probably have to be discarded (unless the base wiki colors are changed).

I would probably try to keep blue as the default, not traversed link—although it denotes a high conservatism with the dawn of the web - green could be a better 'non-traditional' alternative and goes well with the laptop's color. For a traversed link, either green or brownish (green reminds me of a 'good' link, while brownish is more discrete and blends better with black letters).

BTW, do you think the colors could be set to some wiki-variables? like have something {{COLOROLPC}}, {{COLORCOMMUNITY}}, and such? So that we can embed it in the templates and then 'forget' about them? (My alternative would be to create a subpage... ok, ok... I'll try not to! :P )--Xavi 22:46, 9 April 2007 (EDT)

OLPC News

1st working.jpg

The first working prototype of the $100 Laptop was unveiled at the Country Task Force Meeting, 23 May 2006. (See Flickr for more images.) This was first time we had combined the industrial design with the hardware (A-TEST board). Both the ID and the hardware had been shown separately in the past; pictured is the working laptop, completely self-contained, running Fedora Core 5.0.

One thing that might be somewhat misleading is the display; we plan to ship a display that is bigger and of a higher resolution than the one pictured. We plan to ship a 7.5-inch diagonal display with 1200×900 pixels vs. the 7.0-inch diagonal display with 800×480 pixels seen in the prototype.

About One Laptop per Child

This is the wiki for the One Laptop per Child association. The mission of this non-profit association is to develop a low-cost laptop—the "$100 Laptop"—a technology that could revolutionize how we educate the world's children. Our goal is to provide children around the world with new opportunities to explore, experiment, and express themselves.

Why do children in developing nations need laptops? Laptops are both a window and a tool: a window into the world and a tool with which to think. They are a wonderful way for all children to learn learning through independent interaction and exploration.

It's an education project, not a laptop project -- Nicholas Negroponte


The Special:Allpages page lists 265 pages that are in this wiki. That does not include the Talk pages nor the User pages. 2006-06-15 1818Z


Facility for producing pages for learning how to use the translations template system. That is, to have some pages to be the targets of the links.

The numbers are from the international telephone codes. The numbers specify countries not languages yet are used so that the names of the pages do not explicitly have the abbreviations for the languages in them.

http://en.wikipedia.org/wiki/International_telephone_codes

Sandbox for translations template tests 34

Sandbox for translations template tests 351

Sandbox for translations template tests 44


Please note that the Template:Sandbox page already exists.

Do we need a page to be the original page which links to the translated versions?

Sandbox for translations template tests 0


Is this the way to do a thumbnail size picture?

Blue-pivot.jpg

Anchor Testing

(div id="Current technique")(/div)

Although translations could be structured and done in many ways, I (Xavi) am currently using sub-pages. This structure has the advantage that no matter what page has been translated, it'll be found in the originalPageName/lang-xx (usually spanish).

The Problem
(div id="The problem")The Problem(/div)

The problem arises when a link leads into a sub-section of the original page. Although it's quite simple to just reword the link into the translated version after the target section has been translated, future translations or references could pose some problems such as:

  • what was the translation used for Rollovers?
  • what was the capitalization sequence?
  • was it typed with or without accents?

Given that those issues (except for the accent one) had to be thought out in the original verstion, it would be handy and less error-prone if the original anchors could be preserved despite of whatever translation mangling was performed.

(div id="Idea"/)

Thus, a link referring to say Bitfrost#Goals would just be translated as Bitfrost/lang-es#Goals... no need to check if Goals was translated as Objetivos, Metas, singular, plural, kept in english or whatever...

(div sytle=display:none id="The solution")(/div)

Given that <A> markup is not allowed in the wiki, the solution could be according to Wimikedia's Help on Anchors to use div markups... unfortunately, they don't seem to be working... that's why I'm in the Sandbox!

Lets see how it goes...

Sample links

Sample local page links

Fully qualified wiki links
Sandbox, Sandbox#Current technique, Sandbox#The Problem, Sandbox#Idea, and Sandbox#The solution
Local reference links
#Current technique, #The Problem, #Idea, and #The solution

Inlined anchors

Don't work and they mess up the whole layout of the page!

==== <div id="pre-inlined"/> Inlined pre-anchors ====

testing to see if we can inline the original and the translated section header (btw, the inlined anchor id text is <tt>#pre-inlined</tt>;so the link would be [[#pre-inlined]] or [[#Inlined pre-anchors]])

==== Inlined post-anchors <div id="post-inlined"/> ====

maybe there's a difference between pre-inlined with post-inlined anchors...  (btw, the inlined anchor id text is <tt>#post-inlined</tt>—so the link would be [[#post-inlined]] or [[#Inlined post-anchors]])

Sample external links

Original section anchor links
Bitfrost#Introduction and summary, Bitfrost#The Bitfrost approach, Bitfrost#Principles, Bitfrost#Goals
Translated div anchor links
Bitfrost/lang-es#Introduction and summary, Bitfrost/lang-es#The Bitfrost approach, Bitfrost/lang-es#Principles, Bitfrost/lang-es#Goals

Results

...strange. Local Sandbox links seem to work fine, not so the translated ones. Let's see with these other batch of links (instead of manually typing them ;)


php5 sandbox

Translation & multilingual boxes

translations

Base template as of April 20th

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments.
  Help:Sandbox/translations [ID# 44347]  +/-  

C. lighter background / darker font color

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments.
  Help:Sandbox/translations [ID# 44347]  +/-  

D. lighter background / even darker font

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments.
  Help:Sandbox/translations [ID# 44347]  +/-  


translation

Base template as of April 20th

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments.

C. lighter background / darker font color

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments.

D. lighter background / even darker font

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments.

shape variation

One liner D. lighter background / even darker font

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments.

Specific two-liner

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments. original / version / diff  
  

english | عربيپښتوбългарскиdeutschespañolfrançaiskreyòl ayisyenitaliano日本語한국어монголBahasa Melayuनेपालीnorskportuguêsromânăрусскийkinyarwandatürkçe中文繁體中文

Another specific two-liner

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments. original  
  

english | عربيپښتوбългарскиdeutschespañolfrançaiskreyòl ayisyenitaliano日本語한국어монголBahasa Melayuनेपालीnorskportuguêsromânăрусскийkinyarwandatürkçe中文繁體中文

version / diff  

Same specific two-liner with darker background
RAW: #0093d0 LIGHT: #76aac4 MID: #3b9fca

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments. original  
  

english | عربيپښتوбългарскиdeutschespañolfrançaiskreyòl ayisyenitaliano日本語한국어монголBahasa Melayuनेपालीnorskportuguêsromânăрусскийkinyarwandatürkçe中文繁體中文

version / diff  

Same specific two-liner with darker background
RAW: #0093d0 LIGHT: #76aac4 MID: #3b9fca
shorter 'version' text...

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments. original  
  

english | عربيپښتوбългарскиdeutschespañolfrançaiskreyòl ayisyenitaliano日本語한국어монголBahasa Melayuनेपालीnorskportuguêsromânăрусскийkinyarwandatürkçe中文繁體中文

ver. / diff  

Same specific two-liner with darker background assuming a three-liner due to languages
RAW: #0093d0 LIGHT: #76aac4 MID: #3b9fca
Manually converting the original, version, diff into three lines...

  This page is maintained by the OLPC team.  Please use the discussion tab for your comments. original  
  

english | عربيپښتوбългарскиdeutschespañolfrançaiskreyòl ayisyenitaliano日本語한국어монголBahasa Melayuनेपालीnorskportuguêsromânăрусскийkinyarwandatürkçe中文繁體中文
  future translation languages... hopefully?? ;)

version  
diff  

Right-to-Left script

Assumptions always get to you... the assumption that everything is left-to-right finally got the translating effort.

'normal' ltr
This is a 'normal' (assumed LTR script) usage.
embeding
the invocation is within <div style="direction:rtl">{{Translation ... }}</div>. It's being done twice, once in spanish (so that I make more visual sense of it), and the second one in arabic (so that it makes sense to RTL readers).

Testing upload to SVG: Spoon-Sugar.svg

test

  {{:{{{source}}}/translations}} [{{fullurl:{{{source}}}|oldid={{{version}}}}} {{:Template:Translation/original/lang-{{{lang}}}}}]  

[{{fullurl:{{{source}}}|diff=current&oldid={{{version}}}}} {{:Template:Translation/changes/lang-{{{lang}}}}}]


Template:Translation-ko