http://www.mediawiki.org/wiki/Special:Code/MediaWiki/88453
Revision: 88453
Author: ashley
Date: 2011-05-20 15:20:42 +0000 (Fri, 20 May 2011)
Log Message:
-----------
WikiForum: remove four unused messages and some dead code related to them; in
the original WikiForum, site administrators could choose whether to use pretty
icons or plain text. I removed that configuration option as I thought it was
silly, but I forgot to remove these messages.
Modified Paths:
--------------
trunk/extensions/WikiForum/WikiForum.i18n.php
trunk/extensions/WikiForum/WikiForumClass.php
Modified: trunk/extensions/WikiForum/WikiForum.i18n.php
===================================================================
--- trunk/extensions/WikiForum/WikiForum.i18n.php 2011-05-20 15:19:57 UTC
(rev 88452)
+++ trunk/extensions/WikiForum/WikiForum.i18n.php 2011-05-20 15:20:42 UTC
(rev 88453)
@@ -65,11 +65,6 @@
'wikiforum-thread-title' => 'Title of your thread',
'wikiforum-no-threads' => 'No threads are available at the moment.',
- 'wikiforum-edit' => 'edit',
- 'wikiforum-close' => 'close',
- 'wikiforum-delete' => 'delete',
- 'wikiforum-reopen' => 'reopen',
-
'wikiforum-posted' => 'Posted at $1 by $2',
'wikiforum-edited' => 'Edited at $1 by $2',
'wikiforum-closed-text' => 'Thread was closed at $1 by $2',
Modified: trunk/extensions/WikiForum/WikiForumClass.php
===================================================================
--- trunk/extensions/WikiForum/WikiForumClass.php 2011-05-20 15:19:57 UTC
(rev 88452)
+++ trunk/extensions/WikiForum/WikiForumClass.php 2011-05-20 15:20:42 UTC
(rev 88453)
@@ -2248,18 +2248,10 @@
// For grep: wikiforum-edit-forum,
wikiforum-edit-category,
// wikiforum-delete-forum, wikiforum-delete-category
- //if( $wikiconf['icon_' . $type . '_edit'] ) {
$icon = '<img src="' . $wgScriptPath .
'/extensions/WikiForum/icons/' . $iconName . '_edit.png" title="' . wfMsg(
'wikiforum-edit-' . $type ) . '" />';
- //} else {
- // $icon = '<span class="small">' . wfMsg(
'wikiforum-edit' ) . '</span>';
- //}
$link = ' <a href="' . $specialPage->escapeFullURL(
array( 'edit' . $type => $id ) ) . '">' . $icon . '</a>';
- //if( $wikiconf['icon_' . $type . '_delete'] ) {
$icon = '<img src="' . $wgScriptPath .
'/extensions/WikiForum/icons/' . $iconName . '_delete.png" title="' . wfMsg(
'wikiforum-delete-' . $type ) . '" />';
- //} else {
- // $icon = '<span class="small">' . wfMsg(
'wikiforum-delete' ) . '</span>';
- //}
$link .= ' <a href="' . $specialPage->escapeFullURL(
array( 'delete' . $type => $id ) ) . '">' . $icon . '</a>';
if( $sortup == true ) {
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs