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

--- Comment #38 from Jeroen De Dauw <[email protected]> 2011-11-12 
09:52:57 UTC ---
(In reply to comment #35)
> > Configuration: the setting "$smwgPageSpecialProperties[] = 'Creation date';"
> > still seems to depend on the user language setting.
> 
> Err... Not exactly. English aliases are accepted if $m_useEnDefaultAliases is
> true. Which is true for all languages but English.
> 
> > It would be better to have "$smwgPageSpecialProperties[] = '_CDAT';" to keep
> > LocalSettings.php language independent.
> 
> My original intention was similar:
> 
>     $smwgPageSpecialProperties['_CDAT'] = true;
> 
> because 
> 
> 1. It allows direct access:
> 
>     if ( $smwgPageSpecialProperties['_CDAT'] ) {
>         ...
>     }
> 
> 
> 2. There is no need to take care about duplicates. SMW administrator can
> mistakenly do
> 
>     $smwgPageSpecialProperties[] ='_MDAT';
> 
> for already enabled property, so when looping through properties special care
> should be done not to proceed the same property twice.
> 
> But Jeroen proposed current implementation.

Not really. You are mixing up 2 things now. I proposed having the current array
with values instead of having the props as keys with associated boolean values.
I did never argue for having the internationalized name of the prop be accepted
in this setting. In fact, like Markus, I argued _against_ it.

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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to