Ashar Voultoiz | 1 Feb 2005 01:35
Picon

phase3/includes Skin.php,1.332,1.333

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

Modified Files:
	Skin.php 
Log Message:
Fix #913 : Nostalgia skin no more using isSysop() and isDeveloper()

Index: Skin.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Skin.php,v
retrieving revision 1.332
retrieving revision 1.333
diff -C2 -d -r1.332 -r1.333
*** Skin.php	22 Jan 2005 06:11:10 -0000	1.332
--- Skin.php	1 Feb 2005 00:35:28 -0000	1.333
***************
*** 870,893 ****
  	 */
  	function specialPagesList() {
! 		global $wgUser, $wgOut, $wgContLang, $wgServer, $wgRedirectScript;
  		require_once('SpecialPage.php');
  		$a = array();
  		$pages = SpecialPage::getPages();

  		foreach ( $pages[''] as $name => $page ) {
  			$a[$name] = $page->getDescription();
  		}
! 		if ( $wgUser->isSysop() )
! 		{
(Continue reading)

Ashar Voultoiz | 1 Feb 2005 02:41
Picon

phase3/includes QueryPage.php,1.46,1.47

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

Modified Files:
	QueryPage.php 
Log Message:
Do not output lines for which nothing is formatted (formatResult returning false)

Index: QueryPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/QueryPage.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -C2 -d -r1.46 -r1.47
*** QueryPage.php	30 Jan 2005 16:57:37 -0000	1.46
--- QueryPage.php	1 Feb 2005 01:41:30 -0000	1.47
***************
*** 186,192 ****
  			for ( $i = 0; $i < $num && $obj = $dbr->fetchObject( $res ); $i++ ) {
  				$format = $this->formatResult( $sk, $obj );
! 				$attr = ( isset ( $obj->usepatrol ) && $obj->usepatrol &&
! 									$obj->patrolled == 0 ) ? ' class="not-patrolled"' : '';
! 				$s .= "<li{$attr}>{$format}</li>\n";
  			}
  			$dbr->freeResult( $res );
--- 186,194 ----
  			for ( $i = 0; $i < $num && $obj = $dbr->fetchObject( $res ); $i++ ) {
  				$format = $this->formatResult( $sk, $obj );
! 				if ( $format ) {
! 					$attr = ( isset ( $obj->usepatrol ) && $obj->usepatrol &&
(Continue reading)

Ashar Voultoiz | 1 Feb 2005 02:42
Picon

phase3/includes QueryPage.php,1.47,1.48

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

Modified Files:
	QueryPage.php 
Log Message:
comment about last commit

Index: QueryPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/QueryPage.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** QueryPage.php	1 Feb 2005 01:41:30 -0000	1.47
--- QueryPage.php	1 Feb 2005 01:42:22 -0000	1.48
***************
*** 80,83 ****
--- 80,84 ----
  	 * skin; you can use it for making links. The result is a single row of
  	 * result data. You should be able to grab SQL results off of it.
+ 	 * If the function return "false", the line output will be skipped.
  	 */
  	function formatResult( $skin, $result ) {
Ashar Voultoiz | 1 Feb 2005 03:02
Picon

phase3/includes SpecialListusers.php, 1.24, 1.25 QueryPage.php, 1.48, 1.49

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

Modified Files:
	SpecialListusers.php QueryPage.php 
Log Message:
Fix #770. Does mysql group_concat at application level. Hacked querypage to flush out last result (see
tryLastResult() to enable the hack).

Index: SpecialListusers.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SpecialListusers.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** SpecialListusers.php	27 Jan 2005 19:50:34 -0000	1.24
--- SpecialListusers.php	1 Feb 2005 02:02:13 -0000	1.25
***************
*** 28,32 ****
   *
   */
! require_once("QueryPage.php");

  /**
--- 28,32 ----
   *
   */
! require_once('QueryPage.php');

  /**
(Continue reading)

Ashar Voultoiz | 1 Feb 2005 03:31
Picon

phase3/includes SearchEngine.php,1.71,1.72

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

Modified Files:
	SearchEngine.php 
Log Message:
Implement #1398 : Using go button to go to empty userpage for existing user goes to search screen
patch by Thue Janus Kristensen <thuejk (at) gmail (dot) com>

Index: SearchEngine.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SearchEngine.php,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** SearchEngine.php	28 Jan 2005 05:10:05 -0000	1.71
--- SearchEngine.php	1 Feb 2005 02:31:08 -0000	1.72
***************
*** 48,51 ****
--- 48,54 ----
  	 */
  	function getNearMatch( $term ) {
+ 		# Eliminate Blanks at start
+ 		$term = ereg_replace('[[:blank:]]*', '', $term);
+ 
  		# Exact match? No need to look further.
  		$title = Title::newFromText( $term );
***************
*** 76,83 ****

(Continue reading)

Ashar Voultoiz | 1 Feb 2005 03:31
Picon

phase3/includes SearchEngine.php,1.66.2.1,1.66.2.2

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

Modified Files:
      Tag: REL1_4
	SearchEngine.php 
Log Message:
Implement #1398 : Using go button to go to empty userpage for existing user goes to search screen
patch by Thue Janus Kristensen <thuejk (at) gmail (dot) com>

Index: SearchEngine.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SearchEngine.php,v
retrieving revision 1.66.2.1
retrieving revision 1.66.2.2
diff -C2 -d -r1.66.2.1 -r1.66.2.2
*** SearchEngine.php	26 Dec 2004 05:03:48 -0000	1.66.2.1
--- SearchEngine.php	1 Feb 2005 02:31:24 -0000	1.66.2.2
***************
*** 46,49 ****
--- 46,52 ----
  	 */
  	function getNearMatch( $term ) {
+ 		# Eliminate Blanks at start
+ 		$term = ereg_replace('[[:blank:]]*', '', $term);
+ 
  		# Exact match? No need to look further.
  		$title = Title::newFromText( $term );
***************
*** 77,84 ****
(Continue reading)

Ashar Voultoiz | 1 Feb 2005 03:31
Picon

phase3 RELEASE-NOTES,1.40.2.139,1.40.2.140

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

Modified Files:
      Tag: REL1_4
	RELEASE-NOTES 
Log Message:
Implement #1398 : Using go button to go to empty userpage for existing user goes to search screen
patch by Thue Janus Kristensen <thuejk (at) gmail (dot) com>

Index: RELEASE-NOTES
===================================================================
RCS file: /cvsroot/wikipedia/phase3/RELEASE-NOTES,v
retrieving revision 1.40.2.139
retrieving revision 1.40.2.140
diff -C2 -d -r1.40.2.139 -r1.40.2.140
*** RELEASE-NOTES	30 Jan 2005 15:44:54 -0000	1.40.2.139
--- RELEASE-NOTES	1 Feb 2005 02:31:33 -0000	1.40.2.140
***************
*** 278,281 ****
--- 278,282 ----
  * (bug 1228) Fix double-escaping on &amp; sequences in [enclosed] URLs
  * (bug 1435) Fixed many CSS errors
+ * (bug 1398) Using "go" in search field for user:john gives userpage.

  === Caveats ===
Brion Vibber | 1 Feb 2005 08:42
Picon

phase3 RELEASE-NOTES,1.40.2.140,1.40.2.141

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

Modified Files:
      Tag: REL1_4
	RELEASE-NOTES 
Log Message:
Revert experimental patch with hardcoded english strings and other oddities. Code should not be going
into the stable branch in this state just prior to a release.

Index: RELEASE-NOTES
===================================================================
RCS file: /cvsroot/wikipedia/phase3/RELEASE-NOTES,v
retrieving revision 1.40.2.140
retrieving revision 1.40.2.141
diff -C2 -d -r1.40.2.140 -r1.40.2.141
*** RELEASE-NOTES	1 Feb 2005 02:31:33 -0000	1.40.2.140
--- RELEASE-NOTES	1 Feb 2005 07:42:52 -0000	1.40.2.141
***************
*** 278,282 ****
  * (bug 1228) Fix double-escaping on &amp; sequences in [enclosed] URLs
  * (bug 1435) Fixed many CSS errors
- * (bug 1398) Using "go" in search field for user:john gives userpage.

  === Caveats ===
--- 278,281 ----
Brion Vibber | 1 Feb 2005 08:42
Picon

phase3/includes SearchEngine.php,1.66.2.2,1.66.2.3

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

Modified Files:
      Tag: REL1_4
	SearchEngine.php 
Log Message:
Revert experimental patch with hardcoded english strings and other oddities. Code should not be going
into the stable branch in this state just prior to a release.

Index: SearchEngine.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SearchEngine.php,v
retrieving revision 1.66.2.2
retrieving revision 1.66.2.3
diff -C2 -d -r1.66.2.2 -r1.66.2.3
*** SearchEngine.php	1 Feb 2005 02:31:24 -0000	1.66.2.2
--- SearchEngine.php	1 Feb 2005 07:42:52 -0000	1.66.2.3
***************
*** 46,52 ****
  	 */
  	function getNearMatch( $term ) {
- 		# Eliminate Blanks at start
- 		$term = ereg_replace('[[:blank:]]*', '', $term);
- 
  		# Exact match? No need to look further.
  		$title = Title::newFromText( $term );
--- 46,49 ----
***************
*** 80,95 ****
(Continue reading)

Brion Vibber | 1 Feb 2005 08:53
Picon

phase3/includes SearchEngine.php,1.72,1.73

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

Modified Files:
	SearchEngine.php 
Log Message:
Reverting patch for now:
* It hard-codes the English string "user", and doesn't allow localized user namespaces.
* Title::makeTitle doesn't perform validity checks as it's meant mainly for data pulled from the database
which has been 
previously screened. Use Title::makeTitleSafe().
* The ereg_replace is a bit odd. Trimming of stray whitespace from the search term should be done at the top
end in 
SpecialSearch.php, not down there.

Index: SearchEngine.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SearchEngine.php,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** SearchEngine.php	1 Feb 2005 02:31:08 -0000	1.72
--- SearchEngine.php	1 Feb 2005 07:53:28 -0000	1.73
***************
*** 48,54 ****
  	 */
  	function getNearMatch( $term ) {
- 		# Eliminate Blanks at start
- 		$term = ereg_replace('[[:blank:]]*', '', $term);
- 
(Continue reading)


Gmane