nad | 1 Apr 01:09 2009
Picon

SVN: [49099] trunk/extensions/RecordAdmin

Revision: 49099
Author:   nad
Date:     2009-03-31 23:09:18 +0000 (Tue, 31 Mar 2009)

Log Message:
-----------
add 'count' parameter to #recordtable

Modified Paths:
--------------
    trunk/extensions/RecordAdmin/RecordAdmin.php
    trunk/extensions/RecordAdmin/RecordAdmin_body.php

Modified: trunk/extensions/RecordAdmin/RecordAdmin.php
===================================================================
--- trunk/extensions/RecordAdmin/RecordAdmin.php	2009-03-31 22:49:42 UTC (rev 49098)
+++ trunk/extensions/RecordAdmin/RecordAdmin.php	2009-03-31 23:09:18 UTC (rev 49099)
 <at>  <at>  -11,7 +11,7  <at>  <at> 
  *  <at> licence GNU General Public Licence 2.0 or later
  */

-define( 'RECORDADMIN_VERSION', '0.6.2, 2009-03-30' );
+define( 'RECORDADMIN_VERSION', '0.6.3, 2009-04-01' );

 $wgRecordAdminUseNamespaces = false;     # Whether record articles should be in a namespace of the same name
as their type
 $wgRecordAdminCategory      = 'Records'; # Category containing record types

Modified: trunk/extensions/RecordAdmin/RecordAdmin_body.php
===================================================================
(Continue reading)

dale | 1 Apr 02:21 2009
Picon

SVN: [49100] trunk/extensions/MetavidWiki

Revision: 49100
Author:   dale
Date:     2009-04-01 00:21:34 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
* added no results msg (when there are no results) 
* added title text to add media wizard
* re-factored some language msg code. 
* fix bug in lack of updates of adjusted video in and out points

Modified Paths:
--------------
    trunk/extensions/MetavidWiki/languages/MV_Messages.php
    trunk/extensions/MetavidWiki/skins/add_media_wizard.js
    trunk/extensions/MetavidWiki/skins/mv_embed/libAddMedia/remoteSearchDriver.js
    trunk/extensions/MetavidWiki/skins/mv_embed/libAddMedia/searchLibs/mediaWikiSearch.js
    trunk/extensions/MetavidWiki/skins/mv_embed/libAddMedia/searchLibs/metavidSearch.js
    trunk/extensions/MetavidWiki/skins/mv_embed/libClipEdit/mvClipEdit.js
    trunk/extensions/MetavidWiki/skins/mv_embed/mv_embed.js

Modified: trunk/extensions/MetavidWiki/languages/MV_Messages.php
===================================================================
--- trunk/extensions/MetavidWiki/languages/MV_Messages.php	2009-03-31 23:09:18 UTC (rev 49099)
+++ trunk/extensions/MetavidWiki/languages/MV_Messages.php	2009-04-01 00:21:34 UTC (rev 49100)
 <at>  <at>  -77,11 +77,12  <at>  <at> 
 	'rsd_list_layout' => 'List layout',
 	#set to ignored for now. Messages does not appear to be final
 	'rsd_results_desc' => 'Results', # do not translate or duplicate this message to other languages
+	'rsd_no_results'   => 'No search results for <b>$1</b>',
(Continue reading)

aaron | 1 Apr 04:11 2009
Picon

SVN: [49101] trunk/extensions/FlaggedRevs

Revision: 49101
Author:   aaron
Date:     2009-04-01 02:11:34 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
* Hide review checkbox as needed
* Fixed notice

Modified Paths:
--------------
    trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
    trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php

Modified: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
===================================================================
--- trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php	2009-04-01 00:21:34 UTC (rev 49100)
+++ trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php	2009-04-01 02:11:34 UTC (rev 49101)
 <at>  <at>  -1512,7 +1512,7  <at>  <at> 
 			return true; // not needed
 		}
 		$fa = FlaggedArticle::getTitleInstance( $editPage->getArticle() );
-		if( $fa->isReviewable() ) {
+		if( $fa->isReviewable() && !$fa->limitedUI() ) {
 			$srev = $fa->getStableRev();
 			# For pages with either no stable version, or an outdated one, let
 			# the user decide if he/she wants it reviewed on the spot. One might

Modified: trunk/extensions/FlaggedRevs/specialpages/RevisionReview_body.php
===================================================================
(Continue reading)

aaron | 1 Apr 05:00 2009
Picon

SVN: [49102] trunk/extensions/FlaggedRevs/flaggedrevs.js

Revision: 49102
Author:   aaron
Date:     2009-04-01 03:00:24 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
made color handling js more robust

Modified Paths:
--------------
    trunk/extensions/FlaggedRevs/flaggedrevs.js

Modified: trunk/extensions/FlaggedRevs/flaggedrevs.js
===================================================================
--- trunk/extensions/FlaggedRevs/flaggedrevs.js	2009-04-01 02:11:34 UTC (rev 49101)
+++ trunk/extensions/FlaggedRevs/flaggedrevs.js	2009-04-01 03:00:24 UTC (rev 49102)
 <at>  <at>  -48,7 +48,8  <at>  <at> 
 			// Update color. Opera does this already, and doing so
 			// seems to kill custom pretty opera skin form styling.
 			if( navigator.appName != 'Opera') {
-				levels[0].className = 'fr-rating-option-' + selectedlevel;
+				value = levels[0].getElementsByTagName('option')[selectedlevel].value;
+				levels[0].className = 'fr-rating-option-' + value;
 			}
 		} else if( levels[0].type == 'radio' ) {
 			for( i = 0; i < levels.length; i++ ) {
aaron | 1 Apr 05:12 2009
Picon

SVN: [49103] trunk/extensions/FlaggedRevs/FlaggedArticle.php

Revision: 49103
Author:   aaron
Date:     2009-04-01 03:12:27 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
Avoid pending rev count corruption

Modified Paths:
--------------
    trunk/extensions/FlaggedRevs/FlaggedArticle.php

Modified: trunk/extensions/FlaggedRevs/FlaggedArticle.php
===================================================================
--- trunk/extensions/FlaggedRevs/FlaggedArticle.php	2009-04-01 03:00:24 UTC (rev 49102)
+++ trunk/extensions/FlaggedRevs/FlaggedArticle.php	2009-04-01 03:12:27 UTC (rev 49103)
 <at>  <at>  -325,7 +325,7  <at>  <at> 
 		// requesting the stable revision ("&stableid=x"), defer to override
 		// behavior below, since it is the same as ("&stable=1").
 		if( $old ) {
-			$revsSince = FlaggedRevs::getRevCountSince( $this->parent, $frev->getRevId() );
+			$revsSince = FlaggedRevs::getRevCountSince( $this->parent, $srev->getRevId() );
 			$text = $frev->getRevText();
 	   		$parserOut = FlaggedRevs::parseStableText( $this->parent, $text, $frev->getRevId() );
 			# Construct some tagging for non-printable outputs. Note that the pending
 <at>  <at>  -366,7 +366,7  <at>  <at> 
 		// Looking at some specific old revision (&oldid=x) or if FlaggedRevs is not
 		// set to override given the relevant conditions (like &action=protect).
 		} else if( !$stable && !$this->pageOverride() ) {
-			$revsSince = FlaggedRevs::getRevCountSince( $this->parent, $frev->getRevId() );
(Continue reading)

aaron | 1 Apr 05:25 2009
Picon

SVN: [49104] trunk/extensions/FlaggedRevs/FlaggedArticle.php

Revision: 49104
Author:   aaron
Date:     2009-04-01 03:25:45 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
Fix minor possible UI glitch with $wgFlagAvailability

Modified Paths:
--------------
    trunk/extensions/FlaggedRevs/FlaggedArticle.php

Modified: trunk/extensions/FlaggedRevs/FlaggedArticle.php
===================================================================
--- trunk/extensions/FlaggedRevs/FlaggedArticle.php	2009-04-01 03:12:27 UTC (rev 49103)
+++ trunk/extensions/FlaggedRevs/FlaggedArticle.php	2009-04-01 03:25:45 UTC (rev 49104)
 <at>  <at>  -1352,13 +1352,16  <at>  <at> 
 		# Loop through all different flag types
 		foreach( FlaggedRevs::getDimensions() as $quality => $levels ) {
 			$label = array();
-			$selected = ( isset($flags[$quality]) && $flags[$quality] > 0 ) ? $flags[$quality] : 1;
+			$selected = ( isset($flags[$quality]) && $flags[$quality] > 0 ) ?
+				$flags[$quality] : 1;
+			# Disabled form? Set the selected item label
 			if( $disabled ) {
 				$label[$selected] = $levels[$selected];
-			# else collect all quality levels of a flag current user can set
+			# Collect all quality levels of a flag current user can set
 			} else {
 				foreach( $levels as $i => $name ) {
(Continue reading)

aaron | 1 Apr 05:33 2009
Picon

SVN: [49105] trunk/extensions/FlaggedRevs

Revision: 49105
Author:   aaron
Date:     2009-04-01 03:33:48 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
* Made $wgAutoReview more robust (and b/c). Edits can be auto-reviewed to higher levels if set to do so.
* Make sure min QL and PL values are valid
* Random small cleanups

Modified Paths:
--------------
    trunk/extensions/FlaggedRevs/FlaggedRevs.class.php
    trunk/extensions/FlaggedRevs/FlaggedRevs.php
    trunk/extensions/FlaggedRevs/maintenance/reviewAllPages.inc

Modified: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php
===================================================================
--- trunk/extensions/FlaggedRevs/FlaggedRevs.class.php	2009-04-01 03:25:45 UTC (rev 49104)
+++ trunk/extensions/FlaggedRevs/FlaggedRevs.class.php	2009-04-01 03:33:48 UTC (rev 49105)
 <at>  <at>  -53,8 +53,8  <at>  <at> 
 			if( $minPL > $ratingLevels ) {
 				self::$pristineVersions = false;
 			}
-			self::$minQL[$tag] = $minQL;
-			self::$minPL[$tag] = $minPL;
+			self::$minQL[$tag] = max($minQL,1);
+			self::$minPL[$tag] = max($minPL,1);
 		}
 		foreach( $wgFlaggedRevsFeedbackTags as $tag => $weight ) {
(Continue reading)

werdna | 1 Apr 05:38 2009
Picon

SVN: [49106] trunk/extensions/AbuseFilter/SpecialAbuseLog.php

Revision: 49106
Author:   werdna
Date:     2009-04-01 03:38:57 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
Normalise usernames in abuse log, bug 18286

Modified Paths:
--------------
    trunk/extensions/AbuseFilter/SpecialAbuseLog.php

Modified: trunk/extensions/AbuseFilter/SpecialAbuseLog.php
===================================================================
--- trunk/extensions/AbuseFilter/SpecialAbuseLog.php	2009-04-01 03:33:48 UTC (rev 49105)
+++ trunk/extensions/AbuseFilter/SpecialAbuseLog.php	2009-04-01 03:38:57 UTC (rev 49106)
 <at>  <at>  -52,6 +52,12  <at>  <at> 
 		global $wgRequest;
 		
 		$this->mSearchUser = $wgRequest->getText( 'wpSearchUser' );
+
+		$t = Title::newFromText( trim($this->mSearchUser) );
+		if ($t) {
+			$this->mSearchUser = $t->getText(); // Username normalisation
+		} else $this->mSearchUser = null;
+		
 		$this->mSearchTitle = $wgRequest->getText( 'wpSearchTitle' );
 		if ($this->canSeeDetails())
 			$this->mSearchFilter = $wgRequest->getIntOrNull( 'wpSearchFilter' );
(Continue reading)

werdna | 1 Apr 05:59 2009
Picon

SVN: [49107] trunk/extensions/AbuseFilter

Revision: 49107
Author:   werdna
Date:     2009-04-01 03:59:58 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
Add timestamp variable

Modified Paths:
--------------
    trunk/extensions/AbuseFilter/AbuseFilter.class.php
    trunk/extensions/AbuseFilter/AbuseFilter.i18n.php

Modified: trunk/extensions/AbuseFilter/AbuseFilter.class.php
===================================================================
--- trunk/extensions/AbuseFilter/AbuseFilter.class.php	2009-04-01 03:38:57 UTC (rev 49106)
+++ trunk/extensions/AbuseFilter/AbuseFilter.class.php	2009-04-01 03:59:58 UTC (rev 49107)
 <at>  <at>  -68,6 +68,7  <at>  <at> 
 			'contains_any(haystack,needle1,needle2,needle3)' => 'contains-any',
 		),
 		'vars' => array(
+			'timestamp' => 'timestamp',
 			'accountname' => 'accountname',
 			'action' => 'action',
 			'added_lines' => 'addedlines',
 <at>  <at>  -663,6 +664,7  <at>  <at> 
 		
 		// Set context
 		$vars->setVar( 'context', 'filter' );
+		$vars->setVar( 'timestamp', time() );
(Continue reading)

werdna | 1 Apr 06:34 2009
Picon

SVN: [49108] trunk/extensions/AbuseFilter

Revision: 49108
Author:   werdna
Date:     2009-04-01 04:34:21 +0000 (Wed, 01 Apr 2009)

Log Message:
-----------
Usability work, making abuse filter forms readonly (rather than just lacking a submit button and
rejecting submissions) for users without permission.

Modified Paths:
--------------
    trunk/extensions/AbuseFilter/AbuseFilter.class.php
    trunk/extensions/AbuseFilter/Views/AbuseFilterViewEdit.php
    trunk/extensions/AbuseFilter/Views/AbuseFilterViewTools.php

Modified: trunk/extensions/AbuseFilter/AbuseFilter.class.php
===================================================================
--- trunk/extensions/AbuseFilter/AbuseFilter.class.php	2009-04-01 03:59:58 UTC (rev 49107)
+++ trunk/extensions/AbuseFilter/AbuseFilter.class.php	2009-04-01 04:34:21 UTC (rev 49108)
 <at>  <at>  -1252,15 +1252,25  <at>  <at> 
 		return $user;
 	}

-	static function buildEditBox( $rules, $textName = 'wpFilterRules', $addResultDiv = true ) {
+	static function buildEditBox( $rules, $textName = 'wpFilterRules', $addResultDiv = true,
+									$canEdit=true) {
 		global $wgOut;
 		
+		$readOnlyAttrib = array();
+		if (!$canEdit)
(Continue reading)


Gmane