Last modified: 2009-02-26 07:22:20 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 T18669, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16669 - Grammar doesn't work in few places
Grammar doesn't work in few places
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-16 11:17 UTC by Christopher Yeleighton
Modified: 2009-02-26 07:22 UTC (History)
3 users (show)

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


Attachments
Screenshot of the message in use in English Wikipedia (30.30 KB, image/png)
2008-12-18 06:58 UTC, Niklas Laxström
Details

Description Christopher Yeleighton 2008-12-16 11:17:04 UTC
[[MediaWiki:aboutsite/pl]] reads ‘O Wikipedia’ instead of ‘O Wikipedii’.

This should be fixed by adding

$wgGrammarForms['pl']['MS.lp']['Wikipedia'] = 'Wikipedii';

to configuration settings.
Comment 1 Niklas Laxström 2008-12-16 11:26:18 UTC
$wgGrammarForms['pl'] = array(
...
        'MS.lp' => array(
...
                'Wikipedia'    => 'Wikipedii',

The error is somewhere else.
Comment 2 Niklas Laxström 2008-12-16 11:28:38 UTC
It works properly, but no in the MediaWiki namespace, because those messages are not parsed using the language in question.
Comment 3 Christopher Yeleighton 2008-12-17 00:23:39 UTC
That makes sense; the nouns is properly inflected on Polish Wikipedia only.
Localized messages should be processed using their language.  Alternatively, they should not use GRAMMAR at all, e.g.:
aboutsite/pl = 'O nas…'
It is worth noting that inflection of proper names in Polish is so unwieldy that only the most popular proper names get inflected e.g. in newscasts, others undergo periphrastic inflection.  Otherwise, given there can be a wikiportal with a name that is not a noun, it is impossible to come up with a locative case, or any dependent case.
Comment 4 Niklas Laxström 2008-12-17 07:32:33 UTC
It works on preview, and when actually used, but not when viewing the MediaWiki page itself.
Comment 5 Christopher Yeleighton 2008-12-18 00:18:02 UTC
It does not work when actually used, except on Polish Wikipedia, that is why I reported this bug.  I would not bother you with the MediaWiki page no one has any reason to view.
Comment 6 Niklas Laxström 2008-12-18 06:58:18 UTC
Created attachment 5589 [details]
Screenshot of the message in use in English Wikipedia

Then provide more details, because it working fine on English Wikipedia using Polish as an interface language.
Comment 7 Christopher Yeleighton 2008-12-19 08:35:04 UTC
The problem is in the side bar, not in the footer.
Also note that the attribution note is "Z Wikipedia" — which is even worse because it is likely to be printed.
Comment 8 Niklas Laxström 2008-12-19 08:41:41 UTC
(In reply to comment #7)
> The problem is in the side bar, not in the footer.
> Also note that the attribution note is "Z Wikipedia" — which is even worse
> because it is likely to be printed.

Exactly! This however very different problem you first reported. The only place where MediaWiki itself uses "About Wikipedia" is in the footer and without this information we couldn't now even where to look for.
Comment 9 Niklas Laxström 2008-12-19 08:55:30 UTC
Fixed sidebar and all four uses of tagline I could find.
Comment 10 Siebrand Mazeland 2008-12-19 09:57:33 UTC
(In reply to comment #9)
> Fixed sidebar and all four uses of tagline I could find.
For the record: r44800

Comment 11 Niklas Laxström 2009-02-26 07:22:20 UTC
Marking as fixed. What comes to parsing the mediawiki language subpages in correct language, let's open a new bug for that.

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


Navigation
Links