r34586 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34585‎ | r34586 | r34587 >
Date:15:54, 10 May 2008
Author:ialex
Status:old
Tags:
Comment:
* Load prefs.js in 1.13 +
* Added $wgUseAutomaticEditSummaries
* $wgUseCommaCount is boolean, not int *stab*
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.body.php (modified) (history)
  • /trunk/extensions/Configure/Configure.php (modified) (history)
  • /trunk/extensions/Configure/Configure.settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/Configure.body.php
@@ -416,6 +416,9 @@
417417 'href' => "$wgScriptPath/extensions/Configure/Configure.css?$wgStyleVersion",
418418 )
419419 );
 420+ if( is_callable( array( $wgOut, 'addScriptFile' ) ) ){ # 1.13 +
 421+ $wgOut->addScriptFile( 'prefs.js' );
 422+ }
420423 }
421424
422425 /**
Index: trunk/extensions/Configure/Configure.settings.php
@@ -628,7 +628,8 @@
629629 'wgSpamRegex' => 'text',
630630 'wgStyleVersion' => 'int',
631631 'wgUpdateRowsPerQuery' => 'int',
632 - 'wgUseCommaCount' => 'int',
 632+ 'wgUseAutomaticEditSummaries' => 'bool',
 633+ 'wgUseCommaCount' => 'bool',
633634 'wgUseETag' => 'bool',
634635 'wgUseExternalEditor' => 'bool',
635636 'wgUseTrackbacks' => 'bool',
@@ -1033,6 +1034,7 @@
10341035 'wgSharedPrefix' => array( array( '1.13alpha', '>=' ) ),
10351036 'wgSharedTables' => array( array( '1.13alpha', '>=' ) ),
10361037 'wgSQLiteDataDir' => array( array( '1.13alpha', '>=' ) ),
 1038+ 'wgUseAutomaticEditSummaries' => array( array( '1.13alpha', '>=' ) ),
10371039 ## Obsolete
10381040 'wgProfileSampleRate' => array( array( '1.8alpha', '<' ) ),
10391041 'wgProfilerType' => array( array( '1.8alpha', '<' ) ),
Index: trunk/extensions/Configure/CHANGELOG
@@ -1,6 +1,10 @@
22 This file lists changes on this extension.
33 Localisation updates are done on betawiki and aren't listed here.
44
 5+0.2.8 - 10 May 2008
 6+ * Load prefs.js in 1.13 +
 7+ * Added $wgUseAutomaticEditSummaries
 8+
59 0.2.7 - 8 May 2008
610 Added $wgSQLiteDataDir.
711
Index: trunk/extensions/Configure/Configure.php
@@ -16,7 +16,7 @@
1717 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure',
1818 'description' => 'Allow authorised users to configure the wiki by a web-based interface',
1919 'descriptionmsg' => 'configure-desc',
20 - 'version' => '0.2.7',
 20+ 'version' => '0.2.8',
2121 );
2222
2323 ## Adding new rights...

Status & tagging log