Page MenuHomePhabricator

SkinTemplate.php.diff

Authored By
bzimport
Nov 21 2014, 9:19 PM
Size
620 B
Referenced Files
None
Subscribers
None

SkinTemplate.php.diff

This document is not UTF8. It was detected as EUC-JP and converted to UTF8 for display.
Index: includes/SkinTemplate.php
===================================================================
--- includes/SkinTemplate.php (リビジョン 15999)
+++ includes/SkinTemplate.php (作業コピー)
@@ -813,7 +813,7 @@
// A print stylesheet is attached to all pages, but nobody ever
// figures that out. :) Add a link...
- if( $this->iscontent && ($action == '' || $action == 'view' || $action == 'purge' ) ) {
+ if( $this->iscontent && $wgArticle && ($action == '' || $action == 'view' || $action == 'purge' ) ) {
$revid = $wgArticle->getLatest();
if ( !( $revid == 0 ) )
$nav_urls['print'] = array(

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2557
Default Alt Text
SkinTemplate.php.diff (620 B)

Event Timeline