dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "(bug 44338) set the site internal id when loading sites from the db"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialTags.php
diff --git
a/includes/specials/SpecialTags.php
b/includes/specials/SpecialTags.php
index
1fc8ea5
..
4036ebb
100644
(file)
--- a/
includes/specials/SpecialTags.php
+++ b/
includes/specials/SpecialTags.php
@@
-21,9
+21,6
@@
* @ingroup SpecialPage
*/
* @ingroup SpecialPage
*/
-if (!defined('MEDIAWIKI'))
- die;
-
/**
* A special page that lists tags for edits
*
/**
* A special page that lists tags for edits
*
@@
-50,7
+47,7
@@
class SpecialTags extends SpecialPage {
Xml::tags( 'th', null, $this->msg( 'tags-hitcount-header' )->parse() )
);
$dbr = wfGetDB( DB_SLAVE );
Xml::tags( 'th', null, $this->msg( 'tags-hitcount-header' )->parse() )
);
$dbr = wfGetDB( DB_SLAVE );
- $res = $dbr->select( 'change_tag', array( 'ct_tag', '
count(*) AS hitcount
' ),
+ $res = $dbr->select( 'change_tag', array( 'ct_tag', '
hitcount' => 'count(*)
' ),
array(), __METHOD__, array( 'GROUP BY' => 'ct_tag', 'ORDER BY' => 'hitcount DESC' ) );
foreach ( $res as $row ) {
array(), __METHOD__, array( 'GROUP BY' => 'ct_tag', 'ORDER BY' => 'hitcount DESC' ) );
foreach ( $res as $row ) {
@@
-72,7
+69,7
@@
class SpecialTags extends SpecialPage {
}
$newRow = '';
}
$newRow = '';
- $newRow .= Xml::tags( 'td', null, Xml::element( '
tt
', null, $tag ) );
+ $newRow .= Xml::tags( 'td', null, Xml::element( '
code
', null, $tag ) );
$disp = ChangeTags::tagDescription( $tag );
$disp .= ' ';
$disp = ChangeTags::tagDescription( $tag );
$disp .= ' ';