summaryrefslogtreecommitdiff
path: root/maintenance/addwiki.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-03-21 11:49:34 +0100
committerPierre Schmitz <pierre@archlinux.de>2008-03-21 11:49:34 +0100
commit086ae52d12011746a75f5588e877347bc0457352 (patch)
treee73263c7a29d0f94fafb874562610e16eb292ba8 /maintenance/addwiki.php
parent749e7fb2bae7bbda855de3c9e319435b9f698ff7 (diff)
Update auf MediaWiki 1.12.0
Diffstat (limited to 'maintenance/addwiki.php')
-rw-r--r--maintenance/addwiki.php31
1 files changed, 22 insertions, 9 deletions
diff --git a/maintenance/addwiki.php b/maintenance/addwiki.php
index 3b6bb5d6..a19b24ce 100644
--- a/maintenance/addwiki.php
+++ b/maintenance/addwiki.php
@@ -71,23 +71,32 @@ function addWiki( $lang, $site, $dbName )
}
}
+ global $wgTitle, $wgArticle;
$wgTitle = Title::newMainPage();
$wgArticle = new Article( $wgTitle );
$ucsite = ucfirst( $site );
- $wgArticle->insertNewArticle( "
-==This subdomain is reserved for the creation of a $ucsite in '''[[:en:{$name}|{$name}]]''' language==
+ $wgArticle->insertNewArticle( <<<EOT
+==This subdomain is reserved for the creation of a [[wikimedia:Our projects|$ucsite]] in '''[[w:en:{$name}|{$name}]]''' language==
-If you can write in this language and want to collaborate in the creation of this encyclopedia then '''you''' can make it.
+* Please '''do not start editing''' this new site. This site has a test project on the [[incubator:|Wikimedia Incubator]] (or on the [[betawikiversity:|BetaWikiversity]] or on the [[oldwikisource:|Old Wikisource]]) and it will be imported to here.
-Go ahead. Translate this page and start working on your encyclopedia.
+* If you would like to help translating the interface to this language, please do not translate here, but go to [[betawiki:|Betawiki]], a special wiki for translating the interface. That way everyone can use it on every wiki using the [[mw:|same software]].
-For help, see '''[[m:Help:How to start a new Wikipedia|how to start a new Wikipedia]]'''.
+* For information about how to edit and for other general help, see [[m:Help:Contents|Help on Wikimedia's Meta-Wiki]] or [[mw:Help:Contents|Help on MediaWiki.org]].
-==Sister projects==
-[http://meta.wikipedia.org Meta-Wikipedia] | [http://www.wiktionary.org Wikitonary] | [http://www.wikibooks.org Wikibooks] | [http://www.wikinews.org Wikinews] | [http://www.wikiquote.org Wikiquote] | [http://www.wikisource.org Wikisource]
+== Sister projects ==
+<span class="plainlinks">
+[http://www.wikipedia.org Wikipedia] |
+[http://www.wiktionary.org Wiktonary] |
+[http://www.wikibooks.org Wikibooks] |
+[http://www.wikinews.org Wikinews] |
+[http://www.wikiquote.org Wikiquote] |
+[http://www.wikisource.org Wikisource]
+[http://www.wikiversity.org Wikiversity]
+</span>
-See the [http://www.wikipedia.org Wikipedia portal] for other language Wikipedias.
+See Wikimedia's [[m:|Meta-Wiki]] for the coordination of these projects.
[[aa:]]
[[af:]]
@@ -99,6 +108,7 @@ See the [http://www.wikipedia.org Wikipedia portal] for other language Wikipedia
[[ast:]]
[[ay:]]
[[az:]]
+[[bcl:]]
[[be:]]
[[bg:]]
[[bn:]]
@@ -125,6 +135,7 @@ See the [http://www.wikipedia.org Wikipedia portal] for other language Wikipedia
[[he:]]
[[hi:]]
[[hr:]]
+[[hsb:]]
[[hy:]]
[[ia:]]
[[id:]]
@@ -195,7 +206,9 @@ See the [http://www.wikipedia.org Wikipedia portal] for other language Wikipedia
[[za:]]
[[zh:]]
[[zu:]]
-", '', false, false );
+
+EOT
+, '', false, false );
print "Adding to dblists\n";