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

            Bug ID: 70982
           Summary: Flow: {{Foo}} in topic title is treated as a
                    handlebars template in topic placeholder
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

Create a topic with "Title has {{foo}} in it" as the title.
In the same session, the placeholder text for a top-level topic reply becomes
  Reply to "Title has  in it"

Now reload the board, or follow the Permalink to the topic.  The placeholder
for a top-level topic reply becomes
  Reply to "Title has [[:Template:Foo]] in it"

It seems the progressive enhancement on the client is evaluating {{Foo}} as a
handlebars template, while the server is evaluating it as wikitext.  Both are
incorrect, titles are plain text and should appear that way in the placeholder.

When you view the topic permalink, its HTML page <title> seems to have correct
escaping of the topic title.

To reproduce both bugs, view
http://en.wikipedia.beta.wmflabs.org/wiki/Talk:Flow  so you see "This topic has
..." and "Another topic with..." posts, and then click to change the sort
order.

Erik has a patch, gerrit 161101

-- 
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