lhc/web/wiklou.git
15 years ago* replace use of deprecated makeLinkObj() by link() in core
Siebrand Mazeland [Sat, 6 Jun 2009 15:45:43 +0000 (15:45 +0000)]
* replace use of deprecated makeLinkObj() by link() in core
* add FIXME where makeLinkObj was used in documentation

15 years agofixed missing } (thanks HardDisk)
Daniel Kinzler [Sat, 6 Jun 2009 15:39:42 +0000 (15:39 +0000)]
fixed missing } (thanks HardDisk)

15 years agoFollow-up to r49973 (Revert r49880, r49883, r49885 - add uniwiki/CreatePage extension...
Siebrand Mazeland [Sat, 6 Jun 2009 15:38:18 +0000 (15:38 +0000)]
Follow-up to r49973 (Revert r49880, r49883, r49885 - add uniwiki/CreatePage extension to core)
* Special page addition was not reverted.

15 years ago* follow-up to r51301: also add separated date and time as parameters for 'currentrev...
Siebrand Mazeland [Sat, 6 Jun 2009 15:09:19 +0000 (15:09 +0000)]
* follow-up to r51301: also add separated date and time as parameters for 'currentrev-asof' for consistency
* replace use of deprecated makeKnownLinkObj() by link()
* use array type parameter instead of string to escapeLocalUrl(), getFullURL() and getFullUrl() for readability
* change return type of htmlDiffArgument(). CHECKME: Should this method be private? (not used anywhere in SVN at the moment)
* break a few long lines with parameters

15 years agoLocalization update.
Rotem Liss [Sat, 6 Jun 2009 14:45:14 +0000 (14:45 +0000)]
Localization update.

15 years agochanged wfMsgExt()'s warnings to use the new wfWarn() so that the caller function...
Alexandre Emsenhuber [Sat, 6 Jun 2009 10:55:04 +0000 (10:55 +0000)]
changed wfMsgExt()'s warnings to use the new wfWarn() so that the caller function is also displayed

15 years agoFix for CR r51279: reload data from master post-submit so that the list is shown...
Tim Starling [Sat, 6 Jun 2009 03:32:20 +0000 (03:32 +0000)]
Fix for CR r51279: reload data from master post-submit so that the list is shown with the new data. The newBits way of doing it was looking fragile.

15 years agoRevert r51200, r51253, r51254, addition of {{NUMBEROFCONTRIBS:...}} parser function...
Tim Starling [Sat, 6 Jun 2009 02:49:32 +0000 (02:49 +0000)]
Revert r51200, r51253, r51254, addition of {{NUMBEROFCONTRIBS:...}} parser function. See CodeReview r51200. Not very well implemented and probably a bad idea anyway.

15 years agoDon't kill whole update process if no log rows to update (fixes r50609)
Aaron Schulz [Sat, 6 Jun 2009 00:39:31 +0000 (00:39 +0000)]
Don't kill whole update process if no log rows to update (fixes r50609)

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-05 22:22 UTC)
Siebrand Mazeland [Fri, 5 Jun 2009 22:43:51 +0000 (22:43 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-05 22:22 UTC)

15 years agoFixed bug with namespace tabs in IE not floating properly, however, there may be...
Trevor Parscal [Fri, 5 Jun 2009 22:28:28 +0000 (22:28 +0000)]
Fixed bug with namespace tabs in IE not floating properly, however, there may be a better way to get the elements in the head to float better.

15 years agoRELEASE-NOTES for r51514
Roan Kattouw [Fri, 5 Jun 2009 19:18:56 +0000 (19:18 +0000)]
RELEASE-NOTES for r51514

15 years agoAPI: Fix bug where deleting a file description page without an associated file result...
Roan Kattouw [Fri, 5 Jun 2009 19:17:45 +0000 (19:17 +0000)]
API: Fix bug where deleting a file description page without an associated file resulted in "Unknown error: ``nofile''"

15 years agoThis function is NOT deprecated, per Simetrical
Niklas Laxström [Fri, 5 Jun 2009 17:09:59 +0000 (17:09 +0000)]
This function is NOT deprecated, per Simetrical

15 years agoRemove $wgSectionContainers from parser tests
Aryeh Gregor [Fri, 5 Jun 2009 16:11:15 +0000 (16:11 +0000)]
Remove $wgSectionContainers from parser tests

The functionality was removed in r50769, so parser tests no longer need
to bother setting it to false.

15 years agoDon't use wfDeprecated for still-used methods
Aryeh Gregor [Fri, 5 Jun 2009 15:49:51 +0000 (15:49 +0000)]
Don't use wfDeprecated for still-used methods

If the method is really deprecated, then get rid of all in-tree callers
before you start spamming everyone with notices.

15 years agoFix for r51493, r51084 and realted: use Title::makeTitle() rather than Title::newFrom...
Alexandre Emsenhuber [Fri, 5 Jun 2009 13:12:15 +0000 (13:12 +0000)]
Fix for r51493, r51084 and realted: use Title::makeTitle() rather than Title::newFromText()

15 years agoOracle database abstraction updated.
Jure Kajzer [Fri, 5 Jun 2009 11:45:32 +0000 (11:45 +0000)]
Oracle database abstraction updated.
Rewriten tables.sql, added user.sql (creating db user with privileges)
Fixed epoch in Special Ancientpages and Unusedimages
Timestamp default format altered in db abstraction and changed wfTimestamp function
SearchOracle changed to return empty resultset on empty term search (query error in oracle)
TODO: Maintenance scripts update

15 years agoFollow-up to r51084:
Siebrand Mazeland [Fri, 5 Jun 2009 07:33:57 +0000 (07:33 +0000)]
Follow-up to r51084:
* address case sensitivity issue raised by Splarka on CR
* also change to edit link on Special:Block

15 years ago* (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
Niklas Laxström [Fri, 5 Jun 2009 06:36:31 +0000 (06:36 +0000)]
* (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail

15 years agoEscaping and formatNum
Niklas Laxström [Fri, 5 Jun 2009 06:30:10 +0000 (06:30 +0000)]
Escaping and formatNum

15 years agoFix case for "Recentchanges" (and not "RecentChanges") so that SpecialPage::getLocalN...
Alexandre Emsenhuber [Thu, 4 Jun 2009 19:23:13 +0000 (19:23 +0000)]
Fix case for "Recentchanges" (and not "RecentChanges") so that SpecialPage::getLocalNameFor() doesn't emit an error

15 years agoAdded patrolmarks blurb
Aaron Schulz [Thu, 4 Jun 2009 13:14:19 +0000 (13:14 +0000)]
Added patrolmarks blurb

15 years agoTweaked r49468 - sqllite fix
Aaron Schulz [Thu, 4 Jun 2009 12:57:22 +0000 (12:57 +0000)]
Tweaked r49468 - sqllite fix

15 years agoessage=Localization upate.
Rotem Liss [Thu, 4 Jun 2009 10:01:51 +0000 (10:01 +0000)]
essage=Localization upate.

15 years agoEnsure that the power search form does not overlap the interwiki search box.
Rotem Liss [Thu, 4 Jun 2009 09:57:51 +0000 (09:57 +0000)]
Ensure that the power search form does not overlap the interwiki search box.

15 years agoRevert r51128, and its follow-up revisions r51129, r51130, r51390.
Andrew Garrett [Thu, 4 Jun 2009 09:48:11 +0000 (09:48 +0000)]
Revert r51128, and its follow-up revisions r51129, r51130, r51390.
Commit message was: "* (bug 18958) Added ability to disable entire variant conversion engine per user preferences (languages with language converter class only)"
Reverted because of multiple issues on CodeReview, notably:
* Unexplained rename of a configuration variable, with no backwards-compatibility code.
* Suspected parser cache pollution.
* Variant tabs flip-flop with parser cache misses and hits.
* Hacky implementation: changing configuration variables on the fly is almost always a bad idea, unless you are writing a configuration extension.
* Implementation of default is done as a special case in code accessing the preference, rather than by adding an entry to $wgDefaultUserOptions.

15 years agoLocalization update for he, and fixing comments in en.
Rotem Liss [Thu, 4 Jun 2009 09:22:26 +0000 (09:22 +0000)]
Localization update for he, and fixing comments in en.

15 years agostore djvu text layer in img_metadata. fetch it in proofreadpage
ThomasV [Thu, 4 Jun 2009 09:16:25 +0000 (09:16 +0000)]
store djvu text layer in img_metadata. fetch it in proofreadpage

15 years ago(bug 18207) Instead of styling all links with icons and padding and then attempting...
Tim Starling [Thu, 4 Jun 2009 08:50:04 +0000 (08:50 +0000)]
(bug 18207) Instead of styling all links with icons and padding and then attempting to override it for interwiki links via carefully chosen specificity, style only external links in the first place and leave interwiki links alone. Tested in FF 3, IE 6, IE 8, Opera 9.5 and Epiphany. Non-functional in IE 6 but degrades nicely, same as before. No $wgStyleVersion update needed.

15 years agoRevert part of r50883, superseded by Tim's r51453
Niklas Laxström [Thu, 4 Jun 2009 07:38:00 +0000 (07:38 +0000)]
Revert part of r50883, superseded by Tim's r51453

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Thu, 4 Jun 2009 07:30:17 +0000 (07:30 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoGeneral fix for trailing whitespace in messages, so that we don't have to put bugfix...
Tim Starling [Thu, 4 Jun 2009 07:26:46 +0000 (07:26 +0000)]
General fix for trailing whitespace in messages, so that we don't have to put bugfix hacks at hundreds of places in the code to preserve HTML entities in messages that are formally plain text. Based on discussion with Nikerabbit.

15 years agoFollow-up to r51086/r51094 (adding of Vector skin): add skin related messages for...
Siebrand Mazeland [Thu, 4 Jun 2009 07:04:15 +0000 (07:04 +0000)]
Follow-up to r51086/r51094 (adding of Vector skin): add skin related messages for JS/CSS/skin name

15 years agoRevert r49941 and r50013: hackish attempted use of mIsFirst before initialisation.
Tim Starling [Thu, 4 Jun 2009 06:17:03 +0000 (06:17 +0000)]
Revert r49941 and r50013: hackish attempted use of mIsFirst before initialisation.

15 years agoRevert r49935 (decode character entities in namespace names) due to lack of justifica...
Tim Starling [Thu, 4 Jun 2009 06:02:00 +0000 (06:02 +0000)]
Revert r49935 (decode character entities in namespace names) due to lack of justification on CodeReview and bug report.

15 years agoMoved language attribute generation to SkinTemplate.php as requested by Tim Starling...
Remember the dot [Thu, 4 Jun 2009 03:14:27 +0000 (03:14 +0000)]
Moved language attribute generation to SkinTemplate.php as requested by Tim Starling, see r49350

15 years ago(bug 11654) updateSearchIndex.php now uses a wiki-specific position file.
Chad Horohoe [Thu, 4 Jun 2009 01:10:06 +0000 (01:10 +0000)]
(bug 11654) updateSearchIndex.php now uses a wiki-specific position file.

15 years ago(bug 14866) 'recentchangeslinked' should be split into individual messages
Siebrand Mazeland [Wed, 3 Jun 2009 23:56:42 +0000 (23:56 +0000)]
(bug 14866) 'recentchangeslinked' should be split into individual messages
* Copy 'recentchangeslinked' to 'recentchangeslinked-feed' and 'recentchangeslinked-toolbox' to allow more fine grained customisation of the UI.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-03 22:11 UTC)
Siebrand Mazeland [Wed, 3 Jun 2009 22:17:14 +0000 (22:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-03 22:11 UTC)

15 years agoActually process plural for 'tags-hitcount'
Siebrand Mazeland [Wed, 3 Jun 2009 22:10:44 +0000 (22:10 +0000)]
Actually process plural for 'tags-hitcount'

15 years agoReverted r49575, {{revisionid:...}} due to unresolved CR comments and the general...
Tim Starling [Wed, 3 Jun 2009 17:09:50 +0000 (17:09 +0000)]
Reverted r49575, {{revisionid:...}} due to unresolved CR comments and the general cache-breaking insanity of the concept.

15 years agoFix preferences reset, was missing a saveSettings()
Andrew Garrett [Wed, 3 Jun 2009 16:53:23 +0000 (16:53 +0000)]
Fix preferences reset, was missing a saveSettings()

15 years agoAdd extra toggles from $wgContLang->getExtraUserToggles() to preferences, under i18n
Andrew Garrett [Wed, 3 Jun 2009 16:45:03 +0000 (16:45 +0000)]
Add extra toggles from $wgContLang->getExtraUserToggles() to preferences, under i18n

15 years agoFix for r49412, possible fatal errors.
Tim Starling [Wed, 3 Jun 2009 16:33:08 +0000 (16:33 +0000)]
Fix for r49412, possible fatal errors.

15 years agoFollowup to r49056: gender property gives "unknown" when gender option is null
Tim Starling [Wed, 3 Jun 2009 15:36:44 +0000 (15:36 +0000)]
Followup to r49056: gender property gives "unknown" when gender option is null

15 years agoReplaced remaining ellipsis characters as in previous commit.
Tim Starling [Wed, 3 Jun 2009 15:12:44 +0000 (15:12 +0000)]
Replaced remaining ellipsis characters as in previous commit.

15 years agoReverted r49019, unnecessary use of the ellipsis character, per CR
Tim Starling [Wed, 3 Jun 2009 15:10:28 +0000 (15:10 +0000)]
Reverted r49019, unnecessary use of the ellipsis character, per CR

15 years agoFollow-up to r51405 (Reverted r48984).
Siebrand Mazeland [Wed, 3 Jun 2009 15:02:39 +0000 (15:02 +0000)]
Follow-up to r51405 (Reverted r48984).
* remove 'groupconvert' magic from translations, too.

15 years agoReverted r48984. Fragile, doesn't work if memcached is enabled. See CodeReview.
Tim Starling [Wed, 3 Jun 2009 14:51:08 +0000 (14:51 +0000)]
Reverted r48984. Fragile, doesn't work if memcached is enabled. See CodeReview.

15 years agoreverting r50050. djvu text should be stored in img_metadata (per Tim)
ThomasV [Wed, 3 Jun 2009 13:07:13 +0000 (13:07 +0000)]
reverting r50050. djvu text should be stored in img_metadata (per Tim)

15 years agoFix logic error involving interpretation of result from validate() method, causing...
Andrew Garrett [Wed, 3 Jun 2009 09:38:36 +0000 (09:38 +0000)]
Fix logic error involving interpretation of result from validate() method, causing bug 18763  "Unable to save preferences after switching language" and possibly others.

15 years agofollow up r51128, adding type check for $wgUser->getOption( 'variantconversion' ...
Shinjiman [Wed, 3 Jun 2009 08:16:42 +0000 (08:16 +0000)]
follow up r51128, adding type check for $wgUser->getOption( 'variantconversion' ) whether it is 0 (disabled) or null (have not been set).

15 years agoProfiling for CPF::gender()
Tim Starling [Wed, 3 Jun 2009 06:28:19 +0000 (06:28 +0000)]
Profiling for CPF::gender()

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-02 20:45 UTC)
Siebrand Mazeland [Tue, 2 Jun 2009 20:52:10 +0000 (20:52 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-02 20:45 UTC)

15 years agoRemove unnecessary comment
Aryeh Gregor [Tue, 2 Jun 2009 19:56:07 +0000 (19:56 +0000)]
Remove unnecessary comment

Comments shouldn't include historical information unless it's useful to
people reading the code today.  Excessive comments hurt code
readability.

15 years agoFix syntax errors in r51305.
Siebrand Mazeland [Tue, 2 Jun 2009 19:53:35 +0000 (19:53 +0000)]
Fix syntax errors in r51305.

15 years agoFix Title::makeName's docs to be shown.
Rotem Liss [Tue, 2 Jun 2009 19:37:45 +0000 (19:37 +0000)]
Fix Title::makeName's docs to be shown.

15 years agoMultiple whitespace in TOC anchors is now stripped, for consistency with the link...
Rotem Liss [Tue, 2 Jun 2009 19:32:51 +0000 (19:32 +0000)]
Multiple whitespace in TOC anchors is now stripped, for consistency with the link from the edit comment.

15 years agotry to load hooks before testing them, so we can text Cite (discussion in bug 18890)
Steve Sanbeg [Tue, 2 Jun 2009 19:13:32 +0000 (19:13 +0000)]
try to load hooks before testing them, so we can text Cite (discussion in bug 18890)

15 years agoupdate
Meno25 [Tue, 2 Jun 2009 14:06:08 +0000 (14:06 +0000)]
update

15 years agoUpdate linkTrail and magicWords
Meno25 [Tue, 2 Jun 2009 13:56:42 +0000 (13:56 +0000)]
Update linkTrail and magicWords

15 years agoLocalization update.
Rotem Liss [Tue, 2 Jun 2009 13:49:01 +0000 (13:49 +0000)]
Localization update.

15 years agoPer comments on code review, use JSON instead of PHP serialization for Abuse Filter...
Andrew Garrett [Tue, 2 Jun 2009 12:59:05 +0000 (12:59 +0000)]
Per comments on code review, use JSON instead of PHP serialization for Abuse Filter data interchange. PHP's unserialize() can expose remote code execution vulnerabilities with some input.

15 years agoFix fatal error in r49790, remaining usage of User::encodeOptions()
Andrew Garrett [Tue, 2 Jun 2009 12:42:55 +0000 (12:42 +0000)]
Fix fatal error in r49790, remaining usage of User::encodeOptions()

15 years agoFix up r49794, make new groups noncapturing, fixing offset problem with linked dates
Andrew Garrett [Tue, 2 Jun 2009 12:39:14 +0000 (12:39 +0000)]
Fix up r49794, make new groups noncapturing, fixing offset problem with linked dates

15 years agoPhase 1 in fixing up SiteConfiguration: Replace the hack of including InitialiseSetti...
Andrew Garrett [Tue, 2 Jun 2009 09:49:31 +0000 (09:49 +0000)]
Phase 1 in fixing up SiteConfiguration: Replace the hack of including InitialiseSettings.php with a generic system for loading full configuration data, involving a callback.

15 years agoBreak long lines
Aaron Schulz [Tue, 2 Jun 2009 09:40:46 +0000 (09:40 +0000)]
Break long lines

15 years agoFollow up r50807, adding double quotes around literal texts so that they will not...
Shinjiman [Tue, 2 Jun 2009 06:04:31 +0000 (06:04 +0000)]
Follow up r50807, adding double quotes around literal texts so that they will not be treated as a variable, per code review.

15 years agoFixed documentation on Title::newFromURL(). Never use this function.
Tim Starling [Tue, 2 Jun 2009 04:05:47 +0000 (04:05 +0000)]
Fixed documentation on Title::newFromURL(). Never use this function.

15 years agoReverted r51291 (including random formatting changes) and reimplemented in a more...
Tim Starling [Tue, 2 Jun 2009 03:51:01 +0000 (03:51 +0000)]
Reverted r51291 (including random formatting changes) and reimplemented in a more sane manner.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-06-01 22:08 UTC)
Siebrand Mazeland [Mon, 1 Jun 2009 22:24:29 +0000 (22:24 +0000)]
Localisation updates for core messages from translatewiki.net (2009-06-01 22:08 UTC)

15 years agoFollow-up on r51282. In 'revdelete-modify-missing' there is no second parameter.
Siebrand Mazeland [Mon, 1 Jun 2009 22:00:28 +0000 (22:00 +0000)]
Follow-up on r51282. In 'revdelete-modify-missing' there is no second parameter.

15 years agoMessage 'filehist-thumbtext' - date and time separated as of request by user "Der...
Purodha B Blissenbach [Mon, 1 Jun 2009 21:29:31 +0000 (21:29 +0000)]
Message 'filehist-thumbtext' - date and time separated as of request by user "Der Umherirrende" at
http://translatewiki.net/w/i.php?title=Support&oldid=1243738#split_date_and_time

15 years agoMessage 'history-feed-item-nocomment' - date and time separated as of request by...
Purodha B Blissenbach [Mon, 1 Jun 2009 21:22:56 +0000 (21:22 +0000)]
Message 'history-feed-item-nocomment' - date and time separated as of request by user "Der Umherirrende" at
http://translatewiki.net/w/i.php?title=Support&oldid=1243738#split_date_and_time

15 years agoMessage 'rcnotefrom' - date and time separated as of request by user "Der Umherirrend...
Purodha B Blissenbach [Mon, 1 Jun 2009 21:11:23 +0000 (21:11 +0000)]
Message 'rcnotefrom' - date and time separated as of request by user "Der Umherirrende" at
http://translatewiki.net/w/i.php?title=Support&oldid=1243738#split_date_and_time

15 years agoMessage 'confirmemail_body' - date and time separated as of request by user "Der...
Purodha B Blissenbach [Mon, 1 Jun 2009 20:57:11 +0000 (20:57 +0000)]
Message 'confirmemail_body' - date and time separated as of request by user "Der Umherirrende" at
http://translatewiki.net/w/i.php?title=Support&oldid=1243738#split_date_and_time

15 years agoMessage 'revisionasof' - date and time separated as of request by user "Der Umherirre...
Purodha B Blissenbach [Mon, 1 Jun 2009 20:45:46 +0000 (20:45 +0000)]
Message 'revisionasof' - date and time separated as of request by user "Der Umherirrende" at
http://translatewiki.net/w/i.php?title=Support&oldid=1243738#split_date_and_time

15 years ago*Tweaked $maxLineCount for usability
Aaron Schulz [Mon, 1 Jun 2009 19:32:11 +0000 (19:32 +0000)]
*Tweaked $maxLineCount for usability
*(bug 18690) Maintain from/to values on namespace change

15 years ago(bug 18925) history.js removes class names of list elements on initialization. Patch...
Siebrand Mazeland [Mon, 1 Jun 2009 16:54:30 +0000 (16:54 +0000)]
(bug 18925) history.js removes class names of list elements on initialization. Patch contributed by Borislav Manolov.

15 years ago(bug 18999) CSS update for RTL interwiki links
Siebrand Mazeland [Mon, 1 Jun 2009 16:48:14 +0000 (16:48 +0000)]
(bug 18999) CSS update for RTL interwiki links

15 years ago(bug 19017) TOC level calculation error in an odd case. Patch by Brad Jorsch.
Siebrand Mazeland [Mon, 1 Jun 2009 16:39:18 +0000 (16:39 +0000)]
(bug 19017) TOC level calculation error in an odd case. Patch by Brad Jorsch.

15 years agoTweak r51279: re-added ability to hide comment/user of top revision
Aaron Schulz [Mon, 1 Jun 2009 16:16:46 +0000 (16:16 +0000)]
Tweak r51279: re-added ability to hide comment/user of top revision

15 years agoMessage change: there is only one such revision.
Purodha B Blissenbach [Mon, 1 Jun 2009 15:31:17 +0000 (15:31 +0000)]
Message change: there is only one such revision.

15 years ago(r51282) apparent typo in comment corrected.
Purodha B Blissenbach [Mon, 1 Jun 2009 15:15:41 +0000 (15:15 +0000)]
(r51282) apparent typo in comment corrected.

15 years agoforgot to save this before committing *sigh*
Alexandre Emsenhuber [Mon, 1 Jun 2009 14:47:47 +0000 (14:47 +0000)]
forgot to save this before committing *sigh*

15 years agoFix some doxygen warnings
Alexandre Emsenhuber [Mon, 1 Jun 2009 14:32:26 +0000 (14:32 +0000)]
Fix some doxygen warnings

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Mon, 1 Jun 2009 13:00:41 +0000 (13:00 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
rebuilt messages files for the languages above

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Mon, 1 Jun 2009 12:56:38 +0000 (12:56 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoSplit date and time as requested by Nikerabbit.
Tim Starling [Mon, 1 Jun 2009 12:23:57 +0000 (12:23 +0000)]
Split date and time as requested by Nikerabbit.

15 years agoRemove trailing space in 'revdelete-failure' (follow-up to r51280 and r51279)
Siebrand Mazeland [Mon, 1 Jun 2009 12:06:26 +0000 (12:06 +0000)]
Remove trailing space in 'revdelete-failure' (follow-up to r51280 and r51279)

15 years agoFollow-up to r51279
Siebrand Mazeland [Mon, 1 Jun 2009 12:01:40 +0000 (12:01 +0000)]
Follow-up to r51279
* tweak new messages
* update messages.inc
* rebuild all messages files

15 years agoIn Special:RevisionDelete:
Tim Starling [Mon, 1 Jun 2009 11:37:06 +0000 (11:37 +0000)]
In Special:RevisionDelete:
* Refactored to remove massive duplication
* Removed page parameter and associated contextPage member variable, doesn't seem to do anything.
* Put ID lists into a single ids parameter and member variable instead of having one for each type.
* Fixed inappropriate call of Title::newFromUrl(), always wrong
* Don't pretend to use the return value from functions that don't return anything, this reduces readability.
* Use the table names for deleteKey/typeName values, they look more like English
* Use protected not private
* Remove requirement for log type to be specified in the target
* Use POST for RevisionDelete entry forms, to avoid URL size limits and issues with non-PATH_INFO URLs
* Don't purge all pages that use the given file
* LocalFile::purgeCache() already calls purgeHistory,() no need to do it again. But do call purgeDescription().
* Removed token from unhide=1 links, unnecessary
* Tokens are necessary on file streaming links, added them
* Fixed private data leakage due to incorrect use of LocalRepo::newFromArchiveName(). Non-existent placeholder file was returned which meant that $oimage->userCan(File::DELETED_FILE) was always true. Pass the archive name to tryShowFile() instead of the storage key.
* Using ls_field='oi_timestamp' is not correct, oi_timestamp refers to the timestamp of the revision in question, whereas the key that is stored is the timestamp of the previous revision (i.e. the timestamp in oi_archive_name). oi_archive_name would be more correct, although only half the field is used.

Elsewhere:
* Added missing message filehist-missing
* Fixed double asterisk in Status::getWikiText()
* Fixed escaping of the target parameter to Special:RevisionDelete from ImagePage
* Deleted FileStore.php. Deprecated in filerepo refactor except for get()/export() but somehow resurrected by RevisionDelete. Hopefully this will be the end of it. New interfaces will be added for wfStreamFile() in a later commit.
* Added convenience function File::getStorageKey(), factored out of Special:Undelete
* Added convenience function Revision::newFromArchiveRow(), factored out of Special:Undelete and Special:RevisionDelete
* Fixed notice in Special:Upload, uninitialised $pageText

FIXME: current revision can be suppressed on undeletion causing an unauthenticated unsuppress. Comments indicate this is a known issue. I fixed the parser cache pollution in this case but not the rest.

15 years agoAdd proper dateformats too, bug 18308
Niklas Laxström [Mon, 1 Jun 2009 11:00:38 +0000 (11:00 +0000)]
Add proper dateformats too, bug 18308

15 years agoLocalisation updates for core messages from translatewiki.net
Siebrand Mazeland [Mon, 1 Jun 2009 09:55:52 +0000 (09:55 +0000)]
Localisation updates for core messages from translatewiki.net
* fixes (bug 18308) Updated date formatting in Occitan

15 years agoUpdate the Chinese conversion tables.
Philip Tzou [Mon, 1 Jun 2009 05:25:22 +0000 (05:25 +0000)]
Update the Chinese conversion tables.

15 years agoLocalisation updates for core messages from translatewiki.net (2009-05-31 21:03 UTC)
Siebrand Mazeland [Sun, 31 May 2009 21:28:19 +0000 (21:28 +0000)]
Localisation updates for core messages from translatewiki.net (2009-05-31 21:03 UTC)

15 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sun, 31 May 2009 21:03:10 +0000 (21:03 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

15 years agoWhitespace after the "check" label.
Robert Stojnić [Sun, 31 May 2009 19:25:52 +0000 (19:25 +0000)]
Whitespace after the "check" label.

15 years agoBug 19039: new "(un)select all" buttons misplaced at advanced search form
Robert Stojnić [Sun, 31 May 2009 19:15:17 +0000 (19:15 +0000)]
Bug 19039: new "(un)select all" buttons misplaced at advanced search form
* put the all/none buttons into upper right corner
* use input instead of button