Last modified: 2005-12-17 12:29:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4296 - (Mixed request) Add a height specification to images syntax / Add a warning/notice to user namespace pages
(Mixed request) Add a height specification to images syntax / Add a warning/n...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-16 11:08 UTC by Yug
Modified: 2005-12-17 12:29 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yug 2005-12-16 11:08:27 UTC
'''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)
Comment 1 Rob Church 2005-12-16 16:26:05 UTC
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.
Comment 2 Yug 2005-12-16 17:06:25 UTC
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 : ==== 
Comment 3 Yug 2005-12-16 17:06:40 UTC
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 : ==== 
Comment 4 Brion Vibber 2005-12-16 20:08:42 UTC
You can specify a height limit as eg 20x20px, which will fit it in a 20x20 square maximum.

Resolving WORKSFORME.
Comment 5 Yug 2005-12-16 20:47:50 UTC
So 80x20px wil give | (a colum?)... It go to try it :]
Comment 6 Yug 2005-12-17 12:29:59 UTC
That don't work well in all cases, I will make a page to show you.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links