r22423 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22422‎ | r22423 | r22424 >
Date:12:12, 25 May 2007
Author:raymond
Status:old
Tags:
Comment:
Introducing 'frameless' keyword to [[Image:]] syntax which respects the user preferences for image width like 'thumb' but without a frame.
Now we can use frameless images without the need to nailing its size by a constant pixel parameter. Scaling by different user preference/anon view will always keep the proportions.

Usage: [[Image:name.jpg|frameless|right]]
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Linker.php (modified) (history)
  • /trunk/phase3/includes/Parser.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -414,7 +414,7 @@
415415
416416 /** @todo document */
417417 function makeImageLinkObj( $nt, $label, $alt, $align = '', $params = array(), $framed = false,
418 - $thumb = false, $manual_thumb = '', $valign = '', $upright = false, $upright_factor = 0, $border = false )
 418+ $thumb = false, $manual_thumb = '', $valign = '', $upright = false, $upright_factor = 0, $border = false, $frameless = false )
419419 {
420420 global $wgContLang, $wgUser, $wgThumbLimits, $wgThumbUpright;
421421
@@ -436,7 +436,7 @@
437437
438438 if ( !isset( $params['width'] ) ) {
439439 $params['width'] = $img->getWidth( $page );
440 - if( $thumb || $framed ) {
 440+ if( $thumb || $framed || $frameless ) {
441441 $wopt = $wgUser->getOption( 'thumbsize' );
442442
443443 if( !isset( $wgThumbLimits[$wopt] ) ) {
Index: trunk/phase3/includes/Parser.php
@@ -4412,6 +4412,7 @@
44134413 # * ___px scale to ___ pixels width, no aligning. e.g. use in taxobox
44144414 # * center center the image
44154415 # * framed Keep original image size, no magnify-button.
 4416+ # * frameless like 'thumbnail' but without frame, enlarge-icon and caption. User preference thumb width is used
44164417 # * upright reduce width for upright images, rounded to full __0 px
44174418 # * border draw a 1px border around the image
44184419 # vertical-align values (no % or length right now):
@@ -4436,6 +4437,7 @@
44374438 $mwManualThumb =& MagicWord::get( 'img_manualthumb' );
44384439 $mwWidth =& MagicWord::get( 'img_width' );
44394440 $mwFramed =& MagicWord::get( 'img_framed' );
 4441+ $mwFrameless =& MagicWord::get( 'img_frameless' );
44404442 $mwUpright =& MagicWord::get( 'img_upright' );
44414443 $mwBorder =& MagicWord::get( 'img_border' );
44424444 $mwPage =& MagicWord::get( 'img_page' );
@@ -4443,6 +4445,7 @@
44444446
44454447 $params = array();
44464448 $framed = $thumb = false;
 4449+ $frameless = false;
44474450 $upright = false;
44484451 $upright_factor = 0;
44494452 $border = false;
@@ -4458,6 +4461,8 @@
44594462 $upright_factor = floatval( $match );
44604463 } elseif ( !is_null( $mwBorder->matchVariableStartToEnd( $val ) ) ) {
44614464 $border = true;
 4465+ } elseif ( !is_null( $mwFrameless->matchVariableStartToEnd( $val ) ) ) {
 4466+ $frameless = true;
44624467 } elseif ( ! is_null( $match = $mwManualThumb->matchVariableStartToEnd($val) ) ) {
44634468 # use manually specified thumbnail
44644469 $thumb=true;
@@ -4504,7 +4509,7 @@
45054510 $alt = Sanitizer::stripAllTags( $alt );
45064511
45074512 # Linker does the rest
4508 - return $sk->makeImageLinkObj( $nt, $caption, $alt, $align, $params, $framed, $thumb, $manual_thumb, $valign, $upright, $upright_factor, $border );
 4513+ return $sk->makeImageLinkObj( $nt, $caption, $alt, $align, $params, $framed, $thumb, $manual_thumb, $valign, $upright, $upright_factor, $border, $frameless );
45094514 }
45104515
45114516 /**
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -281,6 +281,7 @@
282282 'img_width' => array( 1, '$1px' ),
283283 'img_center' => array( 1, 'center', 'centre' ),
284284 'img_framed' => array( 1, 'framed', 'enframed', 'frame' ),
 285+ 'img_frameless' => array( 1, 'frameless' ),
285286 'img_page' => array( 1, 'page=$1', 'page $1' ),
286287 'img_upright' => array( 1, 'upright', 'upright=$1', 'upright $1' ),
287288 'img_border' => array( 1, 'border' ),
@@ -2657,271 +2658,4 @@
26582659 'exif-lightsource-12' => 'Daylight fluorescent (D 5700 – 7100K)',
26592660 'exif-lightsource-13' => 'Day white fluorescent (N 4600 – 5400K)',
26602661 'exif-lightsource-14' => 'Cool white fluorescent (W 3900 – 4500K)',
2661 -'exif-lightsource-15' => 'White fluorescent (WW 3200 – 3700K)',
2662 -'exif-lightsource-17' => 'Standard light A',
2663 -'exif-lightsource-18' => 'Standard light B',
2664 -'exif-lightsource-19' => 'Standard light C',
2665 -'exif-lightsource-20' => 'D55',
2666 -'exif-lightsource-21' => 'D65',
2667 -'exif-lightsource-22' => 'D75',
2668 -'exif-lightsource-23' => 'D50',
2669 -'exif-lightsource-24' => 'ISO studio tungsten',
2670 -'exif-lightsource-255' => 'Other light source',
2671 -
2672 -'exif-focalplaneresolutionunit-2' => 'inches',
2673 -
2674 -'exif-sensingmethod-1' => 'Undefined',
2675 -'exif-sensingmethod-2' => 'One-chip color area sensor',
2676 -'exif-sensingmethod-3' => 'Two-chip color area sensor',
2677 -'exif-sensingmethod-4' => 'Three-chip color area sensor',
2678 -'exif-sensingmethod-5' => 'Color sequential area sensor',
2679 -'exif-sensingmethod-7' => 'Trilinear sensor',
2680 -'exif-sensingmethod-8' => 'Color sequential linear sensor',
2681 -
2682 -'exif-filesource-3' => 'DSC',
2683 -
2684 -'exif-scenetype-1' => 'A directly photographed image',
2685 -
2686 -'exif-customrendered-0' => 'Normal process',
2687 -'exif-customrendered-1' => 'Custom process',
2688 -
2689 -'exif-exposuremode-0' => 'Auto exposure',
2690 -'exif-exposuremode-1' => 'Manual exposure',
2691 -'exif-exposuremode-2' => 'Auto bracket',
2692 -
2693 -'exif-whitebalance-0' => 'Auto white balance',
2694 -'exif-whitebalance-1' => 'Manual white balance',
2695 -
2696 -'exif-scenecapturetype-0' => 'Standard',
2697 -'exif-scenecapturetype-1' => 'Landscape',
2698 -'exif-scenecapturetype-2' => 'Portrait',
2699 -'exif-scenecapturetype-3' => 'Night scene',
2700 -
2701 -'exif-gaincontrol-0' => 'None',
2702 -'exif-gaincontrol-1' => 'Low gain up',
2703 -'exif-gaincontrol-2' => 'High gain up',
2704 -'exif-gaincontrol-3' => 'Low gain down',
2705 -'exif-gaincontrol-4' => 'High gain down',
2706 -
2707 -'exif-contrast-0' => 'Normal',
2708 -'exif-contrast-1' => 'Soft',
2709 -'exif-contrast-2' => 'Hard',
2710 -
2711 -'exif-saturation-0' => 'Normal',
2712 -'exif-saturation-1' => 'Low saturation',
2713 -'exif-saturation-2' => 'High saturation',
2714 -
2715 -'exif-sharpness-0' => 'Normal',
2716 -'exif-sharpness-1' => 'Soft',
2717 -'exif-sharpness-2' => 'Hard',
2718 -
2719 -'exif-subjectdistancerange-0' => 'Unknown',
2720 -'exif-subjectdistancerange-1' => 'Macro',
2721 -'exif-subjectdistancerange-2' => 'Close view',
2722 -'exif-subjectdistancerange-3' => 'Distant view',
2723 -
2724 -// Pseudotags used for GPSLatitudeRef and GPSDestLatitudeRef
2725 -'exif-gpslatitude-n' => 'North latitude',
2726 -'exif-gpslatitude-s' => 'South latitude',
2727 -
2728 -// Pseudotags used for GPSLongitudeRef and GPSDestLongitudeRef
2729 -'exif-gpslongitude-e' => 'East longitude',
2730 -'exif-gpslongitude-w' => 'West longitude',
2731 -
2732 -'exif-gpsstatus-a' => 'Measurement in progress',
2733 -'exif-gpsstatus-v' => 'Measurement interoperability',
2734 -
2735 -'exif-gpsmeasuremode-2' => '2-dimensional measurement',
2736 -'exif-gpsmeasuremode-3' => '3-dimensional measurement',
2737 -
2738 -// Pseudotags used for GPSSpeedRef and GPSDestDistanceRef
2739 -'exif-gpsspeed-k' => 'Kilometres per hour',
2740 -'exif-gpsspeed-m' => 'Miles per hour',
2741 -'exif-gpsspeed-n' => 'Knots',
2742 -
2743 -// Pseudotags used for GPSTrackRef, GPSImgDirectionRef and GPSDestBearingRef
2744 -'exif-gpsdirection-t' => 'True direction',
2745 -'exif-gpsdirection-m' => 'Magnetic direction',
2746 -
2747 -# external editor support
2748 -'edit-externally' => 'Edit this file using an external application',
2749 -'edit-externally-help' => 'See the [http://meta.wikimedia.org/wiki/Help:External_editors setup instructions] for more information.',
2750 -
2751 -# 'all' in various places, this might be different for inflected languages
2752 -'recentchangesall' => 'all',
2753 -'imagelistall' => 'all',
2754 -'watchlistall1' => 'all',
2755 -'watchlistall2' => 'all',
2756 -'namespacesall' => 'all',
2757 -
2758 -# E-mail address confirmation
2759 -'confirmemail' => 'Confirm E-mail address',
2760 -'confirmemail_noemail' => 'You do not have a valid email address set in your [[Special:Preferences|user preferences]].',
2761 -'confirmemail_text' => "This wiki requires that you validate your e-mail address
2762 -before using e-mail features. Activate the button below to send a confirmation
2763 -mail to your address. The mail will include a link containing a code; load the
2764 -link in your browser to confirm that your e-mail address is valid.",
2765 -'confirmemail_pending' => '<div class="error">
2766 -A confirmation code has already been e-mailed to you; if you recently
2767 -created your account, you may wish to wait a few minutes for it to
2768 -arrive before trying to request a new code.
2769 -</div>',
2770 -'confirmemail_send' => 'Mail a confirmation code',
2771 -'confirmemail_sent' => 'Confirmation e-mail sent.',
2772 -'confirmemail_oncreate' => 'A confirmation code was sent to your e-mail address.
2773 -This code is not required to log in, but you will need to provide it before
2774 -enabling any e-mail-based features in the wiki.',
2775 -'confirmemail_sendfailed' => 'Could not send confirmation mail. Check address for invalid characters.
2776 -
2777 -Mailer returned: $1',
2778 -'confirmemail_invalid' => 'Invalid confirmation code. The code may have expired.',
2779 -'confirmemail_needlogin' => 'You need to $1 to confirm your email address.',
2780 -'confirmemail_success' => 'Your e-mail address has been confirmed. You may now log in and enjoy the wiki.',
2781 -'confirmemail_loggedin' => 'Your e-mail address has now been confirmed.',
2782 -'confirmemail_error' => 'Something went wrong saving your confirmation.',
2783 -
2784 -'confirmemail_subject' => '{{SITENAME}} e-mail address confirmation',
2785 -'confirmemail_body' => "Someone, probably you from IP address $1, has registered an
2786 -account \"$2\" with this e-mail address on {{SITENAME}}.
2787 -
2788 -To confirm that this account really does belong to you and activate
2789 -e-mail features on {{SITENAME}}, open this link in your browser:
2790 -
2791 -$3
2792 -
2793 -If this is *not* you, don't follow the link. This confirmation code
2794 -will expire at $4.",
2795 -
2796 -# Inputbox extension, may be useful in other contexts as well
2797 -'tryexact' => 'Try exact match',
2798 -'searchfulltext' => 'Search full text',
2799 -'createarticle' => 'Create article',
2800 -
2801 -# Scary transclusion
2802 -'scarytranscludedisabled' => '[Interwiki transcluding is disabled]',
2803 -'scarytranscludefailed' => '[Template fetch failed for $1; sorry]',
2804 -'scarytranscludetoolong' => '[URL is too long; sorry]',
2805 -
2806 -# Trackbacks
2807 -'trackbackbox' => '<div id="mw_trackbacks">
2808 -Trackbacks for this article:<br />
2809 -$1
2810 -</div>',
2811 -'trackback' => '; $4$5 : [$2 $1]',
2812 -'trackbackexcerpt' => '; $4$5 : [$2 $1]: <nowiki>$3</nowiki>',
2813 -'trackbackremove' => ' ([$1 Delete])',
2814 -'trackbacklink' => 'Trackback',
2815 -'trackbackdeleteok' => 'The trackback was successfully deleted.',
2816 -
2817 -
2818 -# delete conflict
2819 -
2820 -'deletedwhileediting' => 'Warning: This page has been deleted after you started editing!',
2821 -'confirmrecreate' => 'User [[User:$1|$1]] ([[User talk:$1|talk]]) deleted this page after you started editing with reason:
2822 -: \'\'$2\'\'
2823 -Please confirm that really want to recreate this page.',
2824 -'recreate' => 'Recreate',
2825 -
2826 -'unit-pixel' => 'px',
2827 -
2828 -# HTML dump
2829 -'redirectingto' => 'Redirecting to [[$1]]...',
2830 -
2831 -# action=purge
2832 -'confirm_purge' => "Clear the cache of this page?\n\n$1",
2833 -'confirm_purge_button' => 'OK',
2834 -
2835 -'youhavenewmessagesmulti' => "You have new messages on $1",
2836 -'newtalkseperator' => ',_',
2837 -'searchcontaining' => "Search for articles containing ''$1''.",
2838 -'searchnamed' => "Search for articles named ''$1''.",
2839 -'articletitles' => "Articles starting with ''$1''",
2840 -'hideresults' => 'Hide results',
2841 -
2842 -# DISPLAYTITLE
2843 -'displaytitle' => '(Link to this page as [[$1]])',
2844 -
2845 -# Separator for categories in page lists
2846 -# Please don't localise this
2847 -'catseparator' => '|',
2848 -
2849 -'loginlanguagelabel' => 'Language: $1',
2850 -
2851 -# Don't duplicate this in translations; defaults should remain consistent
2852 -'loginlanguagelinks' => "* Deutsch|de
2853 -* English|en
2854 -* Esperanto|eo
2855 -* Français|fr
2856 -* Español|es
2857 -* Italiano|it
2858 -* Nederlands|nl",
2859 -
2860 -# Multipage image navigation
2861 -'imgmultipageprev' => '← previous page',
2862 -'imgmultipagenext' => 'next page →',
2863 -'imgmultigo' => 'Go!',
2864 -'imgmultigotopre' => 'Go to page',
2865 -'imgmultigotopost' => '',
2866 -'imgmultiparseerror' => 'The image file appears to be corrupted or incorrect, so {{SITENAME}} cannot retrieve a list of pages.',
2867 -
2868 -# Table pager
2869 -'ascending_abbrev' => 'asc',
2870 -'descending_abbrev' => 'desc',
2871 -'table_pager_next' => 'Next page',
2872 -'table_pager_prev' => 'Previous page',
2873 -'table_pager_first' => 'First page',
2874 -'table_pager_last' => 'Last page',
2875 -'table_pager_limit' => 'Show $1 items per page',
2876 -'table_pager_limit_submit' => 'Go',
2877 -'table_pager_empty' => 'No results',
2878 -
2879 -# Auto-summaries
2880 -'autosumm-blank' => 'Removing all content from page',
2881 -'autosumm-replace' => 'Replacing page with \'$1\'',
2882 -'autoredircomment' => 'Redirecting to [[$1]]', # This should be changed to the new naming convention, but existed beforehand.
2883 -'autosumm-new' => 'New page: $1',
2884 -
2885 -# Autoblock whitelist
2886 -'autoblock_whitelist' => 'AOL http://webmaster.info.aol.com/proxyinfo.html
2887 -*64.12.96.0/19
2888 -*149.174.160.0/20
2889 -*152.163.240.0/21
2890 -*152.163.248.0/22
2891 -*152.163.252.0/23
2892 -*152.163.96.0/22
2893 -*152.163.100.0/23
2894 -*195.93.32.0/22
2895 -*195.93.48.0/22
2896 -*195.93.64.0/19
2897 -*195.93.96.0/19
2898 -*195.93.16.0/20
2899 -*198.81.0.0/22
2900 -*198.81.16.0/20
2901 -*198.81.8.0/23
2902 -*202.67.64.128/25
2903 -*205.188.192.0/20
2904 -*205.188.208.0/23
2905 -*205.188.112.0/20
2906 -*205.188.146.144/30
2907 -*207.200.112.0/21',
2908 -
2909 -# Size units
2910 -'size-bytes' => '$1 B',
2911 -'size-kilobytes' => '$1 KB',
2912 -'size-megabytes' => '$1 MB',
2913 -'size-gigabytes' => '$1 GB',
2914 -
2915 -# Live preview
2916 -'livepreview-loading' => 'Loading…',
2917 -'livepreview-ready' => 'Loading… Ready!',
2918 -'livepreview-failed' => "Live preview failed!\nTry normal preview.",
2919 -'livepreview-error' => "Failed to connect: $1 \"$2\"\nTry normal preview.",
2920 -
2921 -# Friendlier slave lag warnings
2922 -'lag-warn-normal' => 'Changes newer than $1 seconds may not be shown in this list.',
2923 -'lag-warn-high' => 'Due to high database server lag, changes newer than $1 seconds
2924 -may not be shown in this list.',
2925 -
2926 -);
2927 -
2928 -?>
 2662+'exif-lightsource-15' => 'White fluorescent
\ No newline at end of file
Index: trunk/phase3/RELEASE-NOTES
@@ -1,215 +1 @@
2 -= MediaWiki release notes =
3 -
4 -Security reminder: MediaWiki does not require PHP's register_globals
5 -setting since version 1.2.0. If you have it on, turn it *off* if you can.
6 -
7 -== MediaWiki 1.11 ==
8 -
9 -THIS IS NOT A RELEASE YET.
10 -
11 -MediaWiki is now using a "continuous integration" development model with
12 -quarterly snapshot releases. The latest development code is always kept
13 -"ready to run", and in fact runs our own sites on Wikipedia.
14 -
15 -Release branches will continue to receive security updates for about a year
16 -from first release, but nonessential bugfixes and feature developments
17 -will be made on the development trunk and appear in the next quarterly release.
18 -
19 -Those wishing to use the latest code instead of a branch release can obtain
20 -it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
21 -
22 -== Configuration changes since 1.10 ==
23 -* $wgThumbUpright - Adjust width of upright images when parameter 'upright' is
24 - used
25 -
26 -== New features since 1.10 ==
27 -
28 -* (bug 8868) Separate "blocked" message for autoblocks
29 -* Adding expiry of block to block messages
30 -* Bulk mail options ($wgEnotifImpersonal, $wgEnotifUseJobQ) for large sites
31 -* Links to redirect pages in categories are wrapped in
32 - <span class="redirect-in-category"></span>
33 -* Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for
34 - more information
35 -* (bug 9628) Show warnings about slave lag on Special:Contributions,
36 - Special:Watchlist
37 -* (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext"
38 -* Introducing new image parameter 'upright' and corresponding variable
39 - $wgThumbUpright. This allows better proportional view of upright images
40 - related to landscape images on a page without nailing the width of upright
41 - images to a fix value which makes views for anon unproportional and user
42 - preferences useless
43 -* (bug 6072) Add a 'border' keyword to the image syntax
44 -
45 -== Bugfixes since 1.10 ==
46 -
47 -* (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
48 -* (bug 9670) Follow redirects when render edit section links to transcluded
49 - templates.
50 -* (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel
51 -* (bug 3431) Suppress "next page" link in Special:Search at end of results
52 -* Don't show unblock form if the user doesn't have permission to use it
53 - (cosmetic change, no vulnerabilities existed)
54 -* Subtitle success message when unblocking a block ID instead of a pseudo link
55 - like [[User:#123|#123]]
56 -* Use the standard HTTP fetch functions when retrieving remote wiki pages
57 - through transwiki, so we can take advantage of cURL goodies if available
58 -* Disable custom user javascript in Special:Preferences, to avoid the risk
59 - of a compromised script sniffing passwords etc.
60 -* (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness
61 - instead of letting it flow outside the box or trigger ugly scroll bars.
62 -* Tooltips for print version and permalink
63 -* Links to the MediaWiki namespace for system messages having their default
64 - values are no longer shown as nonexistent (e.g., in red)
65 -* Special:Ipblocklist differentiates between empty list and no search results.
66 -* (bug 5375) profiling does not respect read-only mode.
67 -* (bug 7070) monobook/user.gif has antialias artifacts
68 -* (bug 9123) Safer way when applying $wgLocalTZoffset
69 -* (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR
70 -* (bug 9417) Uploading new versions of images when using Postgres no longer
71 - throws warnings.
72 -* (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error.
73 -* (bug 1438) Fix for diff table layout on very wide lines.
74 - Diff style rules have been broken out to common/diff.css,
75 - and the dupes removed from the default skin files.
76 - Skins can still override the default rules.
77 -* (bug 1229) Balance columns in diff display evenly
78 -* Right-align diff line numbers in RTL language display
79 -* (bug 9332) Fix instructions in tests/README
80 -* (bug 9813) Reject usernames containing '#' to avoid silent truncation
81 - of fragments during the normalisation process
82 -* (bug 7989) RSS feeds content now use black text when using white background.
83 -* (bug 9971) Typo in a french language message.
84 -* (bug 9973) Changed size was shown in advanced recentchanges collapsible items
85 - with $wgRCShowChangedSized = false.
86 -* Fix PHP strict standards warning in enhanced recent changes.
87 -* (bug 5850) Added hexadecimal html entities comments for $digitTransformTable
88 - entries.
89 -* (bug 7432) Change language name for Aromanian (roa-rup)
90 -
91 -== MediaWiki API changes since 1.10 ==
92 -
93 -(For ongoing development discussion, see http://www.mediawiki.org/wiki/API)
94 -
95 -* New properties: links, templates, images, langlinks, categories, external links
96 -* Breaking Change: imagelinks renamed into imageusage (il->iu)
97 -* Bug fix: incorrect generator behavior in some cases
98 -* JSON format allows an optional callback function to wrap the result.
99 -* Login module disabled until a more secure solution can be implemented
100 -* (bug 9938) Querying by revision identifier returns the most recent revision
101 - for the corresponding page, rather than the requested revision
102 -* (bug 8772) Filter page revision queries by user
103 -* (bug 9927) User contributions queries do not accept IP addresses
104 -* Watchlist feed now reports a proper feed item when the user is not logged in
105 -* Watchlist feed date bug fixed - automatically shows one last day
106 -* Watchlist feed now allows to specify number of hours to monitor
107 -* list=allpages now returns a list instead of a map in json format
108 -* Breaking Change: in json, revisions are now returned as a list, not as a map.
109 -* Add: prop=info can show page is new flag, current page length, and visit counter.
110 -* Change: Query watchlist now shows flags only when explicitly requested with wlparam=flags
111 - rc_this_oldid (textid) is no longer accessible from query watchlist
112 -* action=usercontribs: additional filtering by ucshow=; selection of needed fields with ucprop=;
113 - the textid (rev_text_id) is no longer being exposed
114 -* breaking change: backlinks, embeddedin & imageusage now return lists in json instead of a map,
115 - and do not return anything when titles do not exist. (bug 9970)
116 -* added query parameter indexpageids to list the page ids of all returned page items (bug 9121)
117 -
118 -== Maintenance script changes since 1.10 ==
119 -
120 -* Add support for wgMaxTocLevel option in parserTests
121 -* (bug 6823) dumpHTML: explicitly disable article view counter
122 -
123 -== Languages updated since 1.10 ==
124 -
125 -* Arabic (ar)
126 -* Catalan (ca)
127 -* Danish (da)
128 -* German (de)
129 -* Spanish (es)
130 -* Farsi (fa)
131 -* Finnish (fi)
132 -* French (fr)
133 -* Hebrew (he)
134 -* Indonesian (id)
135 -* Italian (it)
136 -* Japanese (ja)
137 -* Kabyle (kab)
138 -* Kazakh (kk)
139 -* Kurdish (ku)
140 -* Lithuanian (lt)
141 -* Norwegian (no)
142 -* Polish (pl)
143 -* Russian (ru)
144 -* Somali (so)
145 -* Sundanese (su)
146 -* Swedish (sv)
147 -* Chinese (PRC) (zh-cn)
148 -* Chinese (Taiwan) (zh-tw)
149 -* Cantonese (zh-yue)
150 -
151 -== Compatibility ==
152 -
153 -MediaWiki 1.11 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
154 -
155 -PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
156 -http://bugs.php.net/bug.php?id=34879
157 -Upgrade affected systems to PHP 5.1 or higher.
158 -
159 -MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
160 -At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
161 -
162 -
163 -== Upgrading ==
164 -
165 -1.11 has several database changes since 1.10, and will not work without schema
166 -updates.
167 -
168 -If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
169 -new database fields are filled with data.
170 -
171 -If you are upgrading from MediaWiki 1.4.x or earlier, some major database
172 -changes are made, and there is a slightly higher chance that things could
173 -break. Don't forget to always back up your database before upgrading!
174 -
175 -See the file UPGRADE for more detailed upgrade instructions.
176 -
177 -=== Caveats ===
178 -
179 -Some output, particularly involving user-supplied inline HTML, may not
180 -produce 100% valid or well-formed XHTML output. Testers are welcome to
181 -set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
182 -cases, but this is not recommended on live sites. (This must be set for
183 -MathML to display properly in Mozilla.)
184 -
185 -
186 -For notes on 1.10.x and older releases, see HISTORY.
187 -
188 -
189 -=== Online documentation ===
190 -
191 -Documentation for both end-users and site administrators is currently being
192 -built up on MediaWiki.org, and is covered under the GNU Free Documentation
193 -License (except for pages that explicitly state that their contents are in
194 -the public domain) :
195 -
196 - http://www.mediawiki.org/wiki/Documentation
197 -
198 -
199 -=== Mailing list ===
200 -
201 -A MediaWiki-l mailing list has been set up distinct from the Wikipedia
202 -wikitech-l list:
203 -
204 - http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
205 -
206 -A low-traffic announcements-only list is also available:
207 -
208 - http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
209 -
210 -It's highly recommended that you sign up for one of these lists if you're
211 -going to run a public MediaWiki, so you can be notified of security fixes.
212 -
213 -
214 -=== IRC help ===
215 -
216 -There's usually someone online in #mediawiki on irc.freenode.net
 2+
\ No newline at end of file

Follow-up revisions

RevisionCommit summaryAuthorDate
r22429Revert r22423 -- mysteriously destroys several core filesbrion16:25, 25 May 2007
r22444Merged revisions 22413-22443 via svnmerge from...david00:06, 26 May 2007