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

--- Comment #35 from Van de Bugger <van.de.bug...@gmail.com> 2011-11-12 
07:16:05 UTC ---
> 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.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to