vyznev@svn.wikimedia.org schrieb:
Revision: 22159 Author: vyznev Date: 2007-05-13 23:07:06 -0700 (Sun, 13 May 2007)
Log Message:
All the MediaWiki: pages linked to from Special:Allmessages have at least a default value, there's no point in showing any of them as redlinks.
It is now impossible to see if a message exists in a localized revision in the MediaWiki namespace which is identical to the default.
It makes it hardly difficult to recognize which messages have to be deleted from MW namespace after commit of messages to the MessagesXx.php file.
Raymond.
Raimond Spekking wrote:
vyznev@svn.wikimedia.org schrieb:
Revision: 22159 Author: vyznev Date: 2007-05-13 23:07:06 -0700 (Sun, 13 May 2007)
Log Message:
All the MediaWiki: pages linked to from Special:Allmessages have at least a default value, there's no point in showing any of them as redlinks.
It is now impossible to see if a message exists in a localized revision in the MediaWiki namespace which is identical to the default.
It makes it hardly difficult to recognize which messages have to be deleted from MW namespace after commit of messages to the MessagesXx.php file.
I see Tim has already reverted the change. I can see your point here, but I still feel that this is, in principle, the wrong way to present this information: those pages _do_ conceptually exist, even if they're not stored in the database.
Perhaps maintenance/deleteDefaultMessages.php could be modified to delete all messages that are identical to their defaults, or at least to have an option to do so? It seems to me that would eliminate the need for doing what you're currently using those link colors for.
Ilmari Karonen schrieb:
I see Tim has already reverted the change. I can see your point here, but I still feel that this is, in principle, the wrong way to present this information: those pages _do_ conceptually exist, even if they're not stored in the database.
In theory you are right but we need a function to distinct on [[Special:Allmessages]] between messages coming directly from MessagesXx.php and from the local MediaWiki namespace. Maybe a separate icon or text?
Perhaps maintenance/deleteDefaultMessages.php could be modified to delete all messages that are identical to their defaults, or at least to have an option to do so? It seems to me that would eliminate the need for doing what you're currently using those link colors for.
A maintenance script cannot be run by local admins to clean up the MediaWiki namespace.
A solution would be a cron job for this script running once per week over all projects. This would unburden the local admins from stupid work.
BTW: Another bug should be fixed former. A couple of extension messages are shown in [[Special:Allmessages]] but not in view/edit mode even if they exists, e.g. [[MediaWiki:Syntaxhighlight-supported]]. I remember there is an open bug but I cannot find it *grmbl*
Raymond.
On 5/16/07, Raimond Spekking raimond.spekking@gmail.com wrote:
A maintenance script cannot be run by local admins to clean up the MediaWiki namespace.
A solution would be a cron job for this script running once per week over all projects. This would unburden the local admins from stupid work.
Or just run it in update.php. An issue would be that deleting past revisions would hide the history of changes, which may not be desirable.
Simetrical wrote:
On 5/16/07, Raimond Spekking raimond.spekking@gmail.com wrote:
A maintenance script cannot be run by local admins to clean up the MediaWiki namespace.
A solution would be a cron job for this script running once per week over all projects. This would unburden the local admins from stupid work.
Or just run it in update.php. An issue would be that deleting past revisions would hide the history of changes, which may not be desirable.
update.php already calls deleteDefaultMessages.php, it's just a matter of extending the latter to do what Raimond wants. As for hiding the history, I agree it could be a problem, but it's no more of a problem than when done by Raimond's current method. That's why I suggested the possibility of adding a command-line option to update.php to enable it.
wikitech-l@lists.wikimedia.org