Also updated code formatting.
Change-Id: I188b5d29c9496383df10c391b29e9d26e59e8aeb
if ( $appendSubtitle ) {
$out = $this->getContext()->getOutput();
- $out->appendSubtitle( wfMessage( 'redirectpagesub' )->escaped() );
+ $out->addSubtitle( wfMessage( 'redirectpagesub' )->escaped() );
}
// the loop prepends the arrow image before the link, so the first case needs to be outside
$query[$queryKey] = $hideVal;
$link = Linker::linkKnown(
- $this->getDisplayTitle(),
+ $this->getTitle(),
$messages[$hideVal],
array(),
$query
*/
function date( $ts, $adj = false, $format = true, $tc = false ) {
$ts = wfTimestamp( TS_MW, $ts );
- if ( $adj ) { $ts = $this->userAdjust( $ts, $tc ); }
+ if ( $adj ) {
+ $ts = $this->userAdjust( $ts, $tc );
+ }
$datePreference = $this->dateFormat( $format );
# ISO (YYYY-mm-dd) format