mediawiki.special.upload: Show an error message on "|"
authorFomafix <fomafix@googlemail.com>
Sun, 21 Jan 2018 14:41:30 +0000 (15:41 +0100)
committerFomafix <fomafix@googlemail.com>
Sun, 21 Jan 2018 14:41:30 +0000 (15:41 +0100)
commit55d3072697ce3e764de4ceff712bc0bdf4cb7a45
tree961c582877200e0ee5700825b329a37669471f5c
parentaf431ec783e66c12d6693d638029a9f912c14541
mediawiki.special.upload: Show an error message on "|"

This change prevents that "|" is interpreted as title separator and
shows the following message when the title contains a "|" character:

  The requested page title contains invalid characters: "|".

Before this change the following message is shown on this case:

  The requested page title is empty or contains only the name of a
  namespace.

Change-Id: If67ed573ea0b5c28c59a7d90e8581c4b67528450
resources/src/mediawiki.special/mediawiki.special.upload.js