return $title . ' (' . $talk . ')';
case 'am_default' :
- return Sanitizer::escapeHtmlAllowEntities( $value, ENT_QUOTES );
case 'am_actual' :
return Sanitizer::escapeHtmlAllowEntities( $value, ENT_QUOTES );
}
# Show other blocks from extensions, i.e. GlockBlocking and TorBlock
if( count( $otherBlockedMsgs ) ) {
$wgOut->addHTML(
- Html::rawElement( 'h2', array(), wfMsgExt( 'ipb-otherblocks-header', 'parseinline', count( $otherBlockedMsgs ) ) ) . "\n"
+ Html::rawElement( 'h2', array(), wfMsgExt( 'ipb-otherblocks-header', 'parseinline', count( $otherBlockedMsgs ) ) ) . "\n"
);
$list = '';
foreach( $otherBlockedMsgs as $link ) {
protected function queryLatestTimestamp( &$dbw, $articleId, $conds = array() ) {
$timestampNewRow = $dbw->selectRow(
'revision',
- 'max(rev_timestamp) as maxtime',
+ 'max(rev_timestamp) AS maxtime',
array_merge( array( 'rev_page' => $articleId ), $conds ),
__METHOD__
);