$sql = "SELECT log_type, log_action, log_timestamp,
log_user, user_name,
log_namespace, log_title, cur_id,
- log_comment FROM $logging, $user ";
+ log_comment FROM $user, $logging ";
if( !empty( $this->joinClauses ) ) {
$sql .= implode( ',', $this->joinClauses );
}
* @private
*/
function showPrevNext( &$out ) {
- global $wgLang;
+ global $wgContLang;
$pieces = array();
$pieces[] = 'type=' . htmlspecialchars( $this->reader->queryType() );
$pieces[] = 'user=' . htmlspecialchars( $this->reader->queryUser() );
# TODO: use timestamps instead of offsets to make it more natural
# to go huge distances in time
$html = wfViewPrevNext( $offset, $limit,
- $wgLang->specialpage( 'Log' ),
+ $wgContLang->specialpage( 'Log' ),
$bits,
false);
$out->addHTML( '<p>' . $html . '</p>' );