mediawiki-extensions-Visual.../modules/ve-mw/dm
Roan Kattouw 7d86729858 Decode URL encoding in resource attriute for images
In getFilename(), decode URL encoding and replace the search
for 'File:' with a more standard ./ stripping regex.

The ./ regex came from generateContents) in the CE class;
made that code use getFilename() instead.

Also apply decodeURIComponent() to the result; but protect against
exceptions because it's a useless piece of garbage.

Bug: 65611
Change-Id: I7e81a8dc26d1c636c6571d96f43a394a53490587
2014-05-28 12:21:06 -07:00
..
annotations Add lookupTitle attribute 2014-03-19 19:34:19 -07:00
metaitems Add checkboxes to set some metadata on page metadata panel 2014-04-21 16:29:31 -07:00
models Fix default alignment in MWImageModel 2014-05-24 03:22:52 +00:00
nodes Decode URL encoding in resource attriute for images 2014-05-28 12:21:06 -07:00
ve.dm.MW.js Update VE core submodule to master (74be717) 2014-03-03 11:24:56 -08:00