Page MenuHomePhabricator

lowercase usage of magic words same as lowercase usage of predefined templates
Closed, DeclinedPublic

Description

Author: gangleri

Description:
Dear friends;

I assume this is core MediaWiki as magic words are defined in
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/MagicWord.php?view=markup

Please change the component to MediaWiki extensions if the following relates to
[[mw:Extension:PathFunctions]] ( http://www.mediawiki.org/wiki/Extension:PathFunctions )

At the url and at some other pages from
[[wikt:yi:special:Prefixindex/project:magic words]]
you will see that {{ns:10}} renders as {{NS:10}}, {{fullurl:foo bar}} renders as {{FULLURL:foo bar}}.
You may create similar examples for {{{subst:foo}}, {{localurl:bar}} and the other predefined templates.

However it might be very irritating not only for newbies that there is a big difference when coming to / talking about / using magic words.

request:

{{pagename}} should behave as {{PAGENAME}},
{{contentlang}} should behave as {{CONTENTLANG}} etc.

I assume that the language localizations of the magic words should be handeled the same way. I must admit I did never used / tested such localizations.

Please open another report /bug / subtask with component « Internationalization » if necessery.

Best regards Reinhardt [[user:Gangleri]]


Version: unspecified
Severity: normal
URL: http://yi.wiktionary.org/wiki/project:magic_words/PAGENAME?uselang=en#globalWrapper

Details

Reference
bz12424

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:55 PM
bzimport set Reference to bz12424.
bzimport added a subscriber: Unknown Object (MLST).

soxred93 wrote:

Really, I think that just creating Template:pagename with {{PAGENAME}} inside it would be best. That way, it doesn't affect the code, and even if this were to be implemented, only a small amount of people are likely to use it. Just my $.02, though.

-Soxred93