Skip to content

Commit

Permalink
Fixed author information and removed commented out lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontalvo3 committed Jun 26, 2013
1 parent a94e7e3 commit 5c5353d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 27 deletions.
3 changes: 2 additions & 1 deletion HeaderFooter.body.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php
/**
* @author Jean-Lou Dupont
* @author Jamesmontalvo3
* @package HeaderFooter
* @version 2.0.1
* @version 2.0.2
* @Id $Id: HeaderFooter.body.php 1170 2008-05-27 12:38:24Z jeanlou.dupont $
*/
//<source lang='php'>
Expand Down
31 changes: 5 additions & 26 deletions HeaderFooter.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<?php
/**
* @author Jean-Lou Dupont
* @author Jamesmontalvo3
* @package HeaderFooter
* @version 2.0.2 (increased from 2.0.1 by James Montalvo for StubManager dependency removal)
* @version 2.0.2
* @Id $Id: HeaderFooter.php 821 2008-01-04 02:36:30Z jeanlou.dupont $
* Note: increased from v2.0.1 by James Montalvo for StubManager dependency removal
*/
$wgExtensionCredits['other'][] = array(
'name' => 'HeaderFooter',
'version' => '2.0.2',
'author' => 'Jean-Lou Dupont, James Montalvo (removed StubManager dependency)',
'author' => 'Jean-Lou Dupont, James Montalvo',
'description' => 'Enables per-page/per-namespace headers and footers',
'url' => 'http://mediawiki.org/wiki/Extension:HeaderFooter',
);
Expand All @@ -19,27 +21,4 @@
function fnHeaderFooterSetup ($op, $parserOutput) {
$test = new HeaderFooter();
return $test->hOutputPageParserOutput($op, $parserOutput);
}

/*
//<source lang=php>
if (class_exists( 'StubManager' ))
{
$wgExtensionCredits['other'][] = array(
'name' => 'HeaderFooter',
'version' => '2.0.1',
'author' => 'Jean-Lou Dupont',
'description' => 'Enables per-page/per-namespace headers and footers',
'url' => 'http://mediawiki.org/wiki/Extension:HeaderFooter',
);
StubManager::createStub2( array( 'class' => 'HeaderFooter',
'classfilename' => dirname(__FILE__).'/HeaderFooter.body.php',
'hooks' => array( 'OutputPageParserOutput' )
)
);
}
else
echo '[[Extension:HeaderFooter]] requires [[Extension:StubManager]].';
//</source>
*/
}

0 comments on commit 5c5353d

Please sign in to comment.