Last modified: 2006-02-20 00:33:00 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 T7038, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5038 - {{SUBST:GRAMMAR:foo|bar}} should render as {{GRAMMAR:foo|bar}}
{{SUBST:GRAMMAR:foo|bar}} should render as {{GRAMMAR:foo|bar}}
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://sl.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-19 02:44 UTC by lɛʁi לערי ריינהארט
Modified: 2006-02-20 00:33 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2006-02-19 02:44:59 UTC
Sorry for this:

At the end of the pages
[[sl:MediaWiki_talk:Aboutpage]]
[[sl:MediaWiki_talk:Aboutsite]]
[[sl:MediaWiki_talk:Anonymous]]
you can see that
'{{SUBST:GRAMMAR:foo|bar}}' does *not render as '{{GRAMMAR:foo|bar}}'.

Will provide simpler testcases in the next comment.

If this is a VALID bug please double check if this SUBST syntax fails also with
other "predefined templates" / "magic word templates".

Thanks in advance.

best regards reinhardt [[user:gangleri]]
Comment 1 lɛʁi לערי ריינהארט 2006-02-19 03:00:45 UTC
[[sl:user:Gangleri/tests/bugzilla/05038]] as promised
Comment 2 Brion Vibber 2006-02-19 06:03:13 UTC
It works just fine.
Comment 3 lɛʁi לערי ריינהארט 2006-02-19 09:12:54 UTC
At [[sl:user:Gangleri/tests/bugzilla/05038#MediaWiki:Aboutpage_T]]

{{ns:project}}:O_{{GRAMMAR:dajalnik|{{SITENAME}}}}<br />
{{SUBST:ns:project}}:O_{{SUBST:GRAMMAR:dajalnik|{{SITENAME}}}}<br />

renders as
Wikipedija:O_Wikipediji
Wikipedija:O_Wikipedija

Please see that the first grammatical case is 'dajalnik' = dativ while the
second is 'imenovalnik' = nominative. The examples relate to function
*convertGrammar* implemented together with
http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageSl.php?rev=1.65&view=markup
for
Bug 4685: Slovenian LanguageSl.php hardcodes project namespace as Wikipedija

REOPENing this bug / request.
Comment 4 Brion Vibber 2006-02-19 09:30:45 UTC
This is because you're embedding stuff out of order. The thing you actually reported works fine.
Comment 5 lɛʁi לערי ריינהארט 2006-02-20 00:33:00 UTC
Thanks Brion for the note!

Both
{{ns:project}}:O_{{GRAMMAR:dajalnik|{{SITENAME}}}}<br />
{{SUBST:ns:project}}:O_{{GRAMMAR:dajalnik|{{SUBST:SITENAME}}}}<br />
generate 'Wikipedija:O_Wikipediji' at
[[sl:user:Gangleri/tests/bugzilla/05038#MediaWiki:Aboutpage_T]]

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


Navigation
Links