Chad Horohoe
fdbb1752ab
Kill a bunch of unused $wgUser
2009-04-28 03:03:48 +00:00
Niklas Laxström
743e06d077
And some cleanup for image page
2009-04-27 11:18:49 +00:00
Niklas Laxström
f7cfa98323
* (bug 17614) Prev / Next links not need on ImagePage file history if less than limit
2009-04-27 10:21:38 +00:00
Victor Vasiliev
8843db0f12
* (bug 18420) Missing file revisions are handled gracefully now:
...
** Missing files are rendered correctly now (no thumbnail, no link to them)
** Missing files may be now moved, deleted and undeleted
2009-04-26 11:12:39 +00:00
Chad Horohoe
759fa18c8a
(bug 18571) Purging image should always clear metadata cache. Sometimes the metadata is stale and the image does in fact exist. Patch by nephele.
2009-04-24 23:11:07 +00:00
Alexandre Emsenhuber
523b1cda38
* Use Linker::link()
...
* Whitespaces tweak
2009-04-07 16:37:29 +00:00
Chad Horohoe
d3d21cbb02
(bug 17617) HTML cleanup for ImagePage
2009-03-28 16:41:00 +00:00
Niklas Laxström
25506e8f15
* (bug 18190) Proper parsing in MediaWiki:Sharedupload message
...
* Also remove the lego thing: http://translatewiki.net/wiki/Support#shareduploadwiki-linktext_is_used_in_different_ways
2009-03-28 08:21:29 +00:00
Aaron Schulz
1046aee39e
Fix url params for multi-item deletion by converting to CVS
2009-03-25 17:52:40 +00:00
Aaron Schulz
020cc6ef33
minor tweak: revisiondelete id url param is an array
2009-03-10 19:15:27 +00:00
Chad Horohoe
40fdd74fa9
Fix regression from r30602. 'noindex,nofollow' was being applied when local page text didn't exist for foreign images. Moved it to where it should be used, with 'noimage'
2009-02-26 20:10:48 +00:00
Chad Horohoe
a7733bbf0d
Follow up to r46613 (Allow local redirects to foreign images):
...
* This doesn't work like it should. We seem to be returning metadata about the target (ie: it does in fact exist), but at some point it all goes null. Making a note in ImagePage
* Reverting RELEASE-NOTES until this is right.
2009-02-25 22:18:44 +00:00
Chad Horohoe
9c53eeadf9
(bug 14980) Make shareduploadwiki(-desc) a param to sharedupload. Also RELEASE-NOTES for adding repo names.
2009-02-17 23:18:40 +00:00
Chad Horohoe
884a7a80f4
* Add method to FileRepo to get the human-readable name of the repository (getDisplayName())
...
* Use this in ImagePage to show what repo the dupes are from
* Added default "shared repository" message for shared repos without names.
2009-02-17 22:27:10 +00:00
Chad Horohoe
082e0ad3df
* Only show dupe messages for remote images once. Twice is redundant :)
...
* Phased out sharedupload(duplicate|conflict)(\-linktext)? messages (removed from en and messages.inc)
2009-02-17 21:33:12 +00:00
Raimond Spekking
b13fc73642
Cleanup image description page a bit:
...
* Remove the link to Special:FileDuplicateSearch from the "file history" section
of image description pages as the list of duplicated files is shown in the
next section anyway.
* Add the link to Special:FileDuplicateSearch to the message 'duplicatesoffile'
2009-02-16 08:51:38 +00:00
Chad Horohoe
32f82aad9e
(bug 17304) Fatal error in file history when File::transform() fails.
2009-02-01 23:09:56 +00:00
Chad Horohoe
02e48817da
Handle this todo: Allow local redirects to foreign images to be displayed on the local wiki. We already store this data in the redirect table anyway.
2009-01-30 19:59:38 +00:00
Aaron Schulz
dc046d3632
Split off 'wpReUpload' into the old check 'wpReUpload' and the bool 'wpForReUpload' to avoid breakage.
2009-01-28 20:17:11 +00:00
Aaron Schulz
e56b962886
(bug 15811) Re-upload form tweaks
...
* Don't show license dropdown
* Use different message for summary box label
* Don't show "file exists" message
* Lock the destination name
2009-01-21 15:46:48 +00:00
Aaron Schulz
6950c890bf
(bug 5071) Image appears above text when viewing diff of an image page
...
* Hide image/toc on diff view. Previously, img cluttered the top of the diff and you had to scroll down. Also, we have thumbnails for the history (and current) anyway.
2009-01-02 19:11:34 +00:00
Brion Vibber
4164ab50d8
Revert r45191 "* (bug 14117) Image redirects from the shared repo now show "redirected from""
...
Seems to be bizarrely adding a "redirected from" subtitle to *every* shared image page view, instead of to redirects. WTF?
2008-12-31 22:06:22 +00:00
Victor Vasiliev
6285e1c92f
* (bug 14117) Image redirects from the shared repo now show "redirected from"
2008-12-30 17:17:16 +00:00
Aryeh Gregor
69d11310ff
Improve ugly interface for Sanitizer::escapeId()
...
Calling it with no extra arguments will now assume that you're escaping
a whole id, not an id fragment, which is safer. Also, instead of ugly
bitfield-based options, I've changed the options to use an array of
strings. I fixed all callers in trunk. Out-of-tree callers that were
using Sanitizer::NONE will get correct behavior, while those that were
calling it with no arguments will get slightly changed behavior (an x
will be prepended). I think this is harmless enough that we can skip
back-compat cruft here.
This should cause no visible changes. No parser test regressions.
2008-12-30 00:22:14 +00:00
Brion Vibber
2a815b10bb
Cleanup for r44700 -- work on a clone of $wgTitle instead of modifying the fragment on the global object, which interferes with some other generated links outside the pager.
2008-12-23 17:58:22 +00:00
Aaron Schulz
2e3272b80c
Add fragment to nav links to set location
2008-12-17 01:35:40 +00:00
Aaron Schulz
753cc671ca
Fix bug where new image uploads would be reviewed but had "changes needing review" tag
2008-12-15 23:51:28 +00:00
Chad Horohoe
be374a912a
War on wfElement() and friends. Call the Xml members directly, rather than using old wrappers.
2008-12-14 19:14:21 +00:00
Aaron Schulz
6ac97292d2
Remove comment
2008-12-14 07:12:03 +00:00
Aaron Schulz
0ca92d0bf5
(bug 12645) File histories should be paged
2008-12-14 07:10:42 +00:00
Ilmari Karonen
34fb6297cd
Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit).
...
This is a global search and replace of NS_IMAGE and NS_IMAGE_TALK with NS_FILE and NS_FILE_TALK respectively in all core files, excluding those already updated in step 1 (r44004).
2008-12-01 17:14:30 +00:00
Alexandre Emsenhuber
9a6452960e
Mark ImagePage::checkSharedConflictCallback() as public since it's passed to RepoGroup as callback function
2008-11-29 17:48:37 +00:00
Aaron Schulz
fbdb05fab3
*Remove getContent() side-effects
...
*Fix/set visibility
*Refactor deletion log stuff to helper function
*Add wfDeprecated( __METHOD__ ) to some places
*Various minor cleanup/spacing
2008-11-28 14:29:25 +00:00
Chad Horohoe
0848fa8b22
(bug 2077) Info on how to use external editor is vague. Minor tweak to the UI should make it a little more clear.
2008-11-18 19:57:03 +00:00
Siebrand Mazeland
0a9af4a884
Consistent casing for addHTML()
2008-11-06 22:20:29 +00:00
Rotem Liss
7b61b00333
Fixing HTML escaping.
2008-08-29 13:40:47 +00:00
Rotem Liss
2204974ba7
Show thumbnails in the file history list. The dimensions are the same as in the default image gallery. Patch by User:Agbad, rewritten by me.
2008-08-29 11:54:34 +00:00
Niklas Laxström
4618bb3e69
* Format numbers passed to messages
...
* Some whitespace changes
2008-08-08 21:31:38 +00:00
Brion Vibber
a8c59207ec
Cleanup to cleanup -- keep the div name consistent! There's no reason to invent a new div id just because there's a different number of items.
2008-08-08 20:56:46 +00:00
Brion Vibber
6004c56463
Cleanup to r38799 ("Add a more descriptive message to the links-to-image section for the case that more than 100 pages link to a file.")
...
Lift out a little duplicated code for good style
2008-08-08 20:55:25 +00:00
Raimond Spekking
923f85f328
Add a more descriptive message to the links-to-image section for the case that more than 100 pages link to a file.
...
Ths existing link to Whatlinkshere at the end of the list is easily be overseen if not scrolled to the bottom.
Fixes the (cosmetic) bug that the list shows 101 entries instead of 100.
Question: Should we make the hardcoded limit of 100 configurable via DefaultSettings?
2008-08-07 18:46:18 +00:00
Chad Horohoe
07d9e2d766
Take Article::viewRedirect() public and have it return a string so it can be used other places, like EditPage for proper rendering of redirects on preview (bug 2333). +Docs here and there.
2008-08-02 02:39:09 +00:00
Raimond Spekking
c023318c02
Remove unused var $dims
2008-07-30 13:20:38 +00:00
Aryeh Gregor
650be91fb8
Refactor a bit preparatory to fixing bug 8068: rewrite the robot policy stuff in OutputPage to allow index and follow policy to be set separately. Also now validates input to setRobotPolicy(). And renamed setRobotpolicy to setRobotPolicy, too. If anyone was accessing $mRobotpolicy directly they're out of luck, though.
2008-07-23 19:05:43 +00:00
Aaron Schulz
69b77c726f
Append subtitle to keep existing stuff for redirects (bug 14696)
2008-07-02 10:33:42 +00:00
Chad Horohoe
f47aa05e78
Use redirect=no on redirects listed in file links.
2008-06-17 14:36:36 +00:00
Brion Vibber
7aa0eb40ca
cleanup for r36190 -- remove extra parameters left over from wfMsgExt() call
2008-06-11 17:45:16 +00:00
Raimond Spekking
1509ad4d13
Tweak for r36189: Back to addWikiMsg but now with the appropriate parameter. Thanks to Nikerabbit who points me to the correct usage.
2008-06-11 12:53:33 +00:00
Raimond Spekking
3c8690d8c4
Reapply support of plural for 'linkstoimage', 'redirectstofile' and 'duplicatesoffile'
...
Now w/o breaking customized messages.
2008-06-11 12:07:58 +00:00
Brion Vibber
1266ee5ab6
Reverting r36139 -- broke wikitext in linkstoimage AGAIN.
2008-06-11 01:51:12 +00:00