Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Fixed using of deprecated API. Now strapping is compatible with mediawiki 1.27 #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ and have an easy-to-work with site
so that anyone could either stick to MediaWiki marked up pages
or do some more advanced layout (with columns, etc.) using Bootstrap.

You can see a (customized) instance of Strapping in action by visiting http://oVirt.org/
You can see a (customized) instance of Strapping in action by visiting http://old.ovirt.org/Home


## Requirements
Expand Down
2 changes: 1 addition & 1 deletion Strapping.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function execute() {
$nav = $this->data['content_navigation'];

if ( $wgVectorUseIconWatch ) {
$mode = $this->getSkin()->getTitle()->userIsWatching() ? 'unwatch' : 'watch';
$mode = $this->getSkin()->getUser()->isWatched($this->getSkin()->getTitle()) ? 'unwatch' : 'watch';
if ( isset( $nav['actions'][$mode] ) ) {
$nav['views'][$mode] = $nav['actions'][$mode];
$nav['views'][$mode]['class'] = rtrim( 'icon ' . $nav['views'][$mode]['class'], ' ' );
Expand Down