mediawiki.Upload: Consistently use getters rather than direct property access
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 2 Sep 2015 11:15:31 +0000 (13:15 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 2 Sep 2015 12:03:18 +0000 (12:03 +0000)
commite02d3310512554ec320c47a23ddb99efd1877f16
treed18050b986c7341438312dc5d608be80c7a44a80
parentfe1cd2e05d4d00ce0890caf8e7e32d51bceeb27c
mediawiki.Upload: Consistently use getters rather than direct property access

Using this.text instead of this.getText() in this.upload() resulted in the
text of mw.ForeignStructuredUpload being entirely ignored. Fix this
and other properties too for consistency.

Change-Id: I8282260474f4e7d010766be3f2a7ba8641313571
resources/src/mediawiki/mediawiki.Upload.js