lhc/web/wiklou.git
16 years agoWith link text, tink targets are always normalised (also slightly cheaper I was told)
Siebrand Mazeland [Tue, 4 Dec 2007 13:26:12 +0000 (13:26 +0000)]
With link text, tink targets are always normalised (also slightly cheaper I was told)
* "[[{{ns:user}}:..|.." -> "[[User:..|.."
* "[[{{ns:user_talk}}:..|.." -> "[[User_talk:..|.."

16 years agoUse same formatting as in MessagesEn.php for 'cantcreateaccount-text'
Siebrand Mazeland [Tue, 4 Dec 2007 12:28:56 +0000 (12:28 +0000)]
Use same formatting as in MessagesEn.php for 'cantcreateaccount-text'

16 years ago* PageHistory::diffButtons
Raimond Spekking [Tue, 4 Dec 2007 12:22:23 +0000 (12:22 +0000)]
* PageHistory::diffButtons
** Remove commented out message, no one missed it since r10459
** Document function, use proper XML::element
* Remove other ancient unused messages

16 years agoUpdate.
Rotem Liss [Tue, 4 Dec 2007 11:32:00 +0000 (11:32 +0000)]
Update.

16 years ago* (bug 11993) Remove contentsub "revision history", it is useless because it is alrea...
Raimond Spekking [Tue, 4 Dec 2007 11:12:10 +0000 (11:12 +0000)]
* (bug 11993) Remove contentsub "revision history", it is useless because it is already in the page title

16 years ago* Add descriptive <title> to revision difference page
Raimond Spekking [Tue, 4 Dec 2007 10:56:29 +0000 (10:56 +0000)]
* Add descriptive <title> to revision difference page
* Move message 'difference' in language files to recentchanges section as it is only used in RecentChanges.php now.

16 years agoIn ApiLogin, init session if necessary. This avoids a blank session ID when no sessio...
Rotem Liss [Tue, 4 Dec 2007 08:35:26 +0000 (08:35 +0000)]
In ApiLogin, init session if necessary. This avoids a blank session ID when no session exists yet.

16 years agoAdded missing translations for mergehistory family.
Huji [Tue, 4 Dec 2007 06:56:55 +0000 (06:56 +0000)]
Added missing translations for mergehistory family.

16 years agoFixing bug 12192.
Rotem Liss [Tue, 4 Dec 2007 06:51:49 +0000 (06:51 +0000)]
Fixing bug 12192.

16 years agomaintenance/findhooks.php should find and report wfRunHooks() instances that it can...
Aryeh Gregor [Tue, 4 Dec 2007 02:08:45 +0000 (02:08 +0000)]
maintenance/findhooks.php should find and report wfRunHooks() instances that it can't understand, instead of ignoring them.  Lousy cut-and-paste job, but who cares, it's like 100 lines anyway.

16 years ago* Update Chinese translations
Shinjiman [Tue, 4 Dec 2007 01:52:53 +0000 (01:52 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years ago@fixme this is probably *horribly wrong*
Brion Vibber [Mon, 3 Dec 2007 20:38:06 +0000 (20:38 +0000)]
@fixme this is probably *horribly wrong*
LanguageConverter seems to want $wgParser's uniqPrefix, however
if this is called for a parser cache hit, the parser may not
have ever been initialized in the first place.

Not really sure what the heck is supposed to be going on here...
For now, returning an empty string '' without dying out, but
leaving a stub exception comment in for testing.

16 years ago* (bug 12174) Update hooks.txt. Change Linker.php to use the hook name directely...
Raimond Spekking [Mon, 3 Dec 2007 19:47:11 +0000 (19:47 +0000)]
* (bug 12174) Update hooks.txt. Change Linker.php to use the hook name directely in wfRunHooks so that
maintenance/findhooks.php doesn't say that 'EditSectionLink' and
'EditSectionLinkForOther' aren't found in MediaWiki code.
Patch by Alexandre Emsenhuber

16 years agoFix typos
Siebrand Mazeland [Mon, 3 Dec 2007 19:33:38 +0000 (19:33 +0000)]
Fix typos

16 years ago* Graceful behavior for updateRestrictions.php if a page already has records
Brion Vibber [Mon, 3 Dec 2007 19:16:56 +0000 (19:16 +0000)]
* Graceful behavior for updateRestrictions.php if a page already has records
  in the page_restrictions matching its old page_restrictions field.
  May help with odd upgrade issues or race condition.

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Mon, 3 Dec 2007 19:08:45 +0000 (19:08 +0000)]
Localisation updates from Betawiki.
* be, dsb, el, fi, fr, hr, hsb, ka, kn, nl, qu, sk, stq, wuu

16 years agoIn API action=login, make attribute sessionid work if a session ID doesn't exist...
Rotem Liss [Mon, 3 Dec 2007 18:50:53 +0000 (18:50 +0000)]
In API action=login, make attribute sessionid work if a session ID doesn't exist yet.

16 years agoUpdate.
Rotem Liss [Mon, 3 Dec 2007 18:04:37 +0000 (18:04 +0000)]
Update.

16 years agoAdd a long existing special page ('confirmemail') to $specialPageAliases.
Raimond Spekking [Mon, 3 Dec 2007 17:54:32 +0000 (17:54 +0000)]
Add a long existing special page ('confirmemail') to $specialPageAliases.

16 years agoReverting r28034 for now ("(bug 943) RSS feed for Recentchangeslinked")
Brion Vibber [Mon, 3 Dec 2007 16:51:28 +0000 (16:51 +0000)]
Reverting r28034 for now ("(bug 943) RSS feed for Recentchangeslinked")
* Doesn't set the feed links so it's undiscoverable
* Contents are entirely inconsistent with existing recent changes and history feeds
* Adds unnecessary new messages

16 years agoRevert r28020; unnecessary since LinkBatch change in 28113
Brion Vibber [Mon, 3 Dec 2007 16:41:16 +0000 (16:41 +0000)]
Revert r28020; unnecessary since LinkBatch change in 28113

16 years agoReplace some manually-constructed single-field queries made via overlong function...
Brion Vibber [Mon, 3 Dec 2007 16:34:16 +0000 (16:34 +0000)]
Replace some manually-constructed single-field queries made via overlong function sequences with nice easy selectField() calls.

16 years agoPeople keep sticking raw user_text fields into LinkBatch::add(), so let's go ahead...
Brion Vibber [Mon, 3 Dec 2007 16:19:47 +0000 (16:19 +0000)]
People keep sticking raw user_text fields into LinkBatch::add(), so let's go ahead and convert the spaces so they'll actually work right. Sigh.

16 years agoI meant to be *removing* these, not *adding* them.
Roan Kattouw [Mon, 3 Dec 2007 16:05:24 +0000 (16:05 +0000)]
I meant to be *removing* these, not *adding* them.

16 years agoAPI: A cleaner implementation of r28057: this one also hides disabled modules from...
Roan Kattouw [Mon, 3 Dec 2007 15:52:27 +0000 (15:52 +0000)]
API: A cleaner implementation of r28057: this one also hides disabled modules from the list of possible actions on top of the help screen.

16 years ago* Totally disable linkprefix for ru.
Victor Vasiliev [Mon, 3 Dec 2007 13:58:51 +0000 (13:58 +0000)]
* Totally disable linkprefix for ru.

16 years agoUpdate.
Rotem Liss [Mon, 3 Dec 2007 13:07:31 +0000 (13:07 +0000)]
Update.

16 years agoAdd 'mergeHistory' to $specialPageAliases too.
Raimond Spekking [Mon, 3 Dec 2007 12:53:36 +0000 (12:53 +0000)]
Add 'mergeHistory' to $specialPageAliases too.

16 years ago* Updates German
Raimond Spekking [Mon, 3 Dec 2007 12:40:29 +0000 (12:40 +0000)]
* Updates German

16 years agoFix.
Rotem Liss [Mon, 3 Dec 2007 12:39:29 +0000 (12:39 +0000)]
Fix.

16 years agoUpdate.
Rotem Liss [Mon, 3 Dec 2007 12:39:04 +0000 (12:39 +0000)]
Update.

16 years agoAdd 'listbots' (introduced in r27704) to $specialPageAliases
Raimond Spekking [Mon, 3 Dec 2007 12:37:25 +0000 (12:37 +0000)]
Add 'listbots' (introduced in r27704) to $specialPageAliases

16 years agoUsers without the delete permission but with the deletedhistory one should not be...
Rotem Liss [Mon, 3 Dec 2007 12:36:22 +0000 (12:36 +0000)]
Users without the delete permission but with the deletedhistory one should not be allowed to access the content of deleted revisions.

16 years ago* Update Chinese translations
Shinjiman [Mon, 3 Dec 2007 12:15:26 +0000 (12:15 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoset the variant fallback from zh-CN/zh-TW to zh
Shinjiman [Mon, 3 Dec 2007 11:55:44 +0000 (11:55 +0000)]
set the variant fallback from zh-CN/zh-TW to zh

16 years agoFix.
Rotem Liss [Mon, 3 Dec 2007 10:38:37 +0000 (10:38 +0000)]
Fix.

16 years agoFixes.
Rotem Liss [Mon, 3 Dec 2007 10:37:53 +0000 (10:37 +0000)]
Fixes.

16 years agoFixes.
Rotem Liss [Mon, 3 Dec 2007 10:36:52 +0000 (10:36 +0000)]
Fixes.

16 years agoUpdate.
Rotem Liss [Mon, 3 Dec 2007 09:53:45 +0000 (09:53 +0000)]
Update.

16 years ago1 PHP Strict Standards: Only variables should be assigned by reference in /var/www...
Niklas Laxström [Mon, 3 Dec 2007 09:52:51 +0000 (09:52 +0000)]
1 PHP Strict Standards:  Only variables should be assigned by reference in /var/www/w/includes/Skin.php on line 1506

16 years ago* It's not nice to throw sql errors with invalid input
Niklas Laxström [Mon, 3 Dec 2007 09:33:21 +0000 (09:33 +0000)]
* It's not nice to throw sql errors with invalid input

16 years agoFix.
Rotem Liss [Mon, 3 Dec 2007 08:52:26 +0000 (08:52 +0000)]
Fix.

16 years agoFix.
Rotem Liss [Mon, 3 Dec 2007 08:45:38 +0000 (08:45 +0000)]
Fix.

16 years agoUpdate and fixes.
Rotem Liss [Mon, 3 Dec 2007 07:29:49 +0000 (07:29 +0000)]
Update and fixes.

16 years agoBump translation table cache version, since new tables have been added. Generates...
Tim Starling [Mon, 3 Dec 2007 04:54:28 +0000 (04:54 +0000)]
Bump translation table cache version, since new tables have been added. Generates fatal errors if not done.

16 years agofixing zh-TW array to merging with zh-Hant instead of zh-Hans
Shinjiman [Mon, 3 Dec 2007 03:51:44 +0000 (03:51 +0000)]
fixing zh-TW array to merging with zh-Hant instead of zh-Hans

16 years ago* Name wpDeleteReasonListRow and wpDeleteReasonRow to allow CSS manipulation.
Daniel Cannon [Mon, 3 Dec 2007 00:24:53 +0000 (00:24 +0000)]
* Name wpDeleteReasonListRow and wpDeleteReasonRow to allow CSS manipulation.

16 years ago* (bug 12178) Fix wpReason parameter to action=delete, again.
Daniel Cannon [Mon, 3 Dec 2007 00:14:36 +0000 (00:14 +0000)]
* (bug 12178) Fix wpReason parameter to action=delete, again.

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sun, 2 Dec 2007 22:59:51 +0000 (22:59 +0000)]
Localisation updates from Betawiki.
* an, ar, br, ca, crh-cyrl, crh-latn, cs, dum (new), fi, fr, hr, it, kn, la, myv, nl, no, qu, sdc, wuu
* Adding 'dum' to interface langauges
* Fixing 'crh-cyrl' in interface languages
* Update RELEASE-NOTES

16 years agoUpdate zh-tw
Siebrand Mazeland [Sun, 2 Dec 2007 20:46:13 +0000 (20:46 +0000)]
Update zh-tw

Submitted by: Bob Chao

16 years agoFixing a JavaScript error, cleanup.
Rotem Liss [Sun, 2 Dec 2007 18:24:20 +0000 (18:24 +0000)]
Fixing a JavaScript error, cleanup.

16 years agomark unused images as expensive, and fix queries to be cacheable
Domas Mituzas [Sun, 2 Dec 2007 16:17:30 +0000 (16:17 +0000)]
mark unused images as expensive, and fix queries to be cacheable

16 years agoAPI:
Victor Vasiliev [Sun, 2 Dec 2007 15:04:53 +0000 (15:04 +0000)]
API:
* Hide edit modules from help if $wgEnableWriteAPI is disabled
* Fix help formatting on UsageException

16 years ago* Wu translations
Shinjiman [Sun, 2 Dec 2007 14:49:27 +0000 (14:49 +0000)]
* Wu translations
  Provided by Wtzdj

16 years agoI'm clearly not fully awake
Roan Kattouw [Sun, 2 Dec 2007 14:45:35 +0000 (14:45 +0000)]
I'm clearly not fully awake

16 years agoChanging error code to prevent confusion with wfReadOnly() == true
Roan Kattouw [Sun, 2 Dec 2007 14:44:35 +0000 (14:44 +0000)]
Changing error code to prevent confusion with wfReadOnly() == true

16 years agoOops, forgot a few.
Roan Kattouw [Sun, 2 Dec 2007 14:43:37 +0000 (14:43 +0000)]
Oops, forgot a few.

16 years agoOops, requestWriteMode() is in ApiMain, not ApiBase
Roan Kattouw [Sun, 2 Dec 2007 14:36:32 +0000 (14:36 +0000)]
Oops, requestWriteMode() is in ApiMain, not ApiBase

16 years agoAPIEDIT BRANCH MERGE: Adding apiedit modules: action={block,changerights,delete,move...
Roan Kattouw [Sun, 2 Dec 2007 14:24:07 +0000 (14:24 +0000)]
APIEDIT BRANCH MERGE: Adding apiedit modules: action={block,changerights,delete,move,protect,rollback,unblock,undelete} and list={blocks,deletedrevs}. $wgEnableWriteAPI must be explicitly set to enable these modules.

16 years ago* (bug 12145) Update Kazakh translations
Shinjiman [Sun, 2 Dec 2007 10:48:34 +0000 (10:48 +0000)]
* (bug 12145) Update Kazakh translations
  Patch by AlefZet

16 years agoset the variant type messages as optional
Shinjiman [Sun, 2 Dec 2007 09:39:43 +0000 (09:39 +0000)]
set the variant type messages as optional

16 years ago* (bug 451) adding a generic Traditional / Simplified Chinese conversion table, with...
Shinjiman [Sun, 2 Dec 2007 09:02:09 +0000 (09:02 +0000)]
* (bug 451) adding a generic Traditional / Simplified Chinese conversion table, with their variants

16 years ago* Fix incorrect call to PPFrame::implode() from PPFrame::expand()
Tim Starling [Sun, 2 Dec 2007 08:27:39 +0000 (08:27 +0000)]
* Fix incorrect call to PPFrame::implode() from PPFrame::expand()
* Add PPFrame::splitBraceNode() for use in extensions
* Remove some obsolete debugging code

16 years ago* Update Chinese translations
Shinjiman [Sun, 2 Dec 2007 04:09:00 +0000 (04:09 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years ago* updating the manual tables, fixing some conversion errors, and regenerate the ZhCon...
Shinjiman [Sun, 2 Dec 2007 03:41:12 +0000 (03:41 +0000)]
* updating the manual tables, fixing some conversion errors, and regenerate the ZhConversion.php using the scripts and manual tables
* minor cleanup for the LanguageZh.php

16 years agoReverting prop=revisions diff generation: way too expensive and DoS-vulnerable
Roan Kattouw [Sun, 2 Dec 2007 00:22:32 +0000 (00:22 +0000)]
Reverting prop=revisions diff generation: way too expensive and DoS-vulnerable

16 years agoFix dynamic namespace names in the following messages to as used in English language...
Siebrand Mazeland [Sat, 1 Dec 2007 22:39:57 +0000 (22:39 +0000)]
Fix dynamic namespace names in the following messages to as used in English language messages:
* ns-specialprotected, userinvalidcssjstitle, allmessagesnotsupportedDB, ns-specialprotected, disambiguationspage
* lower case after {{ns:
* text namespace name for {{ns:#

16 years agoAlso drop prefixes
Victor Vasiliev [Sat, 1 Dec 2007 21:10:04 +0000 (21:10 +0000)]
Also drop prefixes

16 years ago* Fixing Russian (ru) link trail: removed quotes
Victor Vasiliev [Sat, 1 Dec 2007 20:59:20 +0000 (20:59 +0000)]
* Fixing Russian (ru) link trail: removed quotes

16 years ago* (bug 943) RSS feed for Recentchangeslinked
Victor Vasiliev [Sat, 1 Dec 2007 20:10:49 +0000 (20:10 +0000)]
* (bug 943) RSS feed for Recentchangeslinked

16 years agoMove 'currentevents-url' to namespace Project.
Siebrand Mazeland [Sat, 1 Dec 2007 19:57:45 +0000 (19:57 +0000)]
Move 'currentevents-url' to namespace Project.

16 years agoLeft alignment gives a better look to the Reason box.
Huji [Sat, 1 Dec 2007 19:05:03 +0000 (19:05 +0000)]
Left alignment gives a better look to the Reason box.

16 years agoRevert r28030: the example is valid. The fact that it doesn't work on Wikipedia is...
Roan Kattouw [Sat, 1 Dec 2007 17:53:42 +0000 (17:53 +0000)]
Revert r28030: the example is valid. The fact that it doesn't work on Wikipedia is a bug that has been fixed on trunk already.

16 years agoRemove invalid example from ApiQueryRevisions
Victor Vasiliev [Sat, 1 Dec 2007 17:48:49 +0000 (17:48 +0000)]
Remove invalid example from ApiQueryRevisions

16 years ago* Use *bold* and $italics$ highlighting only in API help. It completely breaks format...
Victor Vasiliev [Sat, 1 Dec 2007 17:37:08 +0000 (17:37 +0000)]
* Use *bold* and $italics$ highlighting only in API help. It completely breaks formatting on meta=allmessages and no one needs it

16 years agoForgot to commit AutoLoader changes.
Victor Vasiliev [Sat, 1 Dec 2007 17:06:12 +0000 (17:06 +0000)]
Forgot to commit AutoLoader changes.

16 years agoAPI: add meta=allmessages
Victor Vasiliev [Sat, 1 Dec 2007 17:04:13 +0000 (17:04 +0000)]
API: add meta=allmessages

16 years agoMaking this actually work. I feel so stupid.
Roan Kattouw [Sat, 1 Dec 2007 15:13:29 +0000 (15:13 +0000)]
Making this actually work. I feel so stupid.

16 years agoAPI:
Roan Kattouw [Sat, 1 Dec 2007 15:08:57 +0000 (15:08 +0000)]
API:
* Adding rollback tokens to prop=revisions
* Fixing bug that broke prop=revisions multipage mode
* Adding some comments on diff formatters

16 years ago* small cleanup
Niklas Laxström [Sat, 1 Dec 2007 15:05:03 +0000 (15:05 +0000)]
* small cleanup

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sat, 1 Dec 2007 14:32:41 +0000 (14:32 +0000)]
Localisation updates from Betawiki.
* an, ar, arc, ast, be, ca, crh-cyrl, crh-latn, cs, es, fr, io, is, kaa, kn, myv, nl, no, pt, qu, stq, tl

16 years ago* Introduced a bug with spaces
Niklas Laxström [Sat, 1 Dec 2007 14:27:39 +0000 (14:27 +0000)]
* Introduced a bug with spaces

16 years ago* Update Chinese translations
Shinjiman [Sat, 1 Dec 2007 14:12:44 +0000 (14:12 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations

16 years agoFix a bug with pages without interwiki/etc.
Victor Vasiliev [Sat, 1 Dec 2007 13:49:39 +0000 (13:49 +0000)]
Fix a bug with pages without interwiki/etc.

16 years ago* Introduce action=parse to API. It deprecates action=render which will be removed...
Victor Vasiliev [Sat, 1 Dec 2007 13:37:02 +0000 (13:37 +0000)]
* Introduce action=parse to API. It deprecates action=render which will be removed once (perhaps before 1.12 release). New action returns full parser output instead of returning just rendering text

16 years agoCorrecting translation.
Huji [Sat, 1 Dec 2007 11:41:19 +0000 (11:41 +0000)]
Correcting translation.

16 years agoAdded missing translation and performed RebuildLanguage
Huji [Sat, 1 Dec 2007 11:21:44 +0000 (11:21 +0000)]
Added missing translation and performed RebuildLanguage

16 years ago* Don't bother making title objects
Niklas Laxström [Sat, 1 Dec 2007 09:48:40 +0000 (09:48 +0000)]
* Don't bother making title objects
* Reduced count watchers query count by caching and ignoring special namespaces (could still do only a one query)

16 years agoUpdate.
Rotem Liss [Sat, 1 Dec 2007 09:26:26 +0000 (09:26 +0000)]
Update.

16 years ago* (bug 11346) Prevent users who cannot edit a page from changing its restrictions.
Andrew Garrett [Sat, 1 Dec 2007 09:08:43 +0000 (09:08 +0000)]
* (bug 11346) Prevent users who cannot edit a page from changing its restrictions.

16 years ago* Fix rvdiffformat=array
Victor Vasiliev [Sat, 1 Dec 2007 09:08:02 +0000 (09:08 +0000)]
* Fix rvdiffformat=array
* Fix notice about undefined index in ArrayDiffFormatter

16 years agoGot rid of the $shallowFlags/$deepFlags split -- seemed like a good idea at the time...
Tim Starling [Sat, 1 Dec 2007 07:13:31 +0000 (07:13 +0000)]
Got rid of the $shallowFlags/$deepFlags split -- seemed like a good idea at the time but turns out to be useless. Best to kill it before some extension starts using expand() flags and b/c kicks in.

16 years agoDon't destroy parser state in cleanSig(). Possible fix for bug 12154, pending confirm...
Tim Starling [Sat, 1 Dec 2007 06:52:25 +0000 (06:52 +0000)]
Don't destroy parser state in cleanSig(). Possible fix for bug 12154, pending confirmation.

16 years ago* (bug 9742) Update Lithuanian translations
Shinjiman [Sat, 1 Dec 2007 02:45:09 +0000 (02:45 +0000)]
* (bug 9742) Update Lithuanian translations
  Patch by Edgaras

16 years ago* Update Chinese translations
Shinjiman [Sat, 1 Dec 2007 01:25:07 +0000 (01:25 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
  Provided by Gulei

16 years ago* (bug 12145) Update Kazakh translations
Shinjiman [Sat, 1 Dec 2007 01:02:44 +0000 (01:02 +0000)]
* (bug 12145) Update Kazakh translations
  Patch by AlefZet

16 years agoDon't spew notices all over everything... $file variable apparently no longer exists
Brion Vibber [Fri, 30 Nov 2007 20:29:39 +0000 (20:29 +0000)]
Don't spew notices all over everything... $file variable apparently no longer exists

16 years agoMake sure to normalize invalid character references.
Aryeh Gregor [Fri, 30 Nov 2007 18:47:35 +0000 (18:47 +0000)]
Make sure to normalize invalid character references.

16 years agoBug 12150: missing increment
Tim Starling [Fri, 30 Nov 2007 18:37:47 +0000 (18:37 +0000)]
Bug 12150: missing increment

16 years ago(bug 12166) Fix XHTML validity for Special:Emailuser. Patch by Danny B.
Aryeh Gregor [Fri, 30 Nov 2007 18:16:26 +0000 (18:16 +0000)]
(bug 12166) Fix XHTML validity for Special:Emailuser.  Patch by Danny B.