Timwi | 1 Aug 03:57 2004
Picon
Picon

phase3/includes OutputPage.php, 1.159, 1.160 SpecialAllmessages.php, 1.8, 1.9 SpecialContributions.php, 1.29, 1.30 SpecialValidate.php, 1.18, 1.19 Skin.php, 1.235, 1.236

Update of /cvsroot/wikipedia/phase3/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32122/includes

Modified Files:
	OutputPage.php SpecialAllmessages.php SpecialContributions.php 
	SpecialValidate.php Skin.php 
Log Message:
Since nobody commented on this, I assume all the changes are OK
(http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011789.html)
Use wfMsg's own replacement functionality instead of str_replace ( "$1", ... )

Index: SpecialContributions.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialContributions.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** SpecialContributions.php	31 Jul 2004 15:14:55 -0000	1.29
--- SpecialContributions.php	1 Aug 2004 01:57:26 -0000	1.30
***************
*** 147,151 ****
  	$val = new Validation ;
  	$val = $val->countUserValidations ( $id ) ;
! 	$val = str_replace ( "$1" , $val , wfMsg ( 'val_user_validations' ) ) ;
  	$wgOut->addHTML( $val );
  }
--- 147,151 ----
  	$val = new Validation ;
  	$val = $val->countUserValidations ( $id ) ;
! 	$val = wfMsg ( 'val_user_validations', $val ) ;
(Continue reading)

Brion Vibber | 1 Aug 05:17 2004
Picon
Picon

phase3/includes Parser.php,1.135.2.10,1.135.2.11

Update of /cvsroot/wikipedia/phase3/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9378

Modified Files:
      Tag: REL1_3
	Parser.php 
Log Message:
Allowing for piped links inside template variables; by Emmanuel Engelhart
http://mail.wikipedia.org/pipermail/wikitech-l/2004-July/011776.html ff.
(Copied from HEAD branch, seems pretty self-contained and looks correct.)

Index: Parser.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Parser.php,v
retrieving revision 1.135.2.10
retrieving revision 1.135.2.11
diff -C2 -d -r1.135.2.10 -r1.135.2.11
*** Parser.php	29 Jul 2004 05:47:09 -0000	1.135.2.10
--- Parser.php	1 Aug 2004 03:17:10 -0000	1.135.2.11
***************
*** 1463,1466 ****
--- 1463,1491 ----
  	}

+ 	# Split template arguments
+ 	function getTemplateArgs( $argsString ) {
+ 		if ( $argsString === '' ) {
+ 			return array();
+ 		}
+ 
(Continue reading)

Tim Starling | 1 Aug 06:45 2004
Picon
Picon

phase3/maintenance/archives patch-rc_id.sql, NONE, 1.1.2.1

Update of /cvsroot/wikipedia/phase3/maintenance/archives
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17950/maintenance/archives

Added Files:
      Tag: REL1_3
	patch-rc_id.sql 
Log Message:
primary key for recentchanges

--- NEW FILE: patch-rc_id.sql ---
-- Primary key in recentchanges

ALTER TABLE recentchanges 
  ADD rc_id int(8) NOT NULL auto_increment,
  ADD PRIMARY KEY rc_id (rc_id);
Tim Starling | 1 Aug 06:46 2004
Picon
Picon

phase3/maintenance/archives patch-rc_id.sql, 1.1, 1.2

Update of /cvsroot/wikipedia/phase3/maintenance/archives
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18015/maintenance/archives

Added Files:
	patch-rc_id.sql 
Log Message:
primary key for recentchanges

--- NEW FILE: patch-rc_id.sql ---
-- Primary key in recentchanges

ALTER TABLE recentchanges 
  ADD rc_id int(8) NOT NULL auto_increment,
  ADD PRIMARY KEY rc_id (rc_id);
Brion Vibber | 1 Aug 08:46 2004
Picon
Picon

phase3/languages LanguageAr.php, 1.17, 1.18 LanguageHi.php, 1.15, 1.16

Update of /cvsroot/wikipedia/phase3/languages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30897/languages

Modified Files:
	LanguageAr.php LanguageHi.php 
Log Message:
Add $wgTranslateNumerals global option to disable local numeral usage
in the interface where implemented (ar, hi)

Index: LanguageAr.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/LanguageAr.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** LanguageAr.php	17 Jul 2004 20:34:09 -0000	1.17
--- LanguageAr.php	1 Aug 2004 06:46:43 -0000	1.18
***************
*** 1248,1252 ****

  	function formatNum( $number ) {
! 		return strtr( $number, $this->digitTransTable );
  	}
  }
--- 1248,1257 ----

  	function formatNum( $number ) {
! 		global $wgTranslateNumerals;
! 		if( $wgTranslateNumerals ) {
! 			return strtr( $number, $this->digitTransTable );
(Continue reading)

Brion Vibber | 1 Aug 08:46 2004
Picon
Picon

phase3/includes DefaultSettings.php,1.140,1.141

Update of /cvsroot/wikipedia/phase3/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30897/includes

Modified Files:
	DefaultSettings.php 
Log Message:
Add $wgTranslateNumerals global option to disable local numeral usage
in the interface where implemented (ar, hi)

Index: DefaultSettings.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/DefaultSettings.php,v
retrieving revision 1.140
retrieving revision 1.141
diff -C2 -d -r1.140 -r1.141
*** DefaultSettings.php	25 Jul 2004 05:15:03 -0000	1.140
--- DefaultSettings.php	1 Aug 2004 06:46:42 -0000	1.141
***************
*** 126,129 ****
--- 126,132 ----
  $wgAmericanDates    = false; # Enable for English module to print dates
  							 # as eg 'May 12' instead of '12 May'
+ $wgTranslateNumerals = true; # For Hindi and Arabic use local numerals instead
+                              # of Western style (0-9) numerals in interface.
+ 
  $wgLocalInterwiki   = 'w';
  $wgShowIPinHeader	= true; # For non-logged in users
Brion Vibber | 1 Aug 08:49 2004
Picon
Picon

phase3/includes DefaultSettings.php, 1.110.2.9, 1.110.2.10

Update of /cvsroot/wikipedia/phase3/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31256/includes

Modified Files:
      Tag: REL1_3
	DefaultSettings.php 
Log Message:
Add $wgTranslateNumerals global option to disable local numeral usage
in the interface where implemented (ar, hi)

Index: DefaultSettings.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/DefaultSettings.php,v
retrieving revision 1.110.2.9
retrieving revision 1.110.2.10
diff -C2 -d -r1.110.2.9 -r1.110.2.10
*** DefaultSettings.php	22 Jul 2004 19:11:23 -0000	1.110.2.9
--- DefaultSettings.php	1 Aug 2004 06:49:19 -0000	1.110.2.10
***************
*** 114,117 ****
--- 114,120 ----
  $wgAmericanDates    = false; # Enable for English module to print dates
  							 # as eg 'May 12' instead of '12 May'
+ $wgTranslateNumerals = true; # For Hindi and Arabic use local numerals instead
+                              # of Western style (0-9) numerals in interface.
+ 
  $wgLocalInterwiki   = 'w';
  $wgShowIPinHeader	= true; # For non-logged in users
Brion Vibber | 1 Aug 08:49 2004
Picon
Picon

phase3/languages LanguageAr.php, 1.13.2.2, 1.13.2.3 LanguageHi.php, 1.12.2.2, 1.12.2.3

Update of /cvsroot/wikipedia/phase3/languages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31256/languages

Modified Files:
      Tag: REL1_3
	LanguageAr.php LanguageHi.php 
Log Message:
Add $wgTranslateNumerals global option to disable local numeral usage
in the interface where implemented (ar, hi)

Index: LanguageAr.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/LanguageAr.php,v
retrieving revision 1.13.2.2
retrieving revision 1.13.2.3
diff -C2 -d -r1.13.2.2 -r1.13.2.3
*** LanguageAr.php	9 Jul 2004 12:01:25 -0000	1.13.2.2
--- LanguageAr.php	1 Aug 2004 06:49:20 -0000	1.13.2.3
***************
*** 1251,1255 ****

  	function formatNum( $number ) {
! 		return strtr( $number, $this->digitTransTable );
  	}
  }
--- 1251,1260 ----

  	function formatNum( $number ) {
! 		global $wgTranslateNumerals;
! 		if( $wgTranslateNumerals ) {
(Continue reading)

Magnus Manske | 1 Aug 11:47 2004
Picon
Picon

phase3/languages Language.php,1.283,1.284

Update of /cvsroot/wikipedia/phase3/languages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23018/languages

Modified Files:
	Language.php 
Log Message:
Article validation code (bug fixes)

Index: Language.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/Language.php,v
retrieving revision 1.283
retrieving revision 1.284
diff -C2 -d -r1.283 -r1.284
*** Language.php	31 Jul 2004 21:23:14 -0000	1.283
--- Language.php	1 Aug 2004 09:47:50 -0000	1.284
***************
*** 1284,1287 ****
--- 1284,1289 ----
  'val_no_anon_validation' => 'You have to be logged in to validate an article.',
  'val_validate_article_namespace_only' => 'Only articles can be validated. This page is <i>not</i> in
the article namespace.',
+ 'val_validated' => 'Validation done.',
+ 'val_article_lists' => 'List validated articles',

  # Move page
Magnus Manske | 1 Aug 11:47 2004
Picon
Picon

phase3/includes SkinPHPTal.php, 1.92, 1.93 SpecialValidate.php, 1.19, 1.20

Update of /cvsroot/wikipedia/phase3/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23018/includes

Modified Files:
	SkinPHPTal.php SpecialValidate.php 
Log Message:
Article validation code (bug fixes)

Index: SpecialValidate.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialValidate.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** SpecialValidate.php	1 Aug 2004 01:57:26 -0000	1.19
--- SpecialValidate.php	1 Aug 2004 09:47:49 -0000	1.20
***************
*** 61,65 ****
  	function validate_form ( $article_title = "" )
  		{
! 		global $wgOut, $wgLang, $wgUser;
  		
  		if ( $wgUser->getID() == 0 ) # Anon
--- 61,65 ----
  	function validate_form ( $article_title = "" )
  		{
! 		global $wgOut, $wgLang, $wgUser, $wgArticle ;
  		
  		if ( $wgUser->getID() == 0 ) # Anon
***************
(Continue reading)


Gmane