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

       Web browser: ---
            Bug ID: 45748
           Summary: TemplateSandbox should be forgiving about
                    first-character-lowercase, just like "real" pages
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: TemplateSandbox
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

if "Template:Foo" exists, {{foo}} will transclude it (unlike {{FOO}} ).

Note that the user might have tried to create [[Template:foo]] in the first
place, and the system did her a favor and created [[Template:Foo]] instead. 
to compensate for this unsolicited substitution, the system is nice enough to
recognize {{foo}}.

However, when the user creates [[User:JaneDoe/sandbox/Template:foo]], the
system will not replace it with [[User:JaneDoe/sandbox/Template:Foo]], and in
the sandbox, {{foo}} will look for [[Template:Foo]] (in template namespace) but
will ignore [[User:JaneDoe/sandbox/Template:foo]].

Same exact thing for [[User:JaneDoe/sandbox/Model:bar]]

IMO, the sandbox should imitate the behavior of the system as much as possible.
In this case, i think that when i use {{foo}} (or {{Foo}} ) in the sandbox, the
system should look for any of <sandboxprefix>/template:foo,
<sandboxprefix>/template:Foo, <sandboxprefix>/Template:foo or
<sandboxprefix>/Template:Foo.

no need to look for <sandboxprefix>/tEmplAte:fOo, of course.

same exact thing should be for (m|M)odel/(b|B)ar, and any other namespace the
Sandbox might substitute.

peace.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to