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
Philip Tzou [Fri, 25 Sep 2009 05:57:18 +0000 (05:57 +0000)]
Update the Chinese conversion tables.
Brion Vibber [Thu, 24 Sep 2009 23:03:23 +0000 (23:03 +0000)]
Set memory limit in finalSetup() to override what might have been set elsewhere
Siebrand Mazeland [Thu, 24 Sep 2009 22:34:03 +0000 (22:34 +0000)]
Localisation updates for core messages from translatewiki.net
Happy-melon [Thu, 24 Sep 2009 22:20:56 +0000 (22:20 +0000)]
(bug 18436) remove redundant (and disruptive to CSS) hardcoded "display:inline" style from messages injected with jsMsg().
Alexandre Emsenhuber [Thu, 24 Sep 2009 21:41:17 +0000 (21:41 +0000)]
Re-implementing Maintenance::maybeHelp() in CommandLineInc to not show Maintenance's help when passing --help (previous method was not working correctly)
Happy-melon [Thu, 24 Sep 2009 21:25:33 +0000 (21:25 +0000)]
Improve HTMLForm's support for adding content in and around the form, to improve versatility. Groundwork for being able to validate, filter and submit the CreateAccount input via HTMLForm::trySubmit(), which will give extensions huge flexibility to play with the form input.
Also change the wrapping on both forms to use a <fieldset>, which is visually more consistent with the other forms we have floating around the site. Add visualClear to all HTMLForm forms, and remove all the redundant CSS for the login form, quite a bit of which has been dead for a while.
Siebrand Mazeland [Thu, 24 Sep 2009 21:03:40 +0000 (21:03 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-24 20:48 UTC)
Bryan Tong Minh [Thu, 24 Sep 2009 20:46:31 +0000 (20:46 +0000)]
(bug 14117) "redirected" from is now also shown on foreign file redirects
Aaron Schulz [Thu, 24 Sep 2009 17:43:11 +0000 (17:43 +0000)]
bug 20794: show usertool links at activeusers
Alexandre Emsenhuber [Thu, 24 Sep 2009 17:35:47 +0000 (17:35 +0000)]
Add new line after generating <script> calling mwScriptLoader.php for better source readability
Rotem Liss [Thu, 24 Sep 2009 14:35:54 +0000 (14:35 +0000)]
Localization update.
Rotem Liss [Thu, 24 Sep 2009 13:32:07 +0000 (13:32 +0000)]
Localization update.
Happy-melon [Thu, 24 Sep 2009 12:50:12 +0000 (12:50 +0000)]
Add new hook, AbortNewAccountAuto, to abort account creations from AuthPlugin- or ExtUser-driven requests.
Tim Starling [Thu, 24 Sep 2009 05:38:46 +0000 (05:38 +0000)]
Fix total breakage of namespaceDupes.php due to r55591: undefined variable $prefix leads to SQL query error in resolveConflictOn()
Tim Starling [Thu, 24 Sep 2009 04:19:25 +0000 (04:19 +0000)]
Fixes for TitleCleanup subclasses:
* (r56711) Don't use unbufferred queries unless someone is holding a gun to your head, they cause no end of trouble. Use batched queries instead. Should fix the bug reported on bug 20741 comment 13.
* Fixed a bug in cleanupTitles.php which caused it to fail to convert spaces in page_title to underscores, possibly caused by r6355.
* Made cleanupWatchlist.php respect "--fix" as documented
* Made runTable accept a parameter array instead of an ever-growing formal parameter list
* Renamed processPage() to more accurate processRow(). Removed abstract function definition since the name of the function can be overridden.
* Made a few things public instead of protected for easier testing via eval.php
* Fixed missing newlines in progress messages in cleanupCaps.php
Tobias [Wed, 23 Sep 2009 22:48:55 +0000 (22:48 +0000)]
Follow-up on r55909 and r55903: Note / block log excerpt and block/unblock links on Special:Contributions should now also work for IPs (did not work with User::newFromId)
Siebrand Mazeland [Wed, 23 Sep 2009 22:33:48 +0000 (22:33 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-23 21:48 UTC)
Roan Kattouw [Wed, 23 Sep 2009 20:55:54 +0000 (20:55 +0000)]
API: Handle image redirects properly in imageinfo, based on reports of API requests dying with backtraces on Commons, e.g. commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=user&titles=File:Semaphore_Alfa.svg
Leons Petrazickis [Wed, 23 Sep 2009 18:39:50 +0000 (18:39 +0000)]
Changes to IBM DB2 support:
* Removed database column name lowercasing kludge -- now using the official way of getting lowercase column names
* Added reliable way of getting the last insert id -- required by database API
* Fixed bug where inserted data was always rolled back when the IGNORE flag was passed
* Stripped out all unused sequence definitions from the database schema -- the current DB2 database schema uses GENERATED BY DEFAULT columns, not sequences
Raimond Spekking [Wed, 23 Sep 2009 17:35:08 +0000 (17:35 +0000)]
* Consistency tweak: coalesce tool links with pipes instead of a lot () () ()
* Process messages with escapenoentities instead of escape to allow use of for example •
* Change string explode to array
Michael Dale [Wed, 23 Sep 2009 16:13:07 +0000 (16:13 +0000)]
sorry for extra svn traffic