mediawiki.Title: Correct documentation
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 16 Sep 2015 12:30:59 +0000 (14:30 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 16 Sep 2015 12:30:59 +0000 (14:30 +0200)
Follow-up to a074db332cc103319adacabcc52b1f615217e222, which removed a
config option but not its documentation entry.

Change-Id: I3a0596b27da9e36eb2bb718a635130341545abab

resources/src/mediawiki/mediawiki.Title.js

index 7f95b1c..910a78f 100644 (file)
         * @param {number} [defaultNamespace=NS_MAIN]
         *  If given, will used as default namespace for the given title.
         * @param {Object} [options] additional options
-        *  If the title is about to be created for the Media or File namespace,
-        *  ensures the resulting Title has the correct extension. Useful, for example
-        *  on systems that predict the type by content-sniffing, not by file extension.
-        *  If different from empty string, `forUploading` is assumed.
         * @param {boolean} [options.forUploading=true]
         *  Makes sure that a file is uploadable under the title returned.
         *  There are pages in the file namespace under which file upload is impossible.