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()
Aaron Schulz [Fri, 2 Jan 2009 10:42:54 +0000 (10:42 +0000)]
*(bug 6749) Terminology on history page [last -> prev]
*Also made parts of legend bold
Tim Starling [Fri, 2 Jan 2009 05:29:30 +0000 (05:29 +0000)]
Increment $wgStyleVersion for r45304.
Aryeh Gregor [Fri, 2 Jan 2009 02:17:27 +0000 (02:17 +0000)]
Make "did you mean" more Googley
It wasn't prominent enough; the red text and bolding should make it more
visible, and also more familiar (since I took the styling straight from
Google). I also moved it up way to the top: it *needs* to be one of the first
things the user sees to be really useful. This was particularly terrible on
enwiki, where the enormous bloated help message means you have to scroll down
through half a page of largely useless nonsense before even seeing the
suggestion.
Aryeh Gregor [Fri, 2 Jan 2009 00:11:48 +0000 (00:11 +0000)]
Don't use for (i in array) in JavaScript
This reportedly can cause errors, because it will return all object
attributes, not just array elements. Use a C-style for here instead.
This could be done in other places too -- the immediate motive here is
that this might be related:
http://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Sortable_tables_.26_Firefox_3.0.5
The functionality seems to still work.
Siebrand Mazeland [Thu, 1 Jan 2009 23:59:46 +0000 (23:59 +0000)]
Localisation updates for core from Betawiki
* updates for special page aliases, magic words
Siebrand Mazeland [Thu, 1 Jan 2009 23:40:20 +0000 (23:40 +0000)]
Localisation updates for core messages from Betawiki (2009-01-01 23:26 UTC)
Aaron Schulz [Thu, 1 Jan 2009 23:29:30 +0000 (23:29 +0000)]
User more thorough mTitle->userCan checks for autopatrolling
Nathaniel Herman [Thu, 1 Jan 2009 22:31:50 +0000 (22:31 +0000)]
Change tabs -> spaces
Rotem Liss [Thu, 1 Jan 2009 16:58:06 +0000 (16:58 +0000)]
Localization update.
Raimond Spekking [Thu, 1 Jan 2009 15:51:51 +0000 (15:51 +0000)]
* Add a new message 'movepage-moved-noredirect' for page moves with suppressed redirects
* Tweak 'movepage-moved' a bit (rename of message seems unnecessary)
Rotem Liss [Thu, 1 Jan 2009 15:39:37 +0000 (15:39 +0000)]
Localization update.
Alexandre Emsenhuber [Thu, 1 Jan 2009 14:46:32 +0000 (14:46 +0000)]
Fix for r45238: remove interwiki right from User::$mCoreRights
Raimond Spekking [Thu, 1 Jan 2009 13:36:17 +0000 (13:36 +0000)]
* Add spaces between buttons, looks smarter
* Use Xml::fieldset function
Raimond Spekking [Thu, 1 Jan 2009 13:15:29 +0000 (13:15 +0000)]
Fix PHP fatal error in /usr/local/apache/common-local/php-1.5/includes/FileDeleteForm.php line 116:
Regression from r45159
Siebrand Mazeland [Thu, 1 Jan 2009 10:42:17 +0000 (10:42 +0000)]
Follow up on r45276:
* missing 'action-' message
* add messages to messages.inc
Victor Vasiliev [Thu, 1 Jan 2009 02:03:09 +0000 (02:03 +0000)]
* Put restricted image moving back, with Brion's permission
Aryeh Gregor [Thu, 1 Jan 2009 02:02:03 +0000 (02:02 +0000)]
s/existant/existent/
Siebrand Mazeland [Thu, 1 Jan 2009 01:37:33 +0000 (01:37 +0000)]
Bug fix for 'gsw' special page aliases
Aryeh Gregor [Thu, 1 Jan 2009 01:27:40 +0000 (01:27 +0000)]
Make sure fragments for Titles are urlencoded
Aryeh Gregor [Thu, 1 Jan 2009 01:25:24 +0000 (01:25 +0000)]
Fix typo in comment
"Compilant" sounds like a cool word. Maybe it should mean "capable of
being compiled".
Brion Vibber [Thu, 1 Jan 2009 01:01:39 +0000 (01:01 +0000)]
pulling this from release notes: "Ensure that all HTML id's begin with a letter as required by XHTML standard" as it's not fully in atm ;)
Brion Vibber [Thu, 1 Jan 2009 00:46:22 +0000 (00:46 +0000)]
Partial revert of r45109, r45116 -- removing the forced 'x' prefix from IDs not beginning with letters.
Since we're probably going to change all our section fragments to something nicer in the next couple weeks, and nothing seems to actually explode based on what we're doing so far, I'd rather leave them be for now rather than break existing section links.
Brion Vibber [Thu, 1 Jan 2009 00:05:08 +0000 (00:05 +0000)]
Follow-up to r45174: (bug 16806) Fix regression from r44524 that caused links to files to not get added to mLinks in ParserOutput, which caused them to not be included in LinksUpdate::LinksUpdate(), and not added to pagelinks.
Fixes other cases broken by Parser's assumptions failing to hold after change in Title::isAlwaysKnown()'s behavior:
* Links to invalid Special: pages were being recorded, but shouldn't
* Links to valid MediaWiki: pages were no longer recorded
Instead of the NS_FILE special-case in r45174, I'm just tossing *all* isAlwaysKnown links over to ParserOutput::addLink(), and letting the latter worry about what types of titles it won't record.
Just for good measure, in case any NS_MEDIA titles make it into ParserOutput::addLink() they'll be normalized to NS_FILE.
Siebrand Mazeland [Wed, 31 Dec 2008 23:43:19 +0000 (23:43 +0000)]
Localisation updates for extension messages from Betawiki (2009-01-01 00:37 CET)
Siebrand Mazeland [Wed, 31 Dec 2008 22:18:19 +0000 (22:18 +0000)]
Revert r45210 for incomplete revert in r45259 of r45197
Brion Vibber [Wed, 31 Dec 2008 22:12:09 +0000 (22:12 +0000)]
Revert r45197 "* Enable image moving by default. All known serious issues seem to be fixed."
Don't want to do this just yet, we're in the middle of testing things.
Brion Vibber [Wed, 31 Dec 2008 22:06:22 +0000 (22:06 +0000)]
Revert r45191 "* (bug 14117) Image redirects from the shared repo now show "redirected from""
Seems to be bizarrely adding a "redirected from" subtitle to *every* shared image page view, instead of to redirects. WTF?
Brion Vibber [Wed, 31 Dec 2008 21:31:20 +0000 (21:31 +0000)]
* (bug 16786) Restored "redundant" links recently removed from Classic sidebar
Reverted r44780, r44788
Brion Vibber [Wed, 31 Dec 2008 21:16:36 +0000 (21:16 +0000)]
Revert r45166 "Use quickUserCan for UI links"
Use of quickUserCan should be minimized to cases where maximal view speed is more important than accuracy, such as UI that's plastered on every page view.
In page history we're already headed into editor territory, and having an accurate idea of what we can do with editing tools (such as rollback) is relatively important.
Unless it can be shown that checking for cascading protections is a serious problem for site performance, we should continue using accurate checks here.
Brion Vibber [Wed, 31 Dec 2008 21:12:01 +0000 (21:12 +0000)]
Revert r45165 "Pretty up WLH form slightly"
'Linked to this page instead' is even less comprehensible to me than 'Show changes to pages linked to the given page instead'
Siebrand Mazeland [Wed, 31 Dec 2008 21:09:15 +0000 (21:09 +0000)]
Follow up on incomplete r45250