Last modified: 2014-03-19 19:35:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40116, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38116 - Log message for "protect" action should contain performer name
Log message for "protect" action should contain performer name
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: messages
  Show dependency treegraph
 
Reported: 2012-07-02 12:02 UTC by Penn Station
Modified: 2014-03-19 19:35 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Penn Station 2012-07-02 12:02:38 UTC
MediaWiki:Logentry-move-move ("$1 moved page $3 to $4") has subject in the message as "$1", and it generates a message like "Penn Station moved page AAA to BBB" CONSISTENTLY in BOTH log and page history (summary). There is no problem when translating it into Japanese like "Penn Station がページ「AAA」を「BBB」にに移動しました".

However, the following are used DIFFERENTLY between log and page history.

* MediaWiki:Protectedarticle ("protected "[[$1]]"")
* MediaWiki:Unprotectedarticle ("removed protection from "[[$1]]"")
* MediaWiki:Modifiedarticleprotection ("changed protection level for "[[$1]]"")

For example, 
* "Penn Station protected "[[AAA]]"" in protection log
* "protected "[[AAA]]"" in page history (summary) --- No subject!

This is inconsistent with MediaWiki:Logentry-move-move and causes the following problem in Japanese messages.

When I translated MediaWiki:Protectedarticle into Japanese - i.e. 
created MediaWiki:Protectedarticle/ja with "が「[[$1]]」を保護しました",
it generates the following messages:

* "Penn Station が「[[$1]]」を保護しました" in protection log --- OK
* "が「[[$1]]」を保護しました" in page history (summary) --- Strange message

The fist one in protection log is OK, but the second one in page history is strange because of lacking subject such as "Penn Station".
Japanese statements do not start with "が", but needs subject prior to "が".

Is it possible to put subject into page history like log?
I think that there is originally an inconsistency between move and protect in page history even in English.

Regards,
Penn Station
Comment 1 Krinkle 2012-07-02 12:24:08 UTC
Recently the logging framework was renewed to contain the performer everywhere. Looks like "protect" does not use the "Logentry-{type}-{action}" format yet.
Comment 2 Penn Station 2012-07-11 08:00:18 UTC
Thanks for the info. I understand the situation.
I'm looking forward to seeing the new format including performer on "protect".

For now, I have adjusted (reverted) the following to the current style.
- MediaWiki:Protectedarticle/ja 
- MediaWiki:Unprotectedarticle/ja ‎
- MediaWiki:Modifiedarticleprotection/ja

Once "protect" is changed to use the new format, I'll try to update those messages again.
Comment 3 Nemo 2012-07-25 09:50:30 UTC
(In reply to comment #1)
> Recently the logging framework was renewed to contain the performer everywhere.
> Looks like "protect" does not use the "Logentry-{type}-{action}" format yet.

Accordingly moved to "page protection" component.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links