lhc/web/wiklou.git
15 years agoUpdate to r42587 -- use insert() DB wrapper instead of constructing raw SQL with...
Brion Vibber [Sun, 26 Oct 2008 01:55:17 +0000 (01:55 +0000)]
Update to r42587 -- use insert() DB wrapper instead of constructing raw SQL with unescaped strings (even if we assume they'll be safe... probably)

15 years agoRevert r42584 "Hook SkinTemplateTabAction now passes $title by reference allowing...
Brion Vibber [Sun, 26 Oct 2008 01:47:07 +0000 (01:47 +0000)]
Revert r42584 "Hook SkinTemplateTabAction now passes $title by reference allowing it to be changed by extensions"
$title is used previous to this call, so that isn't an appropriate place to change it.

15 years agoUpdate (Postgres) mediawiki_version table.
Greg Sabino Mullane [Sat, 25 Oct 2008 23:32:30 +0000 (23:32 +0000)]
Update (Postgres) mediawiki_version table.

15 years agoadded new hook, UserRights::showEditUserGroupsForm from Wikia codebase
Jack Phoenix [Sat, 25 Oct 2008 22:37:56 +0000 (22:37 +0000)]
added new hook, UserRights::showEditUserGroupsForm from Wikia codebase

15 years agoHook SkinTemplateTabAction now passes $title by reference allowing it to be changed...
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

15 years agoAPI: (bug 16115) API action=block dies with an exception when $wgBlockAllowsUTEdit...
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.

15 years agoFix for r42528 (enhanced RC JS/fallback fixes), use "visibility:hidden" rather than...
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.

15 years agoAdd quick script to update to the latest SVN version Wikimedia is using.
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.

15 years agoPostgres timestamps can have decimals.
Greg Sabino Mullane [Sat, 25 Oct 2008 20:35:14 +0000 (20:35 +0000)]
Postgres timestamps can have decimals.

15 years agoHold back r42568 for now "Re-committing r42528:" (enhanced RC no-JS fallbacks)
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. :)

15 years ago* Another conflicting special page alias translation fix
Niklas Laxström [Sat, 25 Oct 2008 20:12:00 +0000 (20:12 +0000)]
* Another conflicting special page alias translation fix

15 years agoRevert r42037 "Improve hidden field checks for bug 1181"
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.

15 years agoRe-committing r42528:
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.

15 years agoAdding an option to do the 'easy' checks in the language checking script, i.e. the...
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.

15 years agoLanguage checking script:
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.

15 years agoIgnore unrecognized magic words, to avoid warnings.
Rotem Liss [Sat, 25 Oct 2008 17:08:06 +0000 (17:08 +0000)]
Ignore unrecognized magic words, to avoid warnings.

15 years agoLocalisation updates: Adding/updating Persian translations
Huji [Sat, 25 Oct 2008 16:52:38 +0000 (16:52 +0000)]
Localisation updates: Adding/updating Persian translations

15 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Sat, 25 Oct 2008 16:31:29 +0000 (16:31 +0000)]
Localisation updates for core messages from Betawiki

15 years agoUnbreak special page aliases. Spotted by Splarka.
Siebrand Mazeland [Sat, 25 Oct 2008 16:30:05 +0000 (16:30 +0000)]
Unbreak special page aliases. Spotted by Splarka.

15 years agoDo a last check before creating the object to not throw a fatal error when calling...
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=

15 years agoAPI: (bug 16105) Image metadata attributes with spaces produce invalid XML. Just...
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.

15 years agoReverting messages from the reverted commits of Special:Search, and re-adding older...
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.

15 years agoFix RSS for non 'newbies' targets
Aaron Schulz [Sat, 25 Oct 2008 14:06:13 +0000 (14:06 +0000)]
Fix RSS for non 'newbies' targets

15 years agoRemoved all instances of empty() where error suppression was not intended. Replaced...
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.

15 years agoRemoved scary YAML parsing code, the function of which is to load from a user input...
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.

15 years agoRevert the cs part of r42225, following an IRC request by Danny B.
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.

15 years agoMore messages removed from reverted 42352
Siebrand Mazeland [Sat, 25 Oct 2008 09:47:27 +0000 (09:47 +0000)]
More messages removed from reverted 42352

15 years agoLocalisation updates for core messages. Rebuild language files after recent reverts...
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

15 years ago* Fix r41814: totally broken use of empty(), ignores conditions that compare with...
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

15 years agoReverted r42528. Links with href="#" make firefox scroll to the top of the page,...
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.

15 years agoFixed totally broken and obviously untested Interwiki::getInterwikiCached().
Tim Starling [Sat, 25 Oct 2008 05:45:07 +0000 (05:45 +0000)]
Fixed totally broken and obviously untested Interwiki::getInterwikiCached().

15 years agoRe-committing r42514:
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.

15 years agoRestore all the search messages destroyed by r42366
Brion Vibber [Sat, 25 Oct 2008 00:41:08 +0000 (00:41 +0000)]
Restore all the search messages destroyed by r42366

15 years agoBack out r42352, r42355, r42363, r42410 for now "Redesigning Special:Search"
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.

15 years agoRevert r42514 for now "(bug 16073) * Use onclick handler for expand/collapse in enhan...
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

15 years agoLocalisation updates for core messages from Betawiki (2008-10-25 01:32 CEST)
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)

15 years ago(bug 16073) * Use onclick handler for expand/collapse in enhanced recentchanges.
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.

15 years agoAPI: * Fix up r42471 which hardcoded pl_from instead of using $this->bl_from
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

15 years ago(bug 15726) Namespace aliases for Malayalam
Siebrand Mazeland [Fri, 24 Oct 2008 20:24:04 +0000 (20:24 +0000)]
(bug 15726) Namespace aliases for Malayalam

15 years ago(bug 15880) Namespace alias for Special: for Korean.
Siebrand Mazeland [Fri, 24 Oct 2008 19:39:38 +0000 (19:39 +0000)]
(bug 15880) Namespace alias for Special: for Korean.

15 years agoAPI: Partial fix of bug 16076: use pl_from instead of page_id in list=backlinks query...
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)

15 years agoLocalization update.
Rotem Liss [Fri, 24 Oct 2008 17:41:55 +0000 (17:41 +0000)]
Localization update.

15 years agoLocalization update for he.
Rotem Liss [Fri, 24 Oct 2008 17:31:04 +0000 (17:31 +0000)]
Localization update for he.

15 years ago* Added a special user for nagios
Tim Starling [Fri, 24 Oct 2008 15:17:57 +0000 (15:17 +0000)]
* Added a special user for nagios
* Deleted obsolete yaseo configuration

15 years ago(bug 12764) Special:LonelyPages shows transcluded pages
Huji [Fri, 24 Oct 2008 13:34:17 +0000 (13:34 +0000)]
(bug 12764) Special:LonelyPages shows transcluded pages

15 years agoAPI: * BREAKING CHANGE: (bug 16074) Providing prop=revisions&rvprop=content with...
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()

15 years agoAPI: Added redirect resolution to action=parse. Based on a patch by Robert Chin
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

15 years agoreset password attempt throttle at successful logins
Domas Mituzas [Fri, 24 Oct 2008 09:07:43 +0000 (09:07 +0000)]
reset password attempt throttle at successful logins

15 years agoLocalisation updates for core messages from Betawiki (2008-10-24 10:41 CEST)
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)

15 years agoFix typo in comments. Noticed by UV on http://www.mediawiki.org/wiki/Special:Code...
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

15 years agoFollow up on r42400. Rename 'confirm_purge' to 'confirm-purge-top' and remove $1...
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.

15 years agoDon't show a broken wikilink to Special:Allpages when searching for an invalid title.
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.

15 years agoCleanup for purge form:
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.

15 years agoFixed the expansion depth limit feature, broken by Brion in r32550. This may be the...
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

15 years agoMake search matches bold only, not red as well
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).

15 years agoCentralize .searchmatch coloring in shared.css
Aryeh Gregor [Thu, 23 Oct 2008 14:15:17 +0000 (14:15 +0000)]
Centralize .searchmatch coloring in shared.css

15 years agoLocalization update.
Rotem Liss [Thu, 23 Oct 2008 13:27:34 +0000 (13:27 +0000)]
Localization update.

15 years agoLocalisation updates for core messages from Betawiki (2008-10-23 13:43 CEST)
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)

15 years ago* add message 'searchhelp-url' to enable proper localisation for 'searchmenu'
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

15 years agoLocalization update for he, and matching messages.inc to the English file.
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.

15 years agofix XHTML error per report on [[Special:Code/MediaWiki/42352]]
Alexandre Emsenhuber [Thu, 23 Oct 2008 10:33:01 +0000 (10:33 +0000)]
fix XHTML error per report on [[Special:Code/MediaWiki/42352]]

15 years agoOne more "image" -> "file"
Siebrand Mazeland [Thu, 23 Oct 2008 10:06:37 +0000 (10:06 +0000)]
One more "image" -> "file"

15 years ago* article -> page
Siebrand Mazeland [Thu, 23 Oct 2008 05:55:05 +0000 (05:55 +0000)]
* article -> page
* image -> file

15 years agoThrow a fieldset around the new search options.
Chad Horohoe [Thu, 23 Oct 2008 00:28:29 +0000 (00:28 +0000)]
Throw a fieldset around the new search options.

15 years agoAnd update release notes for previous commit
Robert Stojnić [Wed, 22 Oct 2008 23:09:45 +0000 (23:09 +0000)]
And update release notes for previous commit

15 years agoRedesign Special:Search:
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.

15 years agoAdd HTML <link rel="edit"> alongside the original UniversalEditButton application...
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

15 years agoAPI: (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics output
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

15 years agoAdd 'mk' specific date/time formats per request on Translatewiki
Raimond Spekking [Wed, 22 Oct 2008 11:07:35 +0000 (11:07 +0000)]
Add 'mk' specific date/time formats per request on Translatewiki

15 years agoSet minimum width for TablePager tables to 80%. It's really annoying when they're...
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.

15 years agoFix some strict standards on function declaration. Others might need this too, but...
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.

15 years ago* I thougth that this invalid html was fixed long ago
Niklas Laxström [Tue, 21 Oct 2008 15:08:02 +0000 (15:08 +0000)]
* I thougth that this invalid html was fixed long ago

15 years ago* Unused global
Niklas Laxström [Tue, 21 Oct 2008 15:05:10 +0000 (15:05 +0000)]
* Unused global

15 years agoLocalization fixes for he.
Rotem Liss [Tue, 21 Oct 2008 12:41:59 +0000 (12:41 +0000)]
Localization fixes for he.

15 years agoLocalization fixes.
Rotem Liss [Tue, 21 Oct 2008 10:31:08 +0000 (10:31 +0000)]
Localization fixes.

15 years agoLocalization fix.
Rotem Liss [Tue, 21 Oct 2008 09:46:52 +0000 (09:46 +0000)]
Localization fix.

15 years agoRemoving a debug line.
Rotem Liss [Tue, 21 Oct 2008 09:34:01 +0000 (09:34 +0000)]
Removing a debug line.

15 years agoLocalization update.
Rotem Liss [Tue, 21 Oct 2008 09:31:45 +0000 (09:31 +0000)]
Localization update.

15 years ago* New features for checking languages: Checking namespace names, skin names, magic...
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.

15 years ago(bug 16006) Set $wgEnableWriteAPI to true by default
Bryan Tong Minh [Tue, 21 Oct 2008 08:27:16 +0000 (08:27 +0000)]
(bug 16006) Set $wgEnableWriteAPI to true by default

15 years agoUse wfMkdirParents() here, rather than 3 mkdir() calls.
Chad Horohoe [Tue, 21 Oct 2008 00:39:48 +0000 (00:39 +0000)]
Use wfMkdirParents() here, rather than 3 mkdir() calls.

15 years agoRevert previous commit, breaks cache.
Chad Horohoe [Tue, 21 Oct 2008 00:26:28 +0000 (00:26 +0000)]
Revert previous commit, breaks cache.

15 years ago(bug 2508) Don't show edit button if user is blocked, show 'viewsource' instead.
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.

15 years ago(bug 16055) Fix duplicated ids on deleted diff view
Aaron Schulz [Mon, 20 Oct 2008 22:01:55 +0000 (22:01 +0000)]
(bug 16055) Fix duplicated ids on deleted diff view

15 years agoLocalization fix.
Rotem Liss [Mon, 20 Oct 2008 16:36:27 +0000 (16:36 +0000)]
Localization fix.

15 years agoLocalization update for he.
Rotem Liss [Mon, 20 Oct 2008 16:28:48 +0000 (16:28 +0000)]
Localization update for he.

15 years agoLocalisation updates for core messages from Betawiki (2008-10-20 17:35 CEST)
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)

15 years agoFollow up for r41672: 'nosuchuser' is used twice
Raimond Spekking [Mon, 20 Oct 2008 13:11:47 +0000 (13:11 +0000)]
Follow up for r41672: 'nosuchuser' is used twice

15 years agoPer r42245: Document available parameters
Raimond Spekking [Mon, 20 Oct 2008 11:28:12 +0000 (11:28 +0000)]
Per r42245: Document available parameters

15 years agoConvert literal tabs to &#9; when passing them through Tidy, to prevent them from...
Fran Rogers [Mon, 20 Oct 2008 06:46:09 +0000 (06:46 +0000)]
Convert literal tabs to &#9; when passing them through Tidy, to prevent them from being clobbered.

15 years agoFor consistency, make the DeletedContributions pager use (Latest | Earliest) instead...
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)

15 years agoUse the ContributionsToolLinks hook on Deleted Contributions. Patch by FunPika.
Fran Rogers [Mon, 20 Oct 2008 06:03:28 +0000 (06:03 +0000)]
Use the ContributionsToolLinks hook on Deleted Contributions. Patch by FunPika.

15 years agoOops, committed in includes. This has the rest of the changes.
Andrew Garrett [Mon, 20 Oct 2008 04:25:19 +0000 (04:25 +0000)]
Oops, committed in includes. This has the rest of the changes.

15 years agoRevert r38686, per comments on CodeReview (in brief, the backslashes and such are...
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.

15 years agoAdd revision ID to revision-info-current, revision-info messages, for diffs and stuff.
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.

15 years agoBack out r42188 for now "* Disable this entirely unless curl is available so we don...
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.

15 years agoBack out r42182 for now "Move UDP stuff to new UDP class"
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.

15 years agoBack out r42181 "(bug 6179) Actually the log for people who can't edit"
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...

15 years agoBacking out r42128 for now "added 'UnwatchArticle', 'WatchArticle' and 'WatchArticleC...
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.

15 years agoLocalisation updates for core messages from Betawiki (2008-10-19 23:40 CEST)
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)