lhc/web/wiklou.git
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

16 years ago* Select len,is_redirect too
Aaron Schulz [Wed, 9 Apr 2008 13:02:34 +0000 (13:02 +0000)]
* Select len,is_redirect too
* Make visibility of linkcache stuff clearer

16 years agoModify UserLoginComplete and UserLogoutComplete hooks to allow HTML injection into...
Andrew Garrett [Wed, 9 Apr 2008 12:44:53 +0000 (12:44 +0000)]
Modify UserLoginComplete and UserLogoutComplete hooks to allow HTML injection into the success page by hooks. For CentralAuth 'global logging in'

16 years agoAllow $len/$redir to be passed in from other points
Aaron Schulz [Wed, 9 Apr 2008 12:43:48 +0000 (12:43 +0000)]
Allow $len/$redir to be passed in from other points

16 years agoPartial revert of r32982; old Title method is fine here
Aaron Schulz [Wed, 9 Apr 2008 12:15:44 +0000 (12:15 +0000)]
Partial revert of r32982; old Title method is fine here

16 years agoUse wfLocalFile() instead of create an Image object, was throwing an E_USER_NOTICE...
Alexandre Emsenhuber [Wed, 9 Apr 2008 12:09:15 +0000 (12:09 +0000)]
Use wfLocalFile() instead of create an Image object, was throwing an E_USER_NOTICE. Thanks to Grondin for reporting it.

16 years agoAdd a few localisations that were update in 1.13
Siebrand Mazeland [Wed, 9 Apr 2008 10:08:21 +0000 (10:08 +0000)]
Add a few localisations that were update in 1.13

Should we keep maintaining this section, or just generate it just before releases?

16 years agoLink to localisation project from [[Special:Allmessages]]
Siebrand Mazeland [Wed, 9 Apr 2008 09:32:42 +0000 (09:32 +0000)]
Link to localisation project from [[Special:Allmessages]]

16 years agoFix for ehanced recentchanges: when there are log items, show them groupped by log...
Alexandre Emsenhuber [Wed, 9 Apr 2008 09:20:55 +0000 (09:20 +0000)]
Fix for ehanced recentchanges: when there are log items, show them groupped by log (same as old behaviour) and not by page. See for example recent changes at mediawiki.org, new user log items aren't anymore groupped and they take too much place.

16 years agoLocalisation updates for core messages from Betawiki (2008-04-09 10:44 CEST)
Siebrand Mazeland [Wed, 9 Apr 2008 09:04:12 +0000 (09:04 +0000)]
Localisation updates for core messages from Betawiki (2008-04-09 10:44 CEST)

16 years agoTweak comment
Aaron Schulz [Wed, 9 Apr 2008 05:34:54 +0000 (05:34 +0000)]
Tweak comment

16 years ago...really get rid of link color query spam
Aaron Schulz [Wed, 9 Apr 2008 05:21:00 +0000 (05:21 +0000)]
...really get rid of link color query spam

16 years agogr
Aaron Schulz [Wed, 9 Apr 2008 03:17:21 +0000 (03:17 +0000)]
gr

16 years agoOnly get edit count if $redContribsWhenNoEdits is true
Aaron Schulz [Wed, 9 Apr 2008 02:32:06 +0000 (02:32 +0000)]
Only get edit count if $redContribsWhenNoEdits is true

16 years agoLEFT JOIN on page, this picks up deletion log and salting stuff
Aaron Schulz [Wed, 9 Apr 2008 01:20:04 +0000 (01:20 +0000)]
LEFT JOIN on page, this picks up deletion log and salting stuff

16 years ago* (bug 11039) Add missing labels on protection form
Brion Vibber [Wed, 9 Apr 2008 00:02:13 +0000 (00:02 +0000)]
* (bug 11039) Add missing labels on protection form
May help with screen readers which get a bit lost on the listbox-in-table layout
Fixed up some release notes entries

16 years ago* Fix user param
Aaron Schulz [Tue, 8 Apr 2008 23:30:36 +0000 (23:30 +0000)]
* Fix user param
* Fix sync errors
* Use red contribs links if needed

16 years agoSame for $this->user
Aaron Schulz [Tue, 8 Apr 2008 22:54:15 +0000 (22:54 +0000)]
Same for $this->user

16 years agoKill useless div that bumps everything down
Aaron Schulz [Tue, 8 Apr 2008 22:50:56 +0000 (22:50 +0000)]
Kill useless div that bumps everything down

16 years agoDon't set $this->pattern unless it is allowed
Aaron Schulz [Tue, 8 Apr 2008 22:40:36 +0000 (22:40 +0000)]
Don't set $this->pattern unless it is allowed

16 years agoMake parent ID null to avoid stupid looking sp:contribs
Aaron Schulz [Tue, 8 Apr 2008 21:38:39 +0000 (21:38 +0000)]
Make parent ID null to avoid stupid looking sp:contribs

16 years agoDon't copy over, append
Aaron Schulz [Tue, 8 Apr 2008 21:22:44 +0000 (21:22 +0000)]
Don't copy over, append

16 years agoSame syntax error, goddamn
Aaron Schulz [Tue, 8 Apr 2008 21:16:29 +0000 (21:16 +0000)]
Same syntax error, goddamn

16 years ago*ahem*
Aaron Schulz [Tue, 8 Apr 2008 21:11:15 +0000 (21:11 +0000)]
*ahem*

16 years agoSome cleanup per brion
Aaron Schulz [Tue, 8 Apr 2008 21:00:02 +0000 (21:00 +0000)]
Some cleanup per brion

16 years agoRemove "wtf" $_GET hacks ;)
Aaron Schulz [Tue, 8 Apr 2008 20:51:19 +0000 (20:51 +0000)]
Remove "wtf" $_GET hacks ;)

16 years agoThis wants a title now
Aaron Schulz [Tue, 8 Apr 2008 20:46:54 +0000 (20:46 +0000)]
This wants a title now

16 years agoGah, left this one too...
Aaron Schulz [Tue, 8 Apr 2008 20:41:55 +0000 (20:41 +0000)]
Gah, left this one too...

16 years agoRemove cruft from earlier testing
Aaron Schulz [Tue, 8 Apr 2008 20:38:51 +0000 (20:38 +0000)]
Remove cruft from earlier testing

16 years agoConsistency
Aaron Schulz [Tue, 8 Apr 2008 20:36:27 +0000 (20:36 +0000)]
Consistency

16 years ago* Add redirect and size fields to title. Add accessors.
Aaron Schulz [Tue, 8 Apr 2008 20:34:09 +0000 (20:34 +0000)]
* Add redirect and size fields to title. Add accessors.
* Add newFromRow() function for Titles to optionally avoid some queries on accessor use
* Make linkbatch and some things that directly use linkcache select len/redirect fields along with the rest all in one query. This avoids query spam for link coloring.

16 years agoDon't use $wgDBservers to get server ip, it isn't set on Wikimedia and return host...
Alexandre Emsenhuber [Tue, 8 Apr 2008 20:24:31 +0000 (20:24 +0000)]
Don't use $wgDBservers to get server ip, it isn't set on Wikimedia and return host="" for all db servers

16 years agoHack to preserve special page parameter (e.g. "/delete")
Aaron Schulz [Tue, 8 Apr 2008 20:20:29 +0000 (20:20 +0000)]
Hack to preserve special page parameter (e.g. "/delete")

16 years ago* Adding/updating Persian translations
Huji [Tue, 8 Apr 2008 20:17:21 +0000 (20:17 +0000)]
* Adding/updating Persian translations

16 years agoTypo, thanks to nikerabbit for reporting it :)
Alexandre Emsenhuber [Tue, 8 Apr 2008 19:52:19 +0000 (19:52 +0000)]
Typo, thanks to nikerabbit for reporting it :)

16 years agoAdd a CSS class to the headertext
Raimond Spekking [Tue, 8 Apr 2008 19:34:43 +0000 (19:34 +0000)]
Add a CSS class to the headertext

16 years agoDocument a bit.
Alexandre Emsenhuber [Tue, 8 Apr 2008 18:52:57 +0000 (18:52 +0000)]
Document a bit.

16 years agoSome tweaks
Aaron Schulz [Tue, 8 Apr 2008 18:37:17 +0000 (18:37 +0000)]
Some tweaks

16 years agoRevert r32842, r32942 for now.
Brion Vibber [Tue, 8 Apr 2008 18:20:28 +0000 (18:20 +0000)]
Revert r32842, r32942 for now.
* The date-split view is visually disjoint; loss of distinguishing bullets makes the lines harder to read and distinguish, while the extra date headers cause significant vertical expansion of log lists when searched on specific criteria.

16 years agotweak to r32864 -- remove extra parameters from string replacement which were removed...
Brion Vibber [Tue, 8 Apr 2008 18:04:55 +0000 (18:04 +0000)]
tweak to r32864 -- remove extra parameters from string replacement which were removed from captures

16 years agoRevert r32811 -- regression in search.
Brion Vibber [Tue, 8 Apr 2008 17:21:36 +0000 (17:21 +0000)]
Revert r32811 -- regression in search.
Caused search terms containing underscores to fail, as they had the underscores silently changed to spaces.
The means it's impossible to search for many programming terms in body text, say function names like 'str_replace'.

This was listed as a fix for bug 13616, but that seems to actually be about bad links in custom 'no article' text.
The links should be corrected instead.

16 years agoLocalisation updates German
Raimond Spekking [Tue, 8 Apr 2008 16:18:19 +0000 (16:18 +0000)]
Localisation updates German

16 years agoFixed E_NOTICE: array to string conversion in parserTests.
Alexandre Emsenhuber [Tue, 8 Apr 2008 16:06:17 +0000 (16:06 +0000)]
Fixed E_NOTICE: array to string conversion in parserTests.

16 years agoUpdate.
Rotem Liss [Tue, 8 Apr 2008 16:03:50 +0000 (16:03 +0000)]
Update.

16 years ago* Let MySQL choose among more indexes for title/user conditions
Aaron Schulz [Tue, 8 Apr 2008 15:50:16 +0000 (15:50 +0000)]
* Let MySQL choose among more indexes for title/user conditions
* Remove redlink contribs crap

16 years agoE_ERROR: file not found
Alexandre Emsenhuber [Tue, 8 Apr 2008 14:33:26 +0000 (14:33 +0000)]
E_ERROR: file not found

16 years agoSpecial-case the WHERE for a single restricted log type; use the database functions...
Aryeh Gregor [Tue, 8 Apr 2008 13:58:33 +0000 (13:58 +0000)]
Special-case the WHERE for a single restricted log type; use the database functions for escaping and making lists.

16 years ago* Update Chinese translations
Shinjiman [Tue, 8 Apr 2008 12:51:28 +0000 (12:51 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoAdd a nice fieldset around the external search input form
Raimond Spekking [Tue, 8 Apr 2008 12:22:12 +0000 (12:22 +0000)]
Add a nice fieldset around the external search input form

16 years agoDon't use query groups for master connections
Tim Starling [Tue, 8 Apr 2008 11:54:34 +0000 (11:54 +0000)]
Don't use query groups for master connections

16 years agoWorkaround for call_user_func_array bug
Tim Starling [Tue, 8 Apr 2008 09:51:13 +0000 (09:51 +0000)]
Workaround for call_user_func_array bug