lhc/web/wiklou.git
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.

15 years agoLocalisation updates for extension messages from Betawiki (2009-01-01 00:37 CET)
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)

15 years agoRevert r45210 for incomplete revert in r45259 of r45197
Siebrand Mazeland [Wed, 31 Dec 2008 22:18:19 +0000 (22:18 +0000)]
Revert r45210 for incomplete revert in r45259 of r45197

15 years agoRevert r45197 "* Enable image moving by default. All known serious issues seem to...
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.

15 years agoRevert r45191 "* (bug 14117) Image redirects from the shared repo now show "redirecte...
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?

15 years ago* (bug 16786) Restored "redundant" links recently removed from Classic sidebar
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

15 years agoRevert r45166 "Use quickUserCan for UI links"
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.

15 years agoRevert r45165 "Pretty up WLH form slightly"
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'

15 years agoFollow up on incomplete r45250
Siebrand Mazeland [Wed, 31 Dec 2008 21:09:15 +0000 (21:09 +0000)]
Follow up on incomplete r45250

15 years agoRevert r45160 "(bug 11330) Passing default to Request->getInt() is good enough, rathe...
Brion Vibber [Wed, 31 Dec 2008 21:05:21 +0000 (21:05 +0000)]
Revert r45160 "(bug 11330) Passing default to Request->getInt() is good enough, rather than added code to do the same thing"
This rev changes the behavior, forcing $smaxage to $wgSquidMaxage in cases where we would have previously ended up with $wgForcedRawSMaxage or 0.

15 years agoFollow-up to r45158
Brion Vibber [Wed, 31 Dec 2008 20:46:21 +0000 (20:46 +0000)]
Follow-up to r45158
* Rename 'ellipsis-separator' to just 'ellipsis'. Clearer, since it's not really a separator ;) and shorter so people will be more likely to use it!
* Use wfMsgForContent() in MWSearch, since we're using it in the context of page content the ellipsis should match content language.

15 years agoRevert r45154 "* sysop -> administrator for consistency"
Brion Vibber [Wed, 31 Dec 2008 20:30:01 +0000 (20:30 +0000)]
Revert r45154 "* sysop -> administrator for consistency"
Let's not go changing core terminology around without making sure there's general agreement

15 years agocheck that $wgArticle is an instance of the Article class in Skin::pageStats() per...
Jack Phoenix [Wed, 31 Dec 2008 19:30:59 +0000 (19:30 +0000)]
check that $wgArticle is an instance of the Article class in Skin::pageStats() per Brion's commit summary on r45204

15 years agoRevert r45106 "(bug 16617) Add "talk" link to list of templates in edit mode"
Brion Vibber [Wed, 31 Dec 2008 19:16:37 +0000 (19:16 +0000)]
Revert r45106 "(bug 16617) Add "talk" link to list of templates in edit mode"

Clutters the interface unnecessarily, and uses link texts which don't even match in formatting, making it very unattractive.

15 years agoLocalization update.
Rotem Liss [Wed, 31 Dec 2008 19:07:53 +0000 (19:07 +0000)]
Localization update.

15 years agoLocalization update.
Rotem Liss [Wed, 31 Dec 2008 19:07:08 +0000 (19:07 +0000)]
Localization update.

15 years agoRemove leftover from Interwiki extension merge
Siebrand Mazeland [Wed, 31 Dec 2008 19:06:50 +0000 (19:06 +0000)]
Remove leftover from Interwiki extension merge

15 years agoLocalization: Removing right and action messages for the 'restrict' feature, which...
Rotem Liss [Wed, 31 Dec 2008 19:04:54 +0000 (19:04 +0000)]
Localization: Removing right and action messages for the 'restrict' feature, which was reverted.

15 years agoRevert r45231, r45235 "* (bug 674) Allow users to be blocked from editing a specific...
Brion Vibber [Wed, 31 Dec 2008 18:56:16 +0000 (18:56 +0000)]
Revert r45231, r45235 "* (bug 674) Allow users to be blocked from editing a specific article"
Unexpected schema changes in the middle of code review and run-up to 1.14 freeze

15 years agoRemove ur_user index. We can just use the user_namespace to load all blocked namespac...
Aaron Schulz [Wed, 31 Dec 2008 18:51:48 +0000 (18:51 +0000)]
Remove ur_user index. We can just use the user_namespace to load all blocked namespaces, and the user_page index to to lookup for titles as needed

15 years ago* Revert r45062 and related (Merge Interwiki extension to core) per brion.
Siebrand Mazeland [Wed, 31 Dec 2008 18:44:54 +0000 (18:44 +0000)]
* Revert r45062 and related (Merge Interwiki extension to core) per brion.
* Merge changes made to Special:Interwiki after merge to core back into extension (messages will follow within 24 hours)

15 years agoFix typo
Victor Vasiliev [Wed, 31 Dec 2008 18:37:34 +0000 (18:37 +0000)]
Fix typo

15 years ago* Fix up schema per Brion's notes
Victor Vasiliev [Wed, 31 Dec 2008 18:10:50 +0000 (18:10 +0000)]
* Fix up schema per Brion's notes

15 years ago* Fix some messages, per Siebrand
Victor Vasiliev [Wed, 31 Dec 2008 17:57:20 +0000 (17:57 +0000)]
* Fix some messages, per Siebrand

15 years agoRevert r45063 "Move doNothing return check above global declarations"
Brion Vibber [Wed, 31 Dec 2008 17:56:04 +0000 (17:56 +0000)]
Revert r45063 "Move doNothing return check above global declarations"
Change makes the code harder to read by hiding a control statement in the middle of a global declaraction chunk.

15 years agoDisable Special:Interwiki until it works and isn't so scary-looking
Brion Vibber [Wed, 31 Dec 2008 17:47:20 +0000 (17:47 +0000)]
Disable Special:Interwiki until it works and isn't so scary-looking

15 years ago* (bug 674) Allow users to be blocked from editing a specific article
Victor Vasiliev [Wed, 31 Dec 2008 17:25:47 +0000 (17:25 +0000)]
* (bug 674) Allow users to be blocked from editing a specific article
** Also supports blocking user from editing whole namespace
** Fixed most issues which were found before

15 years agoReverting r45058 "(bug 15430) Cancel the upload process and rollback database changes...
Brion Vibber [Wed, 31 Dec 2008 17:25:08 +0000 (17:25 +0000)]
Reverting r45058 "(bug 15430) Cancel the upload process and rollback database changes in case no article associated with the file can be created"

Article::doEdit() opens and commits transactions of its own, so the transaction we started earlier will already be committed and cannot be rolled back at this point unless one of two particular failure modes hits (ArticleSave hook aborts or mLatest isn't set). A more general fix needs to be devised...

15 years agoPartial re-introduction of r45027 after being reverted in r45228
Siebrand Mazeland [Wed, 31 Dec 2008 17:20:26 +0000 (17:20 +0000)]
Partial re-introduction of r45027 after being reverted in r45228
* Added the colon in summary, subject and subject-preview messages rather than using colon-separator

15 years agoRevert r45027, r45028 "* summary and subject messages now uses wiki text rather than...
Brion Vibber [Wed, 31 Dec 2008 17:10:02 +0000 (17:10 +0000)]
Revert r45027, r45028 "* summary and subject messages now uses wiki text rather than raw HTML"
Changing the format of existing messages is disruptive, which is why we don't do it as a rule -- we introduce new messages that replace the old ones.

15 years agoRevert r45189 "Escape entities in h1 title html" -- double-escaping
Brion Vibber [Wed, 31 Dec 2008 17:02:23 +0000 (17:02 +0000)]
Revert r45189 "Escape entities in h1 title html" -- double-escaping

15 years agoPull back r45181 "(Bug 12998) Weaken DISPLAYTITLE restictions (patch by rememberthedo...
Brion Vibber [Wed, 31 Dec 2008 16:49:38 +0000 (16:49 +0000)]
Pull back r45181 "(Bug 12998) Weaken DISPLAYTITLE restictions (patch by rememberthedot@gmail.com)" for now.
Escaping issues per comment http://www.mediawiki.org/wiki/Special:Code/MediaWiki/45181#c1046

15 years agoSpecial page aliases for 'Interwiki' taken from extensions/Interwiki/Interwiki.alias.php
Siebrand Mazeland [Wed, 31 Dec 2008 15:23:11 +0000 (15:23 +0000)]
Special page aliases for 'Interwiki' taken from extensions/Interwiki/Interwiki.alias.php

15 years agoBackport r45215 to old search ui and move search engine creation before page setup...
Robert Stojnić [Wed, 31 Dec 2008 04:48:23 +0000 (04:48 +0000)]
Backport r45215 to old search ui and move search engine creation before page setup so we can do the setup properly.

15 years agoPair to previous commit: handle the 'prefix' param - the default backend will just...
Robert Stojnić [Wed, 31 Dec 2008 03:33:08 +0000 (03:33 +0000)]
Pair to previous commit: handle the 'prefix' param - the default backend will just save it into variable and ignore it.

15 years agoLocalisation updates for core messages from Betawiki (2008-12-31 00:24 CET)
Siebrand Mazeland [Tue, 30 Dec 2008 23:55:11 +0000 (23:55 +0000)]
Localisation updates for core messages from Betawiki (2008-12-31 00:24 CET)

15 years agoAdd missing messages
Siebrand Mazeland [Tue, 30 Dec 2008 23:34:35 +0000 (23:34 +0000)]
Add missing messages

15 years ago* handle the "o" format character for PHP 5.1.0+, older versions need emulation
Danny B [Tue, 30 Dec 2008 22:51:05 +0000 (22:51 +0000)]
* handle the "o" format character for PHP 5.1.0+, older versions need emulation

15 years agoAccept 'utf8' flag in place of 'utf-8' to compensate for entries broken by bug 16841...
Brion Vibber [Tue, 30 Dec 2008 21:43:54 +0000 (21:43 +0000)]
Accept 'utf8' flag in place of 'utf-8' to compensate for entries broken by bug 16841 in recompressTracked.php stuff

15 years ago(bug 16841) Fix typo (utf8 -> utf-8)
Aaron Schulz [Tue, 30 Dec 2008 21:36:47 +0000 (21:36 +0000)]
(bug 16841) Fix typo (utf8 -> utf-8)

15 years agoRevert r45038 "only call pageStats function in Skin::printFooter if $wgArticle is...
Brion Vibber [Tue, 30 Dec 2008 21:34:25 +0000 (21:34 +0000)]
Revert r45038 "only call pageStats function in Skin::printFooter if $wgArticle is an object. this might not always be the case (tested with a custom skin extending the Skin class) and if so, a fatal error is shown on the page (tested with Special: pages) and footer won't be rendered"
Skin::pageStats() has checks meant to catch this already. If they're faulty, fix them there.

15 years agoFix PHP notice
Aryeh Gregor [Tue, 30 Dec 2008 20:34:19 +0000 (20:34 +0000)]
Fix PHP notice

It would seem like something is passing empty strings to
Sanitizer::escapeId().  A more explicit check for this might be useful,
but this should avoid the notice.

15 years agoDidn't suppose to commit it
Victor Vasiliev [Tue, 30 Dec 2008 20:31:25 +0000 (20:31 +0000)]
Didn't suppose to commit it

15 years ago* Enable image moving by default. All known serious issues seem to be fixed.
Victor Vasiliev [Tue, 30 Dec 2008 19:02:51 +0000 (19:02 +0000)]
* Enable image moving by default. All known serious issues seem to be fixed.
* Create "movefile" permission
* Restrict image moving to sysops till we are absolutely sure it works correctly.

15 years agoCleanup to r44994 -- use __METHOD__ rather than __FUNCTION__ in wfDeprecated() calls...
Brion Vibber [Tue, 30 Dec 2008 18:53:56 +0000 (18:53 +0000)]
Cleanup to r44994 -- use __METHOD__ rather than __FUNCTION__ in wfDeprecated() calls in constructors for deprecated classes. __FUNCTION__ will return only "__construct" which ain't quite what we want. :)

15 years agoCleanup to r44993 -- avoid using '$x = foo()' in an if() condition on general princip...
Brion Vibber [Tue, 30 Dec 2008 18:43:35 +0000 (18:43 +0000)]
Cleanup to r44993 -- avoid using '$x = foo()' in an if() condition on general principle. :)

15 years agoLocalization update.
Rotem Liss [Tue, 30 Dec 2008 18:37:33 +0000 (18:37 +0000)]
Localization update.

15 years ago* (Bug 16121) Add a note that a page move was without creating a redirect in the...
Raimond Spekking [Tue, 30 Dec 2008 17:52:43 +0000 (17:52 +0000)]
* (Bug 16121) Add a note that a page move was without creating a redirect in the move log

15 years ago* (bug 14117) Image redirects from the shared repo now show "redirected from"
Victor Vasiliev [Tue, 30 Dec 2008 17:17:16 +0000 (17:17 +0000)]
* (bug 14117) Image redirects from the shared repo now show "redirected from"

15 years agoShow subversion too even if a "normal" version number is available
Raimond Spekking [Tue, 30 Dec 2008 16:12:49 +0000 (16:12 +0000)]
Show subversion too even if a "normal" version number is available

15 years agoEscape entities in h1 title html
Aaron Schulz [Tue, 30 Dec 2008 16:09:11 +0000 (16:09 +0000)]
Escape entities in h1 title html

15 years agoLocalization update.
Rotem Liss [Tue, 30 Dec 2008 14:46:51 +0000 (14:46 +0000)]
Localization update.

15 years agoAdd index clause, particularly for if an extension does a join or something
Aaron Schulz [Tue, 30 Dec 2008 12:55:41 +0000 (12:55 +0000)]
Add index clause, particularly for if an extension does a join or something

15 years ago(Bug 12998) Weaken DISPLAYTITLE restictions (patch by rememberthedot@gmail.com)
Aaron Schulz [Tue, 30 Dec 2008 12:22:15 +0000 (12:22 +0000)]
(Bug 12998) Weaken DISPLAYTITLE restictions (patch by rememberthedot@gmail.com)

15 years ago(bug 16806) Fix regression from r44524 that caused links to files to not get added...
Alex Z [Tue, 30 Dec 2008 05:34:37 +0000 (05:34 +0000)]
(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.

15 years agoOptionally allow non-HTML4-compatible ids
Aryeh Gregor [Tue, 30 Dec 2008 00:22:34 +0000 (00:22 +0000)]
Optionally allow non-HTML4-compatible ids

This adds a config option, $wgEnforceHtmlIds, true by default.  If this
is set to false, all characters that are allowed in XML ids are let
through in header ids and manually-specified ids.  In particular, this
should include all alphabetic and numeric characters.

Some remaining issues to work out:

* This will cause backward-compatibility issues for some types of links
and references: links from non-MediaWiki sources, links from MediaWiki
sources running a different version, external links, and references from
stylesheets/scripts.  These could be partially alleviated by having a
second <a name="" id=""> for headers where the two versions differ, but
it would remain an issue for manually-specified id's.
* Any invalid characters are now, effectively, stripped (replaced with
underscores).  This might cause problems if some writing systems are
invalid in id's for some reason: we'll want to double-check the list of
prohibited characters carefully.
* Some user agents might not support these links.  IE5 appears to, and
so do recent versions of Opera and Firefox, but I didn't do extensive
testing.
* Not tested extensively, there are probably some bugs.

I think this would be good to enable on testwiki for the moment to see
how it goes.

No parser test regressions.  No change to RELEASE-NOTES, we can add that
when the option is enabled by default (ideally, removed entirely).

15 years agoImprove ugly interface for Sanitizer::escapeId()
Aryeh Gregor [Tue, 30 Dec 2008 00:22:14 +0000 (00:22 +0000)]
Improve ugly interface for Sanitizer::escapeId()

Calling it with no extra arguments will now assume that you're escaping
a whole id, not an id fragment, which is safer.  Also, instead of ugly
bitfield-based options, I've changed the options to use an array of
strings.  I fixed all callers in trunk.  Out-of-tree callers that were
using Sanitizer::NONE will get correct behavior, while those that were
calling it with no arguments will get slightly changed behavior (an x
will be prepended).  I think this is harmless enough that we can skip
back-compat cruft here.

This should cause no visible changes.  No parser test regressions.

15 years agoLocalisation updates for core messages from Betawiki (2008-12-29 23:29 CET)
Siebrand Mazeland [Mon, 29 Dec 2008 22:35:29 +0000 (22:35 +0000)]
Localisation updates for core messages from Betawiki (2008-12-29 23:29 CET)

15 years agoUse quickUserCan for UI links
Aaron Schulz [Mon, 29 Dec 2008 22:24:31 +0000 (22:24 +0000)]
Use quickUserCan for UI links

15 years agoPretty up WLH form slightly
Aaron Schulz [Mon, 29 Dec 2008 21:57:34 +0000 (21:57 +0000)]
Pretty up WLH form slightly

15 years ago* Image moving over an existing file no longer throws a database error
Victor Vasiliev [Mon, 29 Dec 2008 19:19:49 +0000 (19:19 +0000)]
* Image moving over an existing file no longer throws a database error

15 years agoTypo
Aaron Schulz [Mon, 29 Dec 2008 19:06:00 +0000 (19:06 +0000)]
Typo

15 years ago(bug 11330) Passing default to Request->getInt() is good enough, rather than added...
Aaron Schulz [Mon, 29 Dec 2008 18:58:27 +0000 (18:58 +0000)]
(bug 11330) Passing default to Request->getInt() is good enough, rather than added code to do the same thing