lhc/web/wiklou.git
15 years agoParanoid page table check
Aaron Schulz [Tue, 28 Oct 2008 21:22:20 +0000 (21:22 +0000)]
Paranoid page table check

15 years agoDon't use public-audience-only function
Aaron Schulz [Tue, 28 Oct 2008 20:15:37 +0000 (20:15 +0000)]
Don't use public-audience-only function

15 years agoLocalisation updates special page aliases from Betawiki.
Siebrand Mazeland [Tue, 28 Oct 2008 19:11:29 +0000 (19:11 +0000)]
Localisation updates special page aliases from Betawiki.

15 years agousertext, not user :)
Domas Mituzas [Tue, 28 Oct 2008 18:49:00 +0000 (18:49 +0000)]
usertext, not user :)

15 years agoFixes for r42735:
Alexandre Emsenhuber [Tue, 28 Oct 2008 18:42:49 +0000 (18:42 +0000)]
Fixes for r42735:
* option's name is USE INDEX
* use the index is user_timestamp (per domas)
* force it on the 'revision' table, not 'page'

15 years agoLocalization update.
Rotem Liss [Tue, 28 Oct 2008 18:23:52 +0000 (18:23 +0000)]
Localization update.

15 years agoadd an id to form elements
Alex Z [Tue, 28 Oct 2008 18:05:25 +0000 (18:05 +0000)]
add an id to form elements

15 years agoUse FORCE INDEX here, because Domas said we should :) All hail Domas.
Chad Horohoe [Tue, 28 Oct 2008 17:51:38 +0000 (17:51 +0000)]
Use FORCE INDEX here, because Domas said we should :) All hail Domas.

15 years agoFix docs
Tim Starling [Tue, 28 Oct 2008 14:55:42 +0000 (14:55 +0000)]
Fix docs

15 years agoAPI: (bug 16158) Generators choke on pagelinks entries with negative pl_namespace...
Roan Kattouw [Tue, 28 Oct 2008 14:35:48 +0000 (14:35 +0000)]
API: (bug 16158) Generators choke on pagelinks entries with negative pl_namespace. Throw a warning instead of an error for the time being

15 years agoAPI: * (bug 16159) Add wlshow=patrolled|!patrolled to list=watchlist
Roan Kattouw [Tue, 28 Oct 2008 14:20:29 +0000 (14:20 +0000)]
API: * (bug 16159) Add wlshow=patrolled|!patrolled to list=watchlist
* Followup of r42077: fix bug 15945 (use User::useRCPatrol() and useNPPatrol() rather than isAllowed('patrol')) for list=watchlist as well

15 years ago(bug 16160) Suggestion box should be resized from left in RTl layout
Huji [Tue, 28 Oct 2008 14:08:30 +0000 (14:08 +0000)]
(bug 16160) Suggestion box should be resized from left in RTl layout

15 years agoMove getEarliestTime() to Title
Aaron Schulz [Tue, 28 Oct 2008 13:42:05 +0000 (13:42 +0000)]
Move getEarliestTime() to Title

15 years agoUse $wgJsMimeType for JavaScript's Mime type
Alexandre Emsenhuber [Tue, 28 Oct 2008 12:41:51 +0000 (12:41 +0000)]
Use $wgJsMimeType for JavaScript's Mime type

15 years agoAdding function hook for numberofviews
Nicolas Dumazet [Tue, 28 Oct 2008 09:24:52 +0000 (09:24 +0000)]
Adding function hook for numberofviews

15 years agoTweak 'unusedtemplatestext': use "{{ns:template}}" instead of "template"
Siebrand Mazeland [Tue, 28 Oct 2008 08:37:47 +0000 (08:37 +0000)]
Tweak 'unusedtemplatestext': use "{{ns:template}}" instead of "template"

15 years ago(bug 15765) Fix inconsistent "talk" for NS_PROJECT_TALK
Siebrand Mazeland [Tue, 28 Oct 2008 08:30:31 +0000 (08:30 +0000)]
(bug 15765) Fix inconsistent "talk" for NS_PROJECT_TALK

15 years agoLocalisation updates: Adding/updating Persian translations: "Type" is not a Persian...
Huji [Tue, 28 Oct 2008 08:29:15 +0000 (08:29 +0000)]
Localisation updates: Adding/updating Persian translations: "Type" is not a Persian word, thus is replaced by synonyms

15 years agoIn sortable tables:
Tim Starling [Tue, 28 Oct 2008 08:07:00 +0000 (08:07 +0000)]
In sortable tables:
* (bug 8063) Use the content language digit transform table.
* Don't recognise C-style hexadecimal notation as a number, that feature never actually worked.
* Be more forgiving about things that look like numbers but turn out not to be. Sort them stringwise.
* Optimised ts_resortTable by having it calculate the sort keys at the start, and then using a single trivial comparison function. There are potentially many more comparisons than rows. Observed factor of 2 speedup.
* Use RegExp.test() instead of String.match() when a true/false value is desired, as recommended by the Mozilla reference

15 years agopartial revert of r42695, don't trim the comment
Alex Z [Tue, 28 Oct 2008 02:38:59 +0000 (02:38 +0000)]
partial revert of r42695, don't trim the comment

15 years agoFix profiling
Alex Z [Tue, 28 Oct 2008 02:32:56 +0000 (02:32 +0000)]
Fix profiling

15 years agoForgot profiling for last commit
Aryeh Gregor [Tue, 28 Oct 2008 00:23:26 +0000 (00:23 +0000)]
Forgot profiling for last commit

15 years agoLocalisation updates special page aliases from Betawiki.
Siebrand Mazeland [Tue, 28 Oct 2008 00:14:03 +0000 (00:14 +0000)]
Localisation updates special page aliases from Betawiki.

15 years agoCreate new, better tooltip/accesskey methods
Aryeh Gregor [Mon, 27 Oct 2008 23:58:00 +0000 (23:58 +0000)]
Create new, better tooltip/accesskey methods

Old Linker::tooltipAndAccesskey() and Linker::tooltip(), which pass
around raw bits of HTML, are now wrappers for Linker::titleAttrib() and
Linker::accesskey().  Actual usages have not been changed for now.

Note that this might have some slight performance implication, since
the accesskey message will typically be retrieved twice per view
instead of once: once for the accesskey attribute, once for the bit
we're appending to the title attribute.  This used to be avoided by
using a single tooltipAndAccesskey() method, but that's pretty ugly.
Of course, the second hit should reach the local accesskey cache and
not result in a second memcached hit, but I recall Tim saying that that
still takes 100 us or something unreasonable like that.

Causes no new parser test failures, and I didn't notice any difference
in the UI with a quick check.

15 years agoAllow '0' as an accesskey.
Aryeh Gregor [Mon, 27 Oct 2008 23:57:43 +0000 (23:57 +0000)]
Allow '0' as an accesskey.

PHP weak typing strikes again!

15 years agoLocalisation updates for core messages from Betawiki (2008-10-28 00:10 CET)
Siebrand Mazeland [Mon, 27 Oct 2008 23:17:06 +0000 (23:17 +0000)]
Localisation updates for core messages from Betawiki (2008-10-28 00:10 CET)

15 years ago(bug 4253) - recentchanges IRC:
Alex Z [Mon, 27 Oct 2008 22:41:17 +0000 (22:41 +0000)]
(bug 4253) - recentchanges IRC:
* Don't include the title in diff ULRs
* If the message is still too long, trim the comment.

15 years agoLocalisation updates for special page aliases from Betawiki.
Siebrand Mazeland [Mon, 27 Oct 2008 21:07:21 +0000 (21:07 +0000)]
Localisation updates for special page aliases from Betawiki.

15 years agoRemove redundant code
Aaron Schulz [Mon, 27 Oct 2008 20:54:27 +0000 (20:54 +0000)]
Remove redundant code

15 years agoLocalisation updates for special page aliases from Betawiki.
Siebrand Mazeland [Mon, 27 Oct 2008 20:16:05 +0000 (20:16 +0000)]
Localisation updates for special page aliases from Betawiki.

15 years agorc_deleted must be given; not secure otherwise
Aaron Schulz [Mon, 27 Oct 2008 19:59:54 +0000 (19:59 +0000)]
rc_deleted must be given; not secure otherwise

15 years agoLocalisation updates for special page aliases from Betawiki.
Siebrand Mazeland [Mon, 27 Oct 2008 19:47:39 +0000 (19:47 +0000)]
Localisation updates for special page aliases from Betawiki.

15 years agoRevert r42659 per revert of r42658 by aaron in r42664 by brion.
Siebrand Mazeland [Mon, 27 Oct 2008 19:43:37 +0000 (19:43 +0000)]
Revert r42659 per revert of r42658 by aaron in r42664 by brion.

15 years agoLocalisation updates for special page aliases from Betawiki.
Siebrand Mazeland [Mon, 27 Oct 2008 19:35:00 +0000 (19:35 +0000)]
Localisation updates for special page aliases from Betawiki.

15 years agoLocalisation updates special page aliases from Betawiki. Fixing some found inconsiste...
Siebrand Mazeland [Mon, 27 Oct 2008 18:38:54 +0000 (18:38 +0000)]
Localisation updates special page aliases from Betawiki. Fixing some found inconsistencies/bugs.

15 years agoRevert r42658 "(bug 10347) Add subtitle message for protected pages"
Brion Vibber [Mon, 27 Oct 2008 18:03:47 +0000 (18:03 +0000)]
Revert r42658 "(bug 10347) Add subtitle message for protected pages"
It's just too annoying and disruptive IMHO.

15 years agoFollow up on r42658. Register messages and rebuild MessagesEn.php
Siebrand Mazeland [Mon, 27 Oct 2008 15:46:27 +0000 (15:46 +0000)]
Follow up on r42658. Register messages and rebuild MessagesEn.php

15 years ago(bug 10347) Add subtitle message for protected pages
Aaron Schulz [Mon, 27 Oct 2008 15:05:16 +0000 (15:05 +0000)]
(bug 10347) Add subtitle message for protected pages

15 years agoVisibility housekeeping
Aaron Schulz [Mon, 27 Oct 2008 14:03:05 +0000 (14:03 +0000)]
Visibility housekeeping

15 years agoAPI: Also throw a warning when tokens for missing pages are denied
Roan Kattouw [Mon, 27 Oct 2008 12:16:47 +0000 (12:16 +0000)]
API: Also throw a warning when tokens for missing pages are denied

15 years ago(bug 16143) Fix redirect loops in ksh locale by capitalising the first letter of...
Siebrand Mazeland [Mon, 27 Oct 2008 12:10:35 +0000 (12:10 +0000)]
(bug 16143) Fix redirect loops in ksh locale by capitalising the first letter of the special page alias. This only solves symptoms, and needs a more proper generic solution.

15 years agoAPI: Per IRC conversation with Splarka, add a few words about token availability...
Roan Kattouw [Mon, 27 Oct 2008 12:06:49 +0000 (12:06 +0000)]
API: Per IRC conversation with Splarka, add a few words about token availability from prop=info in the help text for action=block and action=unblock

15 years agoFixed bug in HTML differ. A bad index was used when everything is removed from a...
Guy Van den Broeck [Mon, 27 Oct 2008 10:15:24 +0000 (10:15 +0000)]
Fixed bug in HTML differ. A bad index was used when everything is removed from a page.

15 years agoNo need to show links if any type is given at all
Aaron Schulz [Mon, 27 Oct 2008 07:25:11 +0000 (07:25 +0000)]
No need to show links if any type is given at all

15 years agoMake "show" work ;)
Aaron Schulz [Mon, 27 Oct 2008 07:23:10 +0000 (07:23 +0000)]
Make "show" work ;)

15 years agoFix debug line
Aaron Schulz [Mon, 27 Oct 2008 07:20:12 +0000 (07:20 +0000)]
Fix debug line

15 years ago(bug 16046) Add show/hide for types that flood logs
Aaron Schulz [Mon, 27 Oct 2008 07:18:36 +0000 (07:18 +0000)]
(bug 16046) Add show/hide for types that flood logs

15 years agoLocalisation updates for extension messages from Betawiki (2008-10-27 08:05 CET)
Siebrand Mazeland [Mon, 27 Oct 2008 07:11:38 +0000 (07:11 +0000)]
Localisation updates for extension messages from Betawiki (2008-10-27 08:05 CET)

15 years agoExpanded documentation for $wgGroupsAddToSelf/$wgGroupsRemoveFromSelf.
Tim Starling [Mon, 27 Oct 2008 00:55:12 +0000 (00:55 +0000)]
Expanded documentation for $wgGroupsAddToSelf/$wgGroupsRemoveFromSelf.

15 years agoLocalization update.
Rotem Liss [Sun, 26 Oct 2008 16:56:44 +0000 (16:56 +0000)]
Localization update.

15 years agoAPI: (bug 16126) Added siprop=magicwords to meta=siteinfo
Roan Kattouw [Sun, 26 Oct 2008 13:57:19 +0000 (13:57 +0000)]
API: (bug 16126) Added siprop=magicwords to meta=siteinfo

15 years agoLocalisation updates for core messages from Betawiki (2008-10-26 11:47 CET)
Siebrand Mazeland [Sun, 26 Oct 2008 10:59:35 +0000 (10:59 +0000)]
Localisation updates for core messages from Betawiki (2008-10-26 11:47 CET)

15 years agoAPI: Fixing r42583: true isn't even allowed as a default value
Roan Kattouw [Sun, 26 Oct 2008 10:47:13 +0000 (10:47 +0000)]
API: Fixing r42583: true isn't even allowed as a default value

15 years agoTweak for r42592 (re-adding alt text for arrows on enhanced RC)
Brion Vibber [Sun, 26 Oct 2008 02:53:14 +0000 (02:53 +0000)]
Tweak for r42592 (re-adding alt text for arrows on enhanced RC)
Use a non-breaking space instead of plain space for the alt text for the spacer image; the plain space seems to get lost (tested in firefox 3). :P
Note this was broken before, it's not a regression. :)

15 years agorestore image alt text on enhanced RC, add title to <img>s so IE won't hide it with...
Alex Z [Sun, 26 Oct 2008 02:41:43 +0000 (02:41 +0000)]
restore image alt text on enhanced RC, add title to <img>s so IE won't hide it with the alt text.

15 years agoBacking out r42575 "Add quick script to update to the latest SVN version Wikimedia...
Brion Vibber [Sun, 26 Oct 2008 02:27:18 +0000 (02:27 +0000)]
Backing out r42575 "Add quick script to update to the latest SVN version Wikimedia is using."

This will update backwards as well as forwards, which is a little scary. :)

Since it could be pretty surprising and make your life harder to recover from if you run it by accident (losing mixed versions, encountering new update conflicts, etc), I'd recommend backing it out for now. Also 'scap' is a term of art specific to our deployment system, and is not used appropriately here. ;)

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