Topic on Project:Current issues

Jump to navigation Jump to search

API:Imageinfo : no error code specified for wording

5
Summary by Wladek92

done; thanks Shirayuki.

Wladek92 (talkcontribs)

hi all

On page => https://www.mediawiki.org/wiki/API:Imageinfo#Possible_errors I noticed following points:

1. The two following wordings have no error code specified :

| ? || Invalid value for iiurlparam (name=value).
| ? || Could not normalize image parameters for $1.
How do we research these error codes to make the assignment with the given text ?

2.reference to deleted page; what to understand ?

iibadfilecontexttitle uses reference to page 'MediaWiki:Bad image list' in text :

   Adds whether the file is on the MediaWiki:Bad image list 

but page MediaWiki:Bad image list is https://www.mediawiki.org/wiki/MediaWiki:Bad_image_list and has been deleted :

13:41, 7 January 2007 MediaWiki default talk contribs deleted page MediaWiki:Bad image list (No longer required)

3. API:Fileinfo at bottom is a red link

Christian FR (talk) 12:52, 28 September 2019 (UTC)

Shirayuki (talkcontribs)

Since MediaWiki:Bad_image_list was deleted, the default value is used instead.

Default value (defined on translatewiki.net, can be retrieved by using {{int|Bad image list}}):

The format is as follows:

Only list items (lines starting with *) are considered.
The first link on a line must be a link to a bad file.
Any subsequent links on the same line are considered to be exceptions, i.e. pages where the file may occur inline.
Wladek92 (talkcontribs)

ok thanks; remains point 3) unanswered.

Shirayuki (talkcontribs)
Wladek92 (talkcontribs)

To keep coherence of the documentation, it is not good to implement entries for what will eventually be done. So choosing a halfway solution, I keep this entry to remove the red link and point to a draft page telling about the substitution. This page is to be filled at approrpiate time.