tstarling | 1 Jun 2008 03:40
Picon
Favicon

SVN: [35665] trunk/extensions

Revision: 35665
Author:   tstarling
Date:     2008-06-01 01:40:41 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
In BoardVote: If the user has a CentralAuth token but not a session, issue them a session so that we can give it
to SPI.

Modified Paths:
--------------
    trunk/extensions/BoardVote/GoToBoardVote_body.php
    trunk/extensions/CentralAuth/CentralAuthUser.php

Modified: trunk/extensions/BoardVote/GoToBoardVote_body.php
===================================================================
--- trunk/extensions/BoardVote/GoToBoardVote_body.php	2008-05-31 22:36:03 UTC (rev 35664)
+++ trunk/extensions/BoardVote/GoToBoardVote_body.php	2008-06-01 01:40:41 UTC (rev 35665)
 <at>  <at>  -14,13 +14,17  <at>  <at> 

 		$this->setHeaders();

-		global $wgCentralAuthCookiePrefix;
-		if ( isset( $wgCentralAuthCookiePrefix ) 
-			&& isset( $_COOKIE[$wgCentralAuthCookiePrefix . 'Session'] ) )
-		{
-			$centralSessionId = $_COOKIE[$wgCentralAuthCookiePrefix . 'Session'];
-		} else {
-			$centralSessionId = '';
+		$centralSessionId = '';
(Continue reading)

nad | 1 Jun 2008 04:03
Picon
Favicon

SVN: [35666] trunk/extensions/CSS/CSS.php

Revision: 35666
Author:   nad
Date:     2008-06-01 02:03:16 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Change inline method to same way as Extension:PageCSS

Modified Paths:
--------------
    trunk/extensions/CSS/CSS.php

Modified: trunk/extensions/CSS/CSS.php
===================================================================
--- trunk/extensions/CSS/CSS.php	2008-06-01 01:40:41 UTC (rev 35665)
+++ trunk/extensions/CSS/CSS.php	2008-06-01 02:03:16 UTC (rev 35666)
 <at>  <at>  -13,7 +13,7  <at>  <at> 

 if (!defined('MEDIAWIKI')) die('Not an entry point.');

-define('CSS_VERSION', '1.0.3, 2008-06-01');
+define('CSS_VERSION', '1.0.4, 2008-06-01');

 $wgCSSMagic                    = "css";
 $wgExtensionFunctions[]        = 'wfSetupCSS';
 <at>  <at>  -41,14 +41,16  <at>  <at> 
 		if (ereg('\\{', $css)) {

 			# Inline CSS
-			if ($wgRequest->getText('inline-css')) {
(Continue reading)

tstarling | 1 Jun 2008 05:27
Picon
Favicon

SVN: [35667] trunk/phase3

Revision: 35667
Author:   tstarling
Date:     2008-06-01 03:27:48 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Revert r35478, r35264, r35262: $wgPerLanguageCaching feature. Bug found with
$wgPerLanguageCaching=false. Nikerabbit, please see me for a detailed code review.

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/DefaultSettings.php
    trunk/phase3/includes/GlobalFunctions.php
    trunk/phase3/includes/MessageCache.php
    trunk/phase3/includes/Skin.php
    trunk/phase3/languages/Language.php

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2008-06-01 02:03:16 UTC (rev 35666)
+++ trunk/phase3/RELEASE-NOTES	2008-06-01 03:27:48 UTC (rev 35667)
 <at>  <at>  -47,8 +47,6  <at>  <at> 
   image page already exists
 * $wgMaximumMovedPages restricts the number of pages that can be moved at once
   (default 100) with the new subpage-move functionality of Special:Movepage
-* New option $wgPerLanguageCaching, for wikies with many translated system
-  messages in MediaWiki namespace

 === New features in 1.13 ===
(Continue reading)

aaron | 1 Jun 2008 06:01
Picon
Favicon

SVN: [35668] trunk/phase3/includes/DefaultSettings.php

Revision: 35668
Author:   aaron
Date:     2008-06-01 04:01:58 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Make things easier to find on specialpages by tweaking groups

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

Modified: trunk/phase3/includes/DefaultSettings.php
===================================================================
--- trunk/phase3/includes/DefaultSettings.php	2008-06-01 03:27:48 UTC (rev 35667)
+++ trunk/phase3/includes/DefaultSettings.php	2008-06-01 04:01:58 UTC (rev 35668)
 <at>  <at>  -2605,6 +2605,11  <at>  <at> 
 	'Unusedtemplates'           => 'maintenance',
 	'Withoutinterwiki'          => 'maintenance',
 	'Longpages'                 => 'maintenance',
+	'Shortpages'                => 'maintenance',
+	'Ancientpages'              => 'maintenance',
+	'Deadendpages'              => 'maintenance',
+	'Wantedpages'               => 'maintenance',
+	'Wantedcategories'          => 'maintenance',

 	'Userlogin'                 => 'login',
 	'Userlogout'                => 'login',
 <at>  <at>  -2635,12 +2640,6  <at>  <at> 
 	'Preferences'               => 'users',
(Continue reading)

aaron | 1 Jun 2008 06:07
Picon
Favicon

SVN: [35669] trunk/extensions/FlaggedRevs/FlaggedRevs.php

Revision: 35669
Author:   aaron
Date:     2008-06-01 04:07:08 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
move under 'maintenance'

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

Modified: trunk/extensions/FlaggedRevs/FlaggedRevs.php
===================================================================
--- trunk/extensions/FlaggedRevs/FlaggedRevs.php	2008-06-01 04:01:58 UTC (rev 35668)
+++ trunk/extensions/FlaggedRevs/FlaggedRevs.php	2008-06-01 04:07:08 UTC (rev 35669)
 <at>  <at>  -238,12 +238,12  <at>  <at> 
 $wgSpecialPages['UnreviewedPages'] = 'UnreviewedPages';
 $wgAutoloadClasses['UnreviewedPages'] = $dir . '/specialpages/UnreviewedPages_body.php';
 $wgExtensionMessagesFiles['UnreviewedPages'] = $langDir . 'UnreviewedPages.i18n.php';
-$wgSpecialPageGroups['UnreviewedPages'] = 'pages';
+$wgSpecialPageGroups['UnreviewedPages'] = 'maintenance';
 # Load "in need of re-review" pages list
 $wgSpecialPages['OldReviewedPages'] = 'OldReviewedPages';
 $wgAutoloadClasses['OldReviewedPages'] = $dir . '/specialpages/OldReviewedPages_body.php';
 $wgExtensionMessagesFiles['OldReviewedPages'] = $langDir . 'OldReviewedPages.i18n.php';
-$wgSpecialPageGroups['OldReviewedPages'] = 'pages';
+$wgSpecialPageGroups['OldReviewedPages'] = 'maintenance';
 # Load reviewed pages list
 $wgSpecialPages['ReviewedPages'] = 'ReviewedPages';
(Continue reading)

dantman | 1 Jun 2008 06:27
Picon
Favicon

SVN: [35670] trunk/phase3

Revision: 35670
Author:   dantman
Date:     2008-06-01 04:27:47 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Changing the UI for [[Special:Specialpages]].
* Restricted pages are now with the normal pages (Special pages of a group are grouped together rather than
split up on whether they are restricted or not [which does not matter to the user since they can use the page anyways])
* Restricted pages are still marked so the user can identify them. (CSS Class allows this behavior to be
customized, default is to bold the link)
* New layout change. Rather than a poor table based column layout, using a dynamic CSS based one. This one
uses floats and list items. With CSS disabled you get a single list. In 800x640px you get 2 columns, in
1042x860px you still get two columns, and in large screens like my 1280x1240px you get 3 columns. (770px
width and below you get a single column) so this scales well no matter what screen size you have.

Modified Paths:
--------------
    trunk/phase3/RELEASE-NOTES
    trunk/phase3/includes/SpecialPage.php
    trunk/phase3/includes/SpecialSpecialpages.php
    trunk/phase3/languages/messages/MessagesEn.php
    trunk/phase3/skins/common/shared.css

Modified: trunk/phase3/RELEASE-NOTES
===================================================================
--- trunk/phase3/RELEASE-NOTES	2008-06-01 04:07:08 UTC (rev 35669)
+++ trunk/phase3/RELEASE-NOTES	2008-06-01 04:27:47 UTC (rev 35670)
 <at>  <at>  -128,6 +128,9  <at>  <at> 
   'import-upload' instead of 'upload'
(Continue reading)

dantman | 1 Jun 2008 07:20
Picon
Favicon

SVN: [35671] trunk/phase3

Revision: 35671
Author:   dantman
Date:     2008-06-01 05:20:58 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
All the needy pages were moved into maintenance, this message is useless now.

Someone changed the 'Pages' into a 'Page lists' group, so now some of the pages were removed because they
don't fit there anymore with the new definition.

Adding a 'redirects' group, for special pages which redirect to another one ie: Random page redirects, and
redirects to a user's pages.

Modified Paths:
--------------
    trunk/phase3/includes/DefaultSettings.php
    trunk/phase3/languages/messages/MessagesEn.php

Modified: trunk/phase3/includes/DefaultSettings.php
===================================================================
--- trunk/phase3/includes/DefaultSettings.php	2008-06-01 04:27:47 UTC (rev 35670)
+++ trunk/phase3/includes/DefaultSettings.php	2008-06-01 05:20:58 UTC (rev 35671)
 <at>  <at>  -2654,6 +2654,13  <at>  <at> 
 	'Disambiguations'           => 'pages',
 	'Unwatchedpages'            => 'pages',
 	'Fewestrevisions'           => 'pages',
+	
+	'Randompage'                => 'redirects',
+	'Randomredirect'            => 'redirects',
(Continue reading)

rotem | 1 Jun 2008 07:51
Picon
Favicon

SVN: [35672] trunk/phase3

Revision: 35672
Author:   rotem
Date:     2008-06-01 05:51:37 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Update and fixes.

Modified Paths:
--------------
    trunk/phase3/languages/messages/MessagesEn.php
    trunk/phase3/languages/messages/MessagesHe.php
    trunk/phase3/maintenance/language/messages.inc

Modified: trunk/phase3/languages/messages/MessagesEn.php
===================================================================
--- trunk/phase3/languages/messages/MessagesEn.php	2008-06-01 05:20:58 UTC (rev 35671)
+++ trunk/phase3/languages/messages/MessagesEn.php	2008-06-01 05:51:37 UTC (rev 35672)
 <at>  <at>  -3392,7 +3392,8  <at>  <at> 
 'fileduplicatesearch-result-n' => 'The file "$1" has {{PLURAL:$2|1 identical duplication|$2
identical duplications}}.',

 # Special:SpecialPages
-'specialpages-note'              => "<hr>\n* <span class=\"mw-specialpagerestricted\">Highlighted</span>
special pages are restricted.",
+'specialpages-note'              => '<hr />
+* <span class="mw-specialpagerestricted">Highlighted</span> special pages are restricted.',
 'specialpages-group-maintenance' => 'Maintenance reports',
 'specialpages-group-other'       => 'Other special pages',
 'specialpages-group-login'       => 'Login / sign up',
(Continue reading)

tstarling | 1 Jun 2008 08:07
Picon
Favicon

SVN: [35673] trunk/extensions/BoardVote/BoardVote_body.php

Revision: 35673
Author:   tstarling
Date:     2008-06-01 06:07:38 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Use the platform default CA certificate file

Modified Paths:
--------------
    trunk/extensions/BoardVote/BoardVote_body.php

Modified: trunk/extensions/BoardVote/BoardVote_body.php
===================================================================
--- trunk/extensions/BoardVote/BoardVote_body.php	2008-06-01 05:51:37 UTC (rev 35672)
+++ trunk/extensions/BoardVote/BoardVote_body.php	2008-06-01 06:07:38 UTC (rev 35673)
 <at>  <at>  -34,7 +34,9  <at>  <at> 
 		#$url = "http://shimmer/farm/testwiki/extensions/BotQuery/query.php?what=userinfo&uiisblocked&format=php";
 		wfDebug( "Fetching URL $url\n" );
 		$c = curl_init( $url );
-		#curl_setopt( $c, CURLOPT_CAINFO, dirname( __FILE__ ) . '/cacert-both.crt' );
+		// Use the default SSL certificate file
+		// Necessary on some versions of cURL, others do this by default
+		curl_setopt( $c, CURLOPT_CAINFO, '/etc/ssl/certs/ca-certificates.crt' );
 		curl_setopt( $c, CURLOPT_RETURNTRANSFER, true );
 		curl_setopt( $c, CURLOPT_COOKIE, 
 			"{$db}_session=" . urlencode( $sid ) . ';' . 
dantman | 1 Jun 2008 11:24
Picon
Favicon

SVN: [35674] trunk/phase3/includes/SpecialPage.php

Revision: 35674
Author:   dantman
Date:     2008-06-01 09:24:09 +0000 (Sun, 01 Jun 2008)

Log Message:
-----------
Allow use of a mediawiki message to '''override''' the group used to group a special page.
Form is specialpages-specialpagegroup-$specialpage
Tim suggested letting a message override the group to let someone with a better hand at organization in the
community try organizing the pages. So we could then import those changes back into MediaWiki at some
point in time.

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

Modified: trunk/phase3/includes/SpecialPage.php
===================================================================
--- trunk/phase3/includes/SpecialPage.php	2008-06-01 06:07:38 UTC (rev 35673)
+++ trunk/phase3/includes/SpecialPage.php	2008-06-01 09:24:09 UTC (rev 35674)
 <at>  <at>  -294,8 +294,19  <at>  <at> 
 	 */
 	static function getGroup( &$page ) {
 		global $wgSpecialPageGroups;
-		$group = isset($wgSpecialPageGroups[$page->mName]) ?
-			$wgSpecialPageGroups[$page->mName] : 'other';
+		static $specialPageGroupsCache = array();
+		if( isset($specialPageGroupsCache[$page->mName]) ) {
+			return $specialPageGroupsCache[$page->mName];
+		}
(Continue reading)


Gmane