mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
* Rm extfunctions use
* Enlarge box
This commit is contained in:
parent
823764b9d4
commit
49005f3173
|
@ -28,10 +28,9 @@ $wgExtensionMessagesFiles['SpecialCite'] = dirname( __FILE__ ) . "/SpecialCite.i
|
|||
$wgHooks['SkinTemplateBuildNavUrlsNav_urlsAfterPermalink'][] = 'wfSpecialCiteNav';
|
||||
$wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfSpecialCiteToolbox';
|
||||
|
||||
if ( !function_exists( 'extAddSpecialPage' ) ) {
|
||||
require( dirname(__FILE__) . '/../ExtensionFunctions.php' );
|
||||
}
|
||||
extAddSpecialPage( dirname(__FILE__) . '/SpecialCite_body.php', 'Cite', 'SpecialCite' );
|
||||
$dir = dirname(__FILE__) . '/';
|
||||
$wgSpecialPages['Cite'] = 'SpecialCite';
|
||||
$wgAutoloadClasses['SpecialCite'] = $dir . 'SpecialCite_body.php';
|
||||
|
||||
function wfSpecialCiteNav( &$skintemplate, &$nav_urls, &$oldid, &$revid ) {
|
||||
wfLoadExtensionMessages( 'SpecialCite' );
|
||||
|
|
|
@ -69,7 +69,7 @@ class CiteForm {
|
|||
wfElement( 'input',
|
||||
array(
|
||||
'type' => 'text',
|
||||
'size' => 20,
|
||||
'size' => 30,
|
||||
'name' => 'page',
|
||||
'value' => is_object( $this->mTitle ) ? $this->mTitle->getPrefixedText() : ''
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue