r89287 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89286‎ | r89287 | r89288 >
Date:20:55, 1 June 2011
Author:foxtrott
Status:deferred
Tags:
Comment:
small fixes (CSS, extension credits)
Modified paths:
  • /trunk/extensions/SemanticGlossary/SemanticGlossary.php (modified) (history)
  • /trunk/extensions/SemanticGlossary/skins/SemanticGlossary.css (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticGlossary/skins/SemanticGlossary.css
@@ -19,24 +19,29 @@
2020 top: 0;
2121 left: 0;
2222
23 - padding: 1.5em 0 0 2em;
24 - width: 20em;
 23+ height: 3em;
 24+ width: 23em;
2525
 26+ font-weight: normal;
 27+ font-size: medium;
 28+ line-height: 1.2em;
 29+
2630 z-index: 2;
2731 }
2832
2933 .tooltip_tip {
3034 display: block;
3135
32 - position: relative;
33 - top: 0em;
34 - left: 0em;
 36+ position: absolute;
 37+ top: 1.5em;
 38+ left: 2em;
3539
36 - background-color: #F9F9F9;
 40+ width: 20em;
 41+
3742 padding: 0.5em;
3843 margin: 0;
39 - line-height: 1.2em;
4044
 45+ background-color: #F9F9F9;
4146 border: 1px solid #aaa;
4247
4348 -moz-border-radius: 5px;
@@ -50,6 +55,10 @@
5156 display: block;
5257 }
5358
 59+.tooltip:hover .tooltip_abbr {
 60+ background-color:rgba(0,0,0,0.1);
 61+}
 62+
5463 .tooltip:hover .tooltip_tipwrapper {
5564 display: block;
5665 }
Index: trunk/extensions/SemanticGlossary/SemanticGlossary.php
@@ -35,7 +35,7 @@
3636 $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array(
3737 'path' => __FILE__,
3838 'name' => 'Semantic Glossary',
39 - 'author' => '[http://www.mediawiki.org/wiki/User:F.trott|Stephan Gambke]',
 39+ 'author' => '[http://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]',
4040 'url' => 'http://www.mediawiki.org/wiki/Extension:Semantic_Glossary',
4141 'descriptionmsg' => 'semanticglossary-desc',
4242 'version' => SG_VERSION,
@@ -49,7 +49,7 @@
5050 $wgExtensionMessagesFiles['SemanticGlossaryAlias'] = $dir . '/SemanticGlossary.alias.php';
5151
5252 // register class files with the Autoloader
53 -$wgAutoloadClasses['SemanticGlossarySettings'] = $dir . '/SemanticGlossarySettings.php';
 53+//$wgAutoloadClasses['SemanticGlossarySettings'] = $dir . '/SemanticGlossarySettings.php';
5454 $wgAutoloadClasses['SemanticGlossaryParser'] = $dir . '/SemanticGlossaryParser.php';
5555 $wgAutoloadClasses['SemanticGlossaryTree'] = $dir . '/SemanticGlossaryTree.php';
5656 $wgAutoloadClasses['SemanticGlossaryElement'] = $dir . '/SemanticGlossaryElement.php';

Status & tagging log