Jack Phoenix [Sat, 25 Oct 2008 22:37:56 +0000 (22:37 +0000)]
added new hook, UserRights::showEditUserGroupsForm from Wikia codebase
Bryan Tong Minh [Sat, 25 Oct 2008 22:25:24 +0000 (22:25 +0000)]
Hook SkinTemplateTabAction now passes $title by reference allowing it to be changed by extensions
Roan Kattouw [Sat, 25 Oct 2008 22:22:22 +0000 (22:22 +0000)]
API: (bug 16115) API action=block dies with an exception when $wgBlockAllowsUTEdit is not a boolean (e.g. set to 1). While this shouldn't be done, of course, we can at least handle it more gracefully.
Alex Z [Sat, 25 Oct 2008 20:57:56 +0000 (20:57 +0000)]
Fix for r42528 (enhanced RC JS/fallback fixes), use "visibility:hidden" rather than "display:none" to hide the arrow for non-JS for proper spacing.
Bryan Tong Minh [Sat, 25 Oct 2008 20:53:44 +0000 (20:53 +0000)]
Add quick script to update to the latest SVN version Wikimedia is using.
Greg Sabino Mullane [Sat, 25 Oct 2008 20:35:14 +0000 (20:35 +0000)]
Postgres timestamps can have decimals.
Brion Vibber [Sat, 25 Oct 2008 20:30:19 +0000 (20:30 +0000)]
Hold back r42568 for now "Re-committing r42528:" (enhanced RC no-JS fallbacks)
Still not quite right -- entries don't line up correctly with JS mode out. Didn't do much further testing on it beyond that since I'm trying to get trunk working. :)
Niklas Laxström [Sat, 25 Oct 2008 20:12:00 +0000 (20:12 +0000)]
* Another conflicting special page alias translation fix
Brion Vibber [Sat, 25 Oct 2008 20:09:01 +0000 (20:09 +0000)]
Revert r42037 "Improve hidden field checks for bug 1181"
I don't think this check has any real benefit, since in the form the fields appear before the text box there's basically no way to submit the form without them. However the more stringent checks are causing disruption to bot edit tools, which annoys people, so I'm backing it out for the time being.
Alex Z [Sat, 25 Oct 2008 19:05:05 +0000 (19:05 +0000)]
Re-committing r42528:
*Add "return false" to the onclick handler, which fixes the reason it was reverted (link causes Firefox to scroll to the top of the page) for JS-enabled browsers
*Hide both arrows for JS-disabled so the link (which does nothing without JS) isn't there to mess up scrolling or break horribly with paranoid browser extensions
*Tested for compatibility in Firefox 3.0.3, IE7, Safari 3.1.2, and Opera 9.52.
Rotem Liss [Sat, 25 Oct 2008 17:35:26 +0000 (17:35 +0000)]
Adding an option to do the 'easy' checks in the language checking script, i.e. the checks that a non-speaker of the language can usually fix.
Rotem Liss [Sat, 25 Oct 2008 17:24:37 +0000 (17:24 +0000)]
Language checking script:
* Checking for non-existant magic words and special pages.
* Cleanup for total count check.
Rotem Liss [Sat, 25 Oct 2008 17:08:06 +0000 (17:08 +0000)]
Ignore unrecognized magic words, to avoid warnings.
Huji [Sat, 25 Oct 2008 16:52:38 +0000 (16:52 +0000)]
Localisation updates: Adding/updating Persian translations
Siebrand Mazeland [Sat, 25 Oct 2008 16:31:29 +0000 (16:31 +0000)]
Localisation updates for core messages from Betawiki
Siebrand Mazeland [Sat, 25 Oct 2008 16:30:05 +0000 (16:30 +0000)]
Unbreak special page aliases. Spotted by Splarka.
Alexandre Emsenhuber [Sat, 25 Oct 2008 16:23:09 +0000 (16:23 +0000)]
Do a last check before creating the object to not throw a fatal error when calling api.php?format=
Roan Kattouw [Sat, 25 Oct 2008 15:53:58 +0000 (15:53 +0000)]
API: (bug 16105) Image metadata attributes with spaces produce invalid XML. Just replace spaces with underscores in the XML formatter and be done with it.
Rotem Liss [Sat, 25 Oct 2008 14:09:24 +0000 (14:09 +0000)]
Reverting messages from the reverted commits of Special:Search, and re-adding older messages.
Aaron Schulz [Sat, 25 Oct 2008 14:06:13 +0000 (14:06 +0000)]
Fix RSS for non 'newbies' targets
Tim Starling [Sat, 25 Oct 2008 14:04:43 +0000 (14:04 +0000)]
Removed all instances of empty() where error suppression was not intended. Replaced with conversion to boolean, count() or empty string check as appropriate. Fixes a number of bugs due to incorrect conversion to boolean: suppressed edit summaries containing '0', ignored titles called '0', searches for '0' ignored, etc.
Tim Starling [Sat, 25 Oct 2008 14:01:35 +0000 (14:01 +0000)]
Removed scary YAML parsing code, the function of which is to load from a user input string, except if the string has no line breaks in it, in which case an arbitrary local file/URL is loaded and handed to the attacker on a nicely encapsulated silver platter. Doesn't appear to be used either by core or extensions, but you never know when someone might try.
Tim Starling [Sat, 25 Oct 2008 12:56:59 +0000 (12:56 +0000)]
Revert the cs part of r42225, following an IRC request by Danny B.
Siebrand Mazeland [Sat, 25 Oct 2008 09:47:27 +0000 (09:47 +0000)]
More messages removed from reverted 42352
Siebrand Mazeland [Sat, 25 Oct 2008 09:29:11 +0000 (09:29 +0000)]
Localisation updates for core messages. Rebuild language files after recent reverts related to Special:Search
Tim Starling [Sat, 25 Oct 2008 08:13:40 +0000 (08:13 +0000)]
* Fix r41814: totally broken use of empty(), ignores conditions that compare with numeric zero. I've told you before, don't use empty() to test for zero-length arrays.
* Fix r34767: wrong indexes used in ApiQueryLogEvents
Tim Starling [Sat, 25 Oct 2008 05:52:54 +0000 (05:52 +0000)]
Reverted r42528. Links with href="#" make firefox scroll to the top of the page, regardless of onclick handler.
Tim Starling [Sat, 25 Oct 2008 05:45:07 +0000 (05:45 +0000)]
Fixed totally broken and obviously untested Interwiki::getInterwikiCached().
Alex Z [Sat, 25 Oct 2008 02:27:27 +0000 (02:27 +0000)]
Re-committing r42514:
(bug 16073) * Use onclick handler for expand/collapse in enhanced recentchanges.
* Hide the expandable content with JavaScript for better fallback if JS is disabled for whatever reason.
* Move enhancedchanges JS to separate file.
* Less cryptic id names.
with some tweaks suggested by Brion and Danny B on the bug.
Brion Vibber [Sat, 25 Oct 2008 00:41:08 +0000 (00:41 +0000)]
Restore all the search messages destroyed by r42366
Brion Vibber [Sat, 25 Oct 2008 00:25:51 +0000 (00:25 +0000)]
Back out r42352, r42355, r42363, r42410 for now "Redesigning Special:Search"
It's still very awkward, with weird error messages, some styling issues, and generally needs a lot of polish. Not ready to go live.
Brion Vibber [Sat, 25 Oct 2008 00:10:07 +0000 (00:10 +0000)]
Revert r42514 for now "(bug 16073) * Use onclick handler for expand/collapse in enhanced recentchanges."
A few issues I noted:
* The expand/contract icons no longer have regular link behavior (eg no hand icon, can't be reached by keyboard tabbing)
* It looks like the stuff-to-be-hidden doesn't get hidden until after the </body>, which feels a little sketchy to me. On long lists and slow connections you may see odd behavior with the items being shown expanded, then suddenly hiding when things reach the end. Adding the style immediately in the JS instead of waiting for the body load completion should avoid that
* mw-rc-jshidden class seems to be applied to things that shouldn't have it sincec they are explicitly given display:none?
* Instead of style='display:none' etc, consider using clear classes for expanded and hidden modes, then switch the classes instead of the styles in the JS
Siebrand Mazeland [Fri, 24 Oct 2008 23:42:09 +0000 (23:42 +0000)]
Localisation updates for core messages from Betawiki (2008-10-25 01:32 CEST)
Alex Z [Fri, 24 Oct 2008 23:10:12 +0000 (23:10 +0000)]
(bug 16073) * Use onclick handler for expand/collapse in enhanced recentchanges.
* Hide the expandable content with JavaScript for better fallback if JS is disabled for whatever reason.
* Move enhancedchanges JS to separate file.
* Less cryptic id names.
Roan Kattouw [Fri, 24 Oct 2008 22:22:40 +0000 (22:22 +0000)]
API: * Fix up r42471 which hardcoded pl_from instead of using $this->bl_from
* Fix the second half of bug 16076 (using pl_from>=123 in combination with multiple values for pl_namespace and pl_title causes filesort)
* By pure accident this fixes a bug about list=backlinks&blredirect dropping results under obscure conditions
Siebrand Mazeland [Fri, 24 Oct 2008 20:24:04 +0000 (20:24 +0000)]
(bug 15726) Namespace aliases for Malayalam
Siebrand Mazeland [Fri, 24 Oct 2008 19:39:38 +0000 (19:39 +0000)]
(bug 15880) Namespace alias for Special: for Korean.
Roan Kattouw [Fri, 24 Oct 2008 18:54:02 +0000 (18:54 +0000)]
API: Partial fix of bug 16076: use pl_from instead of page_id in list=backlinks query. The two are equal because of the JOIN clause, but pl_from is indexed whereas page_id isn't (MySQL 5 automatically rewrites this, 4 doesn't)
Rotem Liss [Fri, 24 Oct 2008 17:41:55 +0000 (17:41 +0000)]
Localization update.
Rotem Liss [Fri, 24 Oct 2008 17:31:04 +0000 (17:31 +0000)]
Localization update for he.
Tim Starling [Fri, 24 Oct 2008 15:17:57 +0000 (15:17 +0000)]
* Added a special user for nagios
* Deleted obsolete yaseo configuration
Huji [Fri, 24 Oct 2008 13:34:17 +0000 (13:34 +0000)]
(bug 12764) Special:LonelyPages shows transcluded pages
Roan Kattouw [Fri, 24 Oct 2008 13:05:44 +0000 (13:05 +0000)]
API: * BREAKING CHANGE: (bug 16074) Providing prop=revisions&rvprop=content with too many titles or revisions (typically through a generator) no longer causes an error, but a warning
* Added ApiBase::truncateArray() and used it in ApiBase::parseMultiValue()
Roan Kattouw [Fri, 24 Oct 2008 12:28:14 +0000 (12:28 +0000)]
API: Added redirect resolution to action=parse. Based on a patch by Robert Chin
Domas Mituzas [Fri, 24 Oct 2008 09:07:43 +0000 (09:07 +0000)]
reset password attempt throttle at successful logins
Siebrand Mazeland [Fri, 24 Oct 2008 08:52:11 +0000 (08:52 +0000)]
Localisation updates for core messages from Betawiki (2008-10-24 10:41 CEST)
Siebrand Mazeland [Fri, 24 Oct 2008 07:39:59 +0000 (07:39 +0000)]
Fix typo in comments. Noticed by UV on mediawiki.org/wiki/Special:Code/MediaWiki/42260#c379
Siebrand Mazeland [Thu, 23 Oct 2008 22:14:20 +0000 (22:14 +0000)]
Follow up on r42400. Rename 'confirm_purge' to 'confirm-purge-top' and remove $1. Rebuild all message files.
Alex Z [Thu, 23 Oct 2008 21:13:08 +0000 (21:13 +0000)]
Don't show a broken wikilink to Special:Allpages when searching for an invalid title.
Alex Z [Thu, 23 Oct 2008 20:44:56 +0000 (20:44 +0000)]
Cleanup for purge form:
*(bug 8992) Use $wgRequest instead of $_SERVER (patch by Andrea Matsunaga)
*Valid XHTML and less strange message usage.
Tim Starling [Thu, 23 Oct 2008 14:40:10 +0000 (14:40 +0000)]
Fixed the expansion depth limit feature, broken by Brion in r32550. This may be the cause of the reported regressions when upgrading from 1.12 to 1.13 in the presence of certain extensions, e.g. mwusers.com/forums/showthread.php?t=8651
Aryeh Gregor [Thu, 23 Oct 2008 14:15:24 +0000 (14:15 +0000)]
Make search matches bold only, not red as well
This matches the behavior of Google, Yahoo!, and MSN, probably among others. The red is unnecessarily aggressive, and looks particularly garish if a match occurs in page titles (with red and blue mixed together).
Note that this was the old behavior of the Simple skin anyway (before my last commit).
Aryeh Gregor [Thu, 23 Oct 2008 14:15:17 +0000 (14:15 +0000)]
Centralize .searchmatch coloring in shared.css
Rotem Liss [Thu, 23 Oct 2008 13:27:34 +0000 (13:27 +0000)]
Localization update.
Siebrand Mazeland [Thu, 23 Oct 2008 11:55:16 +0000 (11:55 +0000)]
Localisation updates for core messages from Betawiki (2008-10-23 13:43 CEST)
Siebrand Mazeland [Thu, 23 Oct 2008 11:28:30 +0000 (11:28 +0000)]
* add message 'searchhelp-url' to enable proper localisation for 'searchmenu'
* rebuild all messages files
Rotem Liss [Thu, 23 Oct 2008 10:46:14 +0000 (10:46 +0000)]
Localization update for he, and matching messages.inc to the English file.
Alexandre Emsenhuber [Thu, 23 Oct 2008 10:33:01 +0000 (10:33 +0000)]
fix XHTML error per report on [[Special:Code/MediaWiki/42352]]
Siebrand Mazeland [Thu, 23 Oct 2008 10:06:37 +0000 (10:06 +0000)]
One more "image" -> "file"
Siebrand Mazeland [Thu, 23 Oct 2008 05:55:05 +0000 (05:55 +0000)]
* article -> page
* image -> file
Chad Horohoe [Thu, 23 Oct 2008 00:28:29 +0000 (00:28 +0000)]
Throw a fieldset around the new search options.
Robert Stojnić [Wed, 22 Oct 2008 23:09:45 +0000 (23:09 +0000)]
And update release notes for previous commit
Robert Stojnić [Wed, 22 Oct 2008 23:08:07 +0000 (23:08 +0000)]
Redesign Special:Search:
* remove all horrible long messages that just kept being sticked on the search page. There is
no reason to show long messages on *every search* to *everyone*, use the Help link instead
* organize search options into a straighforward menu on right side of search box
* Search box now comes with a header for quickly switching between typical namespace groups:
- Articles - wgNamespacesToBeSearchedDefault namespaces, default for anons
- Articles/Project - wgNamespacesToBeSearchedDefault + wgNamespacesToBeSearchedProject,
default for logged-in users. Contains namespaces like main, user, project, etc..
- Images - local/commons images
- Everything - quick link to search *all* namespaces
- Advanced - this will show our powerbox, which is now not shown on every page
Preferences change:
* logged-in users by default search more namespaces than anons, this relies on assumption
that logged in users are more likely to be regular contributors in a community, and
thus be interested in community stuff as well as articles
* bug 14609, if users leave their namespaces settings on default, changing default
search namespaces will change users namespaces as well
Images:
* bug 5101. Don't hide commons images as broken links if search backend is smart enough to
return them.
Brion Vibber [Wed, 22 Oct 2008 18:07:15 +0000 (18:07 +0000)]
Add HTML <link rel="edit"> alongside the original UniversalEditButton application/x-wiki funky link, per suggestions at universaleditbutton.org/Suggestions#Linking_Scheme
Roan Kattouw [Wed, 22 Oct 2008 12:16:24 +0000 (12:16 +0000)]
API: (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics output
Raimond Spekking [Wed, 22 Oct 2008 11:07:35 +0000 (11:07 +0000)]
Add 'mk' specific date/time formats per request on Translatewiki
Andrew Garrett [Wed, 22 Oct 2008 06:59:48 +0000 (06:59 +0000)]
Set minimum width for TablePager tables to 80%. It's really annoying when they're about a sixth of the screen width, and grow and shrink on the slightest change to their contents.
Chad Horohoe [Wed, 22 Oct 2008 01:00:23 +0000 (01:00 +0000)]
Fix some strict standards on function declaration. Others might need this too, but these methods were mentioned in bug 16060.
Niklas Laxström [Tue, 21 Oct 2008 15:08:02 +0000 (15:08 +0000)]
* I thougth that this invalid html was fixed long ago
Niklas Laxström [Tue, 21 Oct 2008 15:05:10 +0000 (15:05 +0000)]
* Unused global
Rotem Liss [Tue, 21 Oct 2008 12:41:59 +0000 (12:41 +0000)]
Localization fixes for he.
Rotem Liss [Tue, 21 Oct 2008 10:31:08 +0000 (10:31 +0000)]
Localization fixes.
Rotem Liss [Tue, 21 Oct 2008 09:46:52 +0000 (09:46 +0000)]
Localization fix.
Rotem Liss [Tue, 21 Oct 2008 09:34:01 +0000 (09:34 +0000)]
Removing a debug line.
Rotem Liss [Tue, 21 Oct 2008 09:31:45 +0000 (09:31 +0000)]
Localization update.
Rotem Liss [Tue, 21 Oct 2008 09:29:47 +0000 (09:29 +0000)]
* New features for checking languages: Checking namespace names, skin names, magic words and special page aliases. No support for extensions yet.
* Code cleanup, whitespace and documentation for the language checking scripts.
Bryan Tong Minh [Tue, 21 Oct 2008 08:27:16 +0000 (08:27 +0000)]
(bug 16006) Set $wgEnableWriteAPI to true by default
Chad Horohoe [Tue, 21 Oct 2008 00:39:48 +0000 (00:39 +0000)]
Use wfMkdirParents() here, rather than 3 mkdir() calls.
Chad Horohoe [Tue, 21 Oct 2008 00:26:28 +0000 (00:26 +0000)]
Revert previous commit, breaks cache.
Chad Horohoe [Tue, 21 Oct 2008 00:04:33 +0000 (00:04 +0000)]
(bug 2508) Don't show edit button if user is blocked, show 'viewsource' instead.
Aaron Schulz [Mon, 20 Oct 2008 22:01:55 +0000 (22:01 +0000)]
(bug 16055) Fix duplicated ids on deleted diff view
Rotem Liss [Mon, 20 Oct 2008 16:36:27 +0000 (16:36 +0000)]
Localization fix.
Rotem Liss [Mon, 20 Oct 2008 16:28:48 +0000 (16:28 +0000)]
Localization update for he.
Siebrand Mazeland [Mon, 20 Oct 2008 15:43:04 +0000 (15:43 +0000)]
Localisation updates for core messages from Betawiki (2008-10-20 17:35 CEST)
Raimond Spekking [Mon, 20 Oct 2008 13:11:47 +0000 (13:11 +0000)]
Follow up for r41672: 'nosuchuser' is used twice
Raimond Spekking [Mon, 20 Oct 2008 11:28:12 +0000 (11:28 +0000)]
Per r42245: Document available parameters
Fran Rogers [Mon, 20 Oct 2008 06:46:09 +0000 (06:46 +0000)]
Convert literal tabs to 	 when passing them through Tidy, to prevent them from being clobbered.
Fran Rogers [Mon, 20 Oct 2008 06:14:08 +0000 (06:14 +0000)]
For consistency, make the DeletedContributions pager use (Latest | Earliest) instead of (first | last)
Fran Rogers [Mon, 20 Oct 2008 06:03:28 +0000 (06:03 +0000)]
Use the ContributionsToolLinks hook on Deleted Contributions. Patch by FunPika.
Andrew Garrett [Mon, 20 Oct 2008 04:25:19 +0000 (04:25 +0000)]
Oops, committed in includes. This has the rest of the changes.
Andrew Garrett [Mon, 20 Oct 2008 04:24:39 +0000 (04:24 +0000)]
Revert r38686, per comments on CodeReview (in brief, the backslashes and such are very annoying. This is not LaTeX!). Took quite a bit of conflict resolution.
Andrew Garrett [Mon, 20 Oct 2008 01:27:10 +0000 (01:27 +0000)]
Add revision ID to revision-info-current, revision-info messages, for diffs and stuff.
Brion Vibber [Mon, 20 Oct 2008 00:16:29 +0000 (00:16 +0000)]
Back out r42188 for now "* Disable this entirely unless curl is available so we don't blow up. Needs a-fixin
* Move the curl calls to http::request() so we can at least start to make this work for the file_get_contents() fallback"
Sticking CURL-specific options in the Http::get call seems unwise as that ties you to a specific backend, assuming Http::get won't change. Further, it seems that if it does use the backend, it just plain won't work -- the returned data will be thrown away instead of saved to the target file.
Brion Vibber [Sun, 19 Oct 2008 23:59:39 +0000 (23:59 +0000)]
Back out r42182 for now "Move UDP stuff to new UDP class"
UDP isn't a very clear name for this, especially since we use UDP protocols for multiple different things!
This class should probably be genericized a bit for _change notifications_, which there might be multiple backend implementations for, including the UDP->IRC bot gateway.
Brion Vibber [Sun, 19 Oct 2008 23:53:52 +0000 (23:53 +0000)]
Back out r42181 "(bug 6179) Actually the log for people who can't edit"
There's no link to the full log; the last entry may not always be very clear. It's also pretty long and technical, filled with crap like:
23:49, 19 October 2008 WikiSysop (Talk | contribs) changed protection level for "Main Page" [edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite) (hist)
It would probably be more user-friendly to show the comment describing the purpose of the protection... which of course might not have anything to do with the last log entry (which might be "changing expiration date" or something).
Backing out for now...
Brion Vibber [Sun, 19 Oct 2008 23:08:23 +0000 (23:08 +0000)]
Backing out r42128 for now "added 'UnwatchArticle', 'WatchArticle' and 'WatchArticleComplete' in response to code review of rev 42109"
Article::newFromId() does an individual id->title lookup in the database, making this potentially very expensive -- we could run thousands of queries in a row.
Siebrand Mazeland [Sun, 19 Oct 2008 22:17:39 +0000 (22:17 +0000)]
Localisation updates for core messages from Betawiki (2008-10-19 23:40 CEST)
Aaron Schulz [Sun, 19 Oct 2008 21:20:35 +0000 (21:20 +0000)]
Tweak message
Siebrand Mazeland [Sun, 19 Oct 2008 19:17:47 +0000 (19:17 +0000)]
Remove hard coded colon in h2 after loginerror
Siebrand Mazeland [Sun, 19 Oct 2008 14:04:41 +0000 (14:04 +0000)]
Localisation updates. Fix syntax error.