* Rm extfunctions use

* Enlarge box
This commit is contained in:
Aaron Schulz 2008-05-01 12:48:22 +00:00
parent 823764b9d4
commit 49005f3173
2 changed files with 4 additions and 5 deletions

View file

@ -28,10 +28,9 @@ $wgExtensionMessagesFiles['SpecialCite'] = dirname( __FILE__ ) . "/SpecialCite.i
$wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'wfSpecialCiteNav'; $wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'wfSpecialCiteNav';
$wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfSpecialCiteToolbox'; $wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfSpecialCiteToolbox';
if ( !function_exists( 'extAddSpecialPage' ) ) { $dir = dirname(__FILE__) . '/';
require( dirname(__FILE__) . '/../ExtensionFunctions.php' ); $wgSpecialPages['Cite'] = 'SpecialCite';
} $wgAutoloadClasses['SpecialCite'] = $dir . 'SpecialCite_body.php';
extAddSpecialPage( dirname(__FILE__) . '/SpecialCite_body.php', 'Cite', 'SpecialCite' );
function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) { function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) {
wfLoadExtensionMessages( 'SpecialCite' ); wfLoadExtensionMessages( 'SpecialCite' );

View file

@ -69,7 +69,7 @@ class CiteForm {
wfElement( 'input', wfElement( 'input',
array( array(
'type' => 'text', 'type' => 'text',
'size' => 20, 'size' => 30,
'name' => 'page', 'name' => 'page',
'value' => is_object( $this->mTitle ) ? $this->mTitle->getPrefixedText() : '' 'value' => is_object( $this->mTitle ) ? $this->mTitle->getPrefixedText() : ''
), ),