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

            Bug ID: 73338
           Summary: External link ending in {{subst:Magic}} does not
                    substitute
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

Theory:

You should not be able to save a page and get

Foo {{subst:Anything}} foo

as the resulting wikitext.  It shouldn't be *possible*; all {{subst:Anything}}s
that aren't wrapped in nowiki tags ought to be subst'd.


Data:

If you type:

http://example.com/wiki/{{subst:CURRENTDATE}}_{{subst:CURRENTMONTHNAME}} 

into a page and save it today, the resulting wikitext will be:

http://example.com/wiki/{{subst:CURRENTDATE}}_November.


This is not bug 2700, whih is about subst failures when wrapped inside ref tags
and similar.  This surprising behavior does not involve any tags.  It's just a
bare URL by itself.

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to