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

15 years agoFix diff= urls with no title (bug 15233)
Aaron Schulz [Tue, 6 Jan 2009 20:54:48 +0000 (20:54 +0000)]
Fix diff= urls with no title (bug 15233)

15 years agoUse wfMsgExt() with parsemag, so {{PLURAL}} will work.
Chad Horohoe [Tue, 6 Jan 2009 18:15:08 +0000 (18:15 +0000)]
Use wfMsgExt() with parsemag, so {{PLURAL}} will work.

15 years ago(bug 2242) Introduce expiry time for temporary passwords.
Chad Horohoe [Tue, 6 Jan 2009 16:21:44 +0000 (16:21 +0000)]
(bug 2242) Introduce expiry time for temporary passwords.

15 years agoEnabling support for RTL langauges in Special:Version tables
Huji [Tue, 6 Jan 2009 15:49:30 +0000 (15:49 +0000)]
Enabling support for RTL langauges in Special:Version tables

15 years ago(bug 14663) Add redlink=1 to redlinked tabs
Aaron Schulz [Tue, 6 Jan 2009 15:38:26 +0000 (15:38 +0000)]
(bug 14663) Add redlink=1 to redlinked tabs

15 years agoLocalization update: Improving Persian translations
Huji [Tue, 6 Jan 2009 15:28:08 +0000 (15:28 +0000)]
Localization update: Improving Persian translations

15 years agoAdd a few options that were added in the past months but seems forgotten to be added...
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

15 years ago* Added "Advanced search" link to the search form
Danny B [Tue, 6 Jan 2009 02:50:24 +0000 (02:50 +0000)]
* Added "Advanced search" link to the search form

15 years agoUpdated deleteLinksFromNonexistent function:
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

15 years ago* + id for list for easier access
Danny B [Tue, 6 Jan 2009 01:29:22 +0000 (01:29 +0000)]
* + id for list for easier access

15 years agoFollow-up to r45425 -- bug was in MWSearch, not core. It's supposed to be HTML-format...
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

15 years ago* Fix XSS in Special:Search with extended engine features ("did you mean")
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!)

15 years agoWhen $wgEnforceHtmlIds=false, add legacy anchors
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.

15 years agoRefactor somewhat so that escapeId() works right
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.

15 years agoAdd comment on urlencoding fragments
Aryeh Gregor [Mon, 5 Jan 2009 15:59:17 +0000 (15:59 +0000)]
Add comment on urlencoding fragments

15 years agoLocalisation updates for core messages from Betawiki (2009-01-05 08:33 UTC)
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)

15 years ago* Use user's language for 'protect-expiring' message in Special:Protectedpages and...
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()

15 years agoMediaWiki:Protect-expiring needs to have date and time separated.
Purodha B Blissenbach [Sun, 4 Jan 2009 14:37:35 +0000 (14:37 +0000)]
MediaWiki:Protect-expiring needs to have date and time separated.

15 years agoExpand ArticleRollbackComplete hook to include reverted rev
Aaron Schulz [Sun, 4 Jan 2009 12:27:08 +0000 (12:27 +0000)]
Expand ArticleRollbackComplete hook to include reverted rev

15 years agoImport messages without warnings from sl.wikipedia.org
Siebrand Mazeland [Sun, 4 Jan 2009 11:56:14 +0000 (11:56 +0000)]
Import messages without warnings from sl.wikipedia.org

15 years agoDisallow broken Talk:File:x type titles (bug 5280)
Aaron Schulz [Sun, 4 Jan 2009 09:39:18 +0000 (09:39 +0000)]
Disallow broken Talk:File:x type titles (bug 5280)

15 years agoDon't needlessly shy from reuniting lost files with their description pages.
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.

15 years agoAdd special case handling of the XHTML character entity "&apos;" to normalizeEntity...
Ilmari Karonen [Sun, 4 Jan 2009 02:29:00 +0000 (02:29 +0000)]
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.

15 years agoRemove old comment
Aaron Schulz [Sat, 3 Jan 2009 21:34:44 +0000 (21:34 +0000)]
Remove old comment

15 years agoFollow up r45357: Rename messages/rebuild all language files
Raimond Spekking [Sat, 3 Jan 2009 20:22:24 +0000 (20:22 +0000)]
Follow up r45357: Rename messages/rebuild all language files

15 years agoFollowup to r45376 (changing class="firstHeading" to an id). We still want the class...
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.

15 years ago(bug 15427) Make monobook firstheading have an ID (instead of class) like modern
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

15 years agoPer r45228: also revert the RELEASE-NOTES entry
Alexandre Emsenhuber [Sat, 3 Jan 2009 16:43:49 +0000 (16:43 +0000)]
Per r45228: also revert the RELEASE-NOTES entry

15 years ago(bug 16579) Check if session is set
Aaron Schulz [Sat, 3 Jan 2009 16:40:21 +0000 (16:40 +0000)]
(bug 16579) Check if session is set

15 years ago(bug 16507) Not setting "other time" on creation unprotection error removed
Aaron Schulz [Sat, 3 Jan 2009 16:33:15 +0000 (16:33 +0000)]
(bug 16507) Not setting "other time" on creation unprotection error removed

15 years ago(bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts that...
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

15 years agoLocalisation updates: Taking care of some of the translations not on betawiki yet...
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

15 years agoLocalization update for he, updating messages.inc, and rebuilding the English file.
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.

15 years ago(bug 12458) Protected page titles should show only one protection notice
Aaron Schulz [Sat, 3 Jan 2009 13:28:00 +0000 (13:28 +0000)]
(bug 12458) Protected page titles should show only one protection notice

15 years agoMake titleprotected look a tad better when there is no reason...should prolly be...
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

15 years ago(bug 14737) Allow the autoconfirmed timer to run from the first edit
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

15 years ago(bug 14970) Add a number of revisions column to the Special:ImageList page
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

15 years ago(bug 15320) Show login page if not logged in (for watchlist)
Aaron Schulz [Sat, 3 Jan 2009 06:25:24 +0000 (06:25 +0000)]
(bug 15320) Show login page if not logged in (for watchlist)

15 years ago(bug 15498) Provide links to revisions listed at the Special:Contributions page
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

15 years ago(bug 16084) Default memory limit should be increased
Aaron Schulz [Sat, 3 Jan 2009 06:00:30 +0000 (06:00 +0000)]
(bug 16084) Default memory limit should be increased

15 years ago(bug 16865) Access to pages via "curid" parameter should include meta noindex
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

15 years ago(bug 15999) Rollback using markasbot (bot rollback) shouldn't get a diff
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

15 years agoMinor code cleanup
Aaron Schulz [Sat, 3 Jan 2009 05:37:53 +0000 (05:37 +0000)]
Minor code cleanup

15 years ago(bug 16107) Imagelist -> ListFiles
Aaron Schulz [Sat, 3 Jan 2009 05:13:48 +0000 (05:13 +0000)]
(bug 16107) Imagelist -> ListFiles

15 years ago* Fix some command-line propagation issues
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

15 years agoAvoid division by zero
Tim Starling [Sat, 3 Jan 2009 00:19:33 +0000 (00:19 +0000)]
Avoid division by zero

15 years agoGracefully skip clusters that don't have the wiki in question
Tim Starling [Sat, 3 Jan 2009 00:17:23 +0000 (00:17 +0000)]
Gracefully skip clusters that don't have the wiki in question

15 years agoUpdated.
Tim Starling [Sat, 3 Jan 2009 00:16:53 +0000 (00:16 +0000)]
Updated.

15 years agoFollow up to r45351: forgot to add messages
Aaron Schulz [Fri, 2 Jan 2009 22:16:19 +0000 (22:16 +0000)]
Follow up to r45351: forgot to add messages

15 years ago(bug 16044) Vague error message in Special:Emailuser
Aaron Schulz [Fri, 2 Jan 2009 22:14:54 +0000 (22:14 +0000)]
(bug 16044) Vague error message in Special:Emailuser

15 years ago(bug 16045) Pagination links break on Special:Log/Username
Aaron Schulz [Fri, 2 Jan 2009 21:55:10 +0000 (21:55 +0000)]
(bug 16045) Pagination links break on Special:Log/Username

15 years ago(bug 16107) Rename Special:Imagelist to Special:ListImages to keep the consistence
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

15 years ago(bug 16429) "nominornewtalk" should not trigger e-mail notifications
Aaron Schulz [Fri, 2 Jan 2009 21:32:00 +0000 (21:32 +0000)]
(bug 16429) "nominornewtalk" should not trigger e-mail notifications

15 years ago(bug 16433) Special:UnwatchedPages should list unwatched pages in the content namespa...
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)

15 years agoDo not urlencode anchor in links we output
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.

15 years ago(bug 16659) Prettify permalinks. Just use ?oldid=x
Aaron Schulz [Fri, 2 Jan 2009 20:50:24 +0000 (20:50 +0000)]
(bug 16659) Prettify permalinks. Just use ?oldid=x

15 years agoUse Sanitizer::escapeId() in another place
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.

15 years ago(bug 16793) text entered into the log entry should remain when an error is returned
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

15 years ago(bug 16783) MediaWiki:Cannotdelete error should include a log extract
Aaron Schulz [Fri, 2 Jan 2009 20:22:28 +0000 (20:22 +0000)]
(bug 16783) MediaWiki:Cannotdelete error should include a log extract

15 years agoUpdate 'histlegend' with correct value of 'minoreditletter'
Siebrand Mazeland [Fri, 2 Jan 2009 20:22:14 +0000 (20:22 +0000)]
Update 'histlegend' with correct value of 'minoreditletter'

15 years ago(bug 16802) application/x-rar is not a known mime-type
Aaron Schulz [Fri, 2 Jan 2009 20:07:53 +0000 (20:07 +0000)]
(bug 16802) application/x-rar is not a known mime-type

15 years agoFollow up r45335
Aaron Schulz [Fri, 2 Jan 2009 19:55:53 +0000 (19:55 +0000)]
Follow up r45335

15 years ago(bug 16839) cleanupTitles and namespaceDupes shouldn't consider 'Special' or 'Media...
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

15 years agoList redirects -> List of redirects
Aaron Schulz [Fri, 2 Jan 2009 19:22:12 +0000 (19:22 +0000)]
List redirects -> List of redirects

15 years ago(bug 5071) Image appears above text when viewing diff of an image page
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.

15 years agoBreak line
Aaron Schulz [Fri, 2 Jan 2009 17:31:09 +0000 (17:31 +0000)]
Break line

15 years agoDon't double append :)
Chad Horohoe [Fri, 2 Jan 2009 17:10:26 +0000 (17:10 +0000)]
Don't double append :)

15 years agoTweak to r45324, use wfAppendQuery() instead.
Chad Horohoe [Fri, 2 Jan 2009 16:54:58 +0000 (16:54 +0000)]
Tweak to r45324, use wfAppendQuery() instead.

15 years agoRemove period from 'x intermediate revs' message
Aaron Schulz [Fri, 2 Jan 2009 16:40:30 +0000 (16:40 +0000)]
Remove period from 'x intermediate revs' message

15 years ago(bug 16850) Allow $wgActionPaths to contain query strings.
Chad Horohoe [Fri, 2 Jan 2009 16:34:43 +0000 (16:34 +0000)]
(bug 16850) Allow $wgActionPaths to contain query strings.

15 years agoSpecify type here, rather than ''
Aaron Schulz [Fri, 2 Jan 2009 16:27:05 +0000 (16:27 +0000)]
Specify type here, rather than ''

15 years agoSimplify type check
Aaron Schulz [Fri, 2 Jan 2009 16:04:13 +0000 (16:04 +0000)]
Simplify type check

15 years agoTweak r45314: just return out
Aaron Schulz [Fri, 2 Jan 2009 15:56:33 +0000 (15:56 +0000)]
Tweak r45314: just return out

15 years ago(bug 9243) Avoid exit to make MW handle page exceptions properly
Aaron Schulz [Fri, 2 Jan 2009 11:36:52 +0000 (11:36 +0000)]
(bug 9243) Avoid exit to make MW handle page exceptions properly

15 years ago(bug 12433) DefaultSettings.php $wgReadOnlyFile comment clarifications
Aaron Schulz [Fri, 2 Jan 2009 11:23:47 +0000 (11:23 +0000)]
(bug 12433) DefaultSettings.php $wgReadOnlyFile comment clarifications

15 years ago(bug 11330) Improper use of WebRequest::getIntOrNull()
Aaron Schulz [Fri, 2 Jan 2009 11:07:12 +0000 (11:07 +0000)]
(bug 11330) Improper use of WebRequest::getIntOrNull()

15 years ago*(bug 6749) Terminology on history page [last -> prev]
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

15 years agoIncrement $wgStyleVersion for r45304.
Tim Starling [Fri, 2 Jan 2009 05:29:30 +0000 (05:29 +0000)]
Increment $wgStyleVersion for r45304.

15 years agoMake "did you mean" more Googley
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.

15 years agoDon't use for (i in array) in JavaScript
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.

15 years agoLocalisation updates for core from Betawiki
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

15 years agoLocalisation updates for core messages from Betawiki (2009-01-01 23:26 UTC)
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)

15 years agoUser more thorough mTitle->userCan checks for autopatrolling
Aaron Schulz [Thu, 1 Jan 2009 23:29:30 +0000 (23:29 +0000)]
User more thorough mTitle->userCan checks for autopatrolling

15 years agoChange tabs -> spaces
Nathaniel Herman [Thu, 1 Jan 2009 22:31:50 +0000 (22:31 +0000)]
Change tabs -> spaces

15 years agoLocalization update.
Rotem Liss [Thu, 1 Jan 2009 16:58:06 +0000 (16:58 +0000)]
Localization update.

15 years ago* Add a new message 'movepage-moved-noredirect' for page moves with suppressed redirects
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)

15 years agoLocalization update.
Rotem Liss [Thu, 1 Jan 2009 15:39:37 +0000 (15:39 +0000)]
Localization update.

15 years agoFix for r45238: remove interwiki right from User::$mCoreRights
Alexandre Emsenhuber [Thu, 1 Jan 2009 14:46:32 +0000 (14:46 +0000)]
Fix for r45238: remove interwiki right from User::$mCoreRights

15 years ago* Add spaces between buttons, looks smarter
Raimond Spekking [Thu, 1 Jan 2009 13:36:17 +0000 (13:36 +0000)]
* Add spaces between buttons, looks smarter
* Use Xml::fieldset function

15 years agoFix PHP fatal error in /usr/local/apache/common-local/php-1.5/includes/FileDeleteFor...
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

15 years agoFollow up on r45276:
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

15 years ago* Put restricted image moving back, with Brion's permission
Victor Vasiliev [Thu, 1 Jan 2009 02:03:09 +0000 (02:03 +0000)]
* Put restricted image moving back, with Brion's permission

15 years agos/existant/existent/
Aryeh Gregor [Thu, 1 Jan 2009 02:02:03 +0000 (02:02 +0000)]
s/existant/existent/

15 years agoBug fix for 'gsw' special page aliases
Siebrand Mazeland [Thu, 1 Jan 2009 01:37:33 +0000 (01:37 +0000)]
Bug fix for 'gsw' special page aliases

15 years agoMake sure fragments for Titles are urlencoded
Aryeh Gregor [Thu, 1 Jan 2009 01:27:40 +0000 (01:27 +0000)]
Make sure fragments for Titles are urlencoded

15 years agoFix typo in comment
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".

15 years agopulling this from release notes: "Ensure that all HTML id's begin with a letter as...
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 ;)

15 years agoPartial revert of r45109, r45116 -- removing the forced 'x' prefix from IDs not begin...
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.

15 years agoFollow-up to r45174: (bug 16806) Fix regression from r44524 that caused links to...
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.