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.
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...
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.
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 />
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...
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?
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...
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.
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?
Brion Vibber [Wed, 7 Jan 2009 02:31:30 +0000 (02:31 +0000)]
Revert r45387 "Add special case handling of the XHTML character entity "'" 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?
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.
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.
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.
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.
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...
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 ==.
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.
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.
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)
Rotem Liss [Tue, 6 Jan 2009 22:18:05 +0000 (22:18 +0000)]
Localization update.
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
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.
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.
Rotem Liss [Tue, 6 Jan 2009 21:11:47 +0000 (21:11 +0000)]
Localization update.
Aaron Schulz [Tue, 6 Jan 2009 20:54:48 +0000 (20:54 +0000)]
Fix diff= urls with no title (bug 15233)
Chad Horohoe [Tue, 6 Jan 2009 18:15:08 +0000 (18:15 +0000)]
Use wfMsgExt() with parsemag, so {{PLURAL}} will work.
Chad Horohoe [Tue, 6 Jan 2009 16:21:44 +0000 (16:21 +0000)]
(bug 2242) Introduce expiry time for temporary passwords.
Huji [Tue, 6 Jan 2009 15:49:30 +0000 (15:49 +0000)]
Enabling support for RTL langauges in Special:Version tables
Aaron Schulz [Tue, 6 Jan 2009 15:38:26 +0000 (15:38 +0000)]
(bug 14663) Add redlink=1 to redlinked tabs
Huji [Tue, 6 Jan 2009 15:28:08 +0000 (15:28 +0000)]
Localization update: Improving Persian translations
Raimond Spekking [Tue, 6 Jan 2009 12:06:29 +0000 (12:06 +0000)]
Add a few options that were added in the past months but seems forgotten to be added to $wgDefaultUserOptions
Danny B [Tue, 6 Jan 2009 02:50:24 +0000 (02:50 +0000)]
* Added "Advanced search" link to the search form
Merlijn S. van Deen [Tue, 6 Jan 2009 02:10:22 +0000 (02:10 +0000)]
Updated deleteLinksFromNonexistent function:
- refreshLinks.inc:
* New algorithm, conform Brions description in bug #16112; instead of one big delete, it is split up in blocks of (by default) 100 incorrect page_ids to remove.
* Added function parameters
- refreshLinks.php
* New command-line parameter to set the number of page_ids to clean per batch.
* Re-instated deleteLinksFromNonexistent run
Danny B [Tue, 6 Jan 2009 01:29:22 +0000 (01:29 +0000)]
* + id for list for easier access
Brion Vibber [Mon, 5 Jan 2009 20:46:43 +0000 (20:46 +0000)]
Follow-up to r45425 -- bug was in MWSearch, not core. It's supposed to be HTML-formatted, but was being built unsafely.
Adding a comment on SearchEngine to clarify that getSuggestionSnippet() returns HTML
Brion Vibber [Mon, 5 Jan 2009 20:37:15 +0000 (20:37 +0000)]
* Fix XSS in Special:Search with extended engine features ("did you mean")
Switched a couple of manually created '<a href>'s to use Linker functions,
and put an htmlspecialchars() on the 'did you mean' snippet result which was
spewing raw input-derived text into output (bad!)
Aryeh Gregor [Mon, 5 Jan 2009 15:59:46 +0000 (15:59 +0000)]
When $wgEnforceHtmlIds=false, add legacy anchors
This means that old links will still work in a lot of cases. However,
if the legacy anchor is invalid XML, we omit it. In particular, on
non-Latin wikis, practically all old section links (from external
sources or using external links) are likely to break, since the first
character of legacy anchors starting with a non-ASCII character will be
".", which is invalid in XML as well as in HTML4.
Aryeh Gregor [Mon, 5 Jan 2009 15:59:35 +0000 (15:59 +0000)]
Refactor somewhat so that escapeId() works right
r45267 commented out the logic prohibiting numbers and so on at the
start of id's. I've uncommented this logic, but passed 'noninitial' as
an option to escapeId() in all necessary circumstances. Shouldn't
change behavior, this is to simplify some further work I'm about to do.
Aryeh Gregor [Mon, 5 Jan 2009 15:59:17 +0000 (15:59 +0000)]
Add comment on urlencoding fragments
Siebrand Mazeland [Mon, 5 Jan 2009 08:46:59 +0000 (08:46 +0000)]
Localisation updates for core messages from Betawiki (2009-01-05 08:33 UTC)
Alexandre Emsenhuber [Mon, 5 Jan 2009 08:44:44 +0000 (08:44 +0000)]
* Use user's language for 'protect-expiring' message in Special:Protectedpages and Special:Protectedtitles, no need to use it as content as it will simply be shown to the user and nothing else
* removed $wgOut->setPagetitle( ... ), already done in SpecialPage::execute()
Purodha B Blissenbach [Sun, 4 Jan 2009 14:37:35 +0000 (14:37 +0000)]
MediaWiki:Protect-expiring needs to have date and time separated.
Aaron Schulz [Sun, 4 Jan 2009 12:27:08 +0000 (12:27 +0000)]
Expand ArticleRollbackComplete hook to include reverted rev
Siebrand Mazeland [Sun, 4 Jan 2009 11:56:14 +0000 (11:56 +0000)]
Import messages without warnings from sl.wikipedia.org
Aaron Schulz [Sun, 4 Jan 2009 09:39:18 +0000 (09:39 +0000)]
Disallow broken Talk:File:x type titles (bug 5280)
Ilmari Karonen [Sun, 4 Jan 2009 02:36:03 +0000 (02:36 +0000)]
Don't needlessly shy from reuniting lost files with their description pages.
Ilmari Karonen [Sun, 4 Jan 2009 02:29:00 +0000 (02:29 +0000)]
Add special case handling of the XHTML character entity "'" 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.
Aaron Schulz [Sat, 3 Jan 2009 21:34:44 +0000 (21:34 +0000)]
Remove old comment
Raimond Spekking [Sat, 3 Jan 2009 20:22:24 +0000 (20:22 +0000)]
Follow up r45357: Rename messages/rebuild all language files
Chad Horohoe [Sat, 3 Jan 2009 17:57:33 +0000 (17:57 +0000)]
Followup to r45376 (changing class="firstHeading" to an id). We still want the class there too (as pointed out by Raymond) as it will break a lot of custom user styles. Also, bump $wgStyleVersion.
Aaron Schulz [Sat, 3 Jan 2009 16:59:08 +0000 (16:59 +0000)]
(bug 15427) Make monobook firstheading have an ID (instead of class) like modern
Alexandre Emsenhuber [Sat, 3 Jan 2009 16:43:49 +0000 (16:43 +0000)]
Per r45228: also revert the RELEASE-NOTES entry
Aaron Schulz [Sat, 3 Jan 2009 16:40:21 +0000 (16:40 +0000)]
(bug 16579) Check if session is set
Aaron Schulz [Sat, 3 Jan 2009 16:33:15 +0000 (16:33 +0000)]
(bug 16507) Not setting "other time" on creation unprotection error removed
Alexandre Emsenhuber [Sat, 3 Jan 2009 16:20:05 +0000 (16:20 +0000)]
(bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts that STDIN can be used for page list
Huji [Sat, 3 Jan 2009 15:31:07 +0000 (15:31 +0000)]
Localisation updates: Taking care of some of the translations not on betawiki yet + Fixing some writing style issues
Rotem Liss [Sat, 3 Jan 2009 13:42:27 +0000 (13:42 +0000)]
Localization update for he, updating messages.inc, and rebuilding the English file.
Aaron Schulz [Sat, 3 Jan 2009 13:28:00 +0000 (13:28 +0000)]
(bug 12458) Protected page titles should show only one protection notice
Aaron Schulz [Sat, 3 Jan 2009 13:09:25 +0000 (13:09 +0000)]
Make titleprotected look a tad better when there is no reason...should prolly be two messages
Aaron Schulz [Sat, 3 Jan 2009 12:53:08 +0000 (12:53 +0000)]
(bug 14737) Allow the autoconfirmed timer to run from the first edit
Aaron Schulz [Sat, 3 Jan 2009 12:30:04 +0000 (12:30 +0000)]
(bug 14970) Add a number of revisions column to the Special:ImageList page
Aaron Schulz [Sat, 3 Jan 2009 06:25:24 +0000 (06:25 +0000)]
(bug 15320) Show login page if not logged in (for watchlist)
Aaron Schulz [Sat, 3 Jan 2009 06:09:09 +0000 (06:09 +0000)]
(bug 15498) Provide links to revisions listed at the Special:Contributions page
Aaron Schulz [Sat, 3 Jan 2009 06:00:30 +0000 (06:00 +0000)]
(bug 16084) Default memory limit should be increased
Aaron Schulz [Sat, 3 Jan 2009 05:51:15 +0000 (05:51 +0000)]
(bug 16865) Access to pages via "curid" parameter should include meta noindex
Aaron Schulz [Sat, 3 Jan 2009 05:39:13 +0000 (05:39 +0000)]
(bug 15999) Rollback using markasbot (bot rollback) shouldn't get a diff
Aaron Schulz [Sat, 3 Jan 2009 05:37:53 +0000 (05:37 +0000)]
Minor code cleanup
Aaron Schulz [Sat, 3 Jan 2009 05:13:48 +0000 (05:13 +0000)]
(bug 16107) Imagelist -> ListFiles
Tim Starling [Sat, 3 Jan 2009 00:31:01 +0000 (00:31 +0000)]
* Fix some command-line propagation issues
* Fix weird failure to open /dev/stdout
* Wait for slaves after each child command
Tim Starling [Sat, 3 Jan 2009 00:19:33 +0000 (00:19 +0000)]
Avoid division by zero
Tim Starling [Sat, 3 Jan 2009 00:17:23 +0000 (00:17 +0000)]
Gracefully skip clusters that don't have the wiki in question
Tim Starling [Sat, 3 Jan 2009 00:16:53 +0000 (00:16 +0000)]
Updated.
Aaron Schulz [Fri, 2 Jan 2009 22:16:19 +0000 (22:16 +0000)]
Follow up to r45351: forgot to add messages
Aaron Schulz [Fri, 2 Jan 2009 22:14:54 +0000 (22:14 +0000)]
(bug 16044) Vague error message in Special:Emailuser
Aaron Schulz [Fri, 2 Jan 2009 21:55:10 +0000 (21:55 +0000)]
(bug 16045) Pagination links break on Special:Log/Username
Aaron Schulz [Fri, 2 Jan 2009 21:42:41 +0000 (21:42 +0000)]
(bug 16107) Rename Special:Imagelist to Special:ListImages to keep the consistence
Aaron Schulz [Fri, 2 Jan 2009 21:32:00 +0000 (21:32 +0000)]
(bug 16429) "nominornewtalk" should not trigger e-mail notifications
Aaron Schulz [Fri, 2 Jan 2009 21:31:04 +0000 (21:31 +0000)]
(bug 16433) Special:UnwatchedPages should list unwatched pages in the content namespace(s)
Aryeh Gregor [Fri, 2 Jan 2009 20:59:07 +0000 (20:59 +0000)]
Do not urlencode anchor in links we output
This fixes non-TOC links in IE5, 5.5, and 6 (didn't test 7) when
$wgEnforceHtmlIds is off. These browsers won't follow urlencoded
Unicode anchors in href's, they only work if not urlencoded. Having
non-urlencoded bits in href's should be perfectly fine, correct me if
I'm wrong.
As far as I can tell, Title::escapeFragmentForURL() is never used for
HTTP redirects, if there's any concern about those. The correct
function to fix those is Article::doRedirect(). My testing indicates
that IE{5,5.5,6} will not accept Unicode anchors in anchors in HTTP
redirects, whether urlencoded or not.
Aaron Schulz [Fri, 2 Jan 2009 20:50:24 +0000 (20:50 +0000)]
(bug 16659) Prettify permalinks. Just use ?oldid=x
Aryeh Gregor [Fri, 2 Jan 2009 20:30:53 +0000 (20:30 +0000)]
Use Sanitizer::escapeId() in another place
Reduce code duplication some more, and fix section redirect after edit
when $wgEnforceHtmlIds is off.
Aaron Schulz [Fri, 2 Jan 2009 20:25:46 +0000 (20:25 +0000)]
(bug 16793) text entered into the log entry should remain when an error is returned
Aaron Schulz [Fri, 2 Jan 2009 20:22:28 +0000 (20:22 +0000)]
(bug 16783) MediaWiki:Cannotdelete error should include a log extract
Siebrand Mazeland [Fri, 2 Jan 2009 20:22:14 +0000 (20:22 +0000)]
Update 'histlegend' with correct value of 'minoreditletter'
Aaron Schulz [Fri, 2 Jan 2009 20:07:53 +0000 (20:07 +0000)]
(bug 16802) application/x-rar is not a known mime-type
Aaron Schulz [Fri, 2 Jan 2009 19:55:53 +0000 (19:55 +0000)]
Follow up r45335
Aaron Schulz [Fri, 2 Jan 2009 19:52:57 +0000 (19:52 +0000)]
(bug 16839) cleanupTitles and namespaceDupes shouldn't consider 'Special' or 'Media' valid title targets
Aaron Schulz [Fri, 2 Jan 2009 19:22:12 +0000 (19:22 +0000)]
List redirects -> List of redirects
Aaron Schulz [Fri, 2 Jan 2009 19:11:34 +0000 (19:11 +0000)]
(bug 5071) Image appears above text when viewing diff of an image page
* Hide image/toc on diff view. Previously, img cluttered the top of the diff and you had to scroll down. Also, we have thumbnails for the history (and current) anyway.
Aaron Schulz [Fri, 2 Jan 2009 17:31:09 +0000 (17:31 +0000)]
Break line
Chad Horohoe [Fri, 2 Jan 2009 17:10:26 +0000 (17:10 +0000)]
Don't double append :)
Chad Horohoe [Fri, 2 Jan 2009 16:54:58 +0000 (16:54 +0000)]
Tweak to r45324, use wfAppendQuery() instead.
Aaron Schulz [Fri, 2 Jan 2009 16:40:30 +0000 (16:40 +0000)]
Remove period from 'x intermediate revs' message
Chad Horohoe [Fri, 2 Jan 2009 16:34:43 +0000 (16:34 +0000)]
(bug 16850) Allow $wgActionPaths to contain query strings.
Aaron Schulz [Fri, 2 Jan 2009 16:27:05 +0000 (16:27 +0000)]
Specify type here, rather than ''
Aaron Schulz [Fri, 2 Jan 2009 16:04:13 +0000 (16:04 +0000)]
Simplify type check
Aaron Schulz [Fri, 2 Jan 2009 15:56:33 +0000 (15:56 +0000)]
Tweak r45314: just return out
Aaron Schulz [Fri, 2 Jan 2009 11:36:52 +0000 (11:36 +0000)]
(bug 9243) Avoid exit to make MW handle page exceptions properly
Aaron Schulz [Fri, 2 Jan 2009 11:23:47 +0000 (11:23 +0000)]
(bug 12433) DefaultSettings.php $wgReadOnlyFile comment clarifications
Aaron Schulz [Fri, 2 Jan 2009 11:07:12 +0000 (11:07 +0000)]
(bug 11330) Improper use of WebRequest::getIntOrNull()