* add uniwiki/CreatePage extension to core
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 25 Apr 2009 18:47:41 +0000 (18:47 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sat, 25 Apr 2009 18:47:41 +0000 (18:47 +0000)
* add 'Create a page' to default sidebar
* remove uniwiki/CreatePage from Translate
* remove uniwiki/CreatePage from UniwikiSettings.php
* add special page aliases of CreatePage extension to MessagesXx.php

39 files changed:
CREDITS
RELEASE-NOTES
includes/AutoLoader.php
includes/DefaultSettings.php
includes/SpecialPage.php
includes/specials/SpecialCreatePage.php [new file with mode: 0644]
languages/messages/MessagesAr.php
languages/messages/MessagesArz.php
languages/messages/MessagesDe.php
languages/messages/MessagesDsb.php
languages/messages/MessagesEn.php
languages/messages/MessagesEs.php
languages/messages/MessagesFr.php
languages/messages/MessagesFrp.php
languages/messages/MessagesGl.php
languages/messages/MessagesGsw.php
languages/messages/MessagesHsb.php
languages/messages/MessagesHu.php
languages/messages/MessagesIa.php
languages/messages/MessagesIt.php
languages/messages/MessagesJa.php
languages/messages/MessagesKm.php
languages/messages/MessagesKsh.php
languages/messages/MessagesLb.php
languages/messages/MessagesMk.php
languages/messages/MessagesMt.php
languages/messages/MessagesNds_nl.php
languages/messages/MessagesNl.php
languages/messages/MessagesNo.php
languages/messages/MessagesPs.php
languages/messages/MessagesSa.php
languages/messages/MessagesSu.php
languages/messages/MessagesSv.php
languages/messages/MessagesSw.php
languages/messages/MessagesTh.php
languages/messages/MessagesTl.php
languages/messages/MessagesVec.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc

diff --git a/CREDITS b/CREDITS
index fb64629..f733bc7 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -56,6 +56,7 @@ following names for their contribution to the product.
 * Victor Vasiliev
 
 == Patch Contributors ==
+* Adam Mckaig
 * Agbad
 * Brad Jorsch
 * Brent G
@@ -65,18 +66,21 @@ following names for their contribution to the product.
 * church of emacs
 * Daniel Arnold
 * Danny B.
+* Evan Wheeler
 * FunPika
 * Happy-melon
 * Jeremy Baron
 * Jidanni
 * Juliano F. Ravasi
-* Lucas Garczewski
 * Louperivois
+* Lucas Garczewski
 * Luigi Corsaro
 * Manuel Menal
 * Marcin Cieślak
+* Mark Johnston
 * Marooned
 * Max Semenik
+* Merrick Schaefer
 * Michael De La Rue
 * Michael Walsh
 * Mike Horvath
@@ -93,6 +97,7 @@ following names for their contribution to the product.
 * Simon Walker
 * Stefano Codari
 * Str4nd
+* Travis Derouin
 
 == Translators ==
 * Anders Wegge Jakobsen
index e6f6102..6aa42bf 100644 (file)
@@ -33,6 +33,11 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 18222) $wgMinimalPasswordLength default is now 1
 * $wgSessionHandler can be used to configure session.save_handler
 
+=== Migrated extensions ===
+The following extensions are migrated into MediaWiki 1.15:
+
+* Special:CreatePage (was extension Uniwiki CreatePage)
+
 === New features in 1.15 ===
 
 * (bug 2242) Add an expiry time to temporary passwords
index d6c487b..27ad050 100644 (file)
@@ -495,6 +495,7 @@ $wgAutoloadLocalClasses = array(
        'ShortPagesPage' => 'includes/specials/SpecialShortpages.php',
        'SpecialAllpages' => 'includes/specials/SpecialAllpages.php',
        'SpecialBookSources' => 'includes/specials/SpecialBooksources.php',
+       'SpecialCreatePage' => 'includes/specials/SpecialCreatePage.php',
        'SpecialExport' => 'includes/specials/SpecialExport.php',
        'SpecialImport' => 'includes/specials/SpecialImport.php',
        'SpecialListGroupRights' => 'includes/specials/SpecialListgrouprights.php',
index e971aa7..1104552 100644 (file)
@@ -3099,6 +3099,7 @@ $wgSpecialPageGroups = array(
        'Export'                    => 'pagetools',
        'Import'                    => 'pagetools',
        'Whatlinkshere'             => 'pagetools',
+       'Createpage'                => 'pagetools',
 
        'Statistics'                => 'wiki',
        'Version'                   => 'wiki',
index bfba9ad..ca4da21 100644 (file)
@@ -169,6 +169,7 @@ class SpecialPage
                'Undelete'                  => array( 'SpecialPage', 'Undelete', 'deletedhistory' ),
                'Whatlinkshere'             => 'SpecialWhatlinkshere',
                'MergeHistory'              => array( 'SpecialPage', 'MergeHistory', 'mergehistory' ),  
+               'Createpage'                => 'SpecialCreatePage',
                
                # Other
                'Booksources'               => 'SpecialBookSources',
diff --git a/includes/specials/SpecialCreatePage.php b/includes/specials/SpecialCreatePage.php
new file mode 100644 (file)
index 0000000..63dcf3e
--- /dev/null
@@ -0,0 +1,101 @@
+<?php
+/* This code was adapted from CreatePage.php from: Travis Derouin <travis@wikihow.com> for the Uniwiki extension CreatePage
+ * Originally licensed as: GNU GPL v2.0 or later
+ *
+ * This page has been copied and adapted from the Uniwiki extension CreatePage
+ * Originally licensed as: http://www.gnu.org/licenses/gpl-3.0.txt
+ *
+ * @license GNU GPL v3.0 http://www.gnu.org/licenses/gpl-3.0.txt
+ * @author Travis Derouin
+ * @author Merrick Schaefer
+ * @author Mark Johnston
+ * @author Evan Wheeler
+ * @author Adam Mckaig (at UNICEF)
+ * @author Siebrand Mazeland (integrated into MediaWiki core)
+ * @addtogroup SpecialPage
+ */
+
+class SpecialCreatePage extends SpecialPage {
+
+       function __construct() {
+               SpecialPage::SpecialPage( 'CreatePage', 'createpage' );
+       }
+
+       public function execute( $params ) {
+               global $wgOut, $wgRequest, $wgUser;
+
+               $this->setHeaders();
+
+               if ( !$this->userCanExecute( $wgUser ) ) {
+                       $this->displayRestrictionError();
+                       return;
+               }
+
+               $wgOut->addWikiMsg( 'createpage-summary' );
+
+               // check to see if we are trying to create a page
+               $target = $wgRequest->getVal ( 'target' );
+               $title = Title::newFromText ( $target );
+
+               // check for no title
+               if ( $wgRequest->wasPosted() && $target === '' ) {
+                       $this->error( wfMsg( 'createpage-entertitle' ) );
+               }
+               // check for invalid title
+               elseif ( $wgRequest->wasPosted() && is_null( $title ) ) {
+                       $this->error( wfMsg( 'createpage-badtitle', $target ) );
+               }
+               elseif ( $target != null ) {
+                       if ( $title->getArticleID() > 0 ) {
+                               // if the title exists then let the user know and give other options
+                               $wgOut->addWikiText ( wfMsg ( 'createpage-titleexists', $title->getFullText() ) . "<br />" );
+                               $skin = $wgUser->getSkin();
+                               $editlink = $skin->makeLinkObj( $title, wfMsg ( 'createpage-editexisting' ), 'action=edit' );
+                               $thisPage = Title::newFromText ( 'CreatePage', NS_SPECIAL );
+                               $wgOut->addHTML ( $editlink . '<br />'
+                                       . $skin->makeLinkObj ( $thisPage, wfMsg ( 'createpage-tryagain' ) )
+                               );
+                               return;
+                       } else {
+                               /* TODO - may want to search for closely named pages and give
+                                * other options here... */
+
+                               // otherwise, redirect them to the edit page for their title
+                               $wgOut->redirect ( $title->getEditURL() );
+                       }
+               }
+
+               // if this is just a normal GET, then output the form
+
+               // prefill the input with the title, if it was passed along
+               $newTitle = false;
+               $newTitleText = $wgRequest->getVal( 'newtitle', null );
+               if ( $newTitleText != null ) {
+                       $newTitle = Title::newFromURL( $newTitleText );
+                       if ( is_null( $newTitle ) )
+                               $newTitle = $newTitleText;
+                       else
+                               $newTitle = $newTitle->getText();
+               }
+
+               // output the form
+               $form = Xml::openElement( 'fieldset' ) .
+                       Xml::element( 'legend', null, wfMsg( 'createpage' ) ) . # This should really use a different message
+                       wfMsgWikiHtml( 'createpage-instructions' ) .
+                       Xml::openElement( 'form', array( 'method' => 'post', 'name' => 'createpageform', 'action' => '' ) ) .
+                       Xml::element( 'input', array( 'type' => 'text', 'name' => 'target', 'size' => 50, 'value' => $newTitle ) ) .
+                       '<br />' .
+                       Xml::element( 'input', array( 'type' => 'submit', 'value' => wfMsgHtml( 'createpage-submitbutton' ) ) ) .
+                       Xml::closeElement( 'form' ) .
+                       Xml::closeElement( 'fieldset' );
+               $wgOut->addHTML( $form );
+       }
+       /*
+        * Function to output an error message
+        * @param $msg String: message text or HTML
+       */
+       function error( $msg ) {
+               global $wgOut;
+               $wgOut->addHTML( Xml::element( 'p', array( 'class' => 'error' ), $msg ) );
+       }
+}
index 226c7a2..4506ef1 100644 (file)
@@ -377,6 +377,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'بحث_الوصلات' ),
        'DeletedContributions'      => array( 'مساهمات_محذوفة' ),
        'Tags'                      => array( 'وسوم' ),
+       'Createpage'                => array( 'إنشاء_صفحة' ),
 );
 
 /**
index 766c7c9..cb7a326 100644 (file)
@@ -281,6 +281,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'بحث_الوصلات' ),
        'DeletedContributions'      => array( 'مساهمات_محذوفة' ),
        'Tags'                      => array( 'وسوم' ),
+       'Createpage'                => array( 'إنشاء_صفحة' ),
 );
 
 $messages = array(
index 75fb327..a09d496 100644 (file)
@@ -157,6 +157,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Weblink-Suche' ),
        'DeletedContributions'      => array( 'Gelöschte Beiträge' ),
        'Tags'                      => array( 'Markierungen' ),
+       'Createpage'                => array( 'Seite erstellen' ),
 );
 
 $datePreferences = array(
index 8359570..6041ba4 100644 (file)
@@ -145,6 +145,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Pytanje wótkazow' ),
        'DeletedContributions'      => array( 'Wulašowane pśinoski' ),
        'Tags'                      => array( 'Toflicki' ),
+       'Createpage'                => array( 'Bok napóraś' ),
 );
 
 $messages = array(
index 2828df7..69ba40d 100644 (file)
@@ -440,6 +440,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'LinkSearch' ),
        'DeletedContributions'      => array( 'DeletedContributions' ),
        'Tags'                      => array( 'Tags' ),
+       'Createpage'                => array( 'CreatePage' ),
 );
 
 /**
@@ -489,6 +490,7 @@ XHTML id names.
 ** currentevents-url|currentevents
 ** recentchanges-url|recentchanges
 ** randompage-url|randompage
+** createpage-url|createpage
 ** helppage|help
 * SEARCH
 * TOOLBOX
@@ -3923,4 +3925,17 @@ Enter the filename without the "{{ns:file}}:" prefix.',
 'htmlform-reset'               => 'Undo changes',
 'htmlform-selectorother-other' => 'Other',
 
+# Special:CreatePage
+'createpage'              => 'Create a page',
+'createpage-url'          => 'Special:CreatePage', # do not translate or duplicate this message to other languages
+'createpage-summary'      => '', # do not translate or duplicate this message to other languages
+'createpage-submitbutton' => 'Submit',
+'createpage-instructions' => 'Enter the title of the page you wish to create:',
+'createpage-entertitle'   => 'Please enter a title for your page.',
+'createpage-titleexists'  => 'A page with the title [[$1]] already exists.
+Would you like to edit the existing page?',
+'createpage-tryagain'     => 'No. I want to create a new page with a distinct title.',
+'createpage-editexisting' => 'Yes. I want to contribute to the existing page.',
+'createpage-badtitle'     => '"$1" cannot be used as a page title',
+
 );
index 859c520..7edd83a 100644 (file)
@@ -162,6 +162,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'BlanquearPágina', 'Blanquear página' ),
        'LinkSearch'                => array( 'BúsquedaDeEnlaces', 'Búsqueda de enlaces' ),
        'DeletedContributions'      => array( 'ContribucionesBorradas', 'Contribuciones Borradas' ),
+       'Createpage'                => array( 'Crear_página' ),
 );
 
 $magicWords = array(
index 8192438..e4d1f8a 100644 (file)
@@ -308,6 +308,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Recherche de lien', 'Recherche de liens' ),
        'DeletedContributions'      => array( 'Contributions supprimées', 'ContributionsSupprimées', 'ContributionSupprimees' ),
        'Tags'                      => array( 'Balises' ),
+       'Createpage'                => array( 'Créer page', 'CréerPage' ),
 );
 
 $separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' );
index 9866775..85e9749 100644 (file)
@@ -13,7 +13,6 @@
 
 $fallback = 'fr';
 
-
 $bookstoreList = array(
     'Amazon.fr'    => 'http://www.amazon.fr/exec/obidos/ISBN=$1',
     'alapage.fr'   => 'http://www.alapage.com/mx/?tp=F&type=101&l_isbn=$1&donnee_appel=ALASQ&devise=&',
@@ -40,6 +39,10 @@ $namespaceNames = array(
        NS_CATEGORY_TALK    => 'Discussion_Catègorie',
 );
 
+$specialPageAliases = array(
+       'Createpage' => array( 'Fâre una pâge', 'FâreUnaPâge' ),
+);
+
 $linkTrail = '/^([a-zàâçéèêîœôû·’æäåāăëēïīòöōùü‘]+)(.*)$/sDu';
 
 $dateFormats = array(
index b2828a7..f5b99d5 100644 (file)
@@ -131,6 +131,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Buscar ligazóns web' ),
        'DeletedContributions'      => array( 'Contribucións borradas' ),
        'Tags'                      => array( 'Etiquetas' ),
+       'Createpage'                => array( 'Crear a páxina' ),
 );
 
 $magicWords = array(
index 10f8d7b..55603c6 100644 (file)
@@ -109,6 +109,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'Läärsyte' ),
        'LinkSearch'                => array( 'Suech no Gleicher' ),
        'DeletedContributions'      => array( 'Gleschti Byytreeg' ),
+       'Createpage'                => array( 'Syte aalege' ),
 );
 
 $linkTrail = '/^([äöüßa-z]+)(.*)$/sDu';
index f916f37..850f435 100644 (file)
@@ -127,6 +127,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Wotkazowe pytanje' ),
        'DeletedContributions'      => array( 'Zničene přinoški' ),
        'Tags'                      => array( 'Taflički' ),
+       'Createpage'                => array( 'Stronu wutworić' ),
 );
 
 $messages = array(
index b8d4e4c..42d0770 100644 (file)
@@ -144,6 +144,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Hivatkozás keresés' ),
        'DeletedContributions'      => array( 'Törölt szerkesztések' ),
        'Tags'                      => array( 'Címkék' ),
+       'Createpage'                => array( 'Oldalkészítés', 'Oldal készítése' ),
 );
 
 $datePreferences = array(
index 5a943ec..118a18f 100644 (file)
@@ -127,6 +127,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Recerca de ligamines' ),
        'DeletedContributions'      => array( 'Contributiones delite' ),
        'Tags'                      => array( 'Etiquettas' ),
+       'Createpage'                => array( 'Crear pagina' ),
 );
 
 $messages = array(
index 20a9910..7776a9e 100644 (file)
@@ -161,6 +161,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'PaginaVuota' ),
        'LinkSearch'                => array( 'CercaCollegamenti' ),
        'DeletedContributions'      => array( 'ContributiCancellati' ),
+       'Createpage'                => array( 'CreaPagina' ),
 );
 
 $magicWords = array(
index 9460920..2bced56 100644 (file)
@@ -155,6 +155,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( '外部リンク検索' ),
        'DeletedContributions'      => array( '削除された投稿記録', '削除された投稿履歴', '削除歴' ),
        'Tags'                      => array( 'タグ一覧' ),
+       'Createpage'                => array( 'ページ作成' ),
 );
 
 $magicWords = array(
index e6afd9f..bb234ed 100644 (file)
@@ -174,6 +174,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'ទំព័រទទេ' ),
        'LinkSearch'                => array( 'ស្វែងរកតំណភ្ជាប់' ),
        'DeletedContributions'      => array( 'ការរួមចំណែកដែលត្រូវបានលុបចោល' ),
+       'Createpage'                => array( 'បង្កើត​ទំព័រ' ),
 );
 
 $magicWords = array(
index ad4e180..9f2975e 100644 (file)
@@ -179,6 +179,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Websigge Söke' ),
        'DeletedContributions'      => array( 'Fotjeschmeße' ),
        'Tags'                      => array( 'Makeerunge' ),
+       'Createpage'                => array( 'Sigge_aanlääje', 'Sigg_aanlääje' ),
 );
 
 $magicWords = array(
index 9b19c44..365de75 100644 (file)
@@ -39,7 +39,6 @@ $namespaceAliases = array(
        'Bild_Diskussioun' => NS_FILE_TALK,
 );
 
-
 $specialPageAliases = array(
        'DoubleRedirects'           => array( 'Duebel Viruleedungen' ),
        'BrokenRedirects'           => array( 'Futtis Viruleedungen' ),
@@ -128,6 +127,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Weblink-Sich' ),
        'DeletedContributions'      => array( 'Geläschte Kontributiounen' ),
        'Tags'                      => array( 'Taggen' ),
+       'Createpage'                => array( 'Säiten uleeën' ),
 );
 
 $messages = array(
index e89e7c7..d83c1ce 100644 (file)
@@ -172,6 +172,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'ПребарајВрска' ),
        'DeletedContributions'      => array( 'ИзбришаниПридонеси' ),
        'Tags'                      => array( 'Приврзоци' ),
+       'Createpage'                => array( 'КреирајСтраница' ),
 );
 
 $magicWords = array(
index 6ba5ecc..4a50905 100644 (file)
@@ -131,6 +131,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'PaġnaVojta' ),
        'LinkSearch'                => array( 'FittexĦolqa' ),
        'DeletedContributions'      => array( 'KontribuzzjonijietImħassra' ),
+       'Createpage'                => array( 'OħloqPaġna' ),
 );
 
 $magicWords = array(
index 0283f57..96c7e05 100644 (file)
@@ -275,6 +275,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'Lege_pagina' ),
        'LinkSearch'                => array( 'Verwiezingen_zeuken' ),
        'DeletedContributions'      => array( 'Vort-ehaolen gebrukersbiedragen' ),
+       'Createpage'                => array( 'Pagina_anmaken' ),
 );
 
 $linkTrail = '/^([a-zäöüïëéèà]+)(.*)$/sDu';
index 7c4f022..3b5902b 100644 (file)
@@ -295,6 +295,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'VerwijzingenZoeken', 'LinksZoeken' ),
        'DeletedContributions'      => array( 'VerwijderdeBijdragen' ),
        'Tags'                      => array( 'Labels' ),
+       'Createpage'                => array( 'PaginaAanmaken' ),
 );
 
 $linkTrail = '/^([a-zäöüïëéèà]+)(.*)$/sDu';
index a8b17b6..222b911 100644 (file)
@@ -164,6 +164,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Lenkesøk' ),
        'DeletedContributions'      => array( 'Slettede bidrag' ),
        'Tags'                      => array( 'Tagger' ),
+       'Createpage'                => array( 'Opprett side' ),
 );
 
 $messages = array(
index b7cf513..cb4c92b 100644 (file)
@@ -76,6 +76,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'تش مخ' ),
        'LinkSearch'                => array( 'د تړنې پلټنه' ),
        'DeletedContributions'      => array( 'ړنګې شوي ونډې' ),
+       'Createpage'                => array( 'مخ جوړول' ),
 );
 
 $magicWords = array(
index 0278204..0bcc3a9 100644 (file)
@@ -140,6 +140,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'रिक्तपृष्ठ' ),
        'LinkSearch'                => array( 'सम्बन्धन्‌शोध' ),
        'DeletedContributions'      => array( 'परित्यागितयोगदान' ),
+       'Createpage'                => array( 'पृष्ठस्यसृजन' ),
 );
 
 $magicWords = array(
index d0da6bf..1240286 100644 (file)
@@ -123,6 +123,7 @@ $specialPageAliases = array(
        'Invalidateemail'           => array( 'SurelekTeuKaci' ),
        'Blankpage'                 => array( 'KacaKosong' ),
        'Tags'                      => array( 'Tag' ),
+       'Createpage'                => array( 'JieunKaca' ),
 );
 
 $messages = array(
index 17dcb08..e3e2110 100644 (file)
@@ -141,6 +141,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Länksökning' ),
        'DeletedContributions'      => array( 'Raderade bidrag' ),
        'Tags'                      => array( 'Taggar' ),
+       'Createpage'                => array( 'Skapa sida' ),
 );
 
 $magicWords = array(
index ec552bf..4e6aa3d 100644 (file)
@@ -108,6 +108,7 @@ $specialPageAliases = array(
        'Blankpage'                 => array( 'KurasaTupu' ),
        'LinkSearch'                => array( 'TafutaKiungo' ),
        'DeletedContributions'      => array( 'MichangoIliyofutwa' ),
+       'Createpage'                => array( 'AnzishaUkurasa' ),
 );
 
 $messages = array(
index 2c17bbe..1eeb580 100644 (file)
@@ -129,6 +129,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'ค้นหาเว็บลิงก์' ),
        'DeletedContributions'      => array( 'การแก้ไขที่ถูกลบ' ),
        'Tags'                      => array( 'ป้ายกำักับ' ),
+       'Createpage'                => array( 'สร้างหน้า' ),
 );
 
 $magicWords = array(
index 2db9270..c0a5647 100644 (file)
@@ -128,6 +128,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'Paghahanap ng kawing' ),
        'DeletedContributions'      => array( 'Naburang mga ambag' ),
        'Tags'                      => array( 'Mga tatak' ),
+       'Createpage'                => array( 'Likhain ang pahina', 'LikhaPahina' ),
 );
 
 $messages = array(
index ec018ea..d4f3614 100644 (file)
@@ -128,6 +128,7 @@ $specialPageAliases = array(
        'LinkSearch'                => array( 'SercaLigamenti' ),
        'DeletedContributions'      => array( 'ContributiScancelà' ),
        'Tags'                      => array( 'Tag' ),
+       'Createpage'                => array( 'CreaPàxena' ),
 );
 
 $messages = array(
index cfa2389..afc03fc 100644 (file)
@@ -154,6 +154,8 @@ $wgIgnoredMessages = array(
        'upload-summary',
        'newuserlogentry',
        'wantedtemplates-summary',
+       'createpage-summary',
+       'createpage-url',
 );
 
 /** Optional messages, which may be translated only if changed in the target language. */
index ba75d4a..63e2b7a 100644 (file)
@@ -2990,6 +2990,18 @@ $wgMessageStructure = array(
                'htmlform-reset',
                'htmlform-selectorother-other',
        ),
+       'createpage' => array(
+               'createpage',
+               'createpage-url',
+               'createpage-summary',
+               'createpage-submitbutton',
+               'createpage-instructions',
+               'createpage-entertitle',
+               'createpage-titleexists',
+               'createpage-tryagain',
+               'createpage-editexisting',
+               'createpage-badtitle',
+       ),
 );
 
 /** Comments for each block */
@@ -3192,4 +3204,5 @@ Variants for Chinese language",
        'special-tags'          => 'Special:Tags',
        'db-error-messages'     => 'Database error messages',
        'html-forms'            => 'HTML forms',
+       'createpage'            => 'Special:CreatePage',
 );