lhc/web/wiklou.git
16 years agoAdd SQLite database class
Aran Dunkley [Wed, 7 May 2008 23:38:37 +0000 (23:38 +0000)]
Add SQLite database class

16 years agoTweak the explanation a bit
Raimond Spekking [Wed, 7 May 2008 21:16:06 +0000 (21:16 +0000)]
Tweak the explanation a bit

16 years agoFormat the group rights list as a list.
Rotem Liss [Wed, 7 May 2008 19:34:08 +0000 (19:34 +0000)]
Format the group rights list as a list.

16 years ago(bug 14013) Added rcshow=patrolled to list=recentchanges
Roan Kattouw [Wed, 7 May 2008 19:30:59 +0000 (19:30 +0000)]
(bug 14013) Added rcshow=patrolled to list=recentchanges

16 years agoThis should probably be restricted to users with the 'hiderevision' right, as the...
Rotem Liss [Wed, 7 May 2008 19:17:19 +0000 (19:17 +0000)]
This should probably be restricted to users with the 'hiderevision' right, as the 'suppress' right is only about viewing the suppression log and hidden users.

16 years ago(bug 14018) Added alcontinue parameter to list=alllinks to improve paging; used to...
Roan Kattouw [Wed, 7 May 2008 19:15:06 +0000 (19:15 +0000)]
(bug 14018) Added alcontinue parameter to list=alllinks to improve paging; used to cause an infinite loop when a lot of links to the same title (e.g. [[Wiki]] on enwiki, more than 500 links) were listed. This basically adds the page ID to the continue value, making it unique. Also killed another useless ORDER BY pl_namespace

16 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Wed, 7 May 2008 19:09:36 +0000 (19:09 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

16 years ago* Don't pass the title object itself to Xml::hidden
Niklas Laxström [Wed, 7 May 2008 18:57:16 +0000 (18:57 +0000)]
* Don't pass the title object itself to Xml::hidden

16 years agoFixing regression from r34353: using Database::select() for a join messes up in certa...
Roan Kattouw [Wed, 7 May 2008 18:57:06 +0000 (18:57 +0000)]
Fixing regression from r34353: using Database::select() for a join messes up in certain cases (puts `s where they don't belong, breaking SQL), but not for all joins. Seems to be related to table aliases, not sure though.

16 years agoRevert r34370 -- don't rev up the wiki parser for *every single page view ever* please!
Brion Vibber [Wed, 7 May 2008 17:16:16 +0000 (17:16 +0000)]
Revert r34370 -- don't rev up the wiki parser for *every single page view ever* please!

16 years ago* Adding/updating Persian translations
Huji [Wed, 7 May 2008 16:49:37 +0000 (16:49 +0000)]
* Adding/updating Persian translations

16 years agoAlso move the old files to the new hash path.
Bryan Tong Minh [Wed, 7 May 2008 15:09:25 +0000 (15:09 +0000)]
Also move the old files to the new hash path.

16 years ago* Don't move thumbnails as they are purged anyway
Bryan Tong Minh [Wed, 7 May 2008 15:03:18 +0000 (15:03 +0000)]
* Don't move thumbnails as they are purged anyway
* Force regeneration of the hash path
* Only switch titles if the move actually succeeded

16 years ago(bug 3208) Allow wikisyntax for the tag line content
Leon Weber [Wed, 7 May 2008 14:58:15 +0000 (14:58 +0000)]
(bug 3208)  Allow wikisyntax for the tag line content

16 years agoLocalisation updates for core messages from Betawiki (2008-05-07 13:56 CEST)
Siebrand Mazeland [Wed, 7 May 2008 12:15:20 +0000 (12:15 +0000)]
Localisation updates for core messages from Betawiki (2008-05-07 13:56 CEST)

16 years agoAPI:
Roan Kattouw [Wed, 7 May 2008 10:06:06 +0000 (10:06 +0000)]
API:
* (bug 13993) apfrom doesn't work for apdir=descending
* Also removed unnecessary ORDER BY page_namespace which caused a filesort for some crazy reason (no noticeable performance impact though)

16 years ago* Rename wfGetAvailableRights() to User::getAllRights()
Tim Starling [Wed, 7 May 2008 06:42:16 +0000 (06:42 +0000)]
* Rename wfGetAvailableRights() to User::getAllRights()
* Reintroduce $wgAvailableRights so that the above function is not so terribly slow and broken

16 years agoNow that I think about it, we're going to have to set $wgSharedPrefix inside of Setup...
Daniel Friesen [Wed, 7 May 2008 06:05:26 +0000 (06:05 +0000)]
Now that I think about it, we're going to have to set $wgSharedPrefix inside of Setup.php so that it can inherit from a $wgDBprefix inside of LocalSettings.php.

16 years agoNew config variables. $wgSharedPrefix and $wgSharedTables.
Daniel Friesen [Wed, 7 May 2008 04:44:04 +0000 (04:44 +0000)]
New config variables. $wgSharedPrefix and $wgSharedTables.
This is a complete rewrite of Database::tableName.
The new tableName also has no PHP errors, and outputs a cleanly quoted table name 100% of the time.
This should solve bug 2396

16 years agoShorter debug output
Tim Starling [Wed, 7 May 2008 04:22:40 +0000 (04:22 +0000)]
Shorter debug output

16 years agoDon't check for existence twice for non-existent files when no time is specified.
Tim Starling [Wed, 7 May 2008 03:39:35 +0000 (03:39 +0000)]
Don't check for existence twice for non-existent files when no time is specified.

16 years ago* (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
Brion Vibber [Wed, 7 May 2008 03:30:22 +0000 (03:30 +0000)]
* (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled

16 years agoUse rel="start", "prev", "next" appropriately on Pager-based pages (just adding them...
Aryeh Gregor [Wed, 7 May 2008 01:47:05 +0000 (01:47 +0000)]
Use rel="start", "prev", "next" appropriately on Pager-based pages (just adding them to the <a> tags, not adding <link> at the moment).  I don't think any client uses these right now, but then, of course they won't if no web apps use them, will they?

16 years agoLocalisation updates German
Raimond Spekking [Tue, 6 May 2008 20:29:38 +0000 (20:29 +0000)]
Localisation updates German

16 years ago*stab* some tweaks for my last commit
Alexandre Emsenhuber [Tue, 6 May 2008 17:18:02 +0000 (17:18 +0000)]
*stab* some tweaks for my last commit

16 years agoUpdate.
Rotem Liss [Tue, 6 May 2008 16:16:00 +0000 (16:16 +0000)]
Update.

16 years ago* Update some documentation
Alexandre Emsenhuber [Tue, 6 May 2008 16:03:03 +0000 (16:03 +0000)]
* Update some documentation
* Moved ProfilerSimple::debug() to Profiler class so that it can also be used there

16 years agoThen let's keep it on image page and add it to Special:Whatlinkshere
Victor Vasiliev [Tue, 6 May 2008 15:25:16 +0000 (15:25 +0000)]
Then let's keep it on image page and add it to Special:Whatlinkshere

16 years agoUh, I checked in the wrong changed line. :D Correction for last commit: "This needs...
Aryeh Gregor [Tue, 6 May 2008 14:57:14 +0000 (14:57 +0000)]
Uh, I checked in the wrong changed line.  :D  Correction for last commit: "This needs to be protected, actually, so that inheritance works properly."

16 years agoAdd $flags, document
Aaron Schulz [Tue, 6 May 2008 14:54:17 +0000 (14:54 +0000)]
Add $flags, document

16 years agoThis needs to be protected, actually, so that inheritance works properly.
Aryeh Gregor [Tue, 6 May 2008 14:52:30 +0000 (14:52 +0000)]
This needs to be protected, actually, so that inheritance works properly.

16 years agoUpdate.
Rotem Liss [Tue, 6 May 2008 14:51:18 +0000 (14:51 +0000)]
Update.

16 years agosed -i '/.*\$fname =.*/d;s/( \$fname )/( __METHOD__ )/' includes/SkinTemplate.php...
Aryeh Gregor [Tue, 6 May 2008 14:14:37 +0000 (14:14 +0000)]
sed -i '/.*\$fname =.*/d;s/( \$fname )/( __METHOD__ )/' includes/SkinTemplate.php && manually_fix_remaining_uses && php -l includes/SkinTemplate.php

16 years agoset the fallback language for zh-classical and gan into zh-hant, this would be useful...
Shinjiman [Tue, 6 May 2008 14:07:28 +0000 (14:07 +0000)]
set the fallback language for zh-classical and gan into zh-hant, this would be useful for the extension messages.

16 years agoThis was meant to be private.
Aryeh Gregor [Tue, 6 May 2008 14:06:16 +0000 (14:06 +0000)]
This was meant to be private.

16 years ago(bug 13970) Allow MonoBook-based skins to specify their own print stylesheet. Patch...
Aryeh Gregor [Tue, 6 May 2008 13:58:32 +0000 (13:58 +0000)]
(bug 13970) Allow MonoBook-based skins to specify their own print stylesheet.  Patch by Gernot Hillier, with modifications.

16 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Tue, 6 May 2008 13:57:02 +0000 (13:57 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

16 years ago* (bug 13950) Allow users to watch the user/user talk pages of users they block
Andrew Garrett [Tue, 6 May 2008 12:51:45 +0000 (12:51 +0000)]
* (bug 13950) Allow users to watch the user/user talk pages of users they block

16 years agoIntroduce svn-revision in $wgExtensionCredits for fast extension version specification.
Tim Starling [Tue, 6 May 2008 11:54:20 +0000 (11:54 +0000)]
Introduce svn-revision in $wgExtensionCredits for fast extension version specification.

16 years ago+ RELEASE-NOTES
Victor Vasiliev [Tue, 6 May 2008 05:18:47 +0000 (05:18 +0000)]
+ RELEASE-NOTES

16 years ago* (bug 13965) Hardcoded 51 limit on titles is too limiting
Victor Vasiliev [Tue, 6 May 2008 05:12:47 +0000 (05:12 +0000)]
* (bug 13965) Hardcoded 51 limit on titles is too limiting

16 years agoMaybe you missed the difference between getHTML and getText... One returns HTML,...
Tim Starling [Tue, 6 May 2008 02:50:07 +0000 (02:50 +0000)]
Maybe you missed the difference between getHTML and getText... One returns HTML, and one returns text.

16 years agoDowngrading this error because it happens sometimes due to user input
Tim Starling [Tue, 6 May 2008 02:01:24 +0000 (02:01 +0000)]
Downgrading this error because it happens sometimes due to user input

16 years agoE_STRICT
Aaron Schulz [Tue, 6 May 2008 01:08:45 +0000 (01:08 +0000)]
E_STRICT

16 years agoSend wfDeprecated notices to the debug log only. We don't actually want to fix all...
Tim Starling [Tue, 6 May 2008 00:59:16 +0000 (00:59 +0000)]
Send wfDeprecated notices to the debug log only. We don't actually want to fix all of these occurrences.

16 years ago* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors
Brion Vibber [Tue, 6 May 2008 00:01:12 +0000 (00:01 +0000)]
* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors

16 years agoLocalisation updates. Rebuilt all language files.
Siebrand Mazeland [Mon, 5 May 2008 22:28:27 +0000 (22:28 +0000)]
Localisation updates. Rebuilt all language files.

16 years agoLocalisation updates German
Raimond Spekking [Mon, 5 May 2008 22:25:38 +0000 (22:25 +0000)]
Localisation updates German
Partly revert of r34273

16 years agomissed a release note in revert
Brion Vibber [Mon, 5 May 2008 22:23:50 +0000 (22:23 +0000)]
missed a release note in revert

16 years agoRevert r34199, r34205 for now.
Brion Vibber [Mon, 5 May 2008 22:21:01 +0000 (22:21 +0000)]
Revert r34199, r34205 for now.
I don't really like the var name $wgSharedDBtables (inconsistent caps).

Compare with Gregory's patch on bug 2396:
https://bugzilla.wikimedia.org/show_bug.cgi?id=2396
https://bugzilla.wikimedia.org/attachment.cgi?id=3610

That uses a var named $wgSharedTables, but makes it more flexible (allowing arbitrary DB and prefix per table), which may or may not be a super idea.

16 years agoRevert r34267, r34268, r34269, r34270 for now.
Brion Vibber [Mon, 5 May 2008 22:14:55 +0000 (22:14 +0000)]
Revert r34267, r34268, r34269, r34270 for now.
I don't like the UI chhanges here; the file usage links simply disappear from their current location with no warning or explanation, while the in-page TOC at the top suddenly starts linking to a different page, totally unexpectedly.

16 years agoLocalisation updates. Fixes on previous commit.
Siebrand Mazeland [Mon, 5 May 2008 22:01:12 +0000 (22:01 +0000)]
Localisation updates. Fixes on previous commit.

16 years agoLocalisation updates for core messages from Betawiki (2008-05-05 23:21 CEST)
Siebrand Mazeland [Mon, 5 May 2008 21:50:29 +0000 (21:50 +0000)]
Localisation updates for core messages from Betawiki (2008-05-05 23:21 CEST)

16 years agoimage -> file...
Siebrand Mazeland [Mon, 5 May 2008 21:26:26 +0000 (21:26 +0000)]
image -> file...

16 years agoRevert r34260, r34261. Comments add flavor to the source code!
Brion Vibber [Mon, 5 May 2008 20:50:40 +0000 (20:50 +0000)]
Revert r34260, r34261. Comments add flavor to the source code!
Remember that expletives aren't used just for fun; they indicate the severity of the problem that had to be worked around.

16 years agoAnd messages.inc ? ;)
Alexandre Emsenhuber [Mon, 5 May 2008 20:05:01 +0000 (20:05 +0000)]
And messages.inc ? ;)

16 years agoMaybe it's better not to commit new features at 23:00?
Victor Vasiliev [Mon, 5 May 2008 20:01:46 +0000 (20:01 +0000)]
Maybe it's better not to commit new features at 23:00?

16 years agoFix XHTML per ialex
Victor Vasiliev [Mon, 5 May 2008 19:56:34 +0000 (19:56 +0000)]
Fix XHTML per ialex

16 years agoShow image links on Special:WhatLinksHere:
Victor Vasiliev [Mon, 5 May 2008 19:47:43 +0000 (19:47 +0000)]
Show image links on Special:WhatLinksHere:
* It has paging
* It handles redirects

16 years agoStop profiling before ending the function
Alexandre Emsenhuber [Mon, 5 May 2008 19:39:30 +0000 (19:39 +0000)]
Stop profiling before ending the function

16 years agoRemove emailconfirmed group from comment.
Rotem Liss [Mon, 5 May 2008 18:04:48 +0000 (18:04 +0000)]
Remove emailconfirmed group from comment.

16 years agoUpdate.
Rotem Liss [Mon, 5 May 2008 18:02:09 +0000 (18:02 +0000)]
Update.

16 years agoRemove some emotional outbursts
Siebrand Mazeland [Mon, 5 May 2008 18:00:45 +0000 (18:00 +0000)]
Remove some emotional outbursts

16 years agoRemove 'permission' header
Aaron Schulz [Mon, 5 May 2008 17:14:14 +0000 (17:14 +0000)]
Remove 'permission' header

16 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Mon, 5 May 2008 16:58:32 +0000 (16:58 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

16 years ago* $name instead of $file.
Robert Leverington [Mon, 5 May 2008 15:03:42 +0000 (15:03 +0000)]
* $name instead of $file.
* Remove unnecessary if.

16 years ago* Use wfLoadExtensionMessages() in MessageCache::loadAllMessages() instead of Message...
Robert Leverington [Mon, 5 May 2008 15:00:16 +0000 (15:00 +0000)]
* Use wfLoadExtensionMessages() in MessageCache::loadAllMessages() instead of MessageCache::loadMessagesFile().

16 years agoLocalisation updates German
Raimond Spekking [Mon, 5 May 2008 14:50:31 +0000 (14:50 +0000)]
Localisation updates German

16 years ago* Add exception if magicWords array is empty.
Robert Leverington [Mon, 5 May 2008 14:33:00 +0000 (14:33 +0000)]
* Add exception if magicWords array is empty.

16 years ago* Wrong variable in last commit.
Robert Leverington [Mon, 5 May 2008 14:17:31 +0000 (14:17 +0000)]
* Wrong variable in last commit.

16 years ago* Missed the extension name array key.
Robert Leverington [Mon, 5 May 2008 14:14:28 +0000 (14:14 +0000)]
* Missed the extension name array key.

16 years ago* wfLoadExtensionMessages() now accepts a language code as its second argument, rathe...
Robert Leverington [Mon, 5 May 2008 13:29:51 +0000 (13:29 +0000)]
* wfLoadExtensionMessages() now accepts a language code as its second argument, rather than a boolean indicating whether or not to load all messages.  This allows extension developers to be more discriminate with regards to which languages they load, avoiding the problem of loading lots of message localisations and fall backs not being merged in.

16 years agoLocalisation updates for core messages from Betawiki (2008-05-05 12:21 CEST)
Siebrand Mazeland [Mon, 5 May 2008 10:41:35 +0000 (10:41 +0000)]
Localisation updates for core messages from Betawiki (2008-05-05 12:21 CEST)

16 years agoAPI: Expose cascading protection via inprop=protection for non-existent pages.
Bryan Tong Minh [Mon, 5 May 2008 09:37:14 +0000 (09:37 +0000)]
API: Expose cascading protection via inprop=protection for non-existent pages.

16 years agoRemove garbage HTML, show user
Aaron Schulz [Mon, 5 May 2008 03:35:37 +0000 (03:35 +0000)]
Remove garbage HTML, show user

16 years ago(bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
Aryeh Gregor [Mon, 5 May 2008 00:14:07 +0000 (00:14 +0000)]
(bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML

16 years ago* Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
Aryeh Gregor [Sun, 4 May 2008 23:51:15 +0000 (23:51 +0000)]
* Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
* Clean up some of the surrounding code: use regexes where appropriate, observe 80-char lines, remove superfluous parentheses.

Not tested on FF3, because it seems to freak out at JavaScript served from http://localhost and I haven't figured out yet how to make it accept it.  But it looks regression-free from Opera 9 (included masked as IE/Fx), although I can't verify the fix.

16 years agoimage -> file
Siebrand Mazeland [Sun, 4 May 2008 18:16:08 +0000 (18:16 +0000)]
image -> file

16 years agoStylistic changes to recently added messages
Siebrand Mazeland [Sun, 4 May 2008 18:14:07 +0000 (18:14 +0000)]
Stylistic changes to recently added messages

16 years agoAvoid code duplication
Bryan Tong Minh [Sun, 4 May 2008 16:24:05 +0000 (16:24 +0000)]
Avoid code duplication

16 years agoRe-commit r34072 with some modifications:
Robert Stojnić [Sun, 4 May 2008 15:31:03 +0000 (15:31 +0000)]
Re-commit r34072 with some modifications:
* turned off by default (set $wgAdvancedSearchHighlighting to turn on)
* reverted r26269, \b doesn't interact very good with unicode data,
  so it broke highlighting of words that end/begin in nonascii chars
  completely
* small bugfixes in unicode handling, tested in more languages
* $wgSearchHighlightBoundaries need to be set to "" for CJK wikis
* benchmarking: on typical simplewiki data, the code is around 4-5 slower
  (according to noc.wikimedia.org the old code profiles to about 0.8%),
  but can be up to 20 times slower on featured-size articles
* update release notes (also for r33400)
* fix profiling errors in SpecialSearch

16 years ago(bug 13945) API: Retrieve cascading protection sources via inprop=protection
Bryan Tong Minh [Sun, 4 May 2008 15:10:58 +0000 (15:10 +0000)]
(bug 13945) API: Retrieve cascading protection sources via inprop=protection

16 years ago(bug 12145) Kazakh localisation updates, patch 4875 by AlefZet
Leon Weber [Sun, 4 May 2008 14:57:36 +0000 (14:57 +0000)]
(bug 12145) Kazakh localisation updates, patch 4875 by AlefZet

16 years agoRemoved the note about that $wgSharedDB only works for user table
Alexandre Emsenhuber [Sun, 4 May 2008 13:22:22 +0000 (13:22 +0000)]
Removed the note about that $wgSharedDB only works for user table

16 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sun, 4 May 2008 10:15:27 +0000 (10:15 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

16 years agoNew variable $wgSharedDBtables. This allows altering of the list of tables which...
Daniel Friesen [Sun, 4 May 2008 09:00:17 +0000 (09:00 +0000)]
New variable $wgSharedDBtables. This allows altering of the list of tables which enabling $wgSharedDB affects. For backwards compatibility this is set to an array containing the user table.

16 years agoAdding missing RELEASE-NOTE.
Daniel Friesen [Sun, 4 May 2008 07:53:47 +0000 (07:53 +0000)]
Adding missing RELEASE-NOTE.
bug 12542 was committed well before I got commit access. However it was not documented in the RELEASE-NOTES.

16 years ago* Adding/updating Persian translations
Huji [Sun, 4 May 2008 07:52:49 +0000 (07:52 +0000)]
* Adding/updating Persian translations

16 years ago(bug 13934) Fixing the link to GNU General Public License Version 2
Huji [Sun, 4 May 2008 07:48:31 +0000 (07:48 +0000)]
(bug 13934) Fixing the link to GNU General Public License Version 2

16 years agoAnd another german localisation update.
Leon Weber [Sat, 3 May 2008 23:02:42 +0000 (23:02 +0000)]
And another german localisation update.

16 years agoRemoving a conflict that's been commited by accident. Thanks to Nikerabbit for the...
Leon Weber [Sat, 3 May 2008 22:59:58 +0000 (22:59 +0000)]
Removing a conflict that's been commited by accident. Thanks to Nikerabbit for the hint.

16 years agoGerman localisation updates, patch by ray.
Leon Weber [Sat, 3 May 2008 22:31:45 +0000 (22:31 +0000)]
German localisation updates, patch by ray.

16 years agoCustom rollback summaries now accept the same arguments as the default message
Alexandre Emsenhuber [Sat, 3 May 2008 16:07:57 +0000 (16:07 +0000)]
Custom rollback summaries now accept the same arguments as the default message

16 years agoUpdate.
Rotem Liss [Sat, 3 May 2008 15:43:21 +0000 (15:43 +0000)]
Update.

16 years agoLeave deleted images alone
Aaron Schulz [Sat, 3 May 2008 15:16:22 +0000 (15:16 +0000)]
Leave deleted images alone

16 years agoForgot to commit messages
Victor Vasiliev [Sat, 3 May 2008 14:51:26 +0000 (14:51 +0000)]
Forgot to commit messages

16 years ago* Fix oi_deleted issues with image moving
Victor Vasiliev [Sat, 3 May 2008 14:45:06 +0000 (14:45 +0000)]
* Fix oi_deleted issues with image moving
* Fix filearchive update status check

16 years agoMark ForeignDBFile as unmovable
Bryan Tong Minh [Sat, 3 May 2008 13:49:53 +0000 (13:49 +0000)]
Mark ForeignDBFile as unmovable

16 years agocheckExtesnion => checkExtension
Bryan Tong Minh [Sat, 3 May 2008 13:39:10 +0000 (13:39 +0000)]
checkExtesnion => checkExtension

16 years agoFix typo in r33748, onsubmit -> submit
Robert Stojnić [Sat, 3 May 2008 13:16:38 +0000 (13:16 +0000)]
Fix typo in r33748, onsubmit -> submit