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

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |High
                 CC|                            |[email protected],
                   |                            |[email protected]
          Component|ContentEditable             |token-stream transforms
           Assignee|[email protected]          |[email protected]
            Product|VisualEditor                |Parsoid
            Summary|VisualEditor: image         |Image captions containing
                   |captions containing "page " |"page " anywhere are parsed
                   |and any following text or   |as page option
                   |"page=" are not rendered    |
                   |and can't be edited         |

--- Comment #4 from Gabriel Wicke <[email protected]> ---
The PHP parser recognizes the page option (see
https://www.mediawiki.org/wiki/Help:Images#Syntax) only for PDF files that
actually exist:

https://www.mediawiki.org/wiki/User:GWicke/TestPageOption

It does however accept the option 'page=2013 commentary'.

So to me it seems that we need to

1) only match 'page=' at the start of the potential option
2) only do so for PDF files that exist
3) but continue to accept mixed numerical / text page values.

-- 
You are receiving this mail because:
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