The current implementation of SpecialMobileDiff.php uses the //revisionasof// template with only one parameter. The German //revisionasof// template expects the date and time passed in $2 and $3 respectively, see implementation of getRevisionHeader() in DifferenceEngine.php for details.
This causes the following text to be displayed for the version link
Version vom $2, $3 Uhr
instead of the expected
Version vom 3. Mai 2019, 11:40 Uhr
(see e.g. https://de.m.wikipedia.org/wiki/Spezial:Mobiler_Unterschied/188172886)
= Developer notes
includes/diff/DifferenceEngine.php should be used as a guideline:
```
$timestamp = $lang->userTimeAndDate( $revtimestamp, $user );
$dateofrev = $lang->userDate( $revtimestamp, $user );
$timeofrev = $lang->userTime( $revtimestamp, $user );
$header = $this->msg(
$rev->isCurrent() ? 'currentrev-asof' : 'revisionasof',
$timestamp,
$dateofrev,
$timeofrev
)->escaped();
```
In MobileFrontend:
```
$td = $this->getLanguage()->userTimeAndDate( $ts, $user );
$actionMessageKey = $this->targetTitle->quickUserCan( 'edit', $user )
? 'editlink' : 'viewsourcelink';
$templateData = [
"articleUrl" => $this->targetTitle->getLocalURL(),
"articleLinkLabel" => $this->targetTitle->getPrefixedText(),
"revisionUrl" => $this->targetTitle->getLocalURL( [ 'oldid' => $this->revId ] ),
"revisionLinkLabel" => $this->msg( 'revisionasof', $td )->escaped(),
```