r35831 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35830‎ | r35831 | r35832 >
Date:00:00, 4 June 2008
Author:brion
Status:old
Tags:
Comment:
$skin param on the hook isn't needed, and is new in 1.13. just take it off so it doesn't whine in 1.12 :)
Modified paths:
  • /trunk/extensions/UniversalEditButton/UniversalEditButton.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UniversalEditButton/UniversalEditButton.php
@@ -13,7 +13,7 @@
1414
1515 $wgHooks['BeforePageDisplay'][] = 'efUniversalEditLink';
1616
17 -function efUniversalEditLink( $output, $skin ) {
 17+function efUniversalEditLink( $output ) {
1818 global $wgArticle, $wgTitle, $wgUser;
1919 if( isset( $wgArticle ) &&
2020 isset( $wgTitle ) &&

Status & tagging log