summaryrefslogtreecommitdiff
path: root/skins/disabled
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-05-16 20:58:53 +0000
commitcecb985bee3bdd252e1b8dc0bd500b37cd52be01 (patch)
tree17266aa237742640aabee7856f0202317a45d540 /skins/disabled
parent0bac06c301f2a83edb0236e4c2434da16848d549 (diff)
Aktualisierung auf MediaWiki 1.10.0
Plugins angepasst und verbessert kleine Korrekturen am Design
Diffstat (limited to 'skins/disabled')
-rw-r--r--skins/disabled/HTMLDump.php8
-rw-r--r--skins/disabled/MonoBookCBT.php6
2 files changed, 6 insertions, 8 deletions
diff --git a/skins/disabled/HTMLDump.php b/skins/disabled/HTMLDump.php
index 5f739a37..4e1ca4e9 100644
--- a/skins/disabled/HTMLDump.php
+++ b/skins/disabled/HTMLDump.php
@@ -13,8 +13,7 @@ require_once( 'includes/SkinTemplate.php' );
/**
* Inherit main code from SkinTemplate, set the CSS and template filter.
* @todo document
- * @package MediaWiki
- * @subpackage Skins
+ * @addtogroup Skins
*/
class SkinHTMLDump extends SkinTemplate {
/** Using monobook. */
@@ -76,7 +75,7 @@ class SkinHTMLDump extends SkinTemplate {
if ( $nt->getNamespace() == NS_CATEGORY ) {
# Determine if the category has any articles in it
- $dbr =& wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
$hasMembers = $dbr->selectField( 'categorylinks', '1',
array( 'cl_to' => $nt->getDBkey() ), __METHOD__ );
if ( $hasMembers ) {
@@ -93,8 +92,7 @@ class SkinHTMLDump extends SkinTemplate {
/**
* @todo document
- * @package MediaWiki
- * @subpackage Skins
+ * @addtogroup Skins
*/
class HTMLDumpTemplate extends QuickTemplate {
/**
diff --git a/skins/disabled/MonoBookCBT.php b/skins/disabled/MonoBookCBT.php
index 3d145b24..aa9abb00 100644
--- a/skins/disabled/MonoBookCBT.php
+++ b/skins/disabled/MonoBookCBT.php
@@ -499,8 +499,8 @@ class SkinMonoBookCBT extends SkinTemplate {
}
function is_special() { return cbt_value( $this->mTitle->getNamespace() == NS_SPECIAL, 'title' ); }
- function can_edit() { return cbt_value( (string)($this->mTitle->userCanEdit()), 'dynamic' ); }
- function can_move() { return cbt_value( (string)($this->mTitle->userCanMove()), 'dynamic' ); }
+ function can_edit() { return cbt_value( (string)($this->mTitle->userCan( 'edit' )), 'dynamic' ); }
+ function can_move() { return cbt_value( (string)($this->mTitle->userCan( 'move' )), 'dynamic' ); }
function is_talk() { return cbt_value( (string)($this->mTitle->isTalkPage()), 'title' ); }
function is_protected() { return cbt_value( (string)$this->mTitle->isProtected(), 'dynamic' ); }
function nskey() { return cbt_value( $this->mTitle->getNamespaceKey(), 'title' ); }
@@ -1017,7 +1017,7 @@ class SkinMonoBookCBT extends SkinTemplate {
global $wgPageShowWatchingUsers;
if ( !$wgPageShowWatchingUsers ) return '';
- $dbr =& wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE );
extract( $dbr->tableNames( 'watchlist' ) );
$sql = "SELECT COUNT(*) AS n FROM $watchlist
WHERE wl_title='" . $dbr->strencode($this->mTitle->getDBKey()) .