https://bugzilla.wikimedia.org/show_bug.cgi?id=34961

--- Comment #27 from Fut.Perf. <fut.p...@googlemail.com> 2012-03-10 11:09:12 
UTC ---
So, here's what I think would be a patch. (Sorry, I'm not familiar with how to
submit patches here, so maybe someone with more experience could consider
submitting it?)

Re-introduce the old system messages for the null edits in the page histories:
in .../language/messages.inc:
2209+ '1movedto2',
2210+ '1movedto2_redir',

in .../languages/messages/MessagesEn.php:
3236+ '1movedto2' => 'moved [[$1]] to [[$2]]',
3237+ '1movedto2_redir' => 'moved [[$1]] to [[$2]] over redirect',

Make the null edit summaries for the page histories be calculated independently
of the log entries again:
in .../Title.php:
3353-  $formatter = LogFormatter::newFromEntry( $logEntry );
3354-  $formatter->setContext( RequestContext::newExtraneousContext( $this ) );
3355-  $comment = $formatter->getPlainActionText();
3353+  $comment = wfMsgForContent(
3354+     ($moveOverRedirect ? '1movedto2_redir' : '1movedto2'),
3355+     $this->getPrefixedText(), 
3356+     $nt->getPrefixedText(),
3357+     $wgUser);  

The log entries themselves remain as in the current version, the way Niklas
wanted them. The null edit summaries ("1movedto2') get the performing editor as
a new, optional parameter, so that localizations can use that if the want to.

Wouldn't this make everybody happy?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to