david | 1 Sep 2007 01:12
Picon
Favicon

SVN: [25382] branches/liquidthreads/extensions/LqtPages.php

Revision: 25382
Author:   david
Date:     2007-08-31 23:12:17 +0000 (Fri, 31 Aug 2007)

Log Message:
-----------
marginally better handling of non-existant threads

Modified Paths:
--------------
    branches/liquidthreads/extensions/LqtPages.php

Modified: branches/liquidthreads/extensions/LqtPages.php
===================================================================
--- branches/liquidthreads/extensions/LqtPages.php	2007-08-31 22:44:38 UTC (rev 25381)
+++ branches/liquidthreads/extensions/LqtPages.php	2007-08-31 23:12:17 UTC (rev 25382)
 <at>  <at>  -362,9 +362,6  <at>  <at> 
 		unset($content_actions['edit']);
 		unset($content_actions['viewsource']);
 		unset($content_actions['talk']);
-/*		unset($content_actions['history']);
-		unset($content_actions['watch']);
-		unset($content_actions['move']);*/
 		if( array_key_exists( 'move', $content_actions ) && $this->thread ) {
 			$content_actions['move']['href'] =
 				SpecialPage::getPage('Movethread')->getTitle()->getFullURL() . '/' .
 <at>  <at>  -374,9 +371,7  <at>  <at> 
 			$content_actions['delete']['href'] =
 				SpecialPage::getPage('Deletethread')->getTitle()->getFullURL() . '/' .
 				$this->thread->title()->getPrefixedURL();
(Continue reading)

david | 1 Sep 2007 01:32
Picon
Favicon

SVN: [25383] branches/liquidthreads

Revision: 25383
Author:   david
Date:     2007-08-31 23:32:58 +0000 (Fri, 31 Aug 2007)

Log Message:
-----------
Fixed HTML/CSS bug that made history look wrong. Also ripped out the temporarily unused history pager.

Modified Paths:
--------------
    branches/liquidthreads/extensions/LqtBaseView.php
    branches/liquidthreads/extensions/LqtPages.php
    branches/liquidthreads/skins/monobook/main.css

Modified: branches/liquidthreads/extensions/LqtBaseView.php
===================================================================
--- branches/liquidthreads/extensions/LqtBaseView.php	2007-08-31 23:12:17 UTC (rev 25382)
+++ branches/liquidthreads/extensions/LqtBaseView.php	2007-08-31 23:32:58 UTC (rev 25383)
 <at>  <at>  -556,7 +556,7  <at>  <at> 

 /*		$color_number = $this->selectNewUserColor( $thread->root()->originalAuthor() );
 		$this->openDiv( "lqt_post lqt_post_color_$color_number" );*/
-		$this->openDiv( 'lqt_post' );
+		$this->openDiv( $this->postDivClass($thread) );
 		
 		if( $this->methodAppliesToThread( 'edit', $thread ) ) {
 			$this->showPostEditingForm( $thread );
 <at>  <at>  -584,8 +584,8  <at>  <at> 
 		}
 	}
(Continue reading)

david | 1 Sep 2007 08:30
Picon
Favicon

SVN: [25384] branches/liquidthreads/README-liquidthreads

Revision: 25384
Author:   david
Date:     2007-09-01 06:30:37 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
rewrote README.

Modified Paths:
--------------
    branches/liquidthreads/README-liquidthreads

Modified: branches/liquidthreads/README-liquidthreads
===================================================================
--- branches/liquidthreads/README-liquidthreads	2007-08-31 23:32:58 UTC (rev 25383)
+++ branches/liquidthreads/README-liquidthreads	2007-09-01 06:30:37 UTC (rev 25384)
 <at>  <at>  -1,16 +1,16  <at>  <at> 
-Hello, thanks for your interest. Please read all of this; it's short and important.
+Hello, and thanks for your interest. Please read all of this; it's short and important.

-This is a pre-alpha. This code is in rapid flux. It is undocumented, or doesn't yet make sense, or is
confused. I am sketching. Therefore, don't report or try to fix obvious bugs; I simply haven't gotten to
them yet. Also, don't commit to this branch. Instead, send me patches.
+You shouldn't deploy this with real users without warning them. They will find bugs.

-Liquid Threads is going to change a lot before release. Some of the coolest features haven't appeared yet.
Don't let this pre-alpha disappoint you.
+Please hack Liquid Threads and make it more awesome. However, since the code is in rapid flux, send me
patches instead of committing directly to this branch.

(Continue reading)

david | 1 Sep 2007 08:48
Picon
Favicon

SVN: [25385] branches/liquidthreads/extensions

Revision: 25385
Author:   david
Date:     2007-09-01 06:48:24 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
misc. cleanup of tabs and comments

Modified Paths:
--------------
    branches/liquidthreads/extensions/LqtBaseView.php
    branches/liquidthreads/extensions/LqtModel.php
    branches/liquidthreads/extensions/LqtPages.php

Modified: branches/liquidthreads/extensions/LqtBaseView.php
===================================================================
--- branches/liquidthreads/extensions/LqtBaseView.php	2007-09-01 06:30:37 UTC (rev 25384)
+++ branches/liquidthreads/extensions/LqtBaseView.php	2007-09-01 06:48:24 UTC (rev 25385)
 <at>  <at>  -2,7 +2,7  <at>  <at> 

 /**
 *  <at> package MediaWiki
-*  <at> subpackage Extensions
+*  <at> subpackage LiquidThreads
 *  <at> author David McCabe <davemccabe <at> gmail.com>
 *  <at> licence GPL2
 */
 <at>  <at>  -231,8 +231,8  <at>  <at> 

 	/*************************************************************
(Continue reading)

daniel | 1 Sep 2007 13:26
Picon
Favicon

SVN: [25386] trunk/extensions/CategoryTree/CategoryTreeFunctions.php

Revision: 25386
Author:   daniel
Date:     2007-09-01 11:26:00 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
avoid filesort. downside: subcategories are more likely to be lost if categories and pages are listed
together, and the limit is hit; that is, the limit is not applied to the list as displayed. This is
counter-intuitive (kind of like the paging of subcategories on category pages)

Modified Paths:
--------------
    trunk/extensions/CategoryTree/CategoryTreeFunctions.php

Modified: trunk/extensions/CategoryTree/CategoryTreeFunctions.php
===================================================================
--- trunk/extensions/CategoryTree/CategoryTreeFunctions.php	2007-09-01 06:48:24 UTC (rev 25385)
+++ trunk/extensions/CategoryTree/CategoryTreeFunctions.php	2007-09-01 11:26:00 UTC (rev 25386)
 <at>  <at>  -183,8 +183,7  <at>  <at> 
 		$page = $dbr->tableName( 'page' );
 		$categorylinks = $dbr->tableName( 'categorylinks' );
 		
-		$sql = "SELECT cat.page_namespace, cat.page_title, 
-				CASE WHEN cat.page_namespace=".NS_CATEGORY." THEN 0 ELSE 1 END AS presort
+		$sql = "SELECT cat.page_namespace, cat.page_title
 					  $transFields
 				FROM $page as cat
 				JOIN $categorylinks ON cl_from = cat.page_id
 <at>  <at>  -193,23 +192,29  <at>  <at> 
 				$nsmatch
(Continue reading)

werdna | 1 Sep 2007 14:38
Picon
Favicon

SVN: [25387] trunk/phase3/includes/Xml.php

Revision: 25387
Author:   werdna
Date:     2007-09-01 12:38:54 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
Allow an element name to be specified in Xml::namespaceSelector.

Modified Paths:
--------------
    trunk/phase3/includes/Xml.php

Modified: trunk/phase3/includes/Xml.php
===================================================================
--- trunk/phase3/includes/Xml.php	2007-09-01 11:26:00 UTC (rev 25386)
+++ trunk/phase3/includes/Xml.php	2007-09-01 12:38:54 UTC (rev 25387)
 <at>  <at>  -99,7 +99,7  <at>  <at> 
 	 *  <at> param bool $hidden Include hidden namespaces? [WTF? --RC]
 	 *  <at> return string
 	 */
-	public static function namespaceSelector( $selected = '', $all = null, $hidden = false ) {
+	public static function namespaceSelector( $selected = '', $all = null, $hidden = false, $element_name
= 'namespace' ) {
 		global $wgContLang;
 		$namespaces = $wgContLang->getFormattedNamespaces();
 		$options = array();
 <at>  <at>  -114,7 +114,7  <at>  <at> 
 			$options[] = self::option( $name, $index, $index === $selected );
 		}
 		
(Continue reading)

catrope | 1 Sep 2007 17:05
Picon
Favicon

SVN: [25388] branches/apiedit/phase3

Revision: 25388
Author:   catrope
Date:     2007-09-01 15:05:07 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
apiedit: Adding ApiProtect module

Modified Paths:
--------------
    branches/apiedit/phase3/CHANGED
    branches/apiedit/phase3/includes/Article.php
    branches/apiedit/phase3/includes/AutoLoader.php
    branches/apiedit/phase3/includes/api/ApiMain.php

Added Paths:
-----------
    branches/apiedit/phase3/includes/api/ApiProtect.php

Modified: branches/apiedit/phase3/CHANGED
===================================================================
--- branches/apiedit/phase3/CHANGED	2007-09-01 12:38:54 UTC (rev 25387)
+++ branches/apiedit/phase3/CHANGED	2007-09-01 15:05:07 UTC (rev 25388)
 <at>  <at>  -9,6 +9,7  <at>  <at> 
 ** Introduced Article::ROLLBACK_* constants for rollback()'s return values (r23627)
 * Made a separate function (Article::generateReason()) for generating deletion reasons (r23590)
 * Added begin() and commit() to Article::doDeleteArticle() (r23590)
+* Added begin() and commit() to Article::updateRestrictions() (r25388)

 SpecialUndelete.php
(Continue reading)

catrope | 1 Sep 2007 17:08
Picon
Favicon

SVN: [25389] branches/apiedit/phase3

Revision: 25389
Author:   catrope
Date:     2007-09-01 15:08:43 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
apiedit: Adding missingtitle error messages to ApiProtect, ApiDelete and ApiUndelete

Modified Paths:
--------------
    branches/apiedit/phase3/CHANGED
    branches/apiedit/phase3/includes/api/ApiDelete.php
    branches/apiedit/phase3/includes/api/ApiProtect.php
    branches/apiedit/phase3/includes/api/ApiUndelete.php

Modified: branches/apiedit/phase3/CHANGED
===================================================================
--- branches/apiedit/phase3/CHANGED	2007-09-01 15:05:07 UTC (rev 25388)
+++ branches/apiedit/phase3/CHANGED	2007-09-01 15:08:43 UTC (rev 25389)
 <at>  <at>  -27,15 +27,18  <at>  <at> 

 api/ApiDelete.php (NEW)
 * action=delete module that wraps around Article::doDeleteArticle() (r23590)
+* Added missingtitle error message (r25389)

 api/ApiQueryDeletedRevs.php (NEW)
 * action=query&list=deletedrevs module that lists deleted revisions from the archive table (r23668)

 api/ApiUndelete.php (NEW)
 * action=undelete module that wraps around PageArchive::undelete() (r23687, r23697)
(Continue reading)

catrope | 1 Sep 2007 17:13
Picon
Favicon

SVN: [25390] branches/apiedit/phase3

Revision: 25390
Author:   catrope
Date:     2007-09-01 15:13:32 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
apiedit: Merging revisions 25325 and beyond from trunk

Modified Paths:
--------------
    branches/apiedit/phase3/RELEASE-NOTES
    branches/apiedit/phase3/includes/DefaultSettings.php
    branches/apiedit/phase3/includes/EditPage.php
    branches/apiedit/phase3/includes/HttpFunctions.php
    branches/apiedit/phase3/includes/ImageGallery.php
    branches/apiedit/phase3/includes/ImagePage.php
    branches/apiedit/phase3/includes/Linker.php
    branches/apiedit/phase3/includes/MediaTransformOutput.php
    branches/apiedit/phase3/includes/OutputPage.php
    branches/apiedit/phase3/includes/Sanitizer.php
    branches/apiedit/phase3/includes/SpecialUpload.php
    branches/apiedit/phase3/includes/Title.php
    branches/apiedit/phase3/includes/WatchlistEditor.php
    branches/apiedit/phase3/includes/Xml.php
    branches/apiedit/phase3/includes/api/ApiMain.php
    branches/apiedit/phase3/includes/filerepo/File.php
    branches/apiedit/phase3/includes/media/Bitmap.php
    branches/apiedit/phase3/includes/media/DjVu.php
    branches/apiedit/phase3/includes/media/Generic.php
    branches/apiedit/phase3/includes/media/SVG.php
(Continue reading)

rotem | 1 Sep 2007 19:35
Picon
Favicon

SVN: [25391] trunk/phase3/includes/WatchlistEditor.php

Revision: 25391
Author:   rotem
Date:     2007-09-01 17:35:58 +0000 (Sat, 01 Sep 2007)

Log Message:
-----------
Don't show contributions link to user subpages in the watchlist editor.

Modified Paths:
--------------
    trunk/phase3/includes/WatchlistEditor.php

Modified: trunk/phase3/includes/WatchlistEditor.php
===================================================================
--- trunk/phase3/includes/WatchlistEditor.php	2007-09-01 15:13:32 UTC (rev 25390)
+++ trunk/phase3/includes/WatchlistEditor.php	2007-09-01 17:35:58 UTC (rev 25391)
 <at>  <at>  -414,7 +414,7  <at>  <at> 
 		if( $title->exists() ) {
 			$tools[] = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'history_short' ), 'action=history' );
 		}
-		if( $title->getNamespace() == NS_USER ) {
+		if( $title->getNamespace() == NS_USER && $title->getText() == $title->getBaseText() ) {
 			$tools[] = $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Contributions' ), wfMsgHtml(
'contributions' ), 'target=' . $title->getPartialUrl() );
 		}
 		return '<li>'

Gmane