Ævar Arnfjörð Bjarmason | 1 Oct 01:34 2005
Picon
Picon

phase3/languages Language.php,1.684,1.685

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

Modified Files:
	Language.php 
Log Message:
* Special:RandomFA for getting a random featured article

Index: Language.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/Language.php,v
retrieving revision 1.684
retrieving revision 1.685
diff -C2 -d -r1.684 -r1.685
*** Language.php	23 Sep 2005 12:10:39 -0000	1.684
--- Language.php	30 Sep 2005 23:34:50 -0000	1.685
***************
*** 1107,1110 ****
--- 1107,1111 ----
  'disambiguations'	=> 'Disambiguation pages',
  'disambiguationspage'	=> 'Template:disambig',
+ 'featuredtemplate'      => 'Template:Featured',
  'disambiguationstext'	=> "The following pages link to a <i>disambiguation page</i>. They should link
to the appropriate topic instead.<br />A page is treated as disambiguation if it is linked from $1.<br
/>Links from other namespaces are <i>not</i> listed here.",
  'doubleredirects'	=> 'Double redirects',
Ævar Arnfjörð Bjarmason | 1 Oct 01:34 2005
Picon
Picon

phase3/includes SpecialRandomFA.php, NONE, 1.1 SpecialPage.php, 1.69, 1.70

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

Modified Files:
	SpecialPage.php 
Added Files:
	SpecialRandomFA.php 
Log Message:
* Special:RandomFA for getting a random featured article

--- NEW FILE: SpecialRandomFA.php ---
<?php
/**
 *  <at> package MediaWiki
 *  <at> subpackage SpecialPage
 */

/**
 * Constructor
 */
function wfSpecialRandomFA() {
	global $wgOut, $wgTitle, $wgArticle, $wgContLang;
	$fname = 'wfSpecialRandomFA';	

	$dbr =& wfGetDB( DB_SLAVE );
	$use_index = $dbr->useIndexClause( 'page_random' );
	extract( $dbr->tableNames( 'page', 'pagelinks' ) );

	$randstr = wfRandom();
	$ft = Title::newFromText( wfMsgForContent( 'featuredtemplate' ) );
(Continue reading)

Ævar Arnfjörð Bjarmason | 1 Oct 01:40 2005
Picon
Picon

phase3/languages Language.php,1.685,1.686

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

Modified Files:
	Language.php 
Log Message:
* Removing Special:RandomFA

Index: Language.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/Language.php,v
retrieving revision 1.685
retrieving revision 1.686
diff -C2 -d -r1.685 -r1.686
*** Language.php	30 Sep 2005 23:34:50 -0000	1.685
--- Language.php	30 Sep 2005 23:40:24 -0000	1.686
***************
*** 1107,1111 ****
  'disambiguations'	=> 'Disambiguation pages',
  'disambiguationspage'	=> 'Template:disambig',
- 'featuredtemplate'      => 'Template:Featured',
  'disambiguationstext'	=> "The following pages link to a <i>disambiguation page</i>. They should link
to the appropriate topic instead.<br />A page is treated as disambiguation if it is linked from $1.<br
/>Links from other namespaces are <i>not</i> listed here.",
  'doubleredirects'	=> 'Double redirects',
--- 1107,1110 ----
Ævar Arnfjörð Bjarmason | 1 Oct 01:40 2005
Picon
Picon

phase3/includes SpecialPage.php, 1.70, 1.71 SpecialRandomFA.php, 1.1, NONE

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

Modified Files:
	SpecialPage.php 
Removed Files:
	SpecialRandomFA.php 
Log Message:
* Removing Special:RandomFA

--- SpecialRandomFA.php DELETED ---

Index: SpecialPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialPage.php,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** SpecialPage.php	30 Sep 2005 23:34:50 -0000	1.70
--- SpecialPage.php	30 Sep 2005 23:40:24 -0000	1.71
***************
*** 37,41 ****
  	'Statistics'        => new SpecialPage( 'Statistics' ),
  	'Random'        => new SpecialPage( 'Randompage' ),
- 	'RandomFA'          => new SpecialPage( 'RandomFA' ),
  	'Lonelypages'       => new SpecialPage( 'Lonelypages' ),
  	'Uncategorizedpages'=> new SpecialPage( 'Uncategorizedpages' ),
--- 37,40 ----
Brion Vibber | 1 Oct 13:04 2005
Picon
Picon

mwdumper/src/org/mediawiki/importer SqlServerStream.java, NONE, 1.1 SqlStream.java, NONE, 1.1 SqlWriter15.java, 1.2, 1.3 SqlWriter.java, 1.4, 1.5 SqlFileStream.java, 1.1, 1.2

Update of /cvsroot/wikipedia/mwdumper/src/org/mediawiki/importer
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29764/src/org/mediawiki/importer

Modified Files:
	SqlWriter15.java SqlWriter.java SqlFileStream.java 
Added Files:
	SqlServerStream.java SqlStream.java 
Log Message:
Ongoing SQL work:
* Batch multiple inserts on revision and text in 1.5 output
* Preparing output modes for direct db connection (not done yet)

Index: SqlWriter.java
===================================================================
RCS file: /cvsroot/wikipedia/mwdumper/src/org/mediawiki/importer/SqlWriter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** SqlWriter.java	28 Sep 2005 21:17:36 -0000	1.4
--- SqlWriter.java	1 Oct 2005 11:04:18 -0000	1.5
***************
*** 29,32 ****
--- 29,33 ----
  import java.util.Calendar;
  import java.util.GregorianCalendar;
+ import java.util.Hashtable;
  import java.util.Iterator;
  import java.util.TimeZone;
***************
*** 80,88 ****
(Continue reading)

Brion Vibber | 1 Oct 13:04 2005
Picon
Picon

mwdumper .classpath,1.1,1.2

Update of /cvsroot/wikipedia/mwdumper
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29764

Modified Files:
	.classpath 
Log Message:
Ongoing SQL work:
* Batch multiple inserts on revision and text in 1.5 output
* Preparing output modes for direct db connection (not done yet)

Index: .classpath
===================================================================
RCS file: /cvsroot/wikipedia/mwdumper/.classpath,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** .classpath	27 Sep 2005 05:46:20 -0000	1.1
--- .classpath	1 Oct 2005 11:04:18 -0000	1.2
***************
*** 3,6 ****
--- 3,7 ----
  	<classpathentry kind="src" path="src"/>
  	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ 	<classpathentry kind="lib" path="libs/junit.jar"/>
  	<classpathentry kind="output" path="bin"/>
  </classpath>
Ævar Arnfjörð Bjarmason | 1 Oct 22:37 2005
Picon
Picon

phase3/includes SpecialPage.php,1.71,1.72

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

Modified Files:
	SpecialPage.php 
Log Message:
* Special:Unwatchedpages appeared twice

Index: SpecialPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialPage.php,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** SpecialPage.php	30 Sep 2005 23:40:24 -0000	1.71
--- SpecialPage.php	1 Oct 2005 20:37:29 -0000	1.72
***************
*** 72,76 ****
  	'Userrights'	=> new SpecialPage( 'Userrights', 'userrights' ),
  	'MIMEsearch'    => new SpecialPage( 'MIMEsearch' ),
- 	'Unwatchedpages' => new SpecialPage( 'Unwatchedpages' )
  );

--- 72,75 ----
Ævar Arnfjörð Bjarmason | 1 Oct 23:23 2005
Picon
Picon

phase3/languages LanguagePt.php,1.62,1.63

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

Modified Files:
	LanguagePt.php 
Log Message:
* (bug 3547) Update

Index: LanguagePt.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/languages/LanguagePt.php,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** LanguagePt.php	13 Sep 2005 18:30:57 -0000	1.62
--- LanguagePt.php	1 Oct 2005 21:23:28 -0000	1.63
***************
*** 212,216 ****
  # User preference toggles
  'tog-underline' => 'Sublinhar links',
! 'tog-highlightbroken' => 'Formatar links quebrados <a href=\"\" class=\"new\"> como isto </a>
(alternativa: como isto<a href=\"\" class=\"internal\">?</a>).',
  'tog-justify'   => 'Justificar parágrafos',
  'tog-hideminor' => 'Esconder edições secundárias nas mudanças recentes',
--- 212,216 ----
  # User preference toggles
  'tog-underline' => 'Sublinhar links',
! 'tog-highlightbroken' => 'Formatar links quebrados <a href="" class="new">como isto</a>
(alternativa: como isto<a href=\"\" class=\"internal\">?</a>).',
  'tog-justify'   => 'Justificar parágrafos',
(Continue reading)

Tim Starling | 2 Oct 02:08 2005
Picon
Picon

phase3/maintenance fixSlaveDesync.php,NONE,1.1

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

Added Files:
	fixSlaveDesync.php 
Log Message:
Script to find missing revisions and copy them from the master to the slaves

--- NEW FILE: fixSlaveDesync.php ---
<?

$wgUseRootUser = true;
require_once( 'commandLine.inc' );

//$wgDebugLogFile = '/dev/stdout';

$numServers = count( $wgDBservers );
/*
foreach ( $wgLoadBalancer->mServers as $i => $server ) {
	$wgLoadBalancer->mServers[$i]['flags'] |= DBO_DEBUG;
}*/
define( 'REPORTING_INTERVAL', 1000 );

if ( isset( $args[0] ) ) {
	desyncFixPage( $args[0] );
} else {
	$dbw =& wfGetDB( DB_MASTER );
	$maxPage = $dbw->selectField( 'page', 'MAX(page_id)', false, 'fixDesync.php' );
	for ( $i=1; $i <= $maxPage; $i++ ) {
		desyncFixPage( $i );
(Continue reading)

Brion Vibber | 2 Oct 06:05 2005
Picon
Picon

phase3/includes Export.php, NONE, 1.1 SpecialExport.php, 1.42, 1.43

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

Modified Files:
	SpecialExport.php 
Added Files:
	Export.php 
Log Message:
* Added filter options, compression piping, and multiple output streams for
  dumpBackup.php

--- NEW FILE: Export.php ---
<?php
# Copyright (C) 2003, 2005 Brion Vibber <brion <at> pobox.com>
# http://www.mediawiki.org/
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or 
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
(Continue reading)


Gmane