Mailing List Archive

SVN: [114936] trunk/extensions/SideBarMenu
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114936

Revision: 114936
Author: netbrain
Date: 2012-04-17 12:50:26 +0000 (Tue, 17 Apr 2012)
Log Message:
-----------
changed some cosmetics

changed "edit" link text to "edit menu"
added css class to edit menu link so style can be overridden
added default css style to edit menu link font-size:smaller;

Modified Paths:
--------------
trunk/extensions/SideBarMenu/SideBarMenu.hooks.php
trunk/extensions/SideBarMenu/SideBarMenu.i18n.php
trunk/extensions/SideBarMenu/css/ext.sidebarmenu.css

Modified: trunk/extensions/SideBarMenu/SideBarMenu.hooks.php
===================================================================
--- trunk/extensions/SideBarMenu/SideBarMenu.hooks.php 2012-04-17 00:54:51 UTC (rev 114935)
+++ trunk/extensions/SideBarMenu/SideBarMenu.hooks.php 2012-04-17 12:50:26 UTC (rev 114936)
@@ -22,7 +22,7 @@
return wfMsg('sidebarmenu-parser-input-error', $x->getMessage());
}
if ($config[SBM_EDIT_LINK]) {
- $output .= Linker::link($frame->getTitle(), wfMsg('sidebarmenu-edit'), array('title' => wfMsg('sidebarmenu-edit')), array('action' => 'edit'));
+ $output .= Linker::link($frame->getTitle(), wfMsg('sidebarmenu-edit'), array('title' => wfMsg('sidebarmenu-edit'),'class' => 'sidebar-menu-edit-link'), array('action' => 'edit'));
}
$output .= '</div>';


Modified: trunk/extensions/SideBarMenu/SideBarMenu.i18n.php
===================================================================
--- trunk/extensions/SideBarMenu/SideBarMenu.i18n.php 2012-04-17 00:54:51 UTC (rev 114935)
+++ trunk/extensions/SideBarMenu/SideBarMenu.i18n.php 2012-04-17 12:50:26 UTC (rev 114936)
@@ -17,7 +17,7 @@
'sidebarmenu-parser-syntax-error' => 'Could not parse "$1", make sure the syntax is correct.',
'sidebarmenu-js-init-error' => 'Failed loading JavaScript resources.',
'sidebarmenu-parser-menuitem-expanded-null' => '"parser.menuitem.expanded" should be true or false, instead it is null.',
- 'sidebarmenu-edit' => 'Edit'
+ 'sidebarmenu-edit' => 'Edit menu'
);

/** Message documentation (Message documentation)

Modified: trunk/extensions/SideBarMenu/css/ext.sidebarmenu.css
===================================================================
--- trunk/extensions/SideBarMenu/css/ext.sidebarmenu.css 2012-04-17 00:54:51 UTC (rev 114935)
+++ trunk/extensions/SideBarMenu/css/ext.sidebarmenu.css 2012-04-17 12:50:26 UTC (rev 114936)
@@ -63,3 +63,7 @@
user-select: none;
}

+.sidebar-menu-edit-link {
+ font-size: smaller;
+}
+


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs