yurik | 1 Oct 04:02 2006

SVN: [16715] trunk/phase3

Revision: 16715
Author:   yurik
Date:     2006-09-30 19:02:13 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
* API: result data generation cleanup, minor cleaning

Modified Paths:
--------------
    trunk/phase3/api.php
    trunk/phase3/includes/api/ApiBase.php
    trunk/phase3/includes/api/ApiFormatBase.php
    trunk/phase3/includes/api/ApiFormatJson.php
    trunk/phase3/includes/api/ApiFormatXml.php
    trunk/phase3/includes/api/ApiFormatYaml.php
    trunk/phase3/includes/api/ApiHelp.php
    trunk/phase3/includes/api/ApiLogin.php
    trunk/phase3/includes/api/ApiMain.php
    trunk/phase3/includes/api/ApiPageSet.php
    trunk/phase3/includes/api/ApiQuery.php
    trunk/phase3/includes/api/ApiQueryAllpages.php
    trunk/phase3/includes/api/ApiQueryBase.php
    trunk/phase3/includes/api/ApiQueryInfo.php
    trunk/phase3/includes/api/ApiQueryRevisions.php
    trunk/phase3/includes/api/ApiQuerySiteinfo.php
    trunk/phase3/includes/api/ApiResult.php
Modified: trunk/phase3/api.php
===================================================================
--- trunk/phase3/api.php	2006-09-30 21:40:44 UTC (rev 16714)
(Continue reading)

collinj | 1 Oct 04:46 2006

SVN: [16716] trunk/phase3

Revision: 16716
Author:   collinj
Date:     2006-09-30 19:45:33 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
* (bug 6130, bug 5818) Replaced message 'go' with the new message 'searcharticle' in skins to allow better localisation
* Copied old value of 'go' to 'searcharticle' in all message files
* Updated German usage

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/Skin.php
    trunk/phase3/languages/MessagesAf.php
    trunk/phase3/languages/MessagesAr.php
    trunk/phase3/languages/MessagesAz.php
    trunk/phase3/languages/MessagesBa.php
    trunk/phase3/languages/MessagesBe.php
    trunk/phase3/languages/MessagesBg.php
    trunk/phase3/languages/MessagesBn.php
    trunk/phase3/languages/MessagesBr.php
    trunk/phase3/languages/MessagesBs.php
    trunk/phase3/languages/MessagesCa.php
    trunk/phase3/languages/MessagesCs.php
    trunk/phase3/languages/MessagesCsb.php
    trunk/phase3/languages/MessagesCv.php
    trunk/phase3/languages/MessagesCy.php
    trunk/phase3/languages/MessagesDa.php
    trunk/phase3/languages/MessagesDe.php
(Continue reading)

yurik | 1 Oct 06:18 2006

SVN: [16717] trunk/phase3/includes/SpecialUserlogin.php

Revision: 16717
Author:   yurik
Date:     2006-09-30 21:17:59 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
* Changed status DEFINEs to class consts
* Moved UI specific auth success code from authenticateUserData() to processLogin()
* fixed misnamed define bug

Modified Paths:
--------------
    trunk/phase3/includes/SpecialUserlogin.php
Modified: trunk/phase3/includes/SpecialUserlogin.php
===================================================================
--- trunk/phase3/includes/SpecialUserlogin.php	2006-10-01 02:45:33 UTC (rev 16716)
+++ trunk/phase3/includes/SpecialUserlogin.php	2006-10-01 04:17:59 UTC (rev 16717)
 <at>  <at>  -25,15 +25,16  <at>  <at> 
  *  <at> subpackage SpecialPage
  */

-define("AuthSuccess", 0);
-define("AuthNoName", 1);
-define("AuthIllegal", 2);
-define("AuthWrongPluginPass", 3);
-define("AuthNotExists", 4);
-define("AuthWrongPass", 5);
-define("AuthEmptyPass", 6);
+class LoginForm {

(Continue reading)

yurik | 1 Oct 06:38 2006

SVN: [16718] trunk/phase3

Revision: 16718
Author:   yurik
Date:     2006-09-30 21:38:31 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
* Code cleanup per TimStarling's suggestions

Modified Paths:
--------------
    trunk/phase3/api.php
    trunk/phase3/includes/api/ApiBase.php
    trunk/phase3/includes/api/ApiLogin.php
    trunk/phase3/includes/api/ApiMain.php
    trunk/phase3/includes/api/ApiPageSet.php
    trunk/phase3/includes/api/ApiQuery.php
    trunk/phase3/includes/api/ApiQueryAllpages.php
    trunk/phase3/includes/api/ApiQueryInfo.php
    trunk/phase3/includes/api/ApiQueryRevisions.php
    trunk/phase3/includes/api/ApiQuerySiteinfo.php
    trunk/phase3/includes/api/ApiResult.php

Property Changed:
----------------
    trunk/phase3/api.php
    trunk/phase3/includes/api/ApiBase.php
    trunk/phase3/includes/api/ApiMain.php
    trunk/phase3/includes/api/ApiQuery.php
    trunk/phase3/includes/api/ApiResult.php
Modified: trunk/phase3/api.php
(Continue reading)

tstarling | 1 Oct 06:40 2006

SVN: [16719] trunk/phase3/includes/templates/NoLocalSettings.php

Revision: 16719
Author:   tstarling
Date:     2006-09-30 21:40:27 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
escaping for $path, call me paranoid

Modified Paths:
--------------
    trunk/phase3/includes/templates/NoLocalSettings.php
Modified: trunk/phase3/includes/templates/NoLocalSettings.php
===================================================================
--- trunk/phase3/includes/templates/NoLocalSettings.php	2006-10-01 04:38:31 UTC (rev 16718)
+++ trunk/phase3/includes/templates/NoLocalSettings.php	2006-10-01 04:40:27 UTC (rev 16719)
 <at>  <at>  -9,7 +9,7  <at>  <at> 
 # Could use <base href> but then we have to worry about http[s]/port #/etc.
 $path = '';
 if( isset( $_SERVER['SCRIPT_NAME'] )) {
-	$path = preg_replace('/index.php/', '', $_SERVER['SCRIPT_NAME']);
+	$path = htmlspecialchars( preg_replace('/index.php/', '', $_SERVER['SCRIPT_NAME']) );
 }
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <at>  <at>  -31,7 +31,7  <at>  <at> 
 		</style>
 	</head>
 	<body>
-		<img src='<?php echo $path ?>skins/common/images/mediawiki.png' alt='The MediaWiki logo' />
+		<img src="<?php echo $path ?>skins/common/images/mediawiki.png" alt='The MediaWiki logo' />
(Continue reading)

collinj | 1 Oct 19:38 2006

SVN: [16720] trunk/phase3/languages/MessagesFr.php

Revision: 16720
Author:   collinj
Date:     2006-10-01 10:38:22 -0700 (Sun, 01 Oct 2006)

Log Message:
-----------
(bug 7457) "My preferences" should be localized in French language

Modified Paths:
--------------
    trunk/phase3/languages/MessagesFr.php
Modified: trunk/phase3/languages/MessagesFr.php
===================================================================
--- trunk/phase3/languages/MessagesFr.php	2006-10-01 04:40:27 UTC (rev 16719)
+++ trunk/phase3/languages/MessagesFr.php	2006-10-01 17:38:22 UTC (rev 16720)
 <at>  <at>  -575,6 +575,7  <at>  <at> 
 #
 'preferences'       => 'Préférences',
 'prefsnologin'      => 'Non connecté',
+'mypreferences'     => 'Mes préférences',
 'prefsnologintext'  => 'Vous devez être [[Special:Userlogin|connecté]] pour modifier vos
préférences d\'utilisateur.',
 'prefsreset'        => 'Les préférences ont été rétablies à partir de la version enregistrée.',
 'qbsettings'        => 'Personnalisation de la barre outils',

_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS <at> wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-cvs
(Continue reading)

collinj | 1 Oct 20:44 2006

SVN: [16721] trunk/phase3/maintenance/transstat.php

Revision: 16721
Author:   collinj
Date:     2006-10-01 11:44:47 -0700 (Sun, 01 Oct 2006)

Log Message:
-----------
* Add version to wiki output
* Add output option 'metawiki' with additional category; only used for Meta-Wiki

Modified Paths:
--------------
    trunk/phase3/maintenance/transstat.php
Modified: trunk/phase3/maintenance/transstat.php
===================================================================
--- trunk/phase3/maintenance/transstat.php	2006-10-01 17:38:22 UTC (rev 16720)
+++ trunk/phase3/maintenance/transstat.php	2006-10-01 18:44:47 UTC (rev 16721)
 <at>  <at>  -29,9 +29,10  <at>  <at> 
 Usage: php transstat.php [--help] [--output=csv|text|wiki]
 	--help : this helpful message
 	--output : select an output engine one of:
-		* 'csv'  : Comma Separated Values.
-		* 'wiki' : MediaWiki syntax (default).
-		* 'text' : Text with tabs.
+		* 'csv'      : Comma Separated Values.
+		* 'wiki'     : MediaWiki syntax (default).
+		* 'metawiki' : MediaWiki syntax used for Meta-Wiki.
+		* 'text'     : Text with tabs.
 Example: php maintenance/transstat.php --output=text

 END;
(Continue reading)

collinj | 1 Oct 20:52 2006

SVN: [16722] trunk/phase3

Revision: 16722
Author:   collinj
Date:     2006-10-01 11:52:42 -0700 (Sun, 01 Oct 2006)

Log Message:
-----------
(bug 1120) Update to Czech translation (cs)

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/languages/LanguageCs.php
    trunk/phase3/languages/MessagesCs.php
Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2006-10-01 18:44:47 UTC (rev 16721)
+++ trunk/phase3/RELEASE-NOTES	2006-10-01 18:52:42 UTC (rev 16722)
 <at>  <at>  -257,6 +257,7  <at>  <at> 
 * Brazilian Portuguese (pt-br)
 * Catalan (ca)
 * Cantonese (zh-yue)
+* Czech (cs)
 * Dutch (nl)
 * English (en)
 * Finnish (fi)

Modified: trunk/phase3/languages/LanguageCs.php
===================================================================
--- trunk/phase3/languages/LanguageCs.php	2006-10-01 18:44:47 UTC (rev 16721)
+++ trunk/phase3/languages/LanguageCs.php	2006-10-01 18:52:42 UTC (rev 16722)
(Continue reading)

yurik | 1 Oct 22:17 2006

SVN: [16724] trunk/phase3/includes/api

Revision: 16724
Author:   yurik
Date:     2006-10-01 13:17:16 -0700 (Sun, 01 Oct 2006)

Log Message:
-----------
* API: pageSet now supports pageids, revised revisions listings, lots of examples.

Modified Paths:
--------------
    trunk/phase3/includes/api/ApiBase.php
    trunk/phase3/includes/api/ApiFormatJson.php
    trunk/phase3/includes/api/ApiFormatXml.php
    trunk/phase3/includes/api/ApiFormatYaml.php
    trunk/phase3/includes/api/ApiHelp.php
    trunk/phase3/includes/api/ApiLogin.php
    trunk/phase3/includes/api/ApiMain.php
    trunk/phase3/includes/api/ApiPageSet.php
    trunk/phase3/includes/api/ApiQuery.php
    trunk/phase3/includes/api/ApiQueryAllpages.php
    trunk/phase3/includes/api/ApiQueryBase.php
    trunk/phase3/includes/api/ApiQueryInfo.php
    trunk/phase3/includes/api/ApiQueryRevisions.php
    trunk/phase3/includes/api/ApiQuerySiteinfo.php
    trunk/phase3/includes/api/ApiResult.php

Property Changed:
----------------
    trunk/phase3/includes/api/ApiHelp.php
    trunk/phase3/includes/api/ApiQueryBase.php
(Continue reading)

collinj | 1 Oct 21:21 2006

SVN: [16723] trunk/phase3/languages/MessagesCs.php

Revision: 16723
Author:   collinj
Date:     2006-10-01 12:21:55 -0700 (Sun, 01 Oct 2006)

Log Message:
-----------
minor update to Czech translation (cs)

Modified Paths:
--------------
    trunk/phase3/languages/MessagesCs.php
Modified: trunk/phase3/languages/MessagesCs.php
===================================================================
--- trunk/phase3/languages/MessagesCs.php	2006-10-01 18:52:42 UTC (rev 16722)
+++ trunk/phase3/languages/MessagesCs.php	2006-10-01 19:21:55 UTC (rev 16723)
 <at>  <at>  -367,7 +367,7  <at>  <at> 
 'hidetoc' => 'skrýt',
 'thisisdeleted' => 'Prohlédnout nebo obnovit $1?',
 'viewdeleted' => 'Zobrazit $1?',
-'restorelink' => '{{plural:$1|smazanou editaci|smazané editace|smazaných editací}}',
+'restorelink' => '{{plural:$1|smazanou editaci|$1 smazané editace|$1 smazaných editací}}',
 'feedlinks' => 'Kanály:',
 'feed-invalid' => 'Neplatný typ kanálu.',

 <at>  <at>  -1255,7 +1255,7  <at>  <at> 
 'undeletecomment' => 'Komentář:',
 'undeletedarticle' => 'obnovuje „[[$1]]“',
 'undeletedrevisions' => '{{plural:$1|Obnovena $1 verze|Obnoveny $1 verze|Obnoveno $1 verzí}}',
-'undeletedrevisions-files' => '{{plural:$1|Obnovena $1 verze|Obnoveny $1 verze|Obnoveno $1
verzí}} a $1 {{plural:$1|soubor|soubory|souborů}}',
(Continue reading)


Gmane