Index: trunk/extensions/Translate/aliases.txt |
— | — | @@ -271,9 +271,6 @@ |
272 | 272 | Translate |
273 | 273 | file = Translate/Translate.alias.php |
274 | 274 | |
275 | | -Uniwiki Create page |
276 | | -file = uniwiki/CreatePage/CreatePage.alias.php |
277 | | - |
278 | 275 | Usage statistics |
279 | 276 | file = UsageStatistics/SpecialUserStats.alias.php |
280 | 277 | |
Index: trunk/extensions/Translate/groups/MediaWikiExtensions.php |
— | — | @@ -554,7 +554,6 @@ |
555 | 555 | 'ext-uniwiki-authors', |
556 | 556 | 'ext-uniwiki-autocreatecategorypages', |
557 | 557 | 'ext-uniwiki-catboxattop', |
558 | | - 'ext-uniwiki-createpage', |
559 | 558 | 'ext-uniwiki-csshooks', |
560 | 559 | 'ext-uniwiki-customtoolbar', |
561 | 560 | 'ext-uniwiki-formatchanges', |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -835,11 +835,6 @@ |
836 | 836 | file = uniwiki/CatBoxAtTop/CatBoxAtTop.i18n.php |
837 | 837 | descmsg = catboxattop-desc |
838 | 838 | |
839 | | -Uniwiki - Create Page |
840 | | -id = ext-uniwiki-createpage |
841 | | -file = uniwiki/CreatePage/CreatePage.i18n.php |
842 | | -descmsg = createpage-desc |
843 | | - |
844 | 839 | Uniwiki - Css Hooks |
845 | 840 | id = ext-uniwiki-csshooks |
846 | 841 | file = uniwiki/CssHooks/CssHooks.i18n.php |
Index: trunk/extensions/uniwiki/UniwikiSettings.php |
— | — | @@ -18,6 +18,7 @@ |
19 | 19 | # Broken. creditLink() missing. |
20 | 20 | #require_once("$uw/Authors/Authors.php"); |
21 | 21 | require_once("$uw/CustomToolbar/CustomToolbar.php"); |
22 | | -require_once("$uw/CreatePage/CreatePage.php"); |
| 22 | +# Obsolete. Added to MediaWiki 1.15 alpha in r49880 |
| 23 | +#require_once("$uw/CreatePage/CreatePage.php"); |
23 | 24 | require_once("$uw/FormatChanges/FormatChanges.php"); |
24 | 25 | require_once("$uw/FormatSearch/FormatSearch.php"); |
Index: trunk/extensions/uniwiki/CreatePage/OBSOLETE |
— | — | @@ -0,0 +1,4 @@ |
| 2 | +As of MediaWiki 1.15 alpha r49880 this extension is obsolete. Its functionality |
| 3 | +was integrated into MediaWiki's core. |
| 4 | + |
| 5 | +In the future it will be deleted from subversion. |
\ No newline at end of file |
Property changes on: trunk/extensions/uniwiki/CreatePage/OBSOLETE |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 6 | + native |
Index: trunk/phase3/CREDITS |
— | — | @@ -56,6 +56,7 @@ |
57 | 57 | * Victor Vasiliev |
58 | 58 | |
59 | 59 | == Patch Contributors == |
| 60 | +* Adam Mckaig |
60 | 61 | * Agbad |
61 | 62 | * Brad Jorsch |
62 | 63 | * Brent G |
— | — | @@ -65,18 +66,21 @@ |
66 | 67 | * church of emacs |
67 | 68 | * Daniel Arnold |
68 | 69 | * Danny B. |
| 70 | +* Evan Wheeler |
69 | 71 | * FunPika |
70 | 72 | * Happy-melon |
71 | 73 | * Jeremy Baron |
72 | 74 | * Jidanni |
73 | 75 | * Juliano F. Ravasi |
| 76 | +* Louperivois |
74 | 77 | * Lucas Garczewski |
75 | | -* Louperivois |
76 | 78 | * Luigi Corsaro |
77 | 79 | * Manuel Menal |
78 | 80 | * Marcin Cieślak |
| 81 | +* Mark Johnston |
79 | 82 | * Marooned |
80 | 83 | * Max Semenik |
| 84 | +* Merrick Schaefer |
81 | 85 | * Michael De La Rue |
82 | 86 | * Michael Walsh |
83 | 87 | * Mike Horvath |
— | — | @@ -93,6 +97,7 @@ |
94 | 98 | * Simon Walker |
95 | 99 | * Stefano Codari |
96 | 100 | * Str4nd |
| 101 | +* Travis Derouin |
97 | 102 | |
98 | 103 | == Translators == |
99 | 104 | * Anders Wegge Jakobsen |
Index: trunk/phase3/includes/specials/SpecialCreatePage.php |
— | — | @@ -0,0 +1,101 @@ |
| 2 | +<?php |
| 3 | +/* This code was adapted from CreatePage.php from: Travis Derouin <travis@wikihow.com> for the Uniwiki extension CreatePage |
| 4 | + * Originally licensed as: GNU GPL v2.0 or later |
| 5 | + * |
| 6 | + * This page has been copied and adapted from the Uniwiki extension CreatePage |
| 7 | + * Originally licensed as: http://www.gnu.org/licenses/gpl-3.0.txt |
| 8 | + * |
| 9 | + * @license GNU GPL v3.0 http://www.gnu.org/licenses/gpl-3.0.txt |
| 10 | + * @author Travis Derouin |
| 11 | + * @author Merrick Schaefer |
| 12 | + * @author Mark Johnston |
| 13 | + * @author Evan Wheeler |
| 14 | + * @author Adam Mckaig (at UNICEF) |
| 15 | + * @author Siebrand Mazeland (integrated into MediaWiki core) |
| 16 | + * @addtogroup SpecialPage |
| 17 | + */ |
| 18 | + |
| 19 | +class SpecialCreatePage extends SpecialPage { |
| 20 | + |
| 21 | + function __construct() { |
| 22 | + SpecialPage::SpecialPage( 'CreatePage', 'createpage' ); |
| 23 | + } |
| 24 | + |
| 25 | + public function execute( $params ) { |
| 26 | + global $wgOut, $wgRequest, $wgUser; |
| 27 | + |
| 28 | + $this->setHeaders(); |
| 29 | + |
| 30 | + if ( !$this->userCanExecute( $wgUser ) ) { |
| 31 | + $this->displayRestrictionError(); |
| 32 | + return; |
| 33 | + } |
| 34 | + |
| 35 | + $wgOut->addWikiMsg( 'createpage-summary' ); |
| 36 | + |
| 37 | + // check to see if we are trying to create a page |
| 38 | + $target = $wgRequest->getVal ( 'target' ); |
| 39 | + $title = Title::newFromText ( $target ); |
| 40 | + |
| 41 | + // check for no title |
| 42 | + if ( $wgRequest->wasPosted() && $target === '' ) { |
| 43 | + $this->error( wfMsg( 'createpage-entertitle' ) ); |
| 44 | + } |
| 45 | + // check for invalid title |
| 46 | + elseif ( $wgRequest->wasPosted() && is_null( $title ) ) { |
| 47 | + $this->error( wfMsg( 'createpage-badtitle', $target ) ); |
| 48 | + } |
| 49 | + elseif ( $target != null ) { |
| 50 | + if ( $title->getArticleID() > 0 ) { |
| 51 | + // if the title exists then let the user know and give other options |
| 52 | + $wgOut->addWikiText ( wfMsg ( 'createpage-titleexists', $title->getFullText() ) . "<br />" ); |
| 53 | + $skin = $wgUser->getSkin(); |
| 54 | + $editlink = $skin->makeLinkObj( $title, wfMsg ( 'createpage-editexisting' ), 'action=edit' ); |
| 55 | + $thisPage = Title::newFromText ( 'CreatePage', NS_SPECIAL ); |
| 56 | + $wgOut->addHTML ( $editlink . '<br />' |
| 57 | + . $skin->makeLinkObj ( $thisPage, wfMsg ( 'createpage-tryagain' ) ) |
| 58 | + ); |
| 59 | + return; |
| 60 | + } else { |
| 61 | + /* TODO - may want to search for closely named pages and give |
| 62 | + * other options here... */ |
| 63 | + |
| 64 | + // otherwise, redirect them to the edit page for their title |
| 65 | + $wgOut->redirect ( $title->getEditURL() ); |
| 66 | + } |
| 67 | + } |
| 68 | + |
| 69 | + // if this is just a normal GET, then output the form |
| 70 | + |
| 71 | + // prefill the input with the title, if it was passed along |
| 72 | + $newTitle = false; |
| 73 | + $newTitleText = $wgRequest->getVal( 'newtitle', null ); |
| 74 | + if ( $newTitleText != null ) { |
| 75 | + $newTitle = Title::newFromURL( $newTitleText ); |
| 76 | + if ( is_null( $newTitle ) ) |
| 77 | + $newTitle = $newTitleText; |
| 78 | + else |
| 79 | + $newTitle = $newTitle->getText(); |
| 80 | + } |
| 81 | + |
| 82 | + // output the form |
| 83 | + $form = Xml::openElement( 'fieldset' ) . |
| 84 | + Xml::element( 'legend', null, wfMsg( 'createpage' ) ) . # This should really use a different message |
| 85 | + wfMsgWikiHtml( 'createpage-instructions' ) . |
| 86 | + Xml::openElement( 'form', array( 'method' => 'post', 'name' => 'createpageform', 'action' => '' ) ) . |
| 87 | + Xml::element( 'input', array( 'type' => 'text', 'name' => 'target', 'size' => 50, 'value' => $newTitle ) ) . |
| 88 | + '<br />' . |
| 89 | + Xml::element( 'input', array( 'type' => 'submit', 'value' => wfMsgHtml( 'createpage-submitbutton' ) ) ) . |
| 90 | + Xml::closeElement( 'form' ) . |
| 91 | + Xml::closeElement( 'fieldset' ); |
| 92 | + $wgOut->addHTML( $form ); |
| 93 | + } |
| 94 | + /* |
| 95 | + * Function to output an error message |
| 96 | + * @param $msg String: message text or HTML |
| 97 | + */ |
| 98 | + function error( $msg ) { |
| 99 | + global $wgOut; |
| 100 | + $wgOut->addHTML( Xml::element( 'p', array( 'class' => 'error' ), $msg ) ); |
| 101 | + } |
| 102 | +} |
Property changes on: trunk/phase3/includes/specials/SpecialCreatePage.php |
___________________________________________________________________ |
Added: svn:mergeinfo |
Added: svn:eol-style |
1 | 103 | + native |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3099,6 +3099,7 @@ |
3100 | 3100 | 'Export' => 'pagetools', |
3101 | 3101 | 'Import' => 'pagetools', |
3102 | 3102 | 'Whatlinkshere' => 'pagetools', |
| 3103 | + 'Createpage' => 'pagetools', |
3103 | 3104 | |
3104 | 3105 | 'Statistics' => 'wiki', |
3105 | 3106 | 'Version' => 'wiki', |
Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -169,6 +169,7 @@ |
170 | 170 | 'Undelete' => array( 'SpecialPage', 'Undelete', 'deletedhistory' ), |
171 | 171 | 'Whatlinkshere' => 'SpecialWhatlinkshere', |
172 | 172 | 'MergeHistory' => array( 'SpecialPage', 'MergeHistory', 'mergehistory' ), |
| 173 | + 'Createpage' => 'SpecialCreatePage', |
173 | 174 | |
174 | 175 | # Other |
175 | 176 | 'Booksources' => 'SpecialBookSources', |
Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -495,6 +495,7 @@ |
496 | 496 | 'ShortPagesPage' => 'includes/specials/SpecialShortpages.php', |
497 | 497 | 'SpecialAllpages' => 'includes/specials/SpecialAllpages.php', |
498 | 498 | 'SpecialBookSources' => 'includes/specials/SpecialBooksources.php', |
| 499 | + 'SpecialCreatePage' => 'includes/specials/SpecialCreatePage.php', |
499 | 500 | 'SpecialExport' => 'includes/specials/SpecialExport.php', |
500 | 501 | 'SpecialImport' => 'includes/specials/SpecialImport.php', |
501 | 502 | 'SpecialListGroupRights' => 'includes/specials/SpecialListgrouprights.php', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -33,6 +33,11 @@ |
34 | 34 | * (bug 18222) $wgMinimalPasswordLength default is now 1 |
35 | 35 | * $wgSessionHandler can be used to configure session.save_handler |
36 | 36 | |
| 37 | +=== Migrated extensions === |
| 38 | +The following extensions are migrated into MediaWiki 1.15: |
| 39 | + |
| 40 | +* Special:CreatePage (was extension Uniwiki CreatePage) |
| 41 | + |
37 | 42 | === New features in 1.15 === |
38 | 43 | |
39 | 44 | * (bug 2242) Add an expiry time to temporary passwords |
Index: trunk/phase3/languages/messages/MessagesMt.php |
— | — | @@ -131,6 +131,7 @@ |
132 | 132 | 'Blankpage' => array( 'PaġnaVojta' ), |
133 | 133 | 'LinkSearch' => array( 'FittexĦolqa' ), |
134 | 134 | 'DeletedContributions' => array( 'KontribuzzjonijietImħassra' ), |
| 135 | + 'Createpage' => array( 'OħloqPaġna' ), |
135 | 136 | ); |
136 | 137 | |
137 | 138 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesNo.php |
— | — | @@ -164,6 +164,7 @@ |
165 | 165 | 'LinkSearch' => array( 'Lenkesøk' ), |
166 | 166 | 'DeletedContributions' => array( 'Slettede bidrag' ), |
167 | 167 | 'Tags' => array( 'Tagger' ), |
| 168 | + 'Createpage' => array( 'Opprett side' ), |
168 | 169 | ); |
169 | 170 | |
170 | 171 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesGl.php |
— | — | @@ -131,6 +131,7 @@ |
132 | 132 | 'LinkSearch' => array( 'Buscar ligazóns web' ), |
133 | 133 | 'DeletedContributions' => array( 'Contribucións borradas' ), |
134 | 134 | 'Tags' => array( 'Etiquetas' ), |
| 135 | + 'Createpage' => array( 'Crear a páxina' ), |
135 | 136 | ); |
136 | 137 | |
137 | 138 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesSa.php |
— | — | @@ -140,6 +140,7 @@ |
141 | 141 | 'Blankpage' => array( 'रिक्तपृष्ठ' ), |
142 | 142 | 'LinkSearch' => array( 'सम्बन्धन्शोध' ), |
143 | 143 | 'DeletedContributions' => array( 'परित्यागितयोगदान' ), |
| 144 | + 'Createpage' => array( 'पृष्ठस्यसृजन' ), |
144 | 145 | ); |
145 | 146 | |
146 | 147 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesKsh.php |
— | — | @@ -179,6 +179,7 @@ |
180 | 180 | 'LinkSearch' => array( 'Websigge Söke' ), |
181 | 181 | 'DeletedContributions' => array( 'Fotjeschmeße' ), |
182 | 182 | 'Tags' => array( 'Makeerunge' ), |
| 183 | + 'Createpage' => array( 'Sigge_aanlääje', 'Sigg_aanlääje' ), |
183 | 184 | ); |
184 | 185 | |
185 | 186 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesSu.php |
— | — | @@ -123,6 +123,7 @@ |
124 | 124 | 'Invalidateemail' => array( 'SurelekTeuKaci' ), |
125 | 125 | 'Blankpage' => array( 'KacaKosong' ), |
126 | 126 | 'Tags' => array( 'Tag' ), |
| 127 | + 'Createpage' => array( 'JieunKaca' ), |
127 | 128 | ); |
128 | 129 | |
129 | 130 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesLb.php |
— | — | @@ -39,7 +39,6 @@ |
40 | 40 | 'Bild_Diskussioun' => NS_FILE_TALK, |
41 | 41 | ); |
42 | 42 | |
43 | | - |
44 | 43 | $specialPageAliases = array( |
45 | 44 | 'DoubleRedirects' => array( 'Duebel Viruleedungen' ), |
46 | 45 | 'BrokenRedirects' => array( 'Futtis Viruleedungen' ), |
— | — | @@ -128,6 +127,7 @@ |
129 | 128 | 'LinkSearch' => array( 'Weblink-Sich' ), |
130 | 129 | 'DeletedContributions' => array( 'Geläschte Kontributiounen' ), |
131 | 130 | 'Tags' => array( 'Taggen' ), |
| 131 | + 'Createpage' => array( 'Säiten uleeën' ), |
132 | 132 | ); |
133 | 133 | |
134 | 134 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesTh.php |
— | — | @@ -129,6 +129,7 @@ |
130 | 130 | 'LinkSearch' => array( 'ค้นหาเว็บลิงก์' ), |
131 | 131 | 'DeletedContributions' => array( 'การแก้ไขที่ถูกลบ' ), |
132 | 132 | 'Tags' => array( 'ป้ายกำักับ' ), |
| 133 | + 'Createpage' => array( 'สร้างหน้า' ), |
133 | 134 | ); |
134 | 135 | |
135 | 136 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesTl.php |
— | — | @@ -128,6 +128,7 @@ |
129 | 129 | 'LinkSearch' => array( 'Paghahanap ng kawing' ), |
130 | 130 | 'DeletedContributions' => array( 'Naburang mga ambag' ), |
131 | 131 | 'Tags' => array( 'Mga tatak' ), |
| 132 | + 'Createpage' => array( 'Likhain ang pahina', 'LikhaPahina' ), |
132 | 133 | ); |
133 | 134 | |
134 | 135 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesEs.php |
— | — | @@ -162,6 +162,7 @@ |
163 | 163 | 'Blankpage' => array( 'BlanquearPágina', 'Blanquear página' ), |
164 | 164 | 'LinkSearch' => array( 'BúsquedaDeEnlaces', 'Búsqueda de enlaces' ), |
165 | 165 | 'DeletedContributions' => array( 'ContribucionesBorradas', 'Contribuciones Borradas' ), |
| 166 | + 'Createpage' => array( 'Crear_página' ), |
166 | 167 | ); |
167 | 168 | |
168 | 169 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesJa.php |
— | — | @@ -155,6 +155,7 @@ |
156 | 156 | 'LinkSearch' => array( '外部リンク検索' ), |
157 | 157 | 'DeletedContributions' => array( '削除された投稿記録', '削除された投稿履歴', '削除歴' ), |
158 | 158 | 'Tags' => array( 'タグ一覧' ), |
| 159 | + 'Createpage' => array( 'ページ作成' ), |
159 | 160 | ); |
160 | 161 | |
161 | 162 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesFr.php |
— | — | @@ -308,6 +308,7 @@ |
309 | 309 | 'LinkSearch' => array( 'Recherche de lien', 'Recherche de liens' ), |
310 | 310 | 'DeletedContributions' => array( 'Contributions supprimées', 'ContributionsSupprimées', 'ContributionSupprimees' ), |
311 | 311 | 'Tags' => array( 'Balises' ), |
| 312 | + 'Createpage' => array( 'Créer page', 'CréerPage' ), |
312 | 313 | ); |
313 | 314 | |
314 | 315 | $separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' ); |
Index: trunk/phase3/languages/messages/MessagesNl.php |
— | — | @@ -295,6 +295,7 @@ |
296 | 296 | 'LinkSearch' => array( 'VerwijzingenZoeken', 'LinksZoeken' ), |
297 | 297 | 'DeletedContributions' => array( 'VerwijderdeBijdragen' ), |
298 | 298 | 'Tags' => array( 'Labels' ), |
| 299 | + 'Createpage' => array( 'PaginaAanmaken' ), |
299 | 300 | ); |
300 | 301 | |
301 | 302 | $linkTrail = '/^([a-zäöüïëéèà]+)(.*)$/sDu'; |
Index: trunk/phase3/languages/messages/MessagesSv.php |
— | — | @@ -141,6 +141,7 @@ |
142 | 142 | 'LinkSearch' => array( 'Länksökning' ), |
143 | 143 | 'DeletedContributions' => array( 'Raderade bidrag' ), |
144 | 144 | 'Tags' => array( 'Taggar' ), |
| 145 | + 'Createpage' => array( 'Skapa sida' ), |
145 | 146 | ); |
146 | 147 | |
147 | 148 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesDe.php |
— | — | @@ -157,6 +157,7 @@ |
158 | 158 | 'LinkSearch' => array( 'Weblink-Suche' ), |
159 | 159 | 'DeletedContributions' => array( 'Gelöschte Beiträge' ), |
160 | 160 | 'Tags' => array( 'Markierungen' ), |
| 161 | + 'Createpage' => array( 'Seite erstellen' ), |
161 | 162 | ); |
162 | 163 | |
163 | 164 | $datePreferences = array( |
Index: trunk/phase3/languages/messages/MessagesGsw.php |
— | — | @@ -109,6 +109,7 @@ |
110 | 110 | 'Blankpage' => array( 'Läärsyte' ), |
111 | 111 | 'LinkSearch' => array( 'Suech no Gleicher' ), |
112 | 112 | 'DeletedContributions' => array( 'Gleschti Byytreeg' ), |
| 113 | + 'Createpage' => array( 'Syte aalege' ), |
113 | 114 | ); |
114 | 115 | |
115 | 116 | $linkTrail = '/^([äöüßa-z]+)(.*)$/sDu'; |
Index: trunk/phase3/languages/messages/MessagesHsb.php |
— | — | @@ -127,6 +127,7 @@ |
128 | 128 | 'LinkSearch' => array( 'Wotkazowe pytanje' ), |
129 | 129 | 'DeletedContributions' => array( 'Zničene přinoški' ), |
130 | 130 | 'Tags' => array( 'Taflički' ), |
| 131 | + 'Createpage' => array( 'Stronu wutworić' ), |
131 | 132 | ); |
132 | 133 | |
133 | 134 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesArz.php |
— | — | @@ -281,6 +281,7 @@ |
282 | 282 | 'LinkSearch' => array( 'بحث_الوصلات' ), |
283 | 283 | 'DeletedContributions' => array( 'مساهمات_محذوفة' ), |
284 | 284 | 'Tags' => array( 'وسوم' ), |
| 285 | + 'Createpage' => array( 'إنشاء_صفحة' ), |
285 | 286 | ); |
286 | 287 | |
287 | 288 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesKm.php |
— | — | @@ -174,6 +174,7 @@ |
175 | 175 | 'Blankpage' => array( 'ទំព័រទទេ' ), |
176 | 176 | 'LinkSearch' => array( 'ស្វែងរកតំណភ្ជាប់' ), |
177 | 177 | 'DeletedContributions' => array( 'ការរួមចំណែកដែលត្រូវបានលុបចោល' ), |
| 178 | + 'Createpage' => array( 'បង្កើតទំព័រ' ), |
178 | 179 | ); |
179 | 180 | |
180 | 181 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesVec.php |
— | — | @@ -128,6 +128,7 @@ |
129 | 129 | 'LinkSearch' => array( 'SercaLigamenti' ), |
130 | 130 | 'DeletedContributions' => array( 'ContributiScancelà' ), |
131 | 131 | 'Tags' => array( 'Tag' ), |
| 132 | + 'Createpage' => array( 'CreaPàxena' ), |
132 | 133 | ); |
133 | 134 | |
134 | 135 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesSw.php |
— | — | @@ -108,6 +108,7 @@ |
109 | 109 | 'Blankpage' => array( 'KurasaTupu' ), |
110 | 110 | 'LinkSearch' => array( 'TafutaKiungo' ), |
111 | 111 | 'DeletedContributions' => array( 'MichangoIliyofutwa' ), |
| 112 | + 'Createpage' => array( 'AnzishaUkurasa' ), |
112 | 113 | ); |
113 | 114 | |
114 | 115 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesHu.php |
— | — | @@ -144,6 +144,7 @@ |
145 | 145 | 'LinkSearch' => array( 'Hivatkozás keresés' ), |
146 | 146 | 'DeletedContributions' => array( 'Törölt szerkesztések' ), |
147 | 147 | 'Tags' => array( 'Címkék' ), |
| 148 | + 'Createpage' => array( 'Oldalkészítés', 'Oldal készítése' ), |
148 | 149 | ); |
149 | 150 | |
150 | 151 | $datePreferences = array( |
Index: trunk/phase3/languages/messages/MessagesNds_nl.php |
— | — | @@ -275,6 +275,7 @@ |
276 | 276 | 'Blankpage' => array( 'Lege_pagina' ), |
277 | 277 | 'LinkSearch' => array( 'Verwiezingen_zeuken' ), |
278 | 278 | 'DeletedContributions' => array( 'Vort-ehaolen gebrukersbiedragen' ), |
| 279 | + 'Createpage' => array( 'Pagina_anmaken' ), |
279 | 280 | ); |
280 | 281 | |
281 | 282 | $linkTrail = '/^([a-zäöüïëéèà]+)(.*)$/sDu'; |
Index: trunk/phase3/languages/messages/MessagesPs.php |
— | — | @@ -76,6 +76,7 @@ |
77 | 77 | 'Blankpage' => array( 'تش مخ' ), |
78 | 78 | 'LinkSearch' => array( 'د تړنې پلټنه' ), |
79 | 79 | 'DeletedContributions' => array( 'ړنګې شوي ونډې' ), |
| 80 | + 'Createpage' => array( 'مخ جوړول' ), |
80 | 81 | ); |
81 | 82 | |
82 | 83 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesAr.php |
— | — | @@ -377,6 +377,7 @@ |
378 | 378 | 'LinkSearch' => array( 'بحث_الوصلات' ), |
379 | 379 | 'DeletedContributions' => array( 'مساهمات_محذوفة' ), |
380 | 380 | 'Tags' => array( 'وسوم' ), |
| 381 | + 'Createpage' => array( 'إنشاء_صفحة' ), |
381 | 382 | ); |
382 | 383 | |
383 | 384 | /** |
Index: trunk/phase3/languages/messages/MessagesMk.php |
— | — | @@ -172,6 +172,7 @@ |
173 | 173 | 'LinkSearch' => array( 'ПребарајВрска' ), |
174 | 174 | 'DeletedContributions' => array( 'ИзбришаниПридонеси' ), |
175 | 175 | 'Tags' => array( 'Приврзоци' ), |
| 176 | + 'Createpage' => array( 'КреирајСтраница' ), |
176 | 177 | ); |
177 | 178 | |
178 | 179 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesIt.php |
— | — | @@ -161,6 +161,7 @@ |
162 | 162 | 'Blankpage' => array( 'PaginaVuota' ), |
163 | 163 | 'LinkSearch' => array( 'CercaCollegamenti' ), |
164 | 164 | 'DeletedContributions' => array( 'ContributiCancellati' ), |
| 165 | + 'Createpage' => array( 'CreaPagina' ), |
165 | 166 | ); |
166 | 167 | |
167 | 168 | $magicWords = array( |
Index: trunk/phase3/languages/messages/MessagesFrp.php |
— | — | @@ -13,7 +13,6 @@ |
14 | 14 | |
15 | 15 | $fallback = 'fr'; |
16 | 16 | |
17 | | - |
18 | 17 | $bookstoreList = array( |
19 | 18 | 'Amazon.fr' => 'http://www.amazon.fr/exec/obidos/ISBN=$1', |
20 | 19 | 'alapage.fr' => 'http://www.alapage.com/mx/?tp=F&type=101&l_isbn=$1&donnee_appel=ALASQ&devise=&', |
— | — | @@ -40,6 +39,10 @@ |
41 | 40 | NS_CATEGORY_TALK => 'Discussion_Catègorie', |
42 | 41 | ); |
43 | 42 | |
| 43 | +$specialPageAliases = array( |
| 44 | + 'Createpage' => array( 'Fâre una pâge', 'FâreUnaPâge' ), |
| 45 | +); |
| 46 | + |
44 | 47 | $linkTrail = '/^([a-zàâçéèêîœôû·’æäåāăëēïīòöōùü‘]+)(.*)$/sDu'; |
45 | 48 | |
46 | 49 | $dateFormats = array( |
Index: trunk/phase3/languages/messages/MessagesIa.php |
— | — | @@ -127,6 +127,7 @@ |
128 | 128 | 'LinkSearch' => array( 'Recerca de ligamines' ), |
129 | 129 | 'DeletedContributions' => array( 'Contributiones delite' ), |
130 | 130 | 'Tags' => array( 'Etiquettas' ), |
| 131 | + 'Createpage' => array( 'Crear pagina' ), |
131 | 132 | ); |
132 | 133 | |
133 | 134 | $messages = array( |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -440,6 +440,7 @@ |
441 | 441 | 'LinkSearch' => array( 'LinkSearch' ), |
442 | 442 | 'DeletedContributions' => array( 'DeletedContributions' ), |
443 | 443 | 'Tags' => array( 'Tags' ), |
| 444 | + 'Createpage' => array( 'CreatePage' ), |
444 | 445 | ); |
445 | 446 | |
446 | 447 | /** |
— | — | @@ -489,6 +490,7 @@ |
490 | 491 | ** currentevents-url|currentevents |
491 | 492 | ** recentchanges-url|recentchanges |
492 | 493 | ** randompage-url|randompage |
| 494 | +** createpage-url|createpage |
493 | 495 | ** helppage|help |
494 | 496 | * SEARCH |
495 | 497 | * TOOLBOX |
— | — | @@ -3923,4 +3925,17 @@ |
3924 | 3926 | 'htmlform-reset' => 'Undo changes', |
3925 | 3927 | 'htmlform-selectorother-other' => 'Other', |
3926 | 3928 | |
| 3929 | +# Special:CreatePage |
| 3930 | +'createpage' => 'Create a page', |
| 3931 | +'createpage-url' => 'Special:CreatePage', # do not translate or duplicate this message to other languages |
| 3932 | +'createpage-summary' => '', # do not translate or duplicate this message to other languages |
| 3933 | +'createpage-submitbutton' => 'Submit', |
| 3934 | +'createpage-instructions' => 'Enter the title of the page you wish to create:', |
| 3935 | +'createpage-entertitle' => 'Please enter a title for your page.', |
| 3936 | +'createpage-titleexists' => 'A page with the title [[$1]] already exists. |
| 3937 | +Would you like to edit the existing page?', |
| 3938 | +'createpage-tryagain' => 'No. I want to create a new page with a distinct title.', |
| 3939 | +'createpage-editexisting' => 'Yes. I want to contribute to the existing page.', |
| 3940 | +'createpage-badtitle' => '"$1" cannot be used as a page title', |
| 3941 | + |
3927 | 3942 | ); |
Index: trunk/phase3/languages/messages/MessagesDsb.php |
— | — | @@ -145,6 +145,7 @@ |
146 | 146 | 'LinkSearch' => array( 'Pytanje wótkazow' ), |
147 | 147 | 'DeletedContributions' => array( 'Wulašowane pśinoski' ), |
148 | 148 | 'Tags' => array( 'Toflicki' ), |
| 149 | + 'Createpage' => array( 'Bok napóraś' ), |
149 | 150 | ); |
150 | 151 | |
151 | 152 | $messages = array( |
Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -2990,6 +2990,18 @@ |
2991 | 2991 | 'htmlform-reset', |
2992 | 2992 | 'htmlform-selectorother-other', |
2993 | 2993 | ), |
| 2994 | + 'createpage' => array( |
| 2995 | + 'createpage', |
| 2996 | + 'createpage-url', |
| 2997 | + 'createpage-summary', |
| 2998 | + 'createpage-submitbutton', |
| 2999 | + 'createpage-instructions', |
| 3000 | + 'createpage-entertitle', |
| 3001 | + 'createpage-titleexists', |
| 3002 | + 'createpage-tryagain', |
| 3003 | + 'createpage-editexisting', |
| 3004 | + 'createpage-badtitle', |
| 3005 | + ), |
2994 | 3006 | ); |
2995 | 3007 | |
2996 | 3008 | /** Comments for each block */ |
— | — | @@ -3192,4 +3204,5 @@ |
3193 | 3205 | 'special-tags' => 'Special:Tags', |
3194 | 3206 | 'db-error-messages' => 'Database error messages', |
3195 | 3207 | 'html-forms' => 'HTML forms', |
| 3208 | + 'createpage' => 'Special:CreatePage', |
3196 | 3209 | ); |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -154,6 +154,8 @@ |
155 | 155 | 'upload-summary', |
156 | 156 | 'newuserlogentry', |
157 | 157 | 'wantedtemplates-summary', |
| 158 | + 'createpage-summary', |
| 159 | + 'createpage-url', |
158 | 160 | ); |
159 | 161 | |
160 | 162 | /** Optional messages, which may be translated only if changed in the target language. */ |