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
Michael Dale [Wed, 23 Sep 2009 16:10:01 +0000 (16:10 +0000)]
opps missing function call
Aryeh Gregor [Wed, 23 Sep 2009 15:16:05 +0000 (15:16 +0000)]
Improve $attribs documentation in Html
As suggested by Nikerabbit on code review for r56778, noted how boolean
attributes are handled in a function-level comment. Also adjusted
comments to reduce duplication by referring to other functions'
comments.
Michael Dale [Wed, 23 Sep 2009 15:00:35 +0000 (15:00 +0000)]
before processing wikipage js ::
* make sure its a valid wikipage
* in the User or MediaWiki namespace
* and ends with .js
* removed $wgEnableScriptLoaderJsFile support for "file" based includes. (was a off by default config option that I don't see much use for)
Siebrand Mazeland [Wed, 23 Sep 2009 14:48:30 +0000 (14:48 +0000)]
Set fallback for xal to ru
Bryan Tong Minh [Wed, 23 Sep 2009 14:13:42 +0000 (14:13 +0000)]
(bug 20780) Fix in UploadBase::detectScript: should check for '<a href', not '<a'. The question remains on whether detectScript is redundant to IEContentAnalyzer.
Roan Kattouw [Wed, 23 Sep 2009 13:51:47 +0000 (13:51 +0000)]
(bug 20773) Disabling LocalisationUpdate breaks stuff. Added a check that verifies each dependency object is a CacheDependency before using it, and considers the cache expired otherwise.
Siebrand Mazeland [Wed, 23 Sep 2009 12:43:08 +0000 (12:43 +0000)]
Revert r56812. Broken.
Purodha B Blissenbach [Wed, 23 Sep 2009 12:30:01 +0000 (12:30 +0000)]
(bug 19858) Depreciated <big> tag replaced by style in all messages, see also:
http://translatewiki.net/w/i.php?title=Support&oldid=
1528886#MediaWiki:Mainpagetext.2Fen
ThomasV [Wed, 23 Sep 2009 12:28:19 +0000 (12:28 +0000)]
generic method to extract text layer of a document
Chad Horohoe [Wed, 23 Sep 2009 12:03:20 +0000 (12:03 +0000)]
Don't really need to make this <big>, <strong> will do.
Alexandre Emsenhuber [Wed, 23 Sep 2009 11:35:51 +0000 (11:35 +0000)]
*STAB* Fix for r56806: remove debugging code
Alexandre Emsenhuber [Wed, 23 Sep 2009 11:31:52 +0000 (11:31 +0000)]
* (bug 16310) Credits page now lists IP addresses rather than saying the number of anonymous users that edited the page
* Some whitespaces fixes
Siebrand Mazeland [Wed, 23 Sep 2009 07:09:50 +0000 (07:09 +0000)]
Remove a few language codes that were 'supported' without any localisation. Have no known projects that use localisation for them. Language support could be re-added if a sufficient localisation level would be reached in translatewiki.net.
* Ladin (lld) (added in r17267)
* Laz (lzz) (added in r17267)
* Megleno-Romanian (Greek script) (added in r30519)
Also removed trailing whitespace from file.
Aaron Schulz [Wed, 23 Sep 2009 03:42:18 +0000 (03:42 +0000)]
Missing commit for r56798
Aaron Schulz [Wed, 23 Sep 2009 00:34:57 +0000 (00:34 +0000)]
missing wfProfileOut() calls
Brion Vibber [Tue, 22 Sep 2009 23:44:32 +0000 (23:44 +0000)]
Workaround for bugs with Commonist (mwapi-based) and other upload bots.
The upload form recently started checking for wpEditToken, but this is only actually needed when we do uploads by URL -- file uploads can't be injected by a CSRF script. Now skipping the token check if the token was empty and we're doing a regular file upload.
Confirmed that Commonist current JNLP release can upload to Wikimedia Commons with this patch.
Aaron Schulz [Tue, 22 Sep 2009 22:56:54 +0000 (22:56 +0000)]
Set right-deletedcontent msg
Aaron Schulz [Tue, 22 Sep 2009 22:30:09 +0000 (22:30 +0000)]
* Split out 'deletedcontent' from 'undelete' right (bug 19199/bug 9884)
* Don't blue-link unviewable hidden revisions
Siebrand Mazeland [Tue, 22 Sep 2009 21:57:33 +0000 (21:57 +0000)]
Localisation updates for core messages from translatewiki.net 2009-09-22 21:29 UTC)
Happy-melon [Tue, 22 Sep 2009 20:05:28 +0000 (20:05 +0000)]
Allow extra buttons and hidden fields to be included in HTMLForm. Accessible either before Form construction (as HTMLFormField subclasses that can be passed in the Descriptor array as for other input) or after (as methods addHiddenField() and addButton(), respectively).
Michael Dale [Tue, 22 Sep 2009 19:22:26 +0000 (19:22 +0000)]
added missing json function in stand alone usage
Aryeh Gregor [Tue, 22 Sep 2009 17:41:34 +0000 (17:41 +0000)]
Fix "Invalid argument for foreach()" in Html
Reported by Nikerabbit on IRC to happen on Preferences, although I
couldn't reproduce immediately. The change should be helpful for this
kind of thing anyway.
Alexandre Emsenhuber [Tue, 22 Sep 2009 16:52:40 +0000 (16:52 +0000)]
* (bug 20631) Preview of personal JavaScript and CSS pages now works again
* introduced SkinTemplate::$useHeadElement as switch for backward compatibility for extension skins using the old way of generating the <head> element:
** false (default): no change from previous version
** true: <head> specific items set in SkinTemplate::outputPage() are no longer generated (avoid double execution of some functions) and the result of OutputPage::headElement() is stored in the 'headelement' item
* updated all core skin to use this new method, some extensions using MonoBookTemplate but not extending SkinMonoBook (or for other core skins) will need to set $useHeadElement to true to work properly though
* Made Skin::userCanPreview() public since it's needed in OutputPage::getHeadScripts()
* Pass the Skin object from OutputPage::headElement() to OutputPage::getHeadScripts() rather than getting it from $wgUser
Brion Vibber [Tue, 22 Sep 2009 16:50:09 +0000 (16:50 +0000)]
add ProofreadPage.sql
(todo: move this whole script out of core!)
Brion Vibber [Tue, 22 Sep 2009 16:41:04 +0000 (16:41 +0000)]
Fix regression in sql.php: needs to run w/ DB admin privileges in order to do DB updates
Alexandre Emsenhuber [Tue, 22 Sep 2009 11:13:41 +0000 (11:13 +0000)]
* (bug 20702) Parser functions can now be used correctly in MediaWiki:Missing-article
Siebrand Mazeland [Tue, 22 Sep 2009 10:42:20 +0000 (10:42 +0000)]
Follow-up to r56746: prevent notices by adding global $wgJsMimeType
Michael Dale [Tue, 22 Sep 2009 01:00:06 +0000 (01:00 +0000)]
* (bug 20720) moved userjs and sitejs to after core scripts and before all extension code.
* removed setupSkinUserJs (not called anywhere) same functionality in getHeadScripts
* moved Skin::getHeadScripts() to outputPage::getHeadScripts()
** ( part of an effort to clean up scripts insertion to OutputPage )
** Standard skin was the only skin that implemented the getHeadScripts method. Has been merged into a skin::OutputPage method.
Alex Z [Mon, 21 Sep 2009 23:40:42 +0000 (23:40 +0000)]
Add the user_properties table to the default for $wgSharedTables
Siebrand Mazeland [Mon, 21 Sep 2009 22:17:50 +0000 (22:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-21 21:55 UTC)
Alexandre Emsenhuber [Mon, 21 Sep 2009 20:31:33 +0000 (20:31 +0000)]
Fix for r56551: Added missing "</li>" when reducing indentation, passed validation with HTML 5, but not XHTML 1.0 Transitional :)
Alexandre Emsenhuber [Mon, 21 Sep 2009 20:06:28 +0000 (20:06 +0000)]
Just a little cosmetic change, removed empty line in <head> since OutputPage::headElement() already adds a new line to separate this from OutputPage::buildCssLinks()
Chad Horohoe [Mon, 21 Sep 2009 19:50:16 +0000 (19:50 +0000)]
(bug 20353) wfShellExec() malfunctioning on NT builds 6002 and above. Patch by Jimmy Xu.
Tobias [Mon, 21 Sep 2009 19:21:12 +0000 (19:21 +0000)]
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.
Andrew Garrett [Mon, 21 Sep 2009 17:34:24 +0000 (17:34 +0000)]
Use slave for unbuffered reading in cleanupTable.inc, leaving the master for buffered writing
Andrew Garrett [Mon, 21 Sep 2009 16:41:09 +0000 (16:41 +0000)]
Merge r56715 from wmf-deployment (Moved unbuffered-ness to below count query to fix brokenness)
Brion Vibber [Mon, 21 Sep 2009 16:33:42 +0000 (16:33 +0000)]
* (bug 20730) Fix to Special:Version ViewVC link for branch checkouts
Reverts r49997; link is now using the checkout revision which makes pathrev work properly again for branches, so we don't need to use the (apparently non-functional) revision parameter instead.