Raimond Spekking
629df89813
Embrace comment with () only when really needed. In Special:ListFiles and ImagePage the comment is shown alone in a table cell -> no () needed
2011-04-23 13:23:08 +00:00
Happy-melon
b7e2cdba69
(bug 28583) chase down and beat to death external calls of functions marked /*private*/, and make those declarations actually binding. Patch by yuvipanda.
2011-04-18 19:03:14 +00:00
Leo Koppelkamm
1e13a6c94f
Free metadata toggle script from wikibits.js dependencies; rename to mediawiki.action.view.metadata.js
2011-04-16 11:54:43 +00:00
Brian Wolff
74f16767e7
Merge to trunk everything in img_metadata branch.
...
Hope I did this in an ok fashion. svn merge --re-integrate was giving me issues
so I just essentially over-wrote my working copy with the version at img_metadata.
2011-04-16 01:23:15 +00:00
Brion Vibber
562c357241
* (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo
...
Based on patch by Umherirrender: https://bugzilla.wikimedia.org/attachment.cgi?id=8361&action=edit
If file is not local, we can't make a link so don't.
2011-04-06 18:45:27 +00:00
Brion Vibber
2073ab9b7f
* (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo
...
Patch by Umherirrender: https://bugzilla.wikimedia.org/attachment.cgi?id=8360&action=diff
2011-04-06 18:23:07 +00:00
Sam Reed
ea056f5171
Fixup a few undefined variables and alike while checking REL1_17
2011-04-04 21:13:34 +00:00
Jack Phoenix
0a45ed6a91
ImagePage.php: add missing braces + other code style tweaks
2011-04-02 14:50:31 +00:00
Mark A. Hershberger
289c1d7771
Fixes Bug #28214 - When page not found, sends malformed HTTP/1.x instead of HTTP/1.1 in header of respons
...
Note that there are a few places in the source where headers are sent
with HTTP/1.0 instead of HTTP/1.1 but this patch doesa not address those
2011-03-25 03:36:18 +00:00
Happy-melon
ac5751ee48
Follow-up r84249: reimplement isAllowedAny(), and restore isAllowed() to only-accepting-one-parameter mode for the time being.
2011-03-18 21:07:05 +00:00
Happy-melon
81852ea1a6
Allow User::isAllowed() to take varargs. "is allowed X or Y" is by far the more common multiple permission check in core, so this is now the behaviour of isAllowed( X, Y ); also add isAllowedAll(...) for testing "is allowed X and Y". Has the nice side effect of adding visibility to a very old function.
2011-03-18 14:48:21 +00:00
Bryan Tong Minh
03a00bb732
(bug 2581, bug 6834) Added links to thumbnail in several resolutions to the file description page. The sizes are set by $wgImageLimits.
...
Not really happy about how it looks, perhaps only the numbers should be linked? See http://www.mediawiki.org/wiki/User:Bryan/Bug_2581 for options.
Removed message show-big-image-thumb, added show-big-image-preview, show-big-image-other, show-big-image-size.
2011-03-12 22:49:31 +00:00
Sam Reed
26a2544ebf
Explicit variables, documentation, newlines, braces
2011-03-05 17:01:33 +00:00
Max Semenik
6f18e92bff
Partial revert my accidental revert of r82366 in r82445.
2011-02-19 16:25:02 +00:00
Max Semenik
f5377b6d02
Bug 27518: Updater calls PopulateLogSearch before adding logging.log_user_text; populateLogUsertext not called
2011-02-19 11:49:14 +00:00
Jeroen De Dauw
4fdca4ed2e
rem not needed die() and made vars actually private
2011-02-18 00:48:56 +00:00
Bryan Tong Minh
a1a6b005b6
Follow-up r79964: Fix double parsing of file info
2011-02-02 14:07:08 +00:00
Brian Wolff
ba220d501d
(bug 2585) Image pages should send 404 if no image, no shared image and no
...
description page (To be consistant with how non-existant article pages act).
2011-01-16 00:43:56 +00:00
Daniel Friesen
39ab3cfc9f
Implement Message::isBlank and Message::isDisabled.
...
And while we're at it... update a random assortment of code using wfEmptyMsg to use the new wfMessage class and our exists/isBlank/isDisabled methods.
2011-01-14 10:51:05 +00:00
Raimond Spekking
a23d2475aa
Follow-up r79964: Use the existing message 'parentheses' instead of introducing an identical one.
2011-01-11 07:37:42 +00:00
Derk-Jan Hartman
35d16afa2a
Move the () surrounding description strings of files, out of the description and into the interface.
...
Follows up r68324 and r68325
2011-01-10 22:18:08 +00:00
Bryan Tong Minh
02d3b7ad1d
$wgMaxUploadSize may now be set to an array to specify the upload size limit per upload type.
...
Backwards compatible, if not set to an array, applies to all uploads. If set to an array, per upload type maximums can be set, using the file and url keys. If the * key is set this value will be used as maximum for non-specified types.
2011-01-07 22:12:05 +00:00
Tim Starling
ccfe5ad97b
Fix for bug 26561: clickjacking attacks. See the bug report for full documentation.
2011-01-04 06:12:33 +00:00
Sam Reed
e76775e06f
More unused variables
2010-11-30 18:44:50 +00:00
Sam Reed
ea0946c3bf
ImagePage subclasses Article, therefore use parent::getContent()
2010-11-28 16:05:41 +00:00
Sam Reed
6b0d4abc64
Revert r77297, Won't be reverting MimeMagic
...
Mainly whitespace reverts here
2010-11-25 22:22:53 +00:00
Antoine Musso
6fe29c9c30
revert r76464
...
* mixed style changes and variable removing
* logic changes
* useful comments removed
2010-11-25 20:01:34 +00:00
Derk-Jan Hartman
a3ca8afa9f
Followup to r76867. Only add canonical if there is no local page for the shared file.
...
Bug 25960
2010-11-19 01:40:56 +00:00
Derk-Jan Hartman
23d0b968d8
When displaying non-local File pages, add link rel=canonical.
...
Solves bug 25960
2010-11-17 00:23:30 +00:00
Sam Reed
b0fdcf2ed8
Add a few bits of parameter documentation
2010-11-15 15:49:52 +00:00
Sam Reed
10ecfeb03b
Various unused variables, add some braces
...
Explicitally define some variables used in hook type calls
2010-11-10 19:49:04 +00:00
Roan Kattouw
445b2447ad
(bug 25717) Fix "Hide/show extended details" toggle in image metadata table
2010-11-01 15:52:08 +00:00
Sam Reed
b5c9c3ddd6
Switch last few uses of while loops to foreach in phase3
2010-10-31 23:08:38 +00:00
Sam Reed
efd8358882
More deprecated method calls
2010-10-31 16:33:48 +00:00
Siebrand Mazeland
0c82513022
Follow-up r75499: initialise $anchorclose to prevent PHP Notice: Undefined variable: anchorclose on line 390.
2010-10-27 11:18:13 +00:00
Derk-Jan Hartman
cf67f54f4f
Line endings in wikitext can introduce <p>'s, which was not really the intent here for the fullMedia div.
2010-10-27 01:56:23 +00:00
Derk-Jan Hartman
8c6db50896
Make the image page more consistent. Now all pages will have the fullMedia div. (with link, and file description)
...
Perhaps we should move the "Size of this preview:" and "No higher resolution available" markers into that div as well ? Feedback welcome.
2010-10-27 01:50:07 +00:00
Sam Reed
6b3b915353
Big attack on unused variables...
2010-10-14 20:53:04 +00:00
Roan Kattouw
32377424b9
Merging resourceloader branch into trunk. Full documentation is at http://www.mediawiki.org/wiki/ResourceLoader and a general overview has been posted on wikitech-li < http://lists.wikimedia.org/pipermail/wikitech-l/2010-September/049253.html >. One important change is that all JS is now loaded at the bottom, so any scripts assuming things from wikibits or whatever are present will fail.
2010-09-04 04:00:09 +00:00
Sam Reed
380b6725d5
Remove some unused variables
...
Move variable in languages/classes/LanguageKu.php into commented code (used in comment)
2010-08-13 20:58:16 +00:00
Sam Reed
9efab26ecd
Remove a few more unused variables
2010-08-13 08:09:52 +00:00
Sam Reed
8ce3c5cf23
Fixup some more wrong static usages
2010-07-25 21:08:34 +00:00
Sam Reed
d3f2b9a2c5
Article:: to self::
2010-07-25 20:52:30 +00:00
Sam Reed
04f68827d0
Removal of unused globals
...
Removal of one setting of a variable to '', then not using further
2010-07-24 19:11:52 +00:00
Daniel Kinzler
f2614a71ad
make image page respect different sizes of individual frames, as suggested by Markus Glaser.
2010-07-19 14:35:20 +00:00
Alexandre Emsenhuber
4bb00ba65c
Fixed some doxygen warnings
2010-07-02 21:22:38 +00:00
Bryan Tong Minh
3136686db6
(bug 24212) Added MediaWiki:ImagePage.css which is also included on foreign client wikis.
2010-07-02 19:54:46 +00:00
Raimond Spekking
ac0d52614b
Follow-up r68719: Simplify a bit per suggestions of Nikerabbit.
2010-06-29 14:37:39 +00:00
Raimond Spekking
7f0a8cf88a
* Bug 8507 - Group file links by namespace:title on image pages
...
* Use proper Html::functions
* Add namespace specific CSS Id to the li elements to allow styling per namespace
2010-06-29 13:38:55 +00:00
Derk-Jan Hartman
8880967034
Bug 23851. Repair diff views for FILE pages that are redirects.
...
Diffs for FILE redirects will force diffonly == true because otherwise full images
are included into the rendering by DiffEngine.
2010-06-09 21:09:13 +00:00