lhc/web/wiklou.git
16 years agoDisallow shitty filesort query
Aaron Schulz [Sun, 13 Apr 2008 06:39:15 +0000 (06:39 +0000)]
Disallow shitty filesort query

16 years ago* don't shortcut readerindex for querygroups
Domas Mituzas [Sun, 13 Apr 2008 06:23:39 +0000 (06:23 +0000)]
* don't shortcut readerindex for querygroups
* don't record readerindex if already recorded, or not in global loads

16 years ago* Add form to RCLinked and add to sp:specialpages
Aaron Schulz [Sun, 13 Apr 2008 05:54:20 +0000 (05:54 +0000)]
* Add form to RCLinked and add to sp:specialpages
* Add WLH back to the list

16 years agoTweak log summary
Aaron Schulz [Sun, 13 Apr 2008 05:18:19 +0000 (05:18 +0000)]
Tweak log summary

16 years agoTweak
Aaron Schulz [Sun, 13 Apr 2008 04:17:35 +0000 (04:17 +0000)]
Tweak

16 years agoActually, tone done colors
Aaron Schulz [Sun, 13 Apr 2008 04:15:11 +0000 (04:15 +0000)]
Actually, tone done colors

16 years ago* Update Chinese translations
Shinjiman [Sun, 13 Apr 2008 03:17:38 +0000 (03:17 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoWhitespace
Aaron Schulz [Sat, 12 Apr 2008 22:37:36 +0000 (22:37 +0000)]
Whitespace

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Sat, 12 Apr 2008 22:30:30 +0000 (22:30 +0000)]
Localisation updates for core messages from Betawiki

16 years ago$out is needed here
Aaron Schulz [Sat, 12 Apr 2008 22:28:53 +0000 (22:28 +0000)]
$out is needed here

16 years agoE_WARNING, thanks to Siebrand for reporting it
Alexandre Emsenhuber [Sat, 12 Apr 2008 22:27:16 +0000 (22:27 +0000)]
E_WARNING, thanks to Siebrand for reporting it

16 years agoAdd comment for specialpages-group group in messages.inc and rebuild MessagesEn.php
Alexandre Emsenhuber [Sat, 12 Apr 2008 22:18:58 +0000 (22:18 +0000)]
Add comment for specialpages-group group in messages.inc and rebuild MessagesEn.php

16 years agoMake these h4
Aaron Schulz [Sat, 12 Apr 2008 22:10:31 +0000 (22:10 +0000)]
Make these h4

16 years agoUpdate per r33197
Aaron Schulz [Sat, 12 Apr 2008 22:07:59 +0000 (22:07 +0000)]
Update per r33197

16 years agoGroup special pages at Special:SpecialPages
Aaron Schulz [Sat, 12 Apr 2008 21:42:19 +0000 (21:42 +0000)]
Group special pages at Special:SpecialPages

16 years agoAdded parameter to SavePreferences hook, contains old user preferences. See my next...
Alexandre Emsenhuber [Sat, 12 Apr 2008 19:42:27 +0000 (19:42 +0000)]
Added  parameter to SavePreferences hook, contains old user preferences. See my next commit for an implementation of it.

16 years agoUpdate.
Rotem Liss [Sat, 12 Apr 2008 18:43:58 +0000 (18:43 +0000)]
Update.

16 years ago(bug 13708) Don't set "Search results" title when loading Special:Search without...
Alexandre Emsenhuber [Sat, 12 Apr 2008 18:37:05 +0000 (18:37 +0000)]
(bug 13708) Don't set "Search results" title when loading Special:Search without query

16 years ago(bug 13705) Don't show rollback link in page history if called with dir=prev
Alexandre Emsenhuber [Sat, 12 Apr 2008 18:20:05 +0000 (18:20 +0000)]
(bug 13705) Don't show rollback link in page history if called with dir=prev

16 years agoAnd here also
Victor Vasiliev [Sat, 12 Apr 2008 18:15:17 +0000 (18:15 +0000)]
And here also

16 years ago* Invalidate cache of pages that includes images via redirects on upload
Victor Vasiliev [Sat, 12 Apr 2008 18:06:57 +0000 (18:06 +0000)]
* Invalidate cache of pages that includes images via redirects on upload

16 years ago* Cache image redirects (and enable them)
Victor Vasiliev [Sat, 12 Apr 2008 18:04:46 +0000 (18:04 +0000)]
* Cache image redirects (and enable them)

16 years ago* Hide (undo) link if user isn't able to edit page
Victor Vasiliev [Sat, 12 Apr 2008 17:58:58 +0000 (17:58 +0000)]
* Hide (undo) link if user isn't able to edit page

16 years ago* Update Chinese translations
Shinjiman [Sat, 12 Apr 2008 17:27:16 +0000 (17:27 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoUpdate for he.
Rotem Liss [Sat, 12 Apr 2008 16:41:28 +0000 (16:41 +0000)]
Update for he.

16 years agoAdd message added in r33178. Let's hope Andrewerdna remembers next time.
Siebrand Mazeland [Sat, 12 Apr 2008 15:52:46 +0000 (15:52 +0000)]
Add message added in r33178. Let's hope Andrewerdna remembers next time.

16 years ago* Add a footer (emailuser-footer) to the bottom of messages sent with Special:EmailUser
Andrew Garrett [Sat, 12 Apr 2008 15:11:23 +0000 (15:11 +0000)]
* Add a footer (emailuser-footer) to the bottom of messages sent with Special:EmailUser

16 years ago* The gotcha here was that wfMsgHtml does not escape parameters
Niklas Laxström [Sat, 12 Apr 2008 12:41:25 +0000 (12:41 +0000)]
* The gotcha here was that wfMsgHtml does not escape parameters

16 years ago* Bombom bom
Niklas Laxström [Sat, 12 Apr 2008 12:38:22 +0000 (12:38 +0000)]
* Bombom bom

16 years agoUpdate file
Meno25 [Sat, 12 Apr 2008 11:45:21 +0000 (11:45 +0000)]
Update file

16 years ago* Update Chinese translations
Shinjiman [Sat, 12 Apr 2008 11:21:13 +0000 (11:21 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoLocalisation updates for core messages from Betawiki (2008-04-12 12:50 CEST)
Siebrand Mazeland [Sat, 12 Apr 2008 11:13:16 +0000 (11:13 +0000)]
Localisation updates for core messages from Betawiki (2008-04-12 12:50 CEST)

16 years agoUpdate.
Rotem Liss [Sat, 12 Apr 2008 10:47:34 +0000 (10:47 +0000)]
Update.

16 years agoAdd the three new messages to messages.inc
Siebrand Mazeland [Sat, 12 Apr 2008 10:36:22 +0000 (10:36 +0000)]
Add the three new messages to messages.inc

16 years ago* (bug 6934) Allow separated inclusions, links, redirects on whatlinkshere
Victor Vasiliev [Sat, 12 Apr 2008 07:25:20 +0000 (07:25 +0000)]
* (bug 6934) Allow separated inclusions, links, redirects on whatlinkshere

16 years ago* Add year/month selector like contribs
Aaron Schulz [Sat, 12 Apr 2008 06:11:09 +0000 (06:11 +0000)]
* Add year/month selector like contribs
* Some code cleanup

16 years agoTweak date selector defaults
Aaron Schulz [Sat, 12 Apr 2008 06:09:11 +0000 (06:09 +0000)]
Tweak date selector defaults

16 years agoAdd class
Aaron Schulz [Sat, 12 Apr 2008 05:17:07 +0000 (05:17 +0000)]
Add class

16 years agoAdd $wgRCTypeGroupedLogs to group certain logs by type in changes lists
Aaron Schulz [Sat, 12 Apr 2008 03:23:02 +0000 (03:23 +0000)]
Add $wgRCTypeGroupedLogs to group certain logs by type in changes lists

16 years agoDon't log if we unprotect and unprotected page but try to set an expiry
Aaron Schulz [Sat, 12 Apr 2008 00:30:01 +0000 (00:30 +0000)]
Don't log if we unprotect and unprotected page but try to set an expiry

16 years agoAdd ar_parent_id column.
Greg Sabino Mullane [Sat, 12 Apr 2008 00:29:43 +0000 (00:29 +0000)]
Add ar_parent_id column.

16 years agoReset ID before adding to log. That way it goes in as 0 for deletions. RC save()...
Aaron Schulz [Fri, 11 Apr 2008 23:42:09 +0000 (23:42 +0000)]
Reset ID before adding to log. That way it goes in as 0 for deletions. RC save() stuff then makes values of zero become NULL. This should fix PG error.

16 years agoFix link
Aaron Schulz [Fri, 11 Apr 2008 23:02:18 +0000 (23:02 +0000)]
Fix link

16 years ago*Add ar_parent_id
Aaron Schulz [Fri, 11 Apr 2008 22:57:01 +0000 (22:57 +0000)]
*Add ar_parent_id

16 years agoFix typo
Siebrand Mazeland [Fri, 11 Apr 2008 22:48:20 +0000 (22:48 +0000)]
Fix typo

16 years ago* Alternative time format for vo
Niklas Laxström [Fri, 11 Apr 2008 20:05:28 +0000 (20:05 +0000)]
* Alternative time format for vo

16 years agoFix.
Rotem Liss [Fri, 11 Apr 2008 19:22:04 +0000 (19:22 +0000)]
Fix.

16 years agoOops. Forgot to put the namespace "Help:" back in.
Siebrand Mazeland [Fri, 11 Apr 2008 19:10:55 +0000 (19:10 +0000)]
Oops. Forgot to put the namespace "Help:" back in.

16 years ago(bug 13690) Fix PHP notice on accessing some URLs. parse_url() in some versions...
Aryeh Gregor [Fri, 11 Apr 2008 19:03:38 +0000 (19:03 +0000)]
(bug 13690) Fix PHP notice on accessing some URLs.  parse_url() in some versions of PHP doesn't set the path element if it's empty, rather than actually returning it as an empty string.

16 years agoRevert self - diff links gives nice perma-link
Aaron Schulz [Fri, 11 Apr 2008 18:27:21 +0000 (18:27 +0000)]
Revert self - diff links gives nice perma-link

16 years agoBe consistent with filearchive system and use whole key. This is a modified version...
Aaron Schulz [Fri, 11 Apr 2008 18:18:32 +0000 (18:18 +0000)]
Be consistent with filearchive system and use whole key. This is a modified version of 32267. (talked to brion about this, who reverted it earlier)

16 years ago* Adding/updating Persian translations
Huji [Fri, 11 Apr 2008 17:24:56 +0000 (17:24 +0000)]
* Adding/updating Persian translations

16 years agoDon't link to new page diffs
Aaron Schulz [Fri, 11 Apr 2008 17:01:40 +0000 (17:01 +0000)]
Don't link to new page diffs

16 years agoShow edit comment as it will appear in history when using preview and section=new
Alexandre Emsenhuber [Fri, 11 Apr 2008 16:40:24 +0000 (16:40 +0000)]
Show edit comment as it will appear in history when using preview and section=new

16 years ago* Ported tests from test/ branch to t/ branch
Alexandre Emsenhuber [Fri, 11 Apr 2008 15:56:13 +0000 (15:56 +0000)]
* Ported tests from test/ branch to t/ branch
* Added maint option to Makefile, only does maintenance tests
* Added .htaccess file in t/ to disallow acces from the web

16 years agoCommitting patch for bug 10931, which also fixes bug 13651. For a detailed explanatio...
Roan Kattouw [Fri, 11 Apr 2008 15:20:45 +0000 (15:20 +0000)]
Committing patch for bug 10931, which also fixes bug 13651. For a detailed explanation of what this commit does, see bug 10931 comment #24

16 years agoLocalisation updates German
Raimond Spekking [Fri, 11 Apr 2008 13:00:07 +0000 (13:00 +0000)]
Localisation updates German

16 years agoRemove unused 'sr' variants 'sr-jc' and 'sr-jl'.
Siebrand Mazeland [Fri, 11 Apr 2008 11:49:21 +0000 (11:49 +0000)]
Remove unused 'sr' variants 'sr-jc' and 'sr-jl'.

Project once started with currently no intention to revive.

16 years agoCleaner solution for part of Special:Listgrouprights localisation.
Siebrand Mazeland [Fri, 11 Apr 2008 11:01:11 +0000 (11:01 +0000)]
Cleaner solution for part of Special:Listgrouprights localisation.
* 'listgrouprights-link' is an ignored message
* 'listgrouprights-helppage' should be localised and contains only text

16 years agoLocalisation updates for core messages from Betawiki (2008-04-11 12:08 CEST)
Siebrand Mazeland [Fri, 11 Apr 2008 10:25:10 +0000 (10:25 +0000)]
Localisation updates for core messages from Betawiki (2008-04-11 12:08 CEST)

16 years ago Localisation updates for extensions messages from Betawiki
Bertrand Grondin [Fri, 11 Apr 2008 10:17:42 +0000 (10:17 +0000)]
 Localisation updates for extensions messages from Betawiki

16 years ago Localisation updates for extensions messages from Betawiki
Bertrand Grondin [Fri, 11 Apr 2008 09:21:14 +0000 (09:21 +0000)]
 Localisation updates for extensions messages from Betawiki

16 years agoLocalisation updates for core messages from Betawiki (2008-04-11 8:36 CEST)
Siebrand Mazeland [Fri, 11 Apr 2008 06:40:24 +0000 (06:40 +0000)]
Localisation updates for core messages from Betawiki (2008-04-11 8:36 CEST)

16 years ago* Update Chinese translations
Shinjiman [Fri, 11 Apr 2008 02:25:25 +0000 (02:25 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
* Adding a more generic localisation URL on www.MediaWiki.org

16 years agoAdd wfGenerateToken function, to generate a random hex token. Used in CentralAuth...
Andrew Garrett [Fri, 11 Apr 2008 00:43:13 +0000 (00:43 +0000)]
Add wfGenerateToken function, to generate a random hex token. Used in CentralAuth, currently.

16 years agoLocalisation updates for core messages from Betawiki (2008-04-10 23:25 CEST)
Siebrand Mazeland [Thu, 10 Apr 2008 21:53:08 +0000 (21:53 +0000)]
Localisation updates for core messages from Betawiki (2008-04-10 23:25 CEST)

16 years agoAdded message 'mainpage-description' as duplicate of 'mainpage' and added it to messa...
Siebrand Mazeland [Thu, 10 Apr 2008 19:16:36 +0000 (19:16 +0000)]
Added message 'mainpage-description' as duplicate of 'mainpage' and added it to message 'sidebar'
Fixes: (bug 6332) Lacking entry Mainpage-url
       (bug 8617) Separate main page url and name
Thanks: Danny B., Milda (for the implementation and regex)

16 years agoforce index, per domas
Aaron Schulz [Thu, 10 Apr 2008 17:55:12 +0000 (17:55 +0000)]
force index, per domas

16 years agoAdd __METHOD__
Aaron Schulz [Thu, 10 Apr 2008 17:49:59 +0000 (17:49 +0000)]
Add __METHOD__

16 years agoRevert 33072 for now -- changes to ucuserprefix use
Brion Vibber [Thu, 10 Apr 2008 17:18:27 +0000 (17:18 +0000)]
Revert 33072 for now -- changes to ucuserprefix use

Using the user_timestamp index means you can't do an indexed search on the name prefix...
Basically the same as scanning raw on rev_timestamp, but with logged-in edits skipped so you don't scan *quite* as huge an amount of the table.
Since there's no index for the username prefix, the more specific the prefix, the *more* rows you'll have to scan through to fill out the result set, so the worse the performance will get.

16 years agoLocalisation updates German incl. fix of wrong encoding from r33070
Raimond Spekking [Thu, 10 Apr 2008 16:57:30 +0000 (16:57 +0000)]
Localisation updates German incl. fix of wrong encoding from r33070

16 years ago(bug 13684) Links in Special:ListGroupRights should be in content language
Alexandre Emsenhuber [Thu, 10 Apr 2008 16:32:32 +0000 (16:32 +0000)]
(bug 13684) Links in Special:ListGroupRights should be in content language

16 years agoDocument GetCacheVaryCookies hook
Alexandre Emsenhuber [Thu, 10 Apr 2008 14:28:56 +0000 (14:28 +0000)]
Document GetCacheVaryCookies hook

16 years agoAdd comment to sr-jc/sr-jl
Siebrand Mazeland [Thu, 10 Apr 2008 12:14:44 +0000 (12:14 +0000)]
Add comment to sr-jc/sr-jl

16 years agoAPI: Enhancing ucuserprefix performance
Roan Kattouw [Thu, 10 Apr 2008 11:57:27 +0000 (11:57 +0000)]
API: Enhancing ucuserprefix performance
* ucuserprefix now only works for anonymous users. This allows us to add WHERE rev_user=0 (fewer rows to scan) and use the user_timestamp index (so the ORDER BY rev_user_text DESC can be killed)
* ucuserprefix must be an IP containing at least two full octets, e.g. '12.345.', to ensure the resulting LIKE is somewhat sane

16 years agoUpdate and fix.
Rotem Liss [Thu, 10 Apr 2008 11:45:06 +0000 (11:45 +0000)]
Update and fix.

16 years ago(bug 13544) Added oldid parameter to action=parse to allow for parsing of old revisions
Roan Kattouw [Thu, 10 Apr 2008 10:51:40 +0000 (10:51 +0000)]
(bug 13544) Added oldid parameter to action=parse to allow for parsing of old revisions

16 years agoNo need for {{ns:help}} with this link type.
Siebrand Mazeland [Thu, 10 Apr 2008 10:26:41 +0000 (10:26 +0000)]
No need for {{ns:help}} with this link type.

16 years ago* (bug 13604) Add Special:ListGroupRights to show a list of defined usergroups and...
Raimond Spekking [Thu, 10 Apr 2008 10:10:07 +0000 (10:10 +0000)]
* (bug 13604) Add Special:ListGroupRights to show a list of defined usergroups and the rights for these groups.
See bug 13603 for the same function added to the API last week
Patch by Mormegil

16 years agoAdd CentralAuth cookies to the XVO header
Tim Starling [Thu, 10 Apr 2008 08:42:36 +0000 (08:42 +0000)]
Add CentralAuth cookies to the XVO header

16 years agoUpdate.
Rotem Liss [Thu, 10 Apr 2008 05:02:00 +0000 (05:02 +0000)]
Update.

16 years ago(bug 13678) Fix CSS validation for Monobook
Aryeh Gregor [Thu, 10 Apr 2008 01:39:09 +0000 (01:39 +0000)]
(bug 13678) Fix CSS validation for Monobook

16 years ago* (bug 13433) Fix action=render on Image: pages
Brion Vibber [Wed, 9 Apr 2008 22:42:29 +0000 (22:42 +0000)]
* (bug 13433) Fix action=render on Image: pages

16 years ago* (bug 13458) Preview/edit toolbar spacing now works consistently
Brion Vibber [Wed, 9 Apr 2008 22:20:01 +0000 (22:20 +0000)]
* (bug 13458) Preview/edit toolbar spacing now works consistently

16 years agoUpdate 'prefs-help-realname' (split in two sentences, add a comma)
Siebrand Mazeland [Wed, 9 Apr 2008 21:41:48 +0000 (21:41 +0000)]
Update 'prefs-help-realname' (split in two sentences, add a comma)

16 years agoPer r33051: remove it from doc
Alexandre Emsenhuber [Wed, 9 Apr 2008 20:27:45 +0000 (20:27 +0000)]
Per r33051: remove it from doc

16 years agoRemove old-fashioned $wgLinkCacheMemcached stuff
Aaron Schulz [Wed, 9 Apr 2008 20:21:07 +0000 (20:21 +0000)]
Remove old-fashioned $wgLinkCacheMemcached stuff

16 years agoTweak comment
Aaron Schulz [Wed, 9 Apr 2008 20:07:07 +0000 (20:07 +0000)]
Tweak comment

16 years agoImprove query; add dupe and loop checking
Aaron Schulz [Wed, 9 Apr 2008 19:19:10 +0000 (19:19 +0000)]
Improve query; add dupe and loop checking

16 years agoAdding back the English magicword
Huji [Wed, 9 Apr 2008 18:38:06 +0000 (18:38 +0000)]
Adding back the English magicword

16 years agofucked up batch counting
Aaron Schulz [Wed, 9 Apr 2008 18:35:41 +0000 (18:35 +0000)]
fucked up batch counting

16 years ago* Use timestamp
Aaron Schulz [Wed, 9 Apr 2008 18:33:48 +0000 (18:33 +0000)]
* Use timestamp
* Fix generally fucked up batch counting

16 years agoKill a bunch of '=&' references for LinkCache, ParserCache, and MimeMagic singletons.
Brion Vibber [Wed, 9 Apr 2008 18:23:34 +0000 (18:23 +0000)]
Kill a bunch of '=&' references for LinkCache, ParserCache, and MimeMagic singletons.
This is an old PHP 4-ism; only needed today if you want to be able to replace the singleton with another object by using the reference as an lval. :)
Killing them because they annoy me.

16 years agoPartial revert of r32674; timestamp more reliable
Aaron Schulz [Wed, 9 Apr 2008 18:05:54 +0000 (18:05 +0000)]
Partial revert of r32674; timestamp more reliable

16 years agoAdd $edits param here too; document
Aaron Schulz [Wed, 9 Apr 2008 16:54:01 +0000 (16:54 +0000)]
Add $edits param here too; document

16 years agoMore performance tweaks
Aaron Schulz [Wed, 9 Apr 2008 16:32:14 +0000 (16:32 +0000)]
More performance tweaks

16 years ago* Not fi
Niklas Laxström [Wed, 9 Apr 2008 16:21:00 +0000 (16:21 +0000)]
* Not fi

16 years agoNo need for a second newline
Tim Starling [Wed, 9 Apr 2008 15:23:00 +0000 (15:23 +0000)]
No need for a second newline

16 years agoFixed a couple of potential catchable fatal errors when memcached debugging is enabled
Tim Starling [Wed, 9 Apr 2008 15:22:27 +0000 (15:22 +0000)]
Fixed a couple of potential catchable fatal errors when memcached debugging is enabled

16 years agoMoved log_id to the top of the table definition for logging
Tim Starling [Wed, 9 Apr 2008 15:19:54 +0000 (15:19 +0000)]
Moved log_id to the top of the table definition for logging