lhc/web/wiklou.git
15 years agoAdd a linebreak per http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45052#c1221
Raimond Spekking [Mon, 12 Jan 2009 19:51:49 +0000 (19:51 +0000)]
Add a linebreak per mediawiki.org/wiki/Special:Code/MediaWiki/45052#c1221

15 years agoBug 16991: Fix regression: Add class for right justify figures again. Class is define...
Raimond Spekking [Mon, 12 Jan 2009 17:16:47 +0000 (17:16 +0000)]
Bug 16991: Fix regression: Add class for right justify figures again. Class is defined in shared.css already.

15 years agoAPI: (bug 16858) Revamped list=deletedrevs to make listing deleted contributions...
Roan Kattouw [Mon, 12 Jan 2009 16:39:04 +0000 (16:39 +0000)]
API: (bug 16858) Revamped list=deletedrevs to make listing deleted contributions and all deleted pages possible. This reintroduces drnamespace (removed earlier because of performance concerns, now implemented efficiently) and introduces druser, drexcludeuser, drfrom, drcontinue and drunique

15 years ago(bug 16968) Don't throw useless warnings on Special:Upload. We don't warn the user...
Chad Horohoe [Mon, 12 Jan 2009 14:28:46 +0000 (14:28 +0000)]
(bug 16968) Don't throw useless warnings on Special:Upload. We don't warn the user about spaces/underscores anywhere else, why bother with it here? And if $wgCapitalLinks is enabled, we should silently deal with it, rather than make the user think they've done something wrong.

15 years agoAPI: (bug 16629) "edit=:move=" in page.page_restrictions was interpreted incorrectly...
Roan Kattouw [Mon, 12 Jan 2009 14:27:28 +0000 (14:27 +0000)]
API: (bug 16629) "edit=:move=" in page.page_restrictions was interpreted incorrectly. Also moved up the code checking for legacy protections to right after the code checking for 'new' protections.

15 years agoAPI: (bug 16798) Fix for PHP bug 46944 (PHP's JSON formatter encodes certain UTF8...
Roan Kattouw [Mon, 12 Jan 2009 14:11:20 +0000 (14:11 +0000)]
API: (bug 16798) Fix for PHP bug 46944 (PHP's JSON formatter encodes certain UTF8 characters incorrectly) by falling back to our own formatter if PHP's is broken. Also fix up our own JSON formatter which also messed up these characters, albeit in a different way. Slightly modified patch by Brad Jorsch.

15 years agobrr, Article::getContent still has "side effects"
Niklas Laxström [Mon, 12 Jan 2009 08:11:22 +0000 (08:11 +0000)]
brr, Article::getContent still has "side effects"

15 years agoComment that should've accompanied r45671 (*shakes fist at TortoiseSVN*):
Fran Rogers [Mon, 12 Jan 2009 07:50:54 +0000 (07:50 +0000)]
Comment that should've accompanied r45671 (*shakes fist at TortoiseSVN*):
Added "__\" magic word to eat up all whitespace and newlines to the next non-whitespace character, to facilitate writing readable template code where whitespace is significant.

15 years ago(no commit message)
Fran Rogers [Mon, 12 Jan 2009 07:45:34 +0000 (07:45 +0000)]

15 years ago* Plural function for gv, not yet verified to be correct
Niklas Laxström [Sun, 11 Jan 2009 10:02:32 +0000 (10:02 +0000)]
* Plural function for gv, not yet verified to be correct

15 years ago(bug 16965) Follow-up to r45266, also don't record self-links, such as those created...
Alex Z [Sun, 11 Jan 2009 03:42:13 +0000 (03:42 +0000)]
(bug 16965) Follow-up to r45266, also don't record self-links, such as those created by <ref>s.

15 years agoJust use != here
Aaron Schulz [Sat, 10 Jan 2009 22:07:12 +0000 (22:07 +0000)]
Just use != here

15 years agoWrap 'searchresulttext' into a div with class
Raimond Spekking [Sat, 10 Jan 2009 20:11:16 +0000 (20:11 +0000)]
Wrap 'searchresulttext' into a div with class

15 years agoFix for r45648: only change page title if it's not an empty string (which is the...
Alexandre Emsenhuber [Sat, 10 Jan 2009 19:41:11 +0000 (19:41 +0000)]
Fix for r45648: only change page title if it's not an empty string (which is the default value)

15 years agofollow up of r45642, only set page title when it is not on the special namespace
Shinjiman [Sat, 10 Jan 2009 19:34:16 +0000 (19:34 +0000)]
follow up of r45642, only set page title when it is not on the special namespace

15 years ago* Reverting r45588, causes fatal errors when saving new sections
Niklas Laxström [Sat, 10 Jan 2009 17:16:21 +0000 (17:16 +0000)]
* Reverting r45588, causes fatal errors when saving new sections

15 years agofixing typo on Cantonese/Chinese loclisation, backport to REL_1_14
Shinjiman [Sat, 10 Jan 2009 17:08:13 +0000 (17:08 +0000)]
fixing typo on Cantonese/Chinese loclisation, backport to REL_1_14

15 years ago* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with Langu...
Shinjiman [Sat, 10 Jan 2009 16:13:44 +0000 (16:13 +0000)]
* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with LanguageConverter class)
* Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with LanguageConverter class)
  patches by PhiLiP

15 years agoUpdate comments for $wgForeignFileRepos
Chad Horohoe [Sat, 10 Jan 2009 16:10:30 +0000 (16:10 +0000)]
Update comments for $wgForeignFileRepos

15 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Sat, 10 Jan 2009 15:56:00 +0000 (15:56 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

15 years ago* Added getRawText() convenience function to always get the current revision
Aaron Schulz [Sat, 10 Jan 2009 13:41:22 +0000 (13:41 +0000)]
* Added getRawText() convenience function to always get the current revision
* Fix incorrect usage of getContent() which broke if ?oldid was set

15 years ago* (bug 16937) Show appropriate error message when someone attempts an install on...
Tim Starling [Sat, 10 Jan 2009 00:53:26 +0000 (00:53 +0000)]
* (bug 16937) Show appropriate error message when someone attempts an install on PostgreSQL 7.3 or earlier.
* Fix some issues with the earlier migration of getServerVersion() to numeric only.

15 years agoMinor code style tweaks & cleanup
Aaron Schulz [Fri, 9 Jan 2009 23:18:47 +0000 (23:18 +0000)]
Minor code style tweaks & cleanup

15 years agoHide patrol mark if patrolling is disabled
Aaron Schulz [Fri, 9 Jan 2009 22:49:40 +0000 (22:49 +0000)]
Hide patrol mark if patrolling is disabled

15 years agoCheck $wgLogRestrictions for udp-only case
Aaron Schulz [Fri, 9 Jan 2009 18:44:52 +0000 (18:44 +0000)]
Check $wgLogRestrictions for udp-only case

15 years agoClean up log restrictions check
Aaron Schulz [Fri, 9 Jan 2009 18:38:10 +0000 (18:38 +0000)]
Clean up log restrictions check

15 years agoRevert r45605 and generalize the ability to have logs go to UDP.
Aaron Schulz [Fri, 9 Jan 2009 18:30:47 +0000 (18:30 +0000)]
Revert r45605 and generalize the ability to have logs go to UDP.

15 years agorm protectionlevel from mVariableIDs per iAlex on codereview
Alex Z [Fri, 9 Jan 2009 18:28:55 +0000 (18:28 +0000)]
rm protectionlevel from mVariableIDs per iAlex on codereview

15 years agoMake sure feeds reflect changes due to flaggedrevs
Aaron Schulz [Fri, 9 Jan 2009 18:05:58 +0000 (18:05 +0000)]
Make sure feeds reflect changes due to flaggedrevs

15 years agoFix typo
Aaron Schulz [Fri, 9 Jan 2009 17:59:23 +0000 (17:59 +0000)]
Fix typo

15 years agoSend manual patrols to IRC (bug 16604)
Aaron Schulz [Fri, 9 Jan 2009 17:57:22 +0000 (17:57 +0000)]
Send manual patrols to IRC (bug 16604)

15 years agoMark non-patrolled edits in feeds (bug 16604)
Aaron Schulz [Fri, 9 Jan 2009 17:47:05 +0000 (17:47 +0000)]
Mark non-patrolled edits in feeds (bug 16604)

15 years agoFix lag for 'restore' button
Aaron Schulz [Fri, 9 Jan 2009 14:26:28 +0000 (14:26 +0000)]
Fix lag for 'restore' button

15 years agoClear dead MW: namespace rows (bug 16846)
Aaron Schulz [Fri, 9 Jan 2009 13:44:37 +0000 (13:44 +0000)]
Clear dead MW: namespace rows (bug 16846)

15 years agominor cleanup
Aaron Schulz [Fri, 9 Jan 2009 13:38:43 +0000 (13:38 +0000)]
minor cleanup

15 years agoButton alignment
Aaron Schulz [Fri, 9 Jan 2009 13:06:47 +0000 (13:06 +0000)]
Button alignment

15 years agoLocalization update.
Rotem Liss [Fri, 9 Jan 2009 12:35:53 +0000 (12:35 +0000)]
Localization update.

15 years ago(bug 16945) Update namespaces
Siebrand Mazeland [Fri, 9 Jan 2009 08:09:08 +0000 (08:09 +0000)]
(bug 16945) Update namespaces

15 years agoUpdated the incorrect wording in HISTORY (Thanks, Prodego), and fixed a few
Charles Melbye [Fri, 9 Jan 2009 04:44:16 +0000 (04:44 +0000)]
Updated the incorrect wording in HISTORY (Thanks, Prodego), and fixed a few
typos in RELEASE-NOTES.

15 years ago* In selectField(), use reset($row) instead of $row[0] for compatibility with SQLite
Tim Starling [Fri, 9 Jan 2009 03:53:28 +0000 (03:53 +0000)]
* In selectField(), use reset($row) instead of $row[0] for compatibility with SQLite
* Non-broken (no-op) implementation of DatabaseSqlite::deadlockLoop(). Fixes bug 16123: total breakage of Special:Import on SQLite.

15 years agoUpdate version number to 1.15 in CREDITS
Nathaniel Herman [Fri, 9 Jan 2009 00:30:11 +0000 (00:30 +0000)]
Update version number to 1.15 in CREDITS

15 years agoReduce code duplication correctly this time, again
Aryeh Gregor [Thu, 8 Jan 2009 23:59:25 +0000 (23:59 +0000)]
Reduce code duplication correctly this time, again

The test cases I thought up are at:

http://www.mediawiki.org/wiki/User:Simetrical/Id_tests

All of them pass with the patch, except for some that fail on current
code as well: the ones involving templates, multiply-occurring section
headers, or numeric id's (there seems to be a weird bug with those that
probably involves string and numeric id's being used in the same array).
This is true whether $wgEnforceHtmlIds is on or off.  (Actually, the
problem with numeric keys doesn't happen with $wgEnforceHtmlIds off,
because of course numeric ids aren't allowed then.)

15 years ago(bug 9947) Add PROTECTIONLEVEL parser function to return the protection level for...
Alex Z [Thu, 8 Jan 2009 23:21:06 +0000 (23:21 +0000)]
(bug 9947) Add PROTECTIONLEVEL parser function to return the protection level for a given action (e.g. edit, move) for the current page.

15 years agoForce the use of the PRIMARY key rather than the name_title in the second query.
Bryan Tong Minh [Thu, 8 Jan 2009 22:02:16 +0000 (22:02 +0000)]
Force the use of the PRIMARY key rather than the name_title in the second query.

15 years agoLocalization update for he.
Rotem Liss [Thu, 8 Jan 2009 19:50:04 +0000 (19:50 +0000)]
Localization update for he.

15 years agoLocalisation updates for core messages from Betawiki (2009-01-08 19:04 UTC)
Siebrand Mazeland [Thu, 8 Jan 2009 19:21:28 +0000 (19:21 +0000)]
Localisation updates for core messages from Betawiki (2009-01-08 19:04 UTC)

15 years agoReverted r45517 " * (bug 16921) Add a maxlength for the reason field of the page...
Brion Vibber [Thu, 8 Jan 2009 18:51:11 +0000 (18:51 +0000)]
Reverted r45517 " * (bug 16921) Add a maxlength for the reason field of the page move form. Changed from 'textarea' to 'text' because 'textarea' does not support maxlength. Makes it consistent with all other reason fields."
This field is deliberately not a single-line text input field because it caused confusion when it was.

15 years agoLocalisation updates: Correcting the translation for IP
Huji [Thu, 8 Jan 2009 15:18:42 +0000 (15:18 +0000)]
Localisation updates: Correcting the translation for IP

15 years agofix for last commit: add message to messages.inc
Alexandre Emsenhuber [Thu, 8 Jan 2009 14:21:23 +0000 (14:21 +0000)]
fix for last commit: add message to messages.inc

15 years ago(bug 2164) Add a "reset to site defaults" link to Special:Preferences
Aaron Schulz [Thu, 8 Jan 2009 14:02:05 +0000 (14:02 +0000)]
(bug 2164) Add a "reset to site defaults" link to Special:Preferences

15 years agoUSE INDEX is the option name, it's converted to MySQL-specific FORCE INDEX by the...
Tim Starling [Thu, 8 Jan 2009 08:04:39 +0000 (08:04 +0000)]
USE INDEX is the option name, it's converted to MySQL-specific FORCE INDEX by the Database class.

15 years agoUpdates for the new 1.15 branch. All changes after the branch point will go to 1...
Tim Starling [Thu, 8 Jan 2009 07:23:58 +0000 (07:23 +0000)]
Updates for the new 1.15 branch. All changes after the branch point will go to 1.15 RELEASE-NOTES for now, some may be backported.

15 years agoFix odd edge case for POST Http::request()'s. I incidentally found this while working...
Chad Horohoe [Thu, 8 Jan 2009 06:56:11 +0000 (06:56 +0000)]
Fix odd edge case for POST Http::request()'s. I incidentally found this while working with Special:Import. For some reason that I can't 100% nail down--works fine on Win32, fails on CentOS--cURL seems to want CURLOPT_POSTFIELDS set to at least an empty string, if not values. Using a workaround I found, we'll set it to an empty string if we're making a POST. Since we explicitly allow setting of arbitrary curlopts later, users can still override the empty string if they in fact want to set this. This fixes my Special:Import problem (and possibly similar issues) and has no regressions afaict. Credit to Phill Sparks @ milk-hub.net/blog/2008/08/26/curl_error_26#comments-77

15 years agoRemove redundant messages as the translation does not differ from original.
Raimond Spekking [Thu, 8 Jan 2009 05:11:32 +0000 (05:11 +0000)]
Remove redundant messages as the translation does not differ from original.

15 years ago* 2008 -> 2009
Danny B [Thu, 8 Jan 2009 01:44:37 +0000 (01:44 +0000)]
* 2008 -> 2009

15 years agoIncrement years
Aryeh Gregor [Thu, 8 Jan 2009 01:29:11 +0000 (01:29 +0000)]
Increment years

15 years agoReplaced some hardcoded colons with the colon-separator message
Raimond Spekking [Wed, 7 Jan 2009 22:49:54 +0000 (22:49 +0000)]
Replaced some hardcoded colons with the colon-separator message

15 years agoRevert - didn't mean to commit this!
Aaron Schulz [Wed, 7 Jan 2009 21:11:55 +0000 (21:11 +0000)]
Revert - didn't mean to commit this!

15 years ago(bug 16923) New parameter value diff=review for the URL
Aaron Schulz [Wed, 7 Jan 2009 21:09:18 +0000 (21:09 +0000)]
(bug 16923) New parameter value diff=review for the URL

15 years ago* (bug 16921) Add a maxlength for the reason field of the page move form
Raimond Spekking [Wed, 7 Jan 2009 20:34:37 +0000 (20:34 +0000)]
* (bug 16921) Add a maxlength for the reason field of the page move form
Changed from 'textarea' to 'text' because 'textarea' does not support maxlength.
Makes it consistent with all other reason fields.

15 years ago* Added batch-size parameter to optionsWithArgs
Merlijn S. van Deen [Wed, 7 Jan 2009 20:34:33 +0000 (20:34 +0000)]
* Added batch-size parameter to optionsWithArgs
* Added --batch-size example syntax

15 years agoFix for r45512: cache the result of LanguageGetLocalizedLanguageNames hook so that...
Alexandre Emsenhuber [Wed, 7 Jan 2009 20:20:16 +0000 (20:20 +0000)]
Fix for r45512: cache the result of LanguageGetLocalizedLanguageNames hook so that it's only run once

15 years agoRecommit of r45431 with these changes:
Merlijn S. van Deen [Wed, 7 Jan 2009 19:51:36 +0000 (19:51 +0000)]
Recommit of r45431 with these changes:
 * Removed backspace characters in output
 * Small code update
 * Removed 'disabled' comment from refreshLinks.php

15 years ago* Extend language::getLanguageName to return localized language names if available
Raimond Spekking [Wed, 7 Jan 2009 19:19:25 +0000 (19:19 +0000)]
* Extend language::getLanguageName to return localized language names if available
* Therefore added a hook to catch them from an extension (successfully tested with the cldr extension (see next commit))
* Add a title tag to the interlanguage box entries. Only added when the title differ from the shwon text.
No change of behaviour until an extension is enabled.

15 years agoLocalization update for he.
Rotem Liss [Wed, 7 Jan 2009 18:20:55 +0000 (18:20 +0000)]
Localization update for he.

15 years agoFix duplicate entry for special pages RecentChanges and RecentChangesLinked by removi...
Siebrand Mazeland [Wed, 7 Jan 2009 17:28:09 +0000 (17:28 +0000)]
Fix duplicate entry for special pages RecentChanges and RecentChangesLinked by removing for RecentChangesLinked.

15 years agoRemove horizontal line bettwen input form and output.
Raimond Spekking [Wed, 7 Jan 2009 16:40:44 +0000 (16:40 +0000)]
Remove horizontal line bettwen input form and output.
Looks odd to me since we have the nice fieldsets.

15 years agoRe-fix bug 2242 - adding expiry time for temporary passwords. Now with proper global...
Chad Horohoe [Wed, 7 Jan 2009 14:34:55 +0000 (14:34 +0000)]
Re-fix bug 2242 - adding expiry time for temporary passwords. Now with proper global declarations in User :)

15 years agoMake sure that "did you mean" displays at the top
Aryeh Gregor [Wed, 7 Jan 2009 14:22:45 +0000 (14:22 +0000)]
Make sure that "did you mean" displays at the top

r45305 only fully worked if some search results were displayed.  This
should work even if none are.

15 years agoRedo simple ?diff check code for setting the right title (bug 15233)
Aaron Schulz [Wed, 7 Jan 2009 13:23:12 +0000 (13:23 +0000)]
Redo simple ?diff check code for setting the right title (bug 15233)

15 years agoSpecial:Upload can now have a custom upload message instead of uploadtext by passing...
Alexandre Emsenhuber [Wed, 7 Jan 2009 13:07:21 +0000 (13:07 +0000)]
Special:Upload can now have a custom upload message instead of uploadtext by passing "uploadmsg" parameter in the url.
Message name is MediaWiki:Uploadtext-custom if the page is called with Special:Upload?uploadmsg=custom.
The default message will be used if the custom messages doesn't exist.
This should fix the Commons "uselang" hack on for Special:Upload.

15 years agoTest for disable_functions as well as safe_mode before attempting passthru(). For...
Tim Starling [Wed, 7 Jan 2009 12:20:30 +0000 (12:20 +0000)]
Test for disable_functions as well as safe_mode before attempting passthru(). For fix of bug 16902 in new-installer branch.

15 years agoLocalisation updates for core from Betawiki
Siebrand Mazeland [Wed, 7 Jan 2009 08:48:43 +0000 (08:48 +0000)]
Localisation updates for core from Betawiki

15 years agoLocalisation updates for core messages from Betawiki (2009-01-07 08:15 UTC)
Siebrand Mazeland [Wed, 7 Jan 2009 08:35:39 +0000 (08:35 +0000)]
Localisation updates for core messages from Betawiki (2009-01-07 08:15 UTC)

15 years ago* Added "Advanced search" link to the search form
Danny B [Wed, 7 Jan 2009 04:56:08 +0000 (04:56 +0000)]
* Added "Advanced search" link to the search form

15 years agoRevert r45340 "(bug 16793) text entered into the log entry should remain when an...
Brion Vibber [Wed, 7 Jan 2009 04:34:01 +0000 (04:34 +0000)]
Revert r45340 "(bug 16793) text entered into the log entry should remain when an error is returned"
Incomplete & kinda broken:

This is conflicting between the two forms on the page when transwiki import is available:

   1. The transwiki form's comment field isn't filled out at all. Note this is the only one that most Wikipedia admins will see, since upload import is usually disabled...
   2. Both forms submit the comment field as 'log-comment' and store it into $this->logcomment, so if it were filled out the same way you'd get the text from whichever one you submitted put into both.

Only the form that actually got submitted and errored out should have its comment field prefilled.

15 years agoPull back r45367 "(bug 12458) Protected page titles should show only one protection...
Brion Vibber [Wed, 7 Jan 2009 04:31:06 +0000 (04:31 +0000)]
Pull back r45367 "(bug 12458) Protected page titles should show only one protection notice"
This code seems messy and looks wrong; it looks like it won't take various protections into account.

15 years agoPulling r45473 back for now "Reduce code duplication correctly this time"
Brion Vibber [Wed, 7 Jan 2009 04:23:51 +0000 (04:23 +0000)]
Pulling r45473 back for now "Reduce code duplication correctly this time"
Let's hold off on further section anchor generation changes until we have decent test cases covering the different ways we we stuff through...

15 years agoPull back r45458 "Fix diff= urls with no title (bug 15233)"
Brion Vibber [Wed, 7 Jan 2009 04:01:05 +0000 (04:01 +0000)]
Pull back r45458 "Fix diff= urls with no title (bug 15233)"
This code is illegible; it's not very clear what it's doing or why. Please redo with clearer code; comment if necessary.

15 years agoRevert r45450, r45451 "(bug 2242) Introduce expiry time for temporary passwords."
Brion Vibber [Wed, 7 Jan 2009 03:54:29 +0000 (03:54 +0000)]
Revert r45450, r45451 "(bug 2242) Introduce expiry time for temporary passwords."

<b>Notice</b>:  Undefined variable: wgNewPasswordExpiry in <b>/Library/WebServer/Documents/trunk/includes/User.php</b> on line <b>2710</b><br />

15 years agoPulling back r45448 "Enabling support for RTL langauges in Special:Version tables"
Brion Vibber [Wed, 7 Jan 2009 03:46:02 +0000 (03:46 +0000)]
Pulling back r45448 "Enabling support for RTL langauges in Special:Version tables"
Per notes on the rev, the use of inline styles is kind of ugly. This probably should be redone cleaner...

15 years agoRevert r45432 "* Added "Advanced search" link to the search form"
Brion Vibber [Wed, 7 Jan 2009 03:37:01 +0000 (03:37 +0000)]
Revert r45432 "* Added "Advanced search" link to the search form"

+   . '<a href="' . wfMsg ('searchaction') . '" rel="search">' . wfMsg ('powersearch-legend') . '</a></form>';
The crap is this?

15 years agoPull back r45431 for the moment "Updated deleteLinksFromNonexistent function:" etc
Brion Vibber [Wed, 7 Jan 2009 03:33:14 +0000 (03:33 +0000)]
Pull back r45431 for the moment "Updated deleteLinksFromNonexistent function:" etc
There's some funny output with \x08 stuff, and I don't want to fiddle with it just now...

15 years agoRevert r45389 "Disallow broken Talk:File:x type titles (bug 5280)"
Brion Vibber [Wed, 7 Jan 2009 02:55:43 +0000 (02:55 +0000)]
Revert r45389 "Disallow broken Talk:File:x type titles (bug 5280)"

This is doing really weird things, like normalizing 'Talk:Wikipedia:Foo' to 'Wikipedia:Talk:Foo' which then redirects me to 'Talk:Foo' at Wikipedia.

Need to create some test cases for this if it's redone.

15 years agoPulling back r45388 "Don't needlessly shy from reuniting lost files with their descri...
Brion Vibber [Wed, 7 Jan 2009 02:41:03 +0000 (02:41 +0000)]
Pulling back r45388 "Don't needlessly shy from reuniting lost files with their description pages."
I'm staring at this code and my brain just ain't liking it. :) Can we maybe just make the logic cleaner?

15 years agoRevert r45387 "Add special case handling of the XHTML character entity "&apos;" to...
Brion Vibber [Wed, 7 Jan 2009 02:31:30 +0000 (02:31 +0000)]
Revert r45387 "Add special case handling of the XHTML character entity "&apos;" to normalizeEntity() and decodeEntity(). This should resolve the remainder of bug 14365.
It might seem cleaner to just add the appropriate entry to $wgHtmlEntityAliases, but this would break decodeEntity() as currently written. Explicitly note this in the comments."

This doesn't make any sense. Is there any reason not to just add apos to $wgHtmlEntities if it's valid XHTML?

15 years agoReverting r45363 "(bug 15320) Show login page if not logged in (for watchlist)"
Brion Vibber [Wed, 7 Jan 2009 01:49:32 +0000 (01:49 +0000)]
Reverting r45363 "(bug 15320) Show login page if not logged in (for watchlist)"

1) Behavior should be consistent; we don't do this anywhere else.

2) We want to be able to consolidate the login form to a secure location, which this would prevent.

Reverting and resolving WONTFIX.

15 years agoRevert r45361 for now "(bug 16084) Default memory limit should be increased"
Brion Vibber [Wed, 7 Jan 2009 01:42:50 +0000 (01:42 +0000)]
Revert r45361 for now "(bug 16084) Default memory limit should be increased"
The logic is wrong and will fail to raise the limit to the new limit if the server's default is between 20 and 50.
Further, the whole logic is crappy; we should be doing the check at runtime rather than at install time, since the server's settings may change after we install.

15 years agoFix regression in r45351 "(bug 16044) Vague error message in Special:Emailuser"
Brion Vibber [Wed, 7 Jan 2009 01:19:36 +0000 (01:19 +0000)]
Fix regression in r45351 "(bug 16044) Vague error message in Special:Emailuser"

Non-existent users and anon addresses were showing "noemail" instead of "notarget" message, since only the invalid name case was now being checked.

15 years agoReduce code duplication correctly this time
Aryeh Gregor [Wed, 7 Jan 2009 00:41:03 +0000 (00:41 +0000)]
Reduce code duplication correctly this time

This reverts r45470 and fixes the problems it identified.  Things should
now work as they always used to, but with less code duplication, and
with $wgEnforceHtmlIds = false working correctly as well.

15 years agoReverting r45346 "(bug 16433) Special:UnwatchedPages should list unwatched pages...
Brion Vibber [Wed, 7 Jan 2009 00:19:09 +0000 (00:19 +0000)]
Reverting r45346 "(bug 16433) Special:UnwatchedPages should list unwatched pages in the content namespace(s)"

I believe the reason for this special page is to help watch for vandalism on pages that no user is watching. Vandalism isn't just something that happens in content namespaces...

15 years agoReverting r45341 " Use Sanitizer::escapeId() in another place Reduce code duplication...
Brion Vibber [Wed, 7 Jan 2009 00:00:45 +0000 (00:00 +0000)]
Reverting r45341 " Use Sanitizer::escapeId() in another place Reduce code duplication some more, and fix section redirect after edit
when $wgEnforceHtmlIds is off."

This produces non-matching stuff like "#_Rock_on_dudes_" for == ''Rock on'' dudes ==.

15 years ago(bug 16720) Transcluded Special:NewPages processes "/username=". Patch submitted...
Siebrand Mazeland [Tue, 6 Jan 2009 23:46:32 +0000 (23:46 +0000)]
(bug 16720) Transcluded Special:NewPages processes "/username=". Patch submitted by Brent G.

15 years ago(bug 16560) Special:Random returns a page from ContentNamespaces, and no longer from...
Siebrand Mazeland [Tue, 6 Jan 2009 23:25:03 +0000 (23:25 +0000)]
(bug 16560) Special:Random returns a page from ContentNamespaces, and no longer from NS_MAIN. Patch contributed by Lucas Garczewski.

15 years agoLocalisation updates for core messages from Betawiki (2009-01-06 22:24 UTC)
Siebrand Mazeland [Tue, 6 Jan 2009 22:38:46 +0000 (22:38 +0000)]
Localisation updates for core messages from Betawiki (2009-01-06 22:24 UTC)

15 years agoLocalization update.
Rotem Liss [Tue, 6 Jan 2009 22:18:05 +0000 (22:18 +0000)]
Localization update.

15 years agoAdd new messages 'movepage-moved-redirect' and 'movepage-moved-noredirect' per http...
Raimond Spekking [Tue, 6 Jan 2009 22:10:29 +0000 (22:10 +0000)]
Add new messages 'movepage-moved-redirect' and 'movepage-moved-noredirect' per mediawiki.org/wiki/Special:Code/MediaWiki/45288#c1135

15 years agoFollow up r45460. More reverts, new code and messages follows with next commit.
Raimond Spekking [Tue, 6 Jan 2009 21:38:37 +0000 (21:38 +0000)]
Follow up r45460. More reverts, new code and messages follows with next commit.

15 years agoRevert r45288 " * Add a new message 'movepage-moved-noredirect' for page moves with...
Brion Vibber [Tue, 6 Jan 2009 21:15:06 +0000 (21:15 +0000)]
Revert r45288 " * Add a new message 'movepage-moved-noredirect' for page moves with suppressed redirects
* Tweak 'movepage-moved' a bit (rename of message seems unnecessary)"

Creates duplication of core message text and incompatible change to existing message. Needs to be redone as separate messages.

Reverted some, but not all, of the updates -- committing my work to avoid duplication.

15 years agoLocalization update.
Rotem Liss [Tue, 6 Jan 2009 21:11:47 +0000 (21:11 +0000)]
Localization update.