lhc/web/wiklou.git
18 years agoRemoved extra GROUP BY terms introduced in revision 13603, pending review, following...
Tim Starling [Fri, 21 Apr 2006 03:35:01 +0000 (03:35 +0000)]
Removed extra GROUP BY terms introduced in revision 13603, pending review, following a total DoS of enwiki due to the slow Special:Listusers query. Changing from "GROUP BY user_name" to "GROUP BY user_name,user_id" increaed the time for a LIMIT 50,50 query from 0.01 seconds to 33 seconds.

18 years agoConsolidated sql query generation. Fixed memory leak.
Yuri Astrakhan [Thu, 20 Apr 2006 21:52:30 +0000 (21:52 +0000)]
Consolidated sql query generation. Fixed memory leak.

18 years agosome s/@access (private|public)/@\1/ for doxygen documentation
Antoine Musso [Thu, 20 Apr 2006 20:43:38 +0000 (20:43 +0000)]
some s/@access (private|public)/@\1/ for doxygen documentation

18 years ago* (bug 5664) Fix Bosnian linktrail
Brion Vibber [Thu, 20 Apr 2006 18:09:33 +0000 (18:09 +0000)]
* (bug 5664) Fix Bosnian linktrail

18 years agoMore Hebrew updates
Rob Church [Thu, 20 Apr 2006 11:54:52 +0000 (11:54 +0000)]
More Hebrew updates

18 years ago* Fix linktrail for LanguageSr
Niklas Laxström [Wed, 19 Apr 2006 21:59:58 +0000 (21:59 +0000)]
* Fix linktrail for LanguageSr
Reported by dungodung

18 years agoFixed mail notification messages, quotes do matter
Niklas Laxström [Wed, 19 Apr 2006 21:41:19 +0000 (21:41 +0000)]
Fixed mail notification messages, quotes do matter

18 years agoFix line endings (hope I did this right)
Rob Church [Wed, 19 Apr 2006 21:20:03 +0000 (21:20 +0000)]
Fix line endings (hope I did this right)

18 years agolame script based on runJobs.php by Tim Starling. Basicly
Antoine Musso [Wed, 19 Apr 2006 21:13:47 +0000 (21:13 +0000)]
lame script based on runJobs.php by Tim Starling. Basicly
output number of jobs ongoing given a wikidatabase.

18 years agoRemoving some ghost bytes, BOMs, causes breakage with tools
Niklas Laxström [Wed, 19 Apr 2006 20:17:43 +0000 (20:17 +0000)]
Removing some ghost bytes, BOMs, causes breakage with tools

18 years ago* (bug 5422) Stub for Romani (rmy) language which extends Ro
Niklas Laxström [Wed, 19 Apr 2006 20:06:49 +0000 (20:06 +0000)]
* (bug 5422) Stub for Romani (rmy) language which extends Ro

18 years ago#5386: Fix sitename and namespace names in Macedonian Wikipedia.
Antoine Musso [Wed, 19 Apr 2006 18:14:50 +0000 (18:14 +0000)]
#5386: Fix sitename and namespace names in Macedonian Wikipedia.
(pending live site)

18 years agoFix #5472: Language::userAdjust()->minDiff not initialized on else condition
Antoine Musso [Wed, 19 Apr 2006 17:57:15 +0000 (17:57 +0000)]
Fix #5472: Language::userAdjust()->minDiff not initialized on else condition

18 years agoSwitching from phpdoc to doxygen (use less than 32MB of memory).
Antoine Musso [Wed, 19 Apr 2006 15:46:24 +0000 (15:46 +0000)]
Switching from phpdoc to doxygen (use less than 32MB of memory).
Run maintenance/mwdocgen.php to generate doc in ./docs/html/ .

18 years agoµ update
Antoine Musso [Wed, 19 Apr 2006 11:00:08 +0000 (11:00 +0000)]
µ update

18 years agoAdded all Netscape 2-4 browsers to $wgBrowserBlacklist
Tim Starling [Wed, 19 Apr 2006 04:04:38 +0000 (04:04 +0000)]
Added all Netscape 2-4 browsers to $wgBrowserBlacklist

18 years agoBug 5546 Fix wfElement()
Anders Wegge Jakobsen [Tue, 18 Apr 2006 20:45:09 +0000 (20:45 +0000)]
Bug 5546 Fix wfElement()

18 years agoNever trust preferences
Brion Vibber [Tue, 18 Apr 2006 20:38:58 +0000 (20:38 +0000)]
Never trust preferences

18 years ago* (bug 5644) Error in LanguageBs.php file
Niklas Laxström [Tue, 18 Apr 2006 20:20:20 +0000 (20:20 +0000)]
* (bug 5644) Error in LanguageBs.php file

18 years agoFix for bug 5592
Anders Wegge Jakobsen [Tue, 18 Apr 2006 18:05:13 +0000 (18:05 +0000)]
Fix for bug 5592

18 years ago* (bug 5640) Indonesian localisation improvements
Niklas Laxström [Tue, 18 Apr 2006 15:51:45 +0000 (15:51 +0000)]
* (bug 5640) Indonesian localisation improvements
Patch by Ivan Lanin

18 years ago* Made MessageRo.php more general
Niklas Laxström [Tue, 18 Apr 2006 12:39:19 +0000 (12:39 +0000)]
* Made MessageRo.php more general
Patch by Gangleri

18 years agoAdd preference settings for extended watchlists
Anders Wegge Jakobsen [Tue, 18 Apr 2006 11:47:09 +0000 (11:47 +0000)]
Add preference settings for extended watchlists

18 years agoChanged DISPLAYTITLE magic variable to use ParserOutput object. Now shows alternate...
Magnus Manske [Tue, 18 Apr 2006 08:28:01 +0000 (08:28 +0000)]
Changed DISPLAYTITLE magic variable to use ParserOutput object. Now shows alternate title correctly except in initial edit page.

18 years agoCode cleanup: fit in an 80-column window, avoid unneeded parens on return statement.
Brion Vibber [Tue, 18 Apr 2006 07:29:10 +0000 (07:29 +0000)]
Code cleanup: fit in an 80-column window, avoid unneeded parens on return statement.

18 years agoUTF-8-ify comment
Brion Vibber [Tue, 18 Apr 2006 07:24:58 +0000 (07:24 +0000)]
UTF-8-ify comment

18 years agoRevert serendipitous feature
Tim Starling [Tue, 18 Apr 2006 06:49:45 +0000 (06:49 +0000)]
Revert serendipitous feature

18 years ago(bug 5250) Introduce Special:Unusedtemplates
Rob Church [Tue, 18 Apr 2006 03:49:13 +0000 (03:49 +0000)]
(bug 5250) Introduce Special:Unusedtemplates

18 years agoMore Hebrew updates. We need an adopter for each language, I think.
Rob Church [Tue, 18 Apr 2006 03:10:25 +0000 (03:10 +0000)]
More Hebrew updates. We need an adopter for each language, I think.

18 years agoOne more small fix, causes the URL to behave as the whole "if not default" thing...
Rob Church [Tue, 18 Apr 2006 02:48:58 +0000 (02:48 +0000)]
One more small fix, causes the URL to behave as the whole "if not default" thing intended.

18 years agoTrim arguments before they are passed to the function hooks
Tim Starling [Tue, 18 Apr 2006 02:48:48 +0000 (02:48 +0000)]
Trim arguments before they are passed to the function hooks

18 years agoFix link weirdness \o/
Rob Church [Tue, 18 Apr 2006 02:46:31 +0000 (02:46 +0000)]
Fix link weirdness \o/

18 years ago* Improvements to German localisation files
Niklas Laxström [Tue, 18 Apr 2006 01:40:14 +0000 (01:40 +0000)]
* Improvements to German localisation files

18 years agoRemove an unused global, and fall back to a cleaner and safer method of producing...
Rob Church [Tue, 18 Apr 2006 01:34:43 +0000 (01:34 +0000)]
Remove an unused global, and fall back to a cleaner and safer method of producing links. Will probably have to gut this bit of code to fix the link quirk.

18 years agoFix up issues with being unable to show all (when the default was to hide both)....
Rob Church [Tue, 18 Apr 2006 01:13:15 +0000 (01:13 +0000)]
Fix up issues with being unable to show all (when the default was to hide both)...it works, but there's something I can't quite put my finger on there...

18 years agoWatchlist cleanup #1
Rob Church [Tue, 18 Apr 2006 00:37:40 +0000 (00:37 +0000)]
Watchlist cleanup #1

* Hiding bots should now work
* Cleaned up "panel" generation code to facilitate easier adding of items in the future
* Set less restrictive range on default days setting in user preferences
* Tweak messages to look a bit nicer
* Add the show/hide bots thing to the user preferences

18 years agofix line endings
Brion Vibber [Tue, 18 Apr 2006 00:12:17 +0000 (00:12 +0000)]
fix line endings

18 years agofix line endings
Brion Vibber [Tue, 18 Apr 2006 00:10:54 +0000 (00:10 +0000)]
fix line endings

18 years agoFix EOL style. Please don't commit DOS-style line endings raw...
Brion Vibber [Mon, 17 Apr 2006 23:57:09 +0000 (23:57 +0000)]
Fix EOL style. Please don't commit DOS-style line endings raw...

18 years ago(bug 2910) Default view preferences for watchlists
Rob Church [Mon, 17 Apr 2006 23:53:54 +0000 (23:53 +0000)]
(bug 2910) Default view preferences for watchlists

18 years ago* (bug 5595) Localisation for Bosnian language (bs)
Niklas Laxström [Mon, 17 Apr 2006 23:30:08 +0000 (23:30 +0000)]
* (bug 5595) Localisation for Bosnian language (bs)
Contribution from Dijan

18 years ago* (bug 5628) More translations for MessagesHr.php
Niklas Laxström [Mon, 17 Apr 2006 23:13:33 +0000 (23:13 +0000)]
* (bug 5628) More translations for MessagesHr.php
Patch by elephantus

18 years agoAdd meta tag and JavaScript variables to cached special pages which provides the...
Rob Church [Mon, 17 Apr 2006 22:57:39 +0000 (22:57 +0000)]
Add meta tag and JavaScript variables to cached special pages which provides the timestamp of the last update, in YYYYMMDDHHMMSS format.

18 years ago(bug 5625) Additional namespace translations for Welsh
Rob Church [Mon, 17 Apr 2006 19:02:02 +0000 (19:02 +0000)]
(bug 5625) Additional namespace translations for Welsh

18 years agoAdd watchlist clear function to allow quick purging of all items
Rob Church [Mon, 17 Apr 2006 18:23:37 +0000 (18:23 +0000)]
Add watchlist clear function to allow quick purging of all items

18 years ago(bug 5609) More improvements to German localisation files
Rob Church [Mon, 17 Apr 2006 17:25:30 +0000 (17:25 +0000)]
(bug 5609) More improvements to German localisation files

18 years ago[Remove debugging line I left in]
Rob Church [Mon, 17 Apr 2006 17:19:32 +0000 (17:19 +0000)]
[Remove debugging line I left in]

18 years ago(bug 5623) Un-break move, whatlinkshere, etc. for titles needing some tender love...
Rob Church [Mon, 17 Apr 2006 17:18:26 +0000 (17:18 +0000)]
(bug 5623) Un-break move, whatlinkshere, etc. for titles needing some tender love and encoding

18 years agoFix tooltip-diff and accesskey-diff
Niklas Laxström [Mon, 17 Apr 2006 16:02:38 +0000 (16:02 +0000)]
Fix tooltip-diff and accesskey-diff

18 years agoMore Hebrew updates
Rob Church [Mon, 17 Apr 2006 15:13:43 +0000 (15:13 +0000)]
More Hebrew updates

18 years ago* (bug 4663) Edit toolbar enabled in compatible versions of Safari
Brion Vibber [Mon, 17 Apr 2006 10:36:21 +0000 (10:36 +0000)]
* (bug 4663) Edit toolbar enabled in compatible versions of Safari
* (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+)
* (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera
* Edit toolbar now works in pure XHTML mode (application/xhtml+xml)

The edit toolbar buttons are now created with DOM functions rather than
document.writeln(). This makes it compatible with viewing in XML mode in
strict browsers like Firefox, and additionally allows testing if the
textarea supports the 'selectionStart' property so recent versions of
Safari and Konqueror can get the toolbar automatically enabled.

Information for the toolbar items is stored in globals mwEditButtons and
mwCustomEditButtons; this latter allows MediaWiki:Common.js or similar
to quickly and easily add custom items such as the redirect button currently
on en.wikipedia.org.

Switching from a javascript: link to a straight image with an onclick
handler removes the unsightly javascript url gunk from Opera's tooltip.

18 years agoRevert the rest of r13645; totally broken, tries to call an installer-specific functi...
Brion Vibber [Mon, 17 Apr 2006 09:00:55 +0000 (09:00 +0000)]
Revert the rest of r13645; totally broken, tries to call an installer-specific function before it's included, and why's it in an include file anyway?

18 years ago* (bug 4662) Fix Safari check in wikibits.js
Brion Vibber [Mon, 17 Apr 2006 08:27:37 +0000 (08:27 +0000)]
* (bug 4662) Fix Safari check in wikibits.js

18 years agoFix line endings; add line-ending marker property; add final newline.
Brion Vibber [Mon, 17 Apr 2006 05:20:38 +0000 (05:20 +0000)]
Fix line endings; add line-ending marker property; add final newline.

18 years agoFix issues noted by Brion; proper handing of a missing record, and correct the schema...
Rob Church [Mon, 17 Apr 2006 04:48:12 +0000 (04:48 +0000)]
Fix issues noted by Brion; proper handing of a missing record, and correct the schema alterations (type is only 32 chars, so don't waste 255 on it). Also, skip the whole read chunk if we're never going to output the data.

18 years agoUpdate the message to support the new parameter
Rob Church [Mon, 17 Apr 2006 04:35:36 +0000 (04:35 +0000)]
Update the message to support the new parameter

18 years ago(bug 4327) Report age of cached data sets in query pages
Rob Church [Mon, 17 Apr 2006 04:30:39 +0000 (04:30 +0000)]
(bug 4327) Report age of cached data sets in query pages
[Schema change]

18 years ago* (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
Brion Vibber [Mon, 17 Apr 2006 04:06:13 +0000 (04:06 +0000)]
* (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email
  registrations as well as self-registrations.

18 years ago(bug 5607) Improvements to German localisation files
Rob Church [Sun, 16 Apr 2006 21:35:15 +0000 (21:35 +0000)]
(bug 5607) Improvements to German localisation files

18 years ago(bug 5570) Problems using <special page>/parameter link form for long titles
Rob Church [Sun, 16 Apr 2006 19:17:02 +0000 (19:17 +0000)]
(bug 5570) Problems using <special page>/parameter link form for long titles

18 years ago(bug 5605) Improve German localisation files
Rob Church [Sun, 16 Apr 2006 18:56:51 +0000 (18:56 +0000)]
(bug 5605) Improve German localisation files

18 years ago(bug 5583) Update "revertpage" in English
Rob Church [Sun, 16 Apr 2006 18:06:09 +0000 (18:06 +0000)]
(bug 5583) Update "revertpage" in English

18 years ago(bug 5536) Use content language for editing help link
Rob Church [Sun, 16 Apr 2006 17:57:34 +0000 (17:57 +0000)]
(bug 5536) Use content language for editing help link

18 years ago+* (bug 5594) Id translation up to # Login and logout pages section
Niklas Laxström [Sun, 16 Apr 2006 13:27:19 +0000 (13:27 +0000)]
+* (bug 5594) Id translation up to # Login and logout pages section

18 years agoFix the UploadComplete hook. Threw lovely errors and probably didn't work right. :)
Brion Vibber [Sun, 16 Apr 2006 08:37:30 +0000 (08:37 +0000)]
Fix the UploadComplete hook. Threw lovely errors and probably didn't work right. :)

18 years agoHow many bits in a byte again?
Tim Starling [Sun, 16 Apr 2006 06:41:29 +0000 (06:41 +0000)]
How many bits in a byte again?

18 years agoattempting to fix lag detection again
Tim Starling [Sun, 16 Apr 2006 06:36:57 +0000 (06:36 +0000)]
attempting to fix lag detection again

18 years agoDon't lock page table rows
Tim Starling [Sun, 16 Apr 2006 06:31:19 +0000 (06:31 +0000)]
Don't lock page table rows

18 years agoSome semblance of working order
Tim Starling [Sun, 16 Apr 2006 06:30:35 +0000 (06:30 +0000)]
Some semblance of working order

18 years agoArgument with -- alone specifies that the following arguments are not options
Tim Starling [Sun, 16 Apr 2006 06:29:44 +0000 (06:29 +0000)]
Argument with -- alone specifies that the following arguments are not options

18 years ago(bug 5181) Update "nogomatch" for Slovak
Rob Church [Sat, 15 Apr 2006 16:18:46 +0000 (16:18 +0000)]
(bug 5181) Update "nogomatch" for Slovak

18 years ago(Forgot to remove debugging line)
Rob Church [Sat, 15 Apr 2006 15:30:17 +0000 (15:30 +0000)]
(Forgot to remove debugging line)

18 years agoMinor improvements to French localisation files
Rob Church [Sat, 15 Apr 2006 15:24:11 +0000 (15:24 +0000)]
Minor improvements to French localisation files

18 years ago*(bug 5426) Lowercase treatment of titles in rights log leads to broken links on...
Rob Church [Sat, 15 Apr 2006 15:18:33 +0000 (15:18 +0000)]
*(bug 5426) Lowercase treatment of titles in rights log leads to broken links on Special:Log -- force title text to inital-uppercase when showing rights log text. Root of the problem lies with the extension in use on Wikimedia sites, however; will poke.

18 years agoMore updates for Hebrew
Rob Church [Sat, 15 Apr 2006 14:44:47 +0000 (14:44 +0000)]
More updates for Hebrew

18 years ago* (bug 5576) Remove debugging hack in session check
Brion Vibber [Sat, 15 Apr 2006 08:45:40 +0000 (08:45 +0000)]
* (bug 5576) Remove debugging hack in session check

18 years agoRevert path disclosure vulnerability
Rob Church [Fri, 14 Apr 2006 22:57:36 +0000 (22:57 +0000)]
Revert path disclosure vulnerability

18 years agoAdd $wgReservedUsernames configuration directive to block account creation/use
Rob Church [Fri, 14 Apr 2006 21:56:11 +0000 (21:56 +0000)]
Add $wgReservedUsernames configuration directive to block account creation/use

18 years agoSome minor changes to the installer after I reinstalled MW from scracth:
Antoine Musso [Fri, 14 Apr 2006 20:58:25 +0000 (20:58 +0000)]
Some minor changes to the installer after I reinstalled MW from scracth:
* show realpath when asking to chmod g+w ./config
* hide errors returned when trying to dl() mysql.so / pgsql.so
* cleanly outputbuffer when dieing out

18 years agoDo onArticleCreate updates upon page import
Rob Church [Fri, 14 Apr 2006 18:00:23 +0000 (18:00 +0000)]
Do onArticleCreate updates upon page import

18 years agoUpdate recent changes with an event upon page import; can be switched off with -...
Rob Church [Fri, 14 Apr 2006 17:36:52 +0000 (17:36 +0000)]
Update recent changes with an event upon page import; can be switched off with --norc

18 years agoUpdate release notes
Rob Church [Fri, 14 Apr 2006 17:25:41 +0000 (17:25 +0000)]
Update release notes

18 years agoMaintenance script to import the contents of a text file into a wiki page
Rob Church [Fri, 14 Apr 2006 17:24:43 +0000 (17:24 +0000)]
Maintenance script to import the contents of a text file into a wiki page

18 years agoYet another wfMsg, which includes hack to get inline wikitext blocks
Niklas Laxström [Fri, 14 Apr 2006 16:59:59 +0000 (16:59 +0000)]
Yet another wfMsg, which includes hack to get inline wikitext blocks

18 years ago* (bug 5519) Allow sidebar cache to be disabled; disable it by default.
Brion Vibber [Fri, 14 Apr 2006 08:26:35 +0000 (08:26 +0000)]
* (bug 5519) Allow sidebar cache to be disabled; disable it by default.

 * If on, the sidebar navigation links are cached for users with the
 * current language set. This can save a touch of load on a busy site
 * by shaving off extra message lookups.
 *
 * However it is also fragile: changing the site configuration, or
 * having a variable $wgArticlePath, can produce broken links that
 * don't update as expected.

18 years ago(bug 5184) CSS misapplied to elements in Special:Allmessages due to conflicting ancho...
Rob Church [Fri, 14 Apr 2006 04:19:10 +0000 (04:19 +0000)]
(bug 5184) CSS misapplied to elements in Special:Allmessages due to conflicting anchor identifiers [keep the anchors (useful), but prefix with msg_ to avoid collisions]

18 years ago(bug 5475) New pages feeds ignore "limit" argument
Rob Church [Thu, 13 Apr 2006 20:01:48 +0000 (20:01 +0000)]
(bug 5475) New pages feeds ignore "limit" argument

18 years ago(bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]
Rob Church [Thu, 13 Apr 2006 18:40:36 +0000 (18:40 +0000)]
(bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist]

18 years ago(bug 3359) Add hooks on completion of file upload
Rob Church [Thu, 13 Apr 2006 18:29:18 +0000 (18:29 +0000)]
(bug 3359) Add hooks on completion of file upload

18 years agoAnd more updates
Niklas Laxström [Thu, 13 Apr 2006 16:44:03 +0000 (16:44 +0000)]
And more updates

18 years agoMore updates
Niklas Laxström [Thu, 13 Apr 2006 11:13:00 +0000 (11:13 +0000)]
More updates

18 years ago* Reject malformed addresses in X-Forwarded-For entries
Brion Vibber [Thu, 13 Apr 2006 01:03:30 +0000 (01:03 +0000)]
* Reject malformed addresses in X-Forwarded-For entries

18 years ago* (bug 5403) Fix Special:Newpages RSS/Atom feeds
Brion Vibber [Wed, 12 Apr 2006 20:14:01 +0000 (20:14 +0000)]
* (bug 5403) Fix Special:Newpages RSS/Atom feeds

18 years agoFix huge spew of notices from using the wrong variable
Brion Vibber [Wed, 12 Apr 2006 20:10:06 +0000 (20:10 +0000)]
Fix huge spew of notices from using the wrong variable

18 years agoAdd TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms for...
Rob Church [Wed, 12 Apr 2006 15:38:17 +0000 (15:38 +0000)]
Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms for all) magic words

18 years ago(bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]
Rob Church [Wed, 12 Apr 2006 13:23:00 +0000 (13:23 +0000)]
(bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin]

18 years agoInclude ISBN number in booksources for no
Anders Wegge Jakobsen [Wed, 12 Apr 2006 11:58:44 +0000 (11:58 +0000)]
Include ISBN number in booksources for no

18 years agosimple fixes for DISPLAYTITLE
Magnus Manske [Wed, 12 Apr 2006 10:59:21 +0000 (10:59 +0000)]
simple fixes for DISPLAYTITLE

18 years ago* PersistentObject removed; it doesn't do anything and was broken besides.
Brion Vibber [Wed, 12 Apr 2006 08:32:54 +0000 (08:32 +0000)]
* PersistentObject removed; it doesn't do anything and was broken besides.
  All extensions using it have been corrected.

18 years ago* (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
Brion Vibber [Wed, 12 Apr 2006 08:15:28 +0000 (08:15 +0000)]
* (bug 385) Installer support for PostgreSQL, fixes for PG compatibility
Applied from: http://bugzilla.wikimedia.org/attachment.cgi?id=1517&action=view
I haven't tested it with PG personally yet, but it doesn't appear to interfere with other functionality.