Page MenuHomePhabricator

(Mixed request) Add a height specification to images syntax / Add a warning/notice to user namespace pages
Closed, DeclinedPublic

Description

Author: hugo.lpz

Description:
'''English:'''

  • Proposition for images on Wikipedias : we have <nowiki>

[[Image:photo.png|20px]] </nowiki> which give us pics of 20 px of <width>. Can
we have a new fonction such as <nowiki> [[Image:photo.png|</nowiki>'''px20''']]
which will give us an image of 20 px of <'''height'''>.

'''Français'''

  • Pour les images : On a <nowiki> [[Image:photo.png|20px]] </nowiki> qui donne

une image de 20 px de '''large'''(<width>). Pourrait-on avoir la fonction
<nowiki> [[Image:photo.png|</nowiki>'''px20''']] qui donne une image de 20 px de
'''haut''' (<height>).


'''Sous pages''' : English

  • The "under-pages" : '''User:'''NAME'''/....''' can be confused with articles.

Can we have a little sentence warning new user, such as : ''"Note: You are in an
user's under-page, <u>which is not an article</u>, and not in the encyclopedic
area."''

  • Que les sous-pages user telles que : '''User:'''NOM'''/....''' contiennent un

petit texte sous le nom de page qui annonce : ''"Note: Vous êtes ici dans une
sous-page d'utilisateur <u>qui ne fait pas partie de l'espace encyclopédique</u>."''
La première fonction me semble utile. La seconde me semble vraiment
indispensable. Il arrive que des utilisateurs fassent des recherches, tombent
dans des sous pages et croient être dans un article (alors que ce sont de
lamentable brouillon). [[User:Yug|Yug]] [[User
talk:Yug|<small>{{vert|(talk)}}</small>]] 14 décembre 2005 à 22:18 (CET)


Both seem to me be really usefull.

La première fonction me semble utile. La seconde me semble vraiment
indispensable. Il arrive que des utilisateurs fassent des recherches, tombent
dans des sous pages et croient être dans un article (alors que ce sont de
lamentable brouillon). [[User:Yug|Yug]] [[User talk:Yug|<small>|(talk)</small>]]
14 décembre 2005 à 22:18 (CET)


Version: unspecified
Severity: enhancement

Details

Reference
bz4296

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:00 PM
bzimport set Reference to bz4296.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Please file separate requests in the future, as you may find we implement some,
as opposed to all of your requests.

While I won't knock the first point out of hand, might I enquire as to why you'd
need to specify the height of an image? Setting the width causes it to be scaled
appropriately, maintaining the aspect ratio and avoiding distortion.

The second idea *might* be useful. Perhaps a [[MediaWiki:Userspace]] message?
Similarly, we could have [[MediaWiki:Talkspace]] messages.

hugo.lpz wrote:

Ok, I note the need of separing request for the futur.

IMAGES SIZES "px20" :
The need to specify height is need mainly for templates. If you need a picture
of 20px of height, that's fine if all your pics are squares (20px/20px), in this
perfect case (calling square's pics), your template just have to specify
width=20px and every products will be fine.

If you call a pic of 80px(height)/20px(witdh), your template will be 4 times too
tall (because of an image like that : | ).
And if you call a pic of 20px(height)/100px(witdh), your pic will be unreadable,
because too small, like that : ====

hugo.lpz wrote:

Ok, I note the need of separing request for the futur.

IMAGES SIZES "px20" :
The need to specify height is need mainly for templates. If you need a picture
of 20px of height, that's fine if all your pics are squares (20px/20px), in this
perfect case (calling square's pics), your template just have to specify
width=20px and every products will be fine.

If you call a pic of 80px(height)/20px(witdh), your template will be 4 times too
tall (because of an image like that : | ).
And if you call a pic of 20px(height)/100px(witdh), your pic will be unreadable,
because too small, like that : ====

You can specify a height limit as eg 20x20px, which will fit it in a 20x20 square maximum.

Resolving WORKSFORME.

hugo.lpz wrote:

So 80x20px wil give | (a colum?)... It go to try it :]

hugo.lpz wrote:

That don't work well in all cases, I will make a page to show you.