* Preferences 'watchcreations' and 'watchdefault' ("Add pages I create and files
I upload to my watchlist", "Add pages and files I edit to my watchlist") are
now enabled by default.
+* $wgLBFactoryConf: Class names have had underscores removed. The configuration
+ should be updated if LBFactory_Simple or LBFactory_Multi is configured.
=== New features in 1.23 ===
* ResourceLoader can utilize the Web Storage API to cache modules client-side.
properly for all parameters.
* ApiQueryBase::titlePartToKey allows an extra parameter that indicates the
namespace in order to properly capitalize the title part.
+* Renamed classes:
+ - LBFactory_Fake to LBFactoryFake
+ - LBFactory_Multi to LBFactoryMulti
+ - LBFactory_Simple to LBFactorySimple
+ - LBFactory_Single to LBFactorySingle
+ - LoadBalancer_Single to LoadBalancerSingle
+ - LoadMonitor_MySQL to LoadMonitorMySQL
+ - LoadMonitor_Null to LoadMonitorNull
=== Languages updated in 1.23 ===
and their definition was changed not to include the common*.css files;
the two skins now load the 'skins.common.interface' module instead.
* A page_links_updated field has been added to the page table.
+ * SpecialPage::getTitle has been deprecated in favor of
+ SpecialPage::getPageTitle.
== Compatibility ==
$this->getSkin()->setRelevantUser( $userObj );
} else {
$out->addSubtitle( $this->msg( 'sp-contributions-newbies-sub' ) );
- $out->setHTMLTitle(
- $this->msg( 'pagetitle', $this->msg( 'sp-contributions-newbies-title' ) )
- ->inContentLanguage()->plain()
- );
+ $out->setHTMLTitle( $this->msg(
+ 'pagetitle',
+ $this->msg( 'sp-contributions-newbies-title' )->plain()
+ )->inContentLanguage() );
}
if ( ( $ns = $request->getVal( 'namespace', null ) ) !== null && $ns !== '' ) {
protected function getForm() {
global $wgScript;
- $this->opts['title'] = $this->getTitle()->getPrefixedText();
+ $this->opts['title'] = $this->getPageTitle()->getPrefixedText();
if ( !isset( $this->opts['target'] ) ) {
$this->opts['target'] = '';
} else {
'form',
array(
'method' => 'post',
- 'action' => $this->getTitle()->getLocalURL( 'action=submit' ),
+ 'action' => $this->getPageTitle()->getLocalURL( 'action=submit' ),
'id' => 'movepage'
)
) .
);
}
- if ( $user->isAllowed( 'suppressredirect' ) && $handler->supportsRedirects() ) {
+ if ( $user->isAllowed( 'suppressredirect' ) ) {
+ if ( $handler->supportsRedirects() ) {
+ $isChecked = $this->leaveRedirect;
+ $options = array();
+ } else {
+ $isChecked = false;
+ $options = array(
+ 'disabled' => 'disabled'
+ );
+ }
$out->addHTML( "
<tr>
<td></td>
$this->msg( 'move-leave-redirect' )->text(),
'wpLeaveRedirect',
'wpLeaveRedirect',
- $this->leaveRedirect
+ $isChecked,
+ $options
) .
"</td>
</tr>"