Aryeh Gregor [Thu, 1 Oct 2009 01:30:58 +0000 (01:30 +0000)]
Escape '<' in attribute values for well-formed XML
This fixes r56407, which fixed bug 20655. Now $wgWellFormedXml is used,
not $wgHtml5. The previous code was outputting malformed XML if
$wgHtml5 and $wgWellFormedXml were both true.
I wish we had unit tests for this. :(
Adam Miller [Thu, 1 Oct 2009 00:54:23 +0000 (00:54 +0000)]
Adding the experimental tabs to vector/experiments
Adam Miller [Thu, 1 Oct 2009 00:25:21 +0000 (00:25 +0000)]
Updates to babaco-colors-a.css
Aaron Schulz [Wed, 30 Sep 2009 23:12:05 +0000 (23:12 +0000)]
added 'rev-suppressed-unhide-diff'
Trevor Parscal [Wed, 30 Sep 2009 23:06:17 +0000 (23:06 +0000)]
Added 2 sample experimental CSS files. Adam can take it from here...
Trevor Parscal [Wed, 30 Sep 2009 23:01:46 +0000 (23:01 +0000)]
Decided to go with yet another approach for adding extra stylesheets for Vector (so that we can test new ideas out and keep our CSS in the SVN).
1. Removed ExperiementalSkins extension
2. Added $wgVectorExtraStyles to DefaultSettings.php
3. Added code in Vector.php that adds in any extra styles defined just after adding in the main style
Siebrand Mazeland [Wed, 30 Sep 2009 22:06:26 +0000 (22:06 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-30 20:46 UTC)
Brion Vibber [Wed, 30 Sep 2009 21:24:47 +0000 (21:24 +0000)]
Fix regression: server parameter needs to be optional; most of the time we *do not* want to use one since it's going to test all defined servers
Aaron Schulz [Wed, 30 Sep 2009 20:34:17 +0000 (20:34 +0000)]
Follow up r57148: tedious crap
Aaron Schulz [Wed, 30 Sep 2009 19:58:32 +0000 (19:58 +0000)]
Fixed regression: deleted file link was not greyed out when hidden
Aaron Schulz [Wed, 30 Sep 2009 19:50:35 +0000 (19:50 +0000)]
* Renamed deletedcontent to deletedtext
* Removed deletedrevision and used deletedhistory/deletedtext instead
Aaron Schulz [Wed, 30 Sep 2009 19:46:53 +0000 (19:46 +0000)]
unbreak deleted file viewing
Aaron Schulz [Wed, 30 Sep 2009 19:35:39 +0000 (19:35 +0000)]
Added exists() function
Roan Kattouw [Wed, 30 Sep 2009 19:18:37 +0000 (19:18 +0000)]
Remove leading tabs in main page added by addwiki.php . Patch by str4nd.
Aaron Schulz [Wed, 30 Sep 2009 19:16:37 +0000 (19:16 +0000)]
isDeleted() et all should be sure to call $this->load()
Brion Vibber [Wed, 30 Sep 2009 19:12:41 +0000 (19:12 +0000)]
Pull back r56730 for now: "New configuration variable $wgShowPageOnRedlink that can be set to show the page instead of an edit interface when visiting a red link. The value can be specified for specific usergroups and namespaces."
The config var's formatting strikes me as kinda scary; might be better to implement this as a permission key, which can have fancy namespace variants handled by an extension or something pretty easily (it seems to me like that's a rarer use case).
Brion Vibber [Wed, 30 Sep 2009 19:00:48 +0000 (19:00 +0000)]
Provisional revert of r56916 "(bug 20802) Fixed thumb.php redirect handling. Changed wfLocalFile call into RepoGroup::singleton()->getLocalRepo()->findFile"
This appears to make thumb.php more permissive than it's indended and could lead to littering false-positive thumbnails around the server when used to implement 404 handlers as designed.
Aaron Schulz [Wed, 30 Sep 2009 18:49:00 +0000 (18:49 +0000)]
Fixed deleted image link regression: was totally broken
Roan Kattouw [Wed, 30 Sep 2009 18:46:23 +0000 (18:46 +0000)]
Put the watch icon part of the changes reverted in r57125 back in.
Andrew Garrett [Wed, 30 Sep 2009 18:44:37 +0000 (18:44 +0000)]
Replace hardcoded api.php with a call to wfScript(api) in a few places per comments on code-review r57120
Roan Kattouw [Wed, 30 Sep 2009 17:58:16 +0000 (17:58 +0000)]
Revert r56924 (new watch icon and color changes for Vector) and followups r57006, r57012, r57013, r57030, r57034, r57036, r57117: we don't want this in trunk right now, moving it to its own branch
Andrew Garrett [Wed, 30 Sep 2009 17:58:00 +0000 (17:58 +0000)]
Randomly generate a watchlist token on-demand if a watchlist is loaded and the user has no watchlist token.
Brion Vibber [Wed, 30 Sep 2009 17:50:58 +0000 (17:50 +0000)]
Revert r57053 for now "bug 20860 [[Special:Allmessages]] to have direct (edit) link"
While a direct link is nice, the current implementation looks pretty bad the way the lines break in the giant table
Andrew Garrett [Wed, 30 Sep 2009 17:44:40 +0000 (17:44 +0000)]
Fix for r57119, remove double-/ in URLs
Andrew Garrett [Wed, 30 Sep 2009 17:35:41 +0000 (17:35 +0000)]
Re-work feed exposure system.
* Includes a new, more flexible system which allows you to provide an array of format => URL, but also supports the older system of providing a URL suffix.
* Implemented it for the watchlist if a user has set their own token.
Adam Miller [Wed, 30 Sep 2009 16:59:46 +0000 (16:59 +0000)]
Vector color changes
Aaron Schulz [Wed, 30 Sep 2009 16:05:40 +0000 (16:05 +0000)]
Make sure countRevisionsBetween() returns an integer as doc says
Aaron Schulz [Wed, 30 Sep 2009 15:45:38 +0000 (15:45 +0000)]
Follow-up r57109: missing file
Aaron Schulz [Wed, 30 Sep 2009 15:36:55 +0000 (15:36 +0000)]
Moved UI diff stuff into its own DifferenceInterface file
Michael Dale [Wed, 30 Sep 2009 14:00:56 +0000 (14:00 +0000)]
* restored script order per r56746#c4198
Raimond Spekking [Wed, 30 Sep 2009 13:59:29 +0000 (13:59 +0000)]
* Use styling 'white-space: nowrap' for restriction level label/input field too
* Use commaList instead of hardcoded comma
* Document two functions a bit
Jure Kajzer [Wed, 30 Sep 2009 13:38:07 +0000 (13:38 +0000)]
logging table added columns, fixed cat_id sequence generation in Article and Category
Andrew Garrett [Wed, 30 Sep 2009 10:36:22 +0000 (10:36 +0000)]
Split out the regex for invalid title characters and sequences so it can be used elsewhere in MediaWiki (will in a moment be used in LiquidThreads).
Andrew Garrett [Wed, 30 Sep 2009 10:35:34 +0000 (10:35 +0000)]
Add signature prefetching logic to Parser, supports r56706.
Happy-melon [Wed, 30 Sep 2009 09:46:48 +0000 (09:46 +0000)]
Recommit r56947, partially overwritten in r57024.
Brion Vibber [Wed, 30 Sep 2009 00:47:54 +0000 (00:47 +0000)]
Revert r56902 "(bug 18436) remove redundant (and disruptive to CSS) hardcoded "display:inline" style from messages injected with jsMsg()."
Totally broken; breaks at least Vector skin and any other which includes an initially-hidden div for the JS messages -- the div was no longer being unhidden.
Just use a !important in your custom style...
Chad Horohoe [Wed, 30 Sep 2009 00:38:32 +0000 (00:38 +0000)]
Followup r56731, check for PHP 5.3 or greater (where it was fixed). Not a Windows issue
Siebrand Mazeland [Tue, 29 Sep 2009 23:19:52 +0000 (23:19 +0000)]
Follow-up r57091 (revert r56635): rebuild language files
Brion Vibber [Tue, 29 Sep 2009 23:16:30 +0000 (23:16 +0000)]
Revert r56635 "Implement a 'root' permission, which grants all other permissions. Useful for debugging and administration."
I'd much rather keep permission keys clean and separate.
Brion Vibber [Tue, 29 Sep 2009 21:37:07 +0000 (21:37 +0000)]
Cleanup for r56298 "(bug 18180) Special:Export ignores limit, dir, offset parameters. Patch by azliq7"
Reorder the checks so that we get the is_array() out of the way first instead of relying on the weird type interaction between the array and the integers when doing binary AND. :)
Also made a fix so this actually works when $wgExportMaxHistory is set to 0, which per doc comment seems like it should not limit.
Siebrand Mazeland [Tue, 29 Sep 2009 21:32:16 +0000 (21:32 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-29 20:59 UTC)
Brion Vibber [Tue, 29 Sep 2009 17:27:21 +0000 (17:27 +0000)]
Fix regression from r54429 "(bug 17864 + bug 19519) - Do input normalization on the username before doing existence/permission checks"
This did some overactive canonicalization of the input username before username and database were split, breaking access to remote users where the database name contained an underscore -- it was changed to space.
This would also have broken numeric access, I think, but I didn't bother to test that. :)
Fix moves the username canonicalization down into fetchUser() after we split the name and database, so we now can access remote folks via non-canonical forms and we don't break the dbnames.
Chad Horohoe [Tue, 29 Sep 2009 13:34:59 +0000 (13:34 +0000)]
(bug 20836) Preload not working for MediaWiki namespace. Note this only works when the message doesnt exist, to emulate preload only working on non-existing pages
Chad Horohoe [Tue, 29 Sep 2009 13:26:39 +0000 (13:26 +0000)]
bug 20860 [[Special:Allmessages]] to have direct (edit) link
Michael Dale [Tue, 29 Sep 2009 03:01:38 +0000 (03:01 +0000)]
~ fixed playhead update issue
Trevor Parscal [Mon, 28 Sep 2009 22:49:29 +0000 (22:49 +0000)]
Inc $wgStyleVersion to reflect changes in r57030 and r57034 (watch/unwatch icon refactor)
Trevor Parscal [Mon, 28 Sep 2009 22:42:53 +0000 (22:42 +0000)]
Oops! The on/off states of the star icon were backwards!
Siebrand Mazeland [Mon, 28 Sep 2009 22:37:28 +0000 (22:37 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-28 21:52 UTC)
Trevor Parscal [Mon, 28 Sep 2009 22:25:42 +0000 (22:25 +0000)]
Refactored the watch/unwatch icon for Vector.
1. Changed from using an image to a div with background images.
2. Redesigned the star icon, and implemented it as a sprite with unique watched/unwatch and normal/hover versions.
3. Designed custom spinning star icon - used while waiting for server to respond.
4. Added $wgVectorUseIconWatch setting to default preferences (defaults to false) and added support for enabling and disabling the feature.
5. Got rid of old now unused icons.
6. Changed styles and ajaxwatch.js code so that javascript is not needed for hovering
7. Changed ajaxwatch.js code to work with the div icon rather than the previous img setup.
8. Regenerated RTL versions.
Leons Petrazickis [Mon, 28 Sep 2009 20:27:30 +0000 (20:27 +0000)]
MediaWiki database schema for IBM DB2
* removed all foreign keys not in MySQL schema
* reordered implicit order of columns in archive table to match MySQL
* added missing ss_active_users column to site_stats table
* added missing ipb_allow_usertalk column to ipblocks table
Happy-melon [Mon, 28 Sep 2009 19:04:10 +0000 (19:04 +0000)]
Recommit some of the 'backend' stuff from the Login branch, after talking with Brion:
* ExternalUser::getLocalUser() from r56683
* Documentation and style tweaks for HTMLForm from r56682
* HTMLForm::add{HiddenField|(Pre|Post|Header)Text|Button}() functions, from 56782 and r56896.
Frontend stuff will wait until after 1.16 is branched.
Alexandre Emsenhuber [Mon, 28 Sep 2009 18:36:15 +0000 (18:36 +0000)]
replaced split() with explode(), the former is deprecated since PHP 5.3
Happy-melon [Mon, 28 Sep 2009 17:55:00 +0000 (17:55 +0000)]
Recommit r56688 (tracking categories for __INDEX__ and __NOINDEX__).
Siebrand Mazeland [Mon, 28 Sep 2009 17:30:01 +0000 (17:30 +0000)]
Fixes for IE per CR (mediawiki.org/wiki/Special:Code/MediaWiki/56032#c4178) and a few more in the same area.
Roan Kattouw [Mon, 28 Sep 2009 10:09:12 +0000 (10:09 +0000)]
Coding style cleanup for r56924; also copypaste main-ltr.css modifications to main-rtl.css; will rebuild later
Roan Kattouw [Mon, 28 Sep 2009 09:48:35 +0000 (09:48 +0000)]
Fix for r56924: don't do any mouseover/mouseout effects while the spinner is being shown. Coding style cleanup will follow.
Siebrand Mazeland [Mon, 28 Sep 2009 08:40:09 +0000 (08:40 +0000)]
Partial update of plural forms per unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html
* updating check blacklists in core and Translate
* adding language classes for codes that use singular form for plural as only difference to English plural forms
* adding FIXME for 'be' plurals: MediaWiki definitions differs from CLDR
Siebrand Mazeland [Mon, 28 Sep 2009 07:53:56 +0000 (07:53 +0000)]
Revert r56566 for MessagesFiu_vro.php. Should remain empty.
Siebrand Mazeland [Mon, 28 Sep 2009 06:06:39 +0000 (06:06 +0000)]
Follow-up to r56962: add 'deletedcontent' to $mCoreRights
Aaron Schulz [Mon, 28 Sep 2009 03:43:07 +0000 (03:43 +0000)]
Rename and document initializeSpecialCases() a bit
Aaron Schulz [Mon, 28 Sep 2009 03:09:48 +0000 (03:09 +0000)]
* Split off deletedrevision (view only) right and give it to sysops
* Allow show/hide link on top revision just like history
Adam Miller [Mon, 28 Sep 2009 02:45:24 +0000 (02:45 +0000)]
addressing feedback on the watch/unwatch javascript changes introduced in r56924
Adam Miller [Mon, 28 Sep 2009 02:44:02 +0000 (02:44 +0000)]
image updates for the watch/unwatch icons
Aaron Schulz [Mon, 28 Sep 2009 02:41:51 +0000 (02:41 +0000)]
Follow-up r56791: add 'deletedcontent' to corerights
Aaron Schulz [Mon, 28 Sep 2009 02:11:50 +0000 (02:11 +0000)]
Revert r57002: already done when needed
Aaron Schulz [Mon, 28 Sep 2009 02:08:05 +0000 (02:08 +0000)]
bolden show/hide links if oversighted
Siebrand Mazeland [Sun, 27 Sep 2009 23:21:57 +0000 (23:21 +0000)]
Support GENDER in 'sp-contributions-blocked-notice'
Siebrand Mazeland [Sun, 27 Sep 2009 23:18:45 +0000 (23:18 +0000)]
* support GENDER in 'blocklog-showlog' and 'blocklog-showsuppresslog'
* break long lines
Siebrand Mazeland [Sun, 27 Sep 2009 21:37:35 +0000 (21:37 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-27 21:18 UTC)
Siebrand Mazeland [Sun, 27 Sep 2009 18:38:16 +0000 (18:38 +0000)]
update indentation and remove trailing whitespace
Siebrand Mazeland [Sun, 27 Sep 2009 18:29:24 +0000 (18:29 +0000)]
* add semi-colon in lines 226 and 230
* indentation updates
Rotem Liss [Sun, 27 Sep 2009 14:31:25 +0000 (14:31 +0000)]
Localization update.
Huji [Sun, 27 Sep 2009 07:45:01 +0000 (07:45 +0000)]
Localisation updates: Adding translation for STYLEPATH. Adding correct translation for SCRIPTPATH, and keeping the incorrect (shortened) translation there for backward compatability.
Domas Mituzas [Sun, 27 Sep 2009 00:53:07 +0000 (00:53 +0000)]
I take 5% of blame for this idiocy
Siebrand Mazeland [Sun, 27 Sep 2009 00:21:38 +0000 (00:21 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-27 00:00 UTC)
Siebrand Mazeland [Sat, 26 Sep 2009 23:51:33 +0000 (23:51 +0000)]
Fix oversight in r56963: remove $creator
Siebrand Mazeland [Sat, 26 Sep 2009 23:47:38 +0000 (23:47 +0000)]
Revert r56696. Even though mentioned in r56937 ("Revert broken rewrite of login system"), this revision appears to have been missed.
* leaving the code style changes in User.php in.
Siebrand Mazeland [Sat, 26 Sep 2009 23:11:45 +0000 (23:11 +0000)]
New permission 'sendemail' added. Default right for all registered users. Can for example be used to prevent new accounts from sending spam.
* hide some user settings if user is not allowed to send e-mail, but can receive e-mail
* update API 'cannot send e-mail' message
* FIXME: gives 'mailnologin'/'mailnologintext' as error. Error handling should be made more fine grained
Siebrand Mazeland [Sat, 26 Sep 2009 19:08:54 +0000 (19:08 +0000)]
Add optional separate date and time parameters for 'perfcachedts' in query pages
* update use in FlaggedRevs
* update check blacklist in Translate
Rotem Liss [Sat, 26 Sep 2009 17:27:26 +0000 (17:27 +0000)]
Localization update.
Roan Kattouw [Sat, 26 Sep 2009 11:51:37 +0000 (11:51 +0000)]
Add a {{STYLEPATH}} magic word; necessary for upcoming EditToolbar fix
Happy-melon [Sat, 26 Sep 2009 11:20:25 +0000 (11:20 +0000)]
Fix bug in HTMLForm where password fields only got the type="password" attribute if $wgHtml5 = true. Prompted by r56937.
Siebrand Mazeland [Sat, 26 Sep 2009 11:15:01 +0000 (11:15 +0000)]
Changes related to reverts in r56937: use old values for 'userlogin'
Siebrand Mazeland [Sat, 26 Sep 2009 10:10:53 +0000 (10:10 +0000)]
Partial revert of r56692 related to reverts in r56937: use old values for 'userlogin'
Siebrand Mazeland [Sat, 26 Sep 2009 09:50:37 +0000 (09:50 +0000)]
Rebuild messages files to remove reverted addition of 'index-category' and 'noindex-category' in r56937
Siebrand Mazeland [Sat, 26 Sep 2009 09:47:43 +0000 (09:47 +0000)]
Partial revert of r56693 related to reverts in r56937: use old values for 'userlogin'
Alexandre Emsenhuber [Sat, 26 Sep 2009 09:25:15 +0000 (09:25 +0000)]
* (bug 11264) The file logo on a file description page for documents (PDF, ...) now links to the file rather than the file description page
Roan Kattouw [Sat, 26 Sep 2009 09:22:44 +0000 (09:22 +0000)]
API: (bug 20816) Editing a page with &watchlist=preferences (default) unwatches it if you're watching it but don't have watching preferences set. This is a regression from r53266
Alexandre Emsenhuber [Sat, 26 Sep 2009 08:57:18 +0000 (08:57 +0000)]
Fixes for live preview:
* (bug 3421) Live preview is now disabled on user CSS/JS subpages so that it doesn't break script/style previewing
* The "Live preview" button is now hidden by default rather than "Show preview", this will be switched by JavaScript to not confuse users with JavaScript disabled
* Pass wpEditToken, wpStarttime, wpEdittime in the request so that you don't get "Session lost" when $wgRawHtml is enabled
Alexandre Emsenhuber [Sat, 26 Sep 2009 08:05:58 +0000 (08:05 +0000)]
change $fname to __METHOD__ in Title::moveOverExistingRedirect() and Title::moveToNewTitle()
Brion Vibber [Sat, 26 Sep 2009 00:49:32 +0000 (00:49 +0000)]
Revert broken rewrite of login system; totally broken.
* Login doesn't attach to session properly, so can't stay logged in!
* Password field shown in plaintext!
If it just DOESN'T WORK please keep it on a work branch, don't put it in trunk!
Reverted:
r56682
r56683
r56684
r56686
r56688
r56696
r56699
r56702
r56703
r56704
r56782
r56896
Siebrand Mazeland [Fri, 25 Sep 2009 23:21:20 +0000 (23:21 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-25 23:01 UTC)
Adam Miller [Fri, 25 Sep 2009 18:04:11 +0000 (18:04 +0000)]
Moving watch/unwatch action out of the drop down
Jack D. Pond [Fri, 25 Sep 2009 17:22:27 +0000 (17:22 +0000)]
Added MS Office 7 file types for downloads. This is a hack solution - addressing the whole mime.types issue need to be done in the future.
Shinjiman [Fri, 25 Sep 2009 16:40:05 +0000 (16:40 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Alexandre Emsenhuber [Fri, 25 Sep 2009 16:20:09 +0000 (16:20 +0000)]
Special:IPBlockList's internal name is 'Ipblocklist', not 'IPBlockList' (throwing warnings when $wgDevelopmentWarnings is enabled)
Alexandre Emsenhuber [Fri, 25 Sep 2009 15:29:32 +0000 (15:29 +0000)]
* (bug 20797) Fixed check for double moving the base page when also moving subpages, now uses $ot->equals() rather than the ID of the old page, since this was checking it against the ID of the newly created redirect and thus never catched the double move
Tim Starling [Fri, 25 Sep 2009 15:15:33 +0000 (15:15 +0000)]
(r55382) Removed U+200B, zero-width space, from the list of characters to be converted to an underscore. This character is used in Khmer, Burmese and Thai (km, my, th) as an invisible word break indicator for the purposes of line wrapping. This is especially necessary for Khmer and Burmese since browsers do not have automatic word segmentation for those languages, like they do for Thai. It's not appropriate for these word break hints to be displayed as spaces.
Bryan Tong Minh [Fri, 25 Sep 2009 14:48:44 +0000 (14:48 +0000)]
(bug 17747) Only display thumbnail column in file history if the image can be rendered.
Bryan Tong Minh [Fri, 25 Sep 2009 14:23:09 +0000 (14:23 +0000)]
(bug 20802) Fixed thumb.php redirect handling. Changed wfLocalFile call into RepoGroup::singleton()->getLocalRepo()->findFile