Index: trunk/extensions/Cite/SpecialCite_body.php |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | wfElement( 'input', |
71 | 71 | array( |
72 | 72 | 'type' => 'text', |
73 | | - 'size' => 20, |
| 73 | + 'size' => 30, |
74 | 74 | 'name' => 'page', |
75 | 75 | 'value' => is_object( $this->mTitle ) ? $this->mTitle->getPrefixedText() : '' |
76 | 76 | ), |
Index: trunk/extensions/Cite/SpecialCite.php |
— | — | @@ -28,10 +28,9 @@ |
29 | 29 | $wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'wfSpecialCiteNav'; |
30 | 30 | $wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfSpecialCiteToolbox'; |
31 | 31 | |
32 | | -if ( !function_exists( 'extAddSpecialPage' ) ) { |
33 | | - require( dirname(__FILE__) . '/../ExtensionFunctions.php' ); |
34 | | -} |
35 | | -extAddSpecialPage( dirname(__FILE__) . '/SpecialCite_body.php', 'Cite', 'SpecialCite' ); |
| 32 | +$dir = dirname(__FILE__) . '/'; |
| 33 | +$wgSpecialPages['Cite'] = 'SpecialCite'; |
| 34 | +$wgAutoloadClasses['SpecialCite'] = $dir . 'SpecialCite_body.php'; |
36 | 35 | |
37 | 36 | function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) { |
38 | 37 | wfLoadExtensionMessages( 'SpecialCite' ); |