lhc/web/wiklou.git
15 years ago(bug 15811) Re-upload form tweaks
Aaron Schulz [Wed, 21 Jan 2009 15:46:48 +0000 (15:46 +0000)]
(bug 15811) Re-upload form tweaks
* Don't show license dropdown
* Use different message for summary box label
* Don't show "file exists" message
* Lock the destination name

15 years agoFollow up of r45960, adding English comment in Names.php
Shinjiman [Wed, 21 Jan 2009 15:13:12 +0000 (15:13 +0000)]
Follow up of r45960, adding English comment in Names.php

15 years agoFix typo in r45863; argument in wrong place
Aaron Schulz [Wed, 21 Jan 2009 15:08:22 +0000 (15:08 +0000)]
Fix typo in r45863; argument in wrong place

15 years ago* Adding Literary Chinese (lzh) language.
Shinjiman [Wed, 21 Jan 2009 15:04:46 +0000 (15:04 +0000)]
* Adding Literary Chinese (lzh) language.
* Adding Old Chinese (och) language redirect to lzh.
* Adding Late Time Chinese (ltc) language redirect to lzh.
* Redirect Classical Chinese (zh-classical) to Literary Chinese.

15 years agoFix up r45749: do is_string() check in the caller instead
Roan Kattouw [Wed, 21 Jan 2009 09:26:48 +0000 (09:26 +0000)]
Fix up r45749: do is_string() check in the caller instead

15 years agoFollowup to r45954: it helps to save before committing
Roan Kattouw [Wed, 21 Jan 2009 09:22:48 +0000 (09:22 +0000)]
Followup to r45954: it helps to save before committing

15 years agoFix indentation for r45944 and use consistent code style
Roan Kattouw [Wed, 21 Jan 2009 09:21:58 +0000 (09:21 +0000)]
Fix indentation for r45944 and use consistent code style

15 years agoFollow up r45698 and r45857: Add new options to $wgDefaultUserOptions
Raimond Spekking [Wed, 21 Jan 2009 08:02:30 +0000 (08:02 +0000)]
Follow up r45698 and r45857: Add new options to $wgDefaultUserOptions

15 years ago* Add some forgotten release notes
Raimond Spekking [Wed, 21 Jan 2009 07:52:56 +0000 (07:52 +0000)]
* Add some forgotten release notes
* break lines after 80 chars

15 years agoFix for r45862, handle indefinite blocks correctly (and use a less anglo-centric...
Alex Z [Wed, 21 Jan 2009 03:50:08 +0000 (03:50 +0000)]
Fix for r45862, handle indefinite blocks correctly (and use a less anglo-centric timestamp format)

15 years agoCode style tweak.
Chad Horohoe [Tue, 20 Jan 2009 23:58:18 +0000 (23:58 +0000)]
Code style tweak.

15 years agoMake API action=delete respect $wgDeleteRevisionsLimit
Alex Z [Tue, 20 Jan 2009 23:37:39 +0000 (23:37 +0000)]
Make API action=delete respect $wgDeleteRevisionsLimit

15 years agoRevert r45490 per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45490
Aaron Schulz [Tue, 20 Jan 2009 23:04:56 +0000 (23:04 +0000)]
Revert r45490 per mediawiki.org/wiki/Special:Code/MediaWiki/45490

15 years agoRevert r45810 "API: (bug 17027) Allow all configuration variables in $wgAPIReadableCo...
Brion Vibber [Tue, 20 Jan 2009 22:57:05 +0000 (22:57 +0000)]
Revert r45810 "API: (bug 17027) Allow all configuration variables in $wgAPIReadableConfigVars to be read through meta=siteinfo&siprop=configvars. I tried my best to only make useful stuff readable and skip stuff that's sensitive (like $wgDBpassword), available already (like $wgExtraNamespaces) or useless (like $wgUpdateRowsPerJob)."
This is way too tightly coupled to internal implementation details. Any and all of those things could change dramatically; they're not appropriate for an external API.

15 years agoFollow up to r45780: catch Talk:interwiki:x links
Aaron Schulz [Tue, 20 Jan 2009 22:55:20 +0000 (22:55 +0000)]
Follow up to r45780: catch Talk:interwiki:x links

15 years agoRevert r45788 "Page moves should not be minor edits"
Brion Vibber [Tue, 20 Jan 2009 22:32:25 +0000 (22:32 +0000)]
Revert r45788 "Page moves should not be minor edits"
Would prefer to see some discussion first; it's not obvious whether the change is needed/wanted.

15 years agoFollow-up to r45761 "* Convert prefsubmit div into a table to fix tab indexing"
Brion Vibber [Tue, 20 Jan 2009 21:52:02 +0000 (21:52 +0000)]
Follow-up to r45761 "* Convert prefsubmit div into a table to fix tab indexing"
Checking contlang RTL so we can left-align when necessary.

15 years agoFix typo
Roan Kattouw [Tue, 20 Jan 2009 13:50:11 +0000 (13:50 +0000)]
Fix typo

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Tue, 20 Jan 2009 13:38:39 +0000 (13:38 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoFix up r45897: indexInfo() returns an array of objects rather than an object
Roan Kattouw [Tue, 20 Jan 2009 13:13:55 +0000 (13:13 +0000)]
Fix up r45897: indexInfo() returns an array of objects rather than an object

15 years ago* Added rollback links to changes lists (bug 9305)
Aaron Schulz [Tue, 20 Jan 2009 04:01:59 +0000 (04:01 +0000)]
* Added rollback links to changes lists (bug 9305)
* Remove commend code duplication

15 years agoFollow-up to r45883: "(bug 17055) Use a CSS class ('mw-revdelundel-link') for Revisio...
Alex Z [Tue, 20 Jan 2009 00:16:35 +0000 (00:16 +0000)]
Follow-up to r45883: "(bug 17055) Use a CSS class ('mw-revdelundel-link') for RevisionDelete "(show/hide)" links rather than hardcoded <tt><small>, reduce some code duplication by creating Linker::revDeleteLink() to make the links."
Change a couple instances I missed the first time

15 years agoFollow up to r45915: disable profiler.php (not the udp versions and such) for mainten...
Aaron Schulz [Mon, 19 Jan 2009 23:43:54 +0000 (23:43 +0000)]
Follow up to r45915: disable profiler.php (not the udp versions and such) for maintenance scripts

15 years agoCheck $wgProfiling. This lets long running scripts disable profiling to avoid OOM...
Aaron Schulz [Mon, 19 Jan 2009 23:34:13 +0000 (23:34 +0000)]
Check $wgProfiling. This lets long running scripts disable profiling to avoid OOM errors due to the growing work stack size.

15 years agoLocalisation updates for core messages from Betawiki (2009-01-19 21:53 UTC)
Siebrand Mazeland [Mon, 19 Jan 2009 21:58:58 +0000 (21:58 +0000)]
Localisation updates for core messages from Betawiki (2009-01-19 21:53 UTC)
* removed duplicate 'tog-newpageshidepatrolled' from zh-hans

15 years agoAdd commit statements after each block
Aaron Schulz [Mon, 19 Jan 2009 20:46:31 +0000 (20:46 +0000)]
Add commit statements after each block

15 years agoAdd command use blurb
Aaron Schulz [Mon, 19 Jan 2009 19:55:38 +0000 (19:55 +0000)]
Add command use blurb

15 years agotweak UserMailer.php documentation. $replyto must be a MailAddress object and not...
Jack Phoenix [Mon, 19 Jan 2009 18:55:14 +0000 (18:55 +0000)]
tweak UserMailer.php documentation. $replyto must be a MailAddress object and not a string or otherwise you'll get fatal errors like this: Fatal error: Call to a member function toString() on a non-object in ../includes/UserMailer.php on line 142

15 years agoDon't use the 'noarticletext' message for pages in the MediaWiki namespace, it hides...
Alexandre Emsenhuber [Mon, 19 Jan 2009 16:09:06 +0000 (16:09 +0000)]
Don't use the 'noarticletext' message for pages in the MediaWiki namespace, it hides the default message

15 years agoAPI: (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
Roan Kattouw [Mon, 19 Jan 2009 16:04:33 +0000 (16:04 +0000)]
API: (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs

15 years agoadding a new hook from wikia codebase into SpecialWantedpages.php to allow extensions...
Jack Phoenix [Mon, 19 Jan 2009 15:35:15 +0000 (15:35 +0000)]
adding a new hook from wikia codebase into SpecialWantedpages.php to allow extensions to alter the SQL query

15 years agoRecommit r45821: (bug 16645) Making the pl_namespace, tl_namespace and il_to indices...
Roan Kattouw [Mon, 19 Jan 2009 15:33:22 +0000 (15:33 +0000)]
Recommit r45821: (bug 16645) Making the pl_namespace, tl_namespace and il_to indices UNIQUE, just like their differently-ordered counterparts. This helps MySQL optimize stuff (see bug)

15 years agoAPI: (bug 17048) Show the 'new' flag in list=usercontribs for the revision that creat...
Roan Kattouw [Mon, 19 Jan 2009 15:23:12 +0000 (15:23 +0000)]
API: (bug 17048) Show the 'new' flag in list=usercontribs for the revision that created the page, even if it's not the top revision

15 years agoPartial redo of r45819:
Roan Kattouw [Mon, 19 Jan 2009 14:12:59 +0000 (14:12 +0000)]
Partial redo of r45819:
* rename non-PRIMARY indices that were implicitly named before r45764 back to their implicit names
* add the renamed un_user_id and un_user_ip to the indexName() rewrite
* use consistent casing for PRIMARY KEY

15 years agoRevert r45821, r45830, r45831 and r45835 all in order to revert r45819, per discussio...
Roan Kattouw [Mon, 19 Jan 2009 13:56:08 +0000 (13:56 +0000)]
Revert r45821, r45830, r45831 and r45835 all in order to revert r45819, per discussions on CR. Will redo part of r45819 momentarily.

15 years agoLocalisation updates for extension messages from Betawiki (2009-01-18 22:56 UTC)
Siebrand Mazeland [Sun, 18 Jan 2009 23:05:12 +0000 (23:05 +0000)]
Localisation updates for extension messages from Betawiki (2009-01-18 22:56 UTC)

15 years ago(bug 17055) Use a CSS class ('mw-revdelundel-link') for RevisionDelete "(show/hide...
Alex Z [Sun, 18 Jan 2009 21:07:09 +0000 (21:07 +0000)]
(bug 17055) Use a CSS class ('mw-revdelundel-link') for RevisionDelete "(show/hide)" links rather than hardcoded <tt><small>, reduce some code duplication by creating Linker::revDeleteLink() to make the links.

15 years agoTweak r45600: kill the broken page_restrictions columns too
Aaron Schulz [Sun, 18 Jan 2009 19:55:01 +0000 (19:55 +0000)]
Tweak r45600: kill the broken page_restrictions columns too

15 years agoFix typo in r45855
Aaron Schulz [Sun, 18 Jan 2009 19:23:20 +0000 (19:23 +0000)]
Fix typo in r45855

15 years agoFix typo in r43155
Aryeh Gregor [Sun, 18 Jan 2009 18:48:16 +0000 (18:48 +0000)]
Fix typo in r43155

Pointed out by zocky on IRC.

15 years agoSmall cleanup on messages added in r45865
Siebrand Mazeland [Sun, 18 Jan 2009 09:07:34 +0000 (09:07 +0000)]
Small cleanup on messages added in r45865
* "(s)" removed to avoid confusion
* removed a newline

15 years agoLocalization update for he.
Rotem Liss [Sun, 18 Jan 2009 09:03:49 +0000 (09:03 +0000)]
Localization update for he.

15 years ago(bug 17054) more descriptive error messages for Special:RevisionDelete
Alex Z [Sun, 18 Jan 2009 07:02:28 +0000 (07:02 +0000)]
(bug 17054) more descriptive error messages for Special:RevisionDelete

15 years agoRemove misplaced whitespace in export header.
Robert Rohde [Sun, 18 Jan 2009 05:54:27 +0000 (05:54 +0000)]
Remove misplaced whitespace in export header.

15 years agoNo need to send autopatrols to udp
Aaron Schulz [Sun, 18 Jan 2009 05:17:02 +0000 (05:17 +0000)]
No need to send autopatrols to udp

15 years ago(bug 17045) Prefill the block form with the options of the existing block when modify...
Alex Z [Sun, 18 Jan 2009 02:57:54 +0000 (02:57 +0000)]
(bug 17045) Prefill the block form with the options of the existing block when modifying an existing block

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sun, 18 Jan 2009 00:59:18 +0000 (00:59 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoFix omission in r45857
Siebrand Mazeland [Sun, 18 Jan 2009 00:03:40 +0000 (00:03 +0000)]
Fix omission in r45857

15 years ago(bug 16957) Add show/hide to Preferences for option on Special:NewPages
Aaron Schulz [Sun, 18 Jan 2009 00:01:58 +0000 (00:01 +0000)]
(bug 16957) Add show/hide to Preferences for option on Special:NewPages

15 years agoisAllowed('patrol') now returns false if patrolling is disabled
Aaron Schulz [Sat, 17 Jan 2009 23:32:27 +0000 (23:32 +0000)]
isAllowed('patrol') now returns false if patrolling is disabled

15 years agoLocalisation updates for core messages from Betawiki (2009-01-17 23:02 UTC)
Siebrand Mazeland [Sat, 17 Jan 2009 23:15:34 +0000 (23:15 +0000)]
Localisation updates for core messages from Betawiki (2009-01-17 23:02 UTC)

15 years agoAPI: Fixing paging in list=alllinks, which seems to have been broken for a long time...
Roan Kattouw [Sat, 17 Jan 2009 19:52:37 +0000 (19:52 +0000)]
API: Fixing paging in list=alllinks, which seems to have been broken for a long time. Also fix alunique, which simply didn't work. No RELEASE-NOTES entry since I'm gonna backport this to 1.14.

15 years ago* Added 'target' param to changesfeed to fix total breakage of RCL feed. They were...
Aaron Schulz [Sat, 17 Jan 2009 18:44:28 +0000 (18:44 +0000)]
* Added 'target' param to changesfeed to fix total breakage of RCL feed. They were all using the same cache so the feed for page X sometimes showed the feed for page Y.
* Removed extra constant cache key params
* Added feed comments
* Fixed tab space

15 years ago(bug 8065) Fix summary forcing for new pages
Aaron Schulz [Sat, 17 Jan 2009 17:47:58 +0000 (17:47 +0000)]
(bug 8065) Fix summary forcing for new pages

15 years agosvn:eol-style native
Alexandre Emsenhuber [Sat, 17 Jan 2009 15:47:23 +0000 (15:47 +0000)]
svn:eol-style native

15 years agoLocalisation updates for core messages from Betawiki
Raimond Spekking [Sat, 17 Jan 2009 14:12:47 +0000 (14:12 +0000)]
Localisation updates for core messages from Betawiki

15 years agoAnother followup to r45819: update references to the renamed archive.usertext_timesta...
Roan Kattouw [Sat, 17 Jan 2009 10:11:42 +0000 (10:11 +0000)]
Another followup to r45819: update references to the renamed archive.usertext_timestamp index. The user_newtalk.user_id and user_newtalk.user_ip indices aren't used anywhere that I could find.

15 years agoFix up r45819 per CR comments: removing calls to removed function Database::indexName()
Roan Kattouw [Sat, 17 Jan 2009 09:56:38 +0000 (09:56 +0000)]
Fix up r45819 per CR comments: removing calls to removed function Database::indexName()

15 years agoself revert r45512, r45513 and r45515 for now
Raimond Spekking [Sat, 17 Jan 2009 08:56:27 +0000 (08:56 +0000)]
self revert r45512, r45513 and r45515 for now
Per Brions review on r45512. I need a bit more time to fix it.

15 years ago* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with Langu...
Shinjiman [Sat, 17 Jan 2009 05:01:43 +0000 (05:01 +0000)]
* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with LanguageConverter class)
* Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with LanguageConverter class)
  patches by PhiLiP

15 years agoImprove revertedEdits autopromote check to include undoing of edits
Aaron Schulz [Sat, 17 Jan 2009 00:53:23 +0000 (00:53 +0000)]
Improve revertedEdits autopromote check to include undoing of edits

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sat, 17 Jan 2009 00:41:28 +0000 (00:41 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years agoAdd new hook 'UserLoadFromDatabase' that is called while loading a user from the...
Nathaniel Herman [Fri, 16 Jan 2009 23:34:38 +0000 (23:34 +0000)]
Add new hook 'UserLoadFromDatabase' that is called while loading a user from the database.

15 years ago(bug 16645) Making the pl_namespace, tl_namespace and il_to indices UNIQUE, just...
Roan Kattouw [Fri, 16 Jan 2009 23:15:04 +0000 (23:15 +0000)]
(bug 16645) Making the pl_namespace, tl_namespace and il_to indices UNIQUE, just like their differently-ordered counterparts. This helps MySQL optimize stuff (see bug)

15 years agoallow extensions that use 'UserCreateForm' to add checkboxes into the signup form...
Jack Phoenix [Fri, 16 Jan 2009 23:04:13 +0000 (23:04 +0000)]
allow extensions that use 'UserCreateForm' to add checkboxes into the signup form to define messages containing HTML. this can be very useful and necessary; think of something like a checkbox "I have read the site's terms of use", it would obviously need to link to the terms of use page. using msgWiki() instead of msgHtml() here would probably be safer, but msgWiki() likes to mess things up by introducing <p> tags and this is meant for extensions, so it won't cause any more risks than the current existing system messages that allow HTML inclusion.

15 years agoAttempt at cleaning up r45764, r45769 (renamed indices for SQLite compat):
Roan Kattouw [Fri, 16 Jan 2009 23:02:44 +0000 (23:02 +0000)]
Attempt at cleaning up r45764, r45769 (renamed indices for SQLite compat):
* removing the indexName() hack and with it the /*i*/ stuff from tables.sql
* undoing renames of formerly implicitly named indices
* three indices have to be called different in SQLite because of naming conflicts, adding a patch to updaters.inc that does that

15 years agoLocalization update for he, and reordering messages in en (according to messages...
Rotem Liss [Fri, 16 Jan 2009 22:36:52 +0000 (22:36 +0000)]
Localization update for he, and reordering messages in en (according to messages.inc).

15 years ago(bug 17035) Fail gracefully if php's file_uploads are disabled.
Chad Horohoe [Fri, 16 Jan 2009 21:19:12 +0000 (21:19 +0000)]
(bug 17035) Fail gracefully if php's file_uploads are disabled.

15 years agoFollowup to r45810: remove unused global declaration
Roan Kattouw [Fri, 16 Jan 2009 21:10:02 +0000 (21:10 +0000)]
Followup to r45810: remove unused global declaration

15 years agoAPI: (bug 17027) Allow all configuration variables in $wgAPIReadableConfigVars to...
Roan Kattouw [Fri, 16 Jan 2009 21:03:13 +0000 (21:03 +0000)]
API: (bug 17027) Allow all configuration variables in $wgAPIReadableConfigVars to be read through meta=siteinfo&siprop=configvars. I tried my best to only make useful stuff readable and skip stuff that's sensitive (like $wgDBpassword), available already (like $wgExtraNamespaces) or useless (like $wgUpdateRowsPerJob).

15 years ago(bug 1181) Don't try to replace the whole page with one section if replaceSection...
Aaron Schulz [Fri, 16 Jan 2009 19:56:57 +0000 (19:56 +0000)]
(bug 1181) Don't try to replace the whole page with one section if replaceSection() fails

15 years agoLocalisation updates: From betawiki
Huji [Fri, 16 Jan 2009 19:07:02 +0000 (19:07 +0000)]
Localisation updates: From betawiki

15 years ago* Updating local name of ace per request of Si Gam Acèh at http://translatewiki.net...
Niklas Laxström [Fri, 16 Jan 2009 16:53:32 +0000 (16:53 +0000)]
* Updating local name of ace per request of Si Gam Acèh at translatewiki.net/w/i.php?oldid=997315

15 years agoFixes to gv plural function
Niklas Laxström [Fri, 16 Jan 2009 16:42:54 +0000 (16:42 +0000)]
Fixes to gv plural function

15 years agoTweak r45778, check exists()
Aaron Schulz [Fri, 16 Jan 2009 13:23:23 +0000 (13:23 +0000)]
Tweak r45778, check exists()

15 years ago* Wrap deletedwhileediting/confirmrecreate messages into a div with own classes
Raimond Spekking [Fri, 16 Jan 2009 09:35:57 +0000 (09:35 +0000)]
* Wrap deletedwhileediting/confirmrecreate messages into a div with own classes
* Add class "error" for deletedwhileediting
* Remove "span class=error" from some localizations
** Makes default behaviour more consistent over all languages
* Use proper Xml::function for the checkbox

15 years agoPage moves should not be minor edits
Thomas Dalton [Thu, 15 Jan 2009 22:08:37 +0000 (22:08 +0000)]
Page moves should not be minor edits

15 years agoAdd &redirect=no to newpages links (bug 14353)
Aaron Schulz [Thu, 15 Jan 2009 18:46:57 +0000 (18:46 +0000)]
Add &redirect=no to newpages links (bug 14353)

15 years agoRedid r45389 "Disallow broken Talk:File:x type titles (bug 5280)"
Aaron Schulz [Thu, 15 Jan 2009 18:36:59 +0000 (18:36 +0000)]
Redid r45389 "Disallow broken Talk:File:x type titles (bug 5280)"

15 years ago(Bug 15936) New page's patrol button should always be visible
Aaron Schulz [Thu, 15 Jan 2009 17:53:19 +0000 (17:53 +0000)]
(Bug 15936) New page's patrol button should always be visible

15 years agoAvoid extra parent id query on rev creation; only needs to be done if the current...
Aaron Schulz [Thu, 15 Jan 2009 17:48:14 +0000 (17:48 +0000)]
Avoid extra parent id query on rev creation; only needs to be done if the current value is null, not 0

15 years agoUse getRawUserText function, since this is just there to trigger index usage for...
Aaron Schulz [Thu, 15 Jan 2009 17:33:13 +0000 (17:33 +0000)]
Use getRawUserText function, since this is just there to trigger index usage for patrol link query

15 years agoLocalisation updates for core messages from Betawiki
Raimond Spekking [Thu, 15 Jan 2009 17:05:47 +0000 (17:05 +0000)]
Localisation updates for core messages from Betawiki

15 years ago* Preserve usertext_timestamp index name for MySQL, prefix it for SQLite. Issues...
Tim Starling [Thu, 15 Jan 2009 14:20:28 +0000 (14:20 +0000)]
* Preserve usertext_timestamp index name for MySQL, prefix it for SQLite. Issues remain on the experimental non-installable DBMSes.
* Clean up some E_STRICT issues

15 years agoFix regression from r45749: only UTF-8 normalize strings
Roan Kattouw [Thu, 15 Jan 2009 10:26:23 +0000 (10:26 +0000)]
Fix regression from r45749: only UTF-8 normalize strings

15 years ago* svn:eol-style native for r45755
Roan Kattouw [Thu, 15 Jan 2009 10:18:44 +0000 (10:18 +0000)]
* svn:eol-style native for r45755
* Replace spaces with tabs in ApiFormatJson_json.php, fix some crazy indentation

15 years agoFor backport to 1.14.
Tim Starling [Thu, 15 Jan 2009 06:56:58 +0000 (06:56 +0000)]
For backport to 1.14.

* Made the upgrader work with SQLite
* Implemented missing schema info functionality in DatabaseSqlite
* Merged the SQLite and MySQL schemas into the one file with the help of some replaceVars() hacks.
* Moved all primary key definitions to the field definition, moved all indexes to CREATE INDEX statements, for best SQLite compatibility.
* Made all autoincrement fields primary keys, as required by SQLite.
* Removed meaningless buzzword from the category table comment
* tables.sql: s/'0'/0/
* In SQLite the index names have DB scope. Renamed archive.usertext_timestamp, user_newtalk.user_id, user_newtalk.user_ip
* SQLite does not support UPDATE with LIMIT by default. Removed all instances I could find.
* Made query errors work in the installer.
* Fixed DatabaseSqlite::lastErrno(), made SQLITE_SCHEMA errors automatically reissue the query as suggested on sqlite-users. Otherwise upgrade breaks.
* Removed miscellaneous status information from getServerVersion(), that's not the place to put it

15 years agoUse new notifyRC2UDP() function in LogPage to avoid duplicated code
Aaron Schulz [Thu, 15 Jan 2009 01:42:11 +0000 (01:42 +0000)]
Use new notifyRC2UDP() function in LogPage to avoid duplicated code

15 years ago* Convert prefsubmit div into a table to fix tab indexing
Aaron Schulz [Thu, 15 Jan 2009 01:32:15 +0000 (01:32 +0000)]
* Convert prefsubmit div into a table to fix tab indexing
* Fix XHTML

15 years agoMove up user page noindex check
Aaron Schulz [Wed, 14 Jan 2009 23:42:57 +0000 (23:42 +0000)]
Move up user page noindex check

15 years agoFollow-up to r45698 "(bug 16969) Add show/hide to Preferences for option on specialpa...
Brion Vibber [Wed, 14 Jan 2009 22:31:25 +0000 (22:31 +0000)]
Follow-up to r45698 "(bug 16969) Add show/hide to Preferences for option on specialpages added by FlaggedRevs"
That also added toggles in core for showing/hiding patrolled edits by default in watchlist & RC, but they were being shown regardless of whether patrolling was enabled.
Now hiding them if patrolling is disabled.

15 years ago/me slaps himself for being in the wrong directory while commiting
X! [Wed, 14 Jan 2009 22:24:56 +0000 (22:24 +0000)]
/me slaps himself for being in the wrong directory while commiting

15 years ago(bug 17028) Added support for IBM DB2 database. config/index.php has new interface...
Leons Petrazickis [Wed, 14 Jan 2009 22:20:15 +0000 (22:20 +0000)]
(bug 17028) Added support for IBM DB2 database. config/index.php has new interface elements that only show up if PHP has ibm_db2 module enabled. AutoLoader knows about the new DB2 classes. GlobalFunctions has a new constant for DB2 time format. Revision class fixed slightly. Also includes new PHP files containing the Database and Search API implementations for IBM DB2.

15 years ago(bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=
X! [Wed, 14 Jan 2009 22:15:50 +0000 (22:15 +0000)]
(bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop=

15 years agoRemove RELEASE-NOTES entries for backported changes (backported in r45682, r45683...
Roan Kattouw [Wed, 14 Jan 2009 21:39:14 +0000 (21:39 +0000)]
Remove RELEASE-NOTES entries for backported changes (backported in r45682, r45683, r45752), so they aren't listed twice (in 1.14's and 1.15's release notes)

15 years agoLocalisation updates for core messages from Betawiki
Raimond Spekking [Wed, 14 Jan 2009 21:24:41 +0000 (21:24 +0000)]
Localisation updates for core messages from Betawiki

15 years agoAPI: Clean up invalid UTF-8 in the result before feeding it to the formatter. This...
Roan Kattouw [Wed, 14 Jan 2009 21:22:00 +0000 (21:22 +0000)]
API: Clean up invalid UTF-8 in the result before feeding it to the formatter. This should fix bug 15261 (trimmed multibyte chars) and bug 16262 (chars like \x0f)

15 years agoFollow up r45741 per IAlex comment:
Raimond Spekking [Wed, 14 Jan 2009 20:32:25 +0000 (20:32 +0000)]
Follow up r45741 per IAlex comment:
OutputPage::wrapWikiMsg() directly adds the html to OutputPage::$mBodytext rather than returning it.

15 years agoPartial revert of r45689 "bug 15470: Don't force-capitalize on Special:Upload. There...
Brion Vibber [Wed, 14 Jan 2009 20:03:40 +0000 (20:03 +0000)]
Partial revert of r45689 "bug 15470: Don't force-capitalize on Special:Upload. There's no point in throwing errors for any of this crap, really. I think this cleans up the last of the useless errors (for spacing/capitalization) in Special:Upload."
This made the auto-filled destination file name no longer match what we would actually upload as. It would be better to make it *more* accurate (handling normalization of forbidden chars) rather than less accurate.
The particular problem of bug 15470 should be resolved by actually checking how normalization should proceed, not by failing to do it.

15 years agoFollowup to r45676, r45688, r45689, but this time actually working. :)
Brion Vibber [Wed, 14 Jan 2009 19:56:42 +0000 (19:56 +0000)]
Followup to r45676, r45688, r45689, but this time actually working. :)
For bug 16968 -- don't throw a filename change warning when we auto-capitalize the file per $wgCapitalLinks.