User:Pi3832: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
 
Line 92: Line 92:
== Missing Templates? ==
== Missing Templates? ==


<nowiki><code>
<code><nowiki>
<div {{#switch: {{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}}|lang-ar|lang-he=dir="rtl" }} style="background:#6abe45; color:white;">&nbsp;&nbsp;{{#ifexist:Template:OLPC/{{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}}
<div {{#switch: {{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}}|lang-ar|lang-he=dir="rtl" }} style="background:#6abe45; color:white;">&nbsp;&nbsp;{{#ifexist:Template:OLPC/{{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}}
|{{Template:OLPC/{{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}} }}|This page is monitored by the OLPC team.}}</div>
|{{Template:OLPC/{{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}} }}|This page is monitored by the OLPC team.}}</div>
</code></nowiki>
</nowiki></code>
----
----
<div style="color:green;">Foo Bar Baz</div>
<div style="color:green;">Foo Bar Baz</div>

Latest revision as of 21:14, 23 January 2011

About

I'm just some amateur geek in the U.S.A.

Deleting Redirect Pages

When I add {{deletere}} to a redirect page, I will usually also disable the REDIRECT by adding <nowiki> tags.

This keeps the page from showing up on Special:BrokenRedirect.

Interwiki Links (Prefixes)

This the table of default interwiki links (prefixes). Check the "test case" column to see if one is working.

Prefix URL example Test case
commons: http://commons.wikimedia.org/wiki/ [[commons:MediaWiki]] commons:MediaWiki
mediazilla: http://bugzilla.wikimedia.org/ [[mediazilla:1209]] mediazilla:1209
meta: http://meta.wikimedia.org/wiki/ [[meta:Main Page]] meta:Main Page
mw: http://www.mediawiki.org/wiki/ [[mw:Help:Contents]] mw:Help:Contents
wikibooks: http://en.wikibooks.org/wiki/ [[wikibooks:Main Page]] wikibooks:Main Page
wikimedia: http://wikimediafoundation.org/wiki/ [[wikimedia:Main Page]] wikimedia:Main Page
wikinews: http://en.wikinews.org/wiki/ [[wikinews:Main Page]] wikinews:Main Page
wikiquote: http://en.wikiquote.org/wiki/ [[wikiquote:Main Page]] wikiquote:Main Page
wikisource: http://en.wikisource.org/wiki/ [[wikisource:Main Page]] wikisource:Main Page
wikispecies: http://species.wikimedia.org/wiki/ [[wikispecies:Main Page]] wikispecies:Main Page
wiktionary: http://en.wiktionary.org/wiki/ [[wiktionary:Main Page]] wiktionary:Main Page
wikipedia: http://en.wikipedia.org/wiki/ [[wikipedia:Main Page]] wikipedia:Main Page

Transclusion

Translude page "Help:Starting a new page" with {{Help:Starting_a_new_page}}


You might expect there to be a "New Page" command, but there isn't.

One way to make a new page is to browse to a nonexistent wiki page. The wiki software will then give you the option of editing that page.

For example, to create a page named "My Wacky Page", enter this URL in your browser:

 http://wiki.laptop.org/go/My_Wacky_Page

Then click on "edit this page" at the end of the "There is currently no text in this page" message.

After you save your page, be sure to create links to it in related pages. Unreferenced pages can be hard to find. (The syntax for creating links is, for example, [[My Wacky Page]] ).

You can also do the steps in the opposite order - first create the link on an existing page, then click on that link and edit the new page.

To rename your page, click the move tab and create a new title. The URL for the page changes as well.


End Transclusion



Missing Templates?

<div {{#switch: {{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}}|lang-ar|lang-he=dir="rtl" }} style="background:#6abe45; color:white;">  {{#ifexist:Template:OLPC/{{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}} |{{Template:OLPC/{{{trans|{{#titleparts:{{PAGENAME}}|1|2}} }}} }}|This page is monitored by the OLPC team.}}</div>


Foo Bar Baz
Foo Bar Baz
Foo Bar Baz
Foo Bar Baz