r68942 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68941‎ | r68942 | r68943 >
Date:06:32, 3 July 2010
Author:maxsem
Status:ok
Tags:
Comment:
(bug 24244) Updated comments in DefaultSettings.php to reflect Image: --> File: namespace rename.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/DefaultSettings.php
@@ -342,7 +342,7 @@
343343 *
344344 * These settings describe a foreign MediaWiki installation. They are optional, and will be ignored
345345 * for local repositories:
346 - * - descBaseUrl URL of image description pages, e.g. http://en.wikipedia.org/wiki/Image:
 346+ * - descBaseUrl URL of image description pages, e.g. http://en.wikipedia.org/wiki/File:
347347 * - scriptDirUrl URL of the MediaWiki installation, equivalent to $wgScriptPath, e.g.
348348 * http://en.wikipedia.org/w
349349 * - scriptExtension Script extension of the MediaWiki installation, equivalent to
@@ -402,7 +402,7 @@
403403 * Uploads to this wiki will NOT be put there - they will be put into
404404 * $wgUploadDirectory.
405405 * If $wgUseSharedUploads is set, the wiki will look in the shared repository if
406 - * no file of the given name is found in the local repository (for [[Image:..]],
 406+ * no file of the given name is found in the local repository (for [[File:..]],
407407 * [[Media:..]] links). Thumbnails will also be looked for and generated in this
408408 * directory.
409409 *
@@ -485,7 +485,7 @@
486486 *
487487 * Please specify the namespace, as in the example below.
488488 */
489 -$wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/Image:";
 489+$wgRepositoryBaseUrl = "http://commons.wikimedia.org/wiki/File:";
490490
491491 /**
492492 * This is the list of preferred extensions for uploading files. Uploading files
@@ -542,7 +542,7 @@
543543 /**
544544 * list of trusted media-types and mime types.
545545 * Use the MEDIATYPE_xxx constants to represent media types.
546 - * This list is used by Image::isSafeFile
 546+ * This list is used by File::isSafeFile
547547 *
548548 * Types not listed here will have a warning about unsafe content
549549 * displayed on the images description page. It would also be possible
Index: trunk/phase3/RELEASE-NOTES
@@ -227,6 +227,8 @@
228228 * (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings
229229 * (bug 24022) Only check file extensions on the uploadpage when needed.
230230 * (bug 24076) Recognize Office 2003 files with OpenXML trailers
 231+* (bug 24244) Updated comments in DefaultSettings.php to reflect Image: --> File:
 232+ namespace rename.
231233
232234 === API changes in 1.17 ===
233235 * (bug 22738) Allow filtering by action type on query=logevent.

Status & tagging log