lhc/web/wiklou.git
16 years ago* Renamed hook 'ModifyEditButtons' to 'EditPageBeforeEditButtons' for naming consistency
Ryan Schmidt [Wed, 13 Feb 2008 00:13:57 +0000 (00:13 +0000)]
* Renamed hook 'ModifyEditButtons' to 'EditPageBeforeEditButtons' for naming consistency
* Update hooks.txt

16 years agoFix typo
Siebrand Mazeland [Tue, 12 Feb 2008 23:56:55 +0000 (23:56 +0000)]
Fix typo

16 years ago* ModifyEditButtons hook added for altering the edit buttons below the edit box
Ryan Schmidt [Tue, 12 Feb 2008 23:50:36 +0000 (23:50 +0000)]
* ModifyEditButtons hook added for altering the edit buttons below the edit box

16 years agoLocalisation updates for core messages from Betawiki (2008-02-13 00:08 CET)
Siebrand Mazeland [Tue, 12 Feb 2008 23:15:19 +0000 (23:15 +0000)]
Localisation updates for core messages from Betawiki (2008-02-13 00:08 CET)

16 years ago* (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.
Brion Vibber [Tue, 12 Feb 2008 22:45:10 +0000 (22:45 +0000)]
* (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden.

16 years ago* (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds
Brion Vibber [Tue, 12 Feb 2008 22:34:43 +0000 (22:34 +0000)]
* (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds

16 years agoFix typo in comment
Aryeh Gregor [Tue, 12 Feb 2008 22:12:16 +0000 (22:12 +0000)]
Fix typo in comment

16 years ago* (bug 7681, 11559) Cookie values no longer override GET and POST variables.
Brion Vibber [Tue, 12 Feb 2008 22:07:16 +0000 (22:07 +0000)]
* (bug 7681, 11559) Cookie values no longer override GET and POST variables.

16 years agoUpdate parser test cases to match change in thumbnail formatting
Brion Vibber [Tue, 12 Feb 2008 21:49:48 +0000 (21:49 +0000)]
Update parser test cases to match change in thumbnail formatting

16 years agoNo longer need this cast.
Greg Sabino Mullane [Tue, 12 Feb 2008 21:41:40 +0000 (21:41 +0000)]
No longer need this cast.

16 years agoRemove inexplicable $nt->isContentPage() check for rendering link colors in makeLinkO...
Aryeh Gregor [Tue, 12 Feb 2008 20:11:58 +0000 (20:11 +0000)]
Remove inexplicable $nt->isContentPage() check for rendering link colors in makeLinkObj().  I don't know why there should be any difference, and there isn't for the other methods of rendering links.

16 years agoImprovements for 30871:
Aryeh Gregor [Tue, 12 Feb 2008 19:58:12 +0000 (19:58 +0000)]
Improvements for 30871:
* Use !empty() to avoid notices if $s->page_is_redirect isn't set.
* Enable unconditionally.  This causes some extra queries, but only if
makeLinkObj() is being used, which for typical article links it's not.
(The previous version didn't add page_is_redirect to the parameter even
when it would have caused no extra queries, in two places in
Parser.php.)  If the extra makeLinkObj() queries are a problem, they can
be combined with the existence check query.  Or failing that, it can
just be reverted for that method only, which will still allow the
feature to work with standard in-article links.

16 years agoFixing fatal error on invalid usernames.
Victor Vasiliev [Tue, 12 Feb 2008 18:50:42 +0000 (18:50 +0000)]
Fixing fatal error on invalid usernames.

16 years ago* (bug 12968) Render redirect wikilinks in a redirect class for customization via...
Raimond Spekking [Tue, 12 Feb 2008 18:01:42 +0000 (18:01 +0000)]
* (bug 12968) Render redirect wikilinks in a redirect class for customization via user/site CSS.
Based on a patch by Cobi
This works for logged in users who have set a threshold > 0 in its preferences. This way no extra database query is necessary.
Highly resource-intensive javascripts are now obsolete (see example in bugreport)

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Tue, 12 Feb 2008 15:30:33 +0000 (15:30 +0000)]
Localisation updates for core messages from Betawiki

16 years agoDump obsolete pass-by-reference on QueryPage::preprocessResults()
Brion Vibber [Tue, 12 Feb 2008 02:43:25 +0000 (02:43 +0000)]
Dump obsolete pass-by-reference on QueryPage::preprocessResults()

16 years agoLocalisation updates for core messages from Betawiki (2008-02-11 18:17 CET)
Siebrand Mazeland [Mon, 11 Feb 2008 17:43:37 +0000 (17:43 +0000)]
Localisation updates for core messages from Betawiki (2008-02-11 18:17 CET)

16 years agoLocalisation updates German
Raimond Spekking [Mon, 11 Feb 2008 16:23:58 +0000 (16:23 +0000)]
Localisation updates German

16 years agoAdded Keiki (http://kei.ki/) and Vinismo (http://vinismo.com/) to
Evan Prodromou [Mon, 11 Feb 2008 15:57:25 +0000 (15:57 +0000)]
Added Keiki (kei.ki/) and Vinismo (http://vinismo.com/) to
default interwiki map.

16 years ago(bug 12301) Allow maintenance/findhooks.php to search hooks in multiple directories...
Huji [Mon, 11 Feb 2008 09:37:39 +0000 (09:37 +0000)]
(bug 12301) Allow maintenance/findhooks.php to search hooks in multiple directories. Applying the patch created by Alexandre Emsenhuber (ialex)

16 years agoAllows findhooks to find these hooks:
Huji [Mon, 11 Feb 2008 08:57:19 +0000 (08:57 +0000)]
Allows findhooks to find these hooks:
* FileUpload
* LanguageGetMagic
* LanguageGetSpecialPageAliases
* MonoBookTemplateToolboxEnd
Regardless, these hooks are still not found (although they are in use by extensions):
* LoadExtensionSchemaUpdates
* ParserTestParser
* ParserTestTables

16 years agoRemove a leading space in 'uctop'
Siebrand Mazeland [Mon, 11 Feb 2008 08:47:28 +0000 (08:47 +0000)]
Remove a leading space in 'uctop'

16 years agoTweak r30820. Pass $time variable further in. This avoids extra wfFindFile() calls...
Aaron Schulz [Mon, 11 Feb 2008 03:27:07 +0000 (03:27 +0000)]
Tweak r30820. Pass $time variable further in. This avoids extra wfFindFile() calls if we were fetching the current revision.

16 years agoIf a link is made to an old version of an image that doesn't exists, but a current...
Aaron Schulz [Mon, 11 Feb 2008 03:04:01 +0000 (03:04 +0000)]
If a link is made to an old version of an image that doesn't exists, but a current version exists, blue link it.

16 years agoLocalisation updates for core messages from Betawiki (2008-02-10 19:18 CET)
Siebrand Mazeland [Sun, 10 Feb 2008 18:23:37 +0000 (18:23 +0000)]
Localisation updates for core messages from Betawiki (2008-02-10 19:18 CET)

16 years agoDelete from oldimage, then image, to account for possible foreign keys. Bug 12520...
Greg Sabino Mullane [Sun, 10 Feb 2008 16:59:44 +0000 (16:59 +0000)]
Delete from oldimage, then image, to account for possible foreign keys. Bug 12520. ISAKA Yoji.

16 years agoFixes for 8.3 compatibility, addresses bug 12784.
Greg Sabino Mullane [Sun, 10 Feb 2008 16:50:38 +0000 (16:50 +0000)]
Fixes for 8.3 compatibility, addresses bug 12784.

16 years agoMake Postgres 8.3 compatible.
Greg Sabino Mullane [Sun, 10 Feb 2008 15:48:06 +0000 (15:48 +0000)]
Make Postgres 8.3 compatible.

16 years agoOverride replaceVars, other changes to support 8.3 install.
Greg Sabino Mullane [Sun, 10 Feb 2008 15:38:48 +0000 (15:38 +0000)]
Override replaceVars, other changes to support 8.3 install.

16 years agoOops, need to quote that define call.
Greg Sabino Mullane [Sun, 10 Feb 2008 15:36:13 +0000 (15:36 +0000)]
Oops, need to quote that define call.

16 years agotweak the Chinese message for the 'editinginterface' into the BetaWiki homepage in...
Shinjiman [Sun, 10 Feb 2008 14:55:09 +0000 (14:55 +0000)]
tweak the Chinese message for the 'editinginterface' into the BetaWiki homepage in localised text

16 years agoMake the test table name a bit more descriptive.
Greg Sabino Mullane [Sun, 10 Feb 2008 14:48:50 +0000 (14:48 +0000)]
Make the test table name a bit more descriptive.

16 years agoFixed total breakage of the local message cache since r30437
Tim Starling [Sun, 10 Feb 2008 14:29:17 +0000 (14:29 +0000)]
Fixed total breakage of the local message cache since r30437

16 years agoWe're stating CommandLineMode is true, but Exception.php won't know what STDERR is.
Greg Sabino Mullane [Sun, 10 Feb 2008 13:33:36 +0000 (13:33 +0000)]
We're stating CommandLineMode is true, but Exception.php won't know what STDERR is.

16 years agoAdding ParserFirstCallInit to the documentation
Huji [Sun, 10 Feb 2008 11:39:39 +0000 (11:39 +0000)]
Adding ParserFirstCallInit to the documentation

16 years ago* fix Strict Standards: Declaration of NewPagesPage::preprocessResults() should be...
Siebrand Mazeland [Sun, 10 Feb 2008 10:05:49 +0000 (10:05 +0000)]
* fix Strict Standards: Declaration of NewPagesPage::preprocessResults() should be compatible with that of QueryPage::preprocessResults() in SpecialNewpages.php
* remove EOL whitespace

16 years ago* fix Strict Standards: Declaration of SpecialMostlinkedtemplates::preprocessResults...
Siebrand Mazeland [Sun, 10 Feb 2008 09:59:19 +0000 (09:59 +0000)]
* fix Strict Standards: Declaration of SpecialMostlinkedtemplates::preprocessResults() should be compatible with that of QueryPage::preprocessResults() in SpecialMostlinkedtemplates.php
* remove EOL whitespace

16 years agothe correct magic for PDF is "%PDF"
River Tarnell [Sat, 9 Feb 2008 23:59:26 +0000 (23:59 +0000)]
the correct magic for PDF is "%PDF"

16 years agoUpdate
Siebrand Mazeland [Sat, 9 Feb 2008 22:13:44 +0000 (22:13 +0000)]
Update

16 years agoA few trivial changes:
Thomas Bleher [Sat, 9 Feb 2008 21:48:41 +0000 (21:48 +0000)]
A few trivial changes:
* Update some URLs (pages moved from meta to mw.org)
* Update and fix some comments
* Fix indentation and whitespace in phase3/includes/filerepo/ICRepo.php

16 years ago(bug 12815) Signature timestamps are now given in the time zone specified by
Ilmari Karonen [Sat, 9 Feb 2008 20:39:32 +0000 (20:39 +0000)]
(bug 12815) Signature timestamps are now given in the time zone specified by
$wgLocaltimezone.  Formerly the timestamp itself was always in UTC, while the
timezone code in parentheses came from $wgLocaltimezone or, if unset, from
the server environment.

16 years ago* Plural for Welsh
Niklas Laxström [Sat, 9 Feb 2008 20:36:20 +0000 (20:36 +0000)]
* Plural for Welsh

16 years agoLocalisation updates for core messages from Betawiki (2008-02-09 21:01 CET)
Siebrand Mazeland [Sat, 9 Feb 2008 20:10:19 +0000 (20:10 +0000)]
Localisation updates for core messages from Betawiki (2008-02-09 21:01 CET)

16 years agoupdate skins, aliases, space names message from betawiki.
Bertrand Grondin [Sat, 9 Feb 2008 19:21:33 +0000 (19:21 +0000)]
update skins, aliases, space names message from betawiki.

16 years ago* Use full path (for example for apc.filters)
Niklas Laxström [Sat, 9 Feb 2008 16:24:09 +0000 (16:24 +0000)]
* Use full path (for example for apc.filters)

16 years agoAdd RepoGroup::getRepoByName, which gets a repo by its name as opposed to its index.
Bryan Tong Minh [Sat, 9 Feb 2008 13:40:16 +0000 (13:40 +0000)]
Add RepoGroup::getRepoByName, which gets a repo by its name as opposed to its index.

16 years agoFix.
Rotem Liss [Sat, 9 Feb 2008 12:40:20 +0000 (12:40 +0000)]
Fix.

16 years agoBasic compatibility between tables: When deleting the old redirect (when moving over...
Rotem Liss [Sat, 9 Feb 2008 12:40:02 +0000 (12:40 +0000)]
Basic compatibility between tables: When deleting the old redirect (when moving over redirect), deleting its links records and revisions.

16 years agoNew hooks: LinksUpdate, LinksUpdateComplete. Add function getTitle to LinksUpdate.
Bryan Tong Minh [Sat, 9 Feb 2008 12:32:32 +0000 (12:32 +0000)]
New hooks: LinksUpdate, LinksUpdateComplete. Add function getTitle to LinksUpdate.

16 years agoFixing message cache updates for MediaWiki messages moves: article ID is now properly...
Rotem Liss [Sat, 9 Feb 2008 11:45:53 +0000 (11:45 +0000)]
Fixing message cache updates for MediaWiki messages moves: article ID is now properly set in the Title objects while moving. Removing the direct use of LinkCache in favor of the Title::resetArticleID function. Also updating the cache of the old article.

16 years agoReset the message cache on action=purge of a MediaWiki namespace page. Delete the...
Tim Starling [Sat, 9 Feb 2008 10:01:35 +0000 (10:01 +0000)]
Reset the message cache on action=purge of a MediaWiki namespace page. Delete the sidebar cache *after* the message cache is updated, not before. If you delete it before then the same version might get cached again.

16 years agoConfigurable expiry time for the sidebar cache
Tim Starling [Sat, 9 Feb 2008 09:11:45 +0000 (09:11 +0000)]
Configurable expiry time for the sidebar cache

16 years agoBumping style version number.
Huji [Sat, 9 Feb 2008 08:31:30 +0000 (08:31 +0000)]
Bumping style version number.

16 years agoMoving the RTL fixes to monobook. Adding documentation. Minimizing the effect on...
Huji [Sat, 9 Feb 2008 08:24:16 +0000 (08:24 +0000)]
Moving the RTL fixes to monobook. Adding documentation. Minimizing the effect on non-Gecko browsers.

16 years agoFix typos from r30716. text-aling is not a recognized CSS property. :) Syntax...
Aryeh Gregor [Fri, 8 Feb 2008 20:27:32 +0000 (20:27 +0000)]
Fix typos from r30716.  text-aling is not a recognized CSS property.  :)  Syntax highlighting is good for catching this kind of thing.

16 years ago* Image caption elements are now styled using a linked CSS (fixes bug 12869)
Huji [Fri, 8 Feb 2008 17:20:04 +0000 (17:20 +0000)]
* Image caption elements are now styled using a linked CSS (fixes bug 12869)
* A bug with Gecko browsers is fixed (lists were not floated correctly in RTL).

16 years agoLocalisation updates for core messages from Betawiki (2008-02-08 16:01 CET)
Siebrand Mazeland [Fri, 8 Feb 2008 15:12:55 +0000 (15:12 +0000)]
Localisation updates for core messages from Betawiki (2008-02-08 16:01 CET)

16 years agoUpdate.
Rotem Liss [Fri, 8 Feb 2008 14:30:12 +0000 (14:30 +0000)]
Update.

16 years agoAdd an X-Vary-Options header, as per my proposed squid patch
Tim Starling [Fri, 8 Feb 2008 07:12:38 +0000 (07:12 +0000)]
Add an X-Vary-Options header, as per my proposed squid patch

16 years agobetter wording for the Cantonese and Old Time Chinese / Late Time Chinese translations
Shinjiman [Fri, 8 Feb 2008 04:11:33 +0000 (04:11 +0000)]
better wording for the Cantonese and Old Time Chinese / Late Time Chinese translations

16 years ago* Update Chinese translations
Shinjiman [Fri, 8 Feb 2008 04:06:48 +0000 (04:06 +0000)]
* Update Chinese translations
* Update Cantonese translations
* Update Old Chinese / Late Time Chinese translations
* Re-adding Chinese fallbacks for the extension messages

16 years agoLocalisation updates for core messages from Betawiki (2008-02-07 22:52 CET)
Siebrand Mazeland [Thu, 7 Feb 2008 22:06:25 +0000 (22:06 +0000)]
Localisation updates for core messages from Betawiki (2008-02-07 22:52 CET)

16 years agoEscape a few apostrophs
Siebrand Mazeland [Thu, 7 Feb 2008 21:50:32 +0000 (21:50 +0000)]
Escape a few apostrophs

16 years agoUpdate 'editinguser'. Clearer message, more information.
Siebrand Mazeland [Thu, 7 Feb 2008 21:48:50 +0000 (21:48 +0000)]
Update 'editinguser'. Clearer message, more information.

Suggested by: SPQRobin

16 years agoformat the sitesub, site notice and usermessage boxes into a single box with footer...
River Tarnell [Thu, 7 Feb 2008 16:39:41 +0000 (16:39 +0000)]
format the sitesub, site notice and usermessage boxes into a single box with footer-grad border.  this gives a consistent look to all of them, clearly divided from the content.  when no boxes are displayed, the containing div has no height and the gradient doesn't show

16 years agoAPI: Updating credits to reflect my having replaced Yuri as de facto API lead develop...
Roan Kattouw [Thu, 7 Feb 2008 15:58:53 +0000 (15:58 +0000)]
API: Updating credits to reflect my having replaced Yuri as de facto API lead developer, and referring to mediawiki-api and Bugzilla for questions/suggestions

16 years agoChange fallback to Spanish
Siebrand Mazeland [Thu, 7 Feb 2008 15:24:19 +0000 (15:24 +0000)]
Change fallback to Spanish

16 years ago(bug 12944) Filter categorymembers by timestamp
Roan Kattouw [Thu, 7 Feb 2008 15:17:42 +0000 (15:17 +0000)]
(bug 12944) Filter categorymembers by timestamp

16 years ago(bug 12953) prop=imageinfo should only set query-continue when there is only one...
Roan Kattouw [Thu, 7 Feb 2008 12:21:48 +0000 (12:21 +0000)]
(bug 12953) prop=imageinfo should only set query-continue when there is only one title; trying to overwrite a previously set query-continue causes a fatal error

16 years agoAdding/updating Persian translations
Huji [Thu, 7 Feb 2008 10:25:18 +0000 (10:25 +0000)]
Adding/updating Persian translations

16 years ago(bug 12952) Using Nosuchusershort instead of Nosuchuser when account creatio is disabled
Huji [Thu, 7 Feb 2008 09:54:12 +0000 (09:54 +0000)]
(bug 12952) Using Nosuchusershort instead of Nosuchuser when account creatio is disabled

16 years agoAnd $wgStyleVersion.
Aryeh Gregor [Wed, 6 Feb 2008 23:26:35 +0000 (23:26 +0000)]
And $wgStyleVersion.

16 years ago(bug 12857) Patrol link on new pages should clear floats
Aryeh Gregor [Wed, 6 Feb 2008 23:25:33 +0000 (23:25 +0000)]
(bug 12857) Patrol link on new pages should clear floats

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Wed, 6 Feb 2008 21:01:37 +0000 (21:01 +0000)]
Localisation updates for core messages from Betawiki
* fi, nl specialPageAliases updated

16 years agoLocalisation updates for core messages from Betawiki
Siebrand Mazeland [Wed, 6 Feb 2008 20:57:31 +0000 (20:57 +0000)]
Localisation updates for core messages from Betawiki
* sv specialPageAliases updated

16 years agoAlter constructor of Article object to no longer pass-by-reference, and instead use...
Robert Leverington [Wed, 6 Feb 2008 20:06:47 +0000 (20:06 +0000)]
Alter constructor of Article object to no longer pass-by-reference, and instead use type hinting. This allows Title objects to be passed to the Article object as a construction parameter without first placing them in a variable, thus avoiding E_STRICT level errors.

16 years agoLocalisation updates for core messages from Betawiki (2008-02-06 19:31 CET)
Siebrand Mazeland [Wed, 6 Feb 2008 18:58:27 +0000 (18:58 +0000)]
Localisation updates for core messages from Betawiki (2008-02-06 19:31 CET)

16 years agoLocalisation updates German
Raimond Spekking [Wed, 6 Feb 2008 17:35:19 +0000 (17:35 +0000)]
Localisation updates German

16 years agoUpdate.
Rotem Liss [Wed, 6 Feb 2008 17:21:50 +0000 (17:21 +0000)]
Update.

16 years agotypo, thanks ialex
Tim Starling [Wed, 6 Feb 2008 16:53:21 +0000 (16:53 +0000)]
typo, thanks ialex

16 years agoAllow a list of tags for settings fallback, in addition to wiki name, suffix and...
Tim Starling [Wed, 6 Feb 2008 15:56:25 +0000 (15:56 +0000)]
Allow a list of tags for settings fallback, in addition to wiki name, suffix and default. Committing for test on server.

16 years ago* (bug 12239) Use different separators for autocomments
Raimond Spekking [Wed, 6 Feb 2008 11:45:38 +0000 (11:45 +0000)]
* (bug 12239) Use different separators for autocomments
This avoids confusion if there was some text deleted (which is often marked as "- foobar" by contributors) or a normal comment.
Based on a patch of Danny B

16 years agoFix my british english slang from r30608: Licence -> License :) Thanks to Ialex.
Raimond Spekking [Wed, 6 Feb 2008 10:35:29 +0000 (10:35 +0000)]
Fix my british english slang from r30608: Licence -> License :) Thanks to Ialex.

16 years ago* Prettify software section of [[Special:Version]] a bit
Raimond Spekking [Wed, 6 Feb 2008 08:49:03 +0000 (08:49 +0000)]
* Prettify software section of [[Special:Version]] a bit

16 years ago* (bug 12919) Use 'deletedrevision' message as content when deleting an old file...
Raimond Spekking [Wed, 6 Feb 2008 06:01:58 +0000 (06:01 +0000)]
* (bug 12919) Use 'deletedrevision' message as content when deleting an old file version
Patch by Alexandre Emsenhuber

16 years ago* (bug 12931) Fix wrong global variable in SpecialVersion
Raimond Spekking [Wed, 6 Feb 2008 05:50:24 +0000 (05:50 +0000)]
* (bug 12931) Fix wrong global variable in SpecialVersion
* Housekeeping RELEASE-NOTES: max line lenghts 80 chars.

16 years agoMore file type checks...
Brion Vibber [Wed, 6 Feb 2008 01:23:12 +0000 (01:23 +0000)]
More file type checks...
* Switch XML type detection/validity check from dipping for XML processing instructions, doctypes, or subtags to just trying to parse it and checking the root element's name and namespace. This lets us properly handle SVG files which specify a namespace but no doctype, as well as rejecting files that aren't well-formed. (See http://meta.wikimedia.org/wiki/SVG_validity_checks for some samples of bad files I encountered.) Non-XML files will abort parsing pretty quickly, so this shouldn't be a big burden on other types that didn't hit a magic check.
* Fix Unicode unix script checks (er.... is that even right? :D), remove the iconv dependency

16 years agoMake the default robot policy a configurable option.
Ilmari Karonen [Wed, 6 Feb 2008 00:55:52 +0000 (00:55 +0000)]
Make the default robot policy a configurable option.

Also replace some odd hardcoded robot policies (for Special:Specialpages and for nonexistent images) with 'noindex,nofollow', which seems more
appropriate at least for the latter.  I'm not quite sure _why_ Special:Specialpages was marked as 'index,nofollow' before; it's been that way since
r1284.  It might be safe to just leave it at the default setting, but I don't really think it makes much difference either way.

16 years agoWhile we're in there, let's remove a dependency on iconv(). Do the UTF-16 to ASCII...
Brion Vibber [Tue, 5 Feb 2008 23:13:17 +0000 (23:13 +0000)]
While we're in there, let's remove a dependency on iconv(). Do the UTF-16 to ASCII merging in the XML checks manually.

16 years agoLocalisation updates for core messages from Betawiki (2008-02-05 23:38 CET)
Siebrand Mazeland [Tue, 5 Feb 2008 22:51:13 +0000 (22:51 +0000)]
Localisation updates for core messages from Betawiki (2008-02-05 23:38 CET)

16 years agoMore SVG detection fixes based on tests on files downloaded from commons...
Brion Vibber [Tue, 5 Feb 2008 22:50:21 +0000 (22:50 +0000)]
More SVG detection fixes based on tests on files downloaded from commons...
* Make the autodetection work for UTF-16LE and UTF-16BE XML, which never worked before due to using the wrong string compare length
* Allow doctype strings to break over newlines
* Detect XML if there's a doctype even if there's no XML header (the xml header isn't required for UTF-8 files)

16 years agoFix for XML type checks... don't look for the closing angle-brace on the root tag...
Brion Vibber [Tue, 5 Feb 2008 22:35:28 +0000 (22:35 +0000)]
Fix for XML type checks... don't look for the closing angle-brace on the root tag, as it may not be in the header chunk we read. Some SVGs have a lot of attributes on the root element!

16 years agoUpdate URL to Betawiki. Now leads to a localised Main Page, if available.
Siebrand Mazeland [Tue, 5 Feb 2008 22:26:06 +0000 (22:26 +0000)]
Update URL to Betawiki. Now leads to a localised Main Page, if available.

16 years agoReorder arbitrary line breaks. No content changes.
Siebrand Mazeland [Tue, 5 Feb 2008 22:24:12 +0000 (22:24 +0000)]
Reorder arbitrary line breaks. No content changes.

16 years agoMake an initial stab at refactoring the mime type detection.
Brion Vibber [Tue, 5 Feb 2008 22:11:36 +0000 (22:11 +0000)]
Make an initial stab at refactoring the mime type detection.

Adds magic header checks for the following types:
* MIDI
* Ogg
* PDF
* XCF
* DOS/Windows, Mach-O, and ELF executables

Locks down detection to prevent uploading different file types for the following extensions:
* mid, ogg, pdf, svg, wmf, xcf

This should now cover all the file types we have uploadable at Wikimedia public sites. (I've disabled the old StarOffice formats.)

Changed priority so our own checks happen in favor of the external checks, since we don't trust that stuff. Would like to see much further work here to replace it all.

Hopefully I haven't broken SVG files; I'm not 100% certain the built-in checks are correct.

16 years agoOops, committed before saving.
Siebrand Mazeland [Tue, 5 Feb 2008 18:45:34 +0000 (18:45 +0000)]
Oops, committed before saving.

16 years agoChange message 'prefs-watchlist-days' to "Days to show in watchlist:" (thanks to...
Siebrand Mazeland [Tue, 5 Feb 2008 18:44:44 +0000 (18:44 +0000)]
Change message 'prefs-watchlist-days' to "Days to show in watchlist:" (thanks to AlexSm)

16 years agoLocalisation updates German
Raimond Spekking [Tue, 5 Feb 2008 18:13:48 +0000 (18:13 +0000)]
Localisation updates German

16 years agoUpdate.
Rotem Liss [Tue, 5 Feb 2008 15:59:50 +0000 (15:59 +0000)]
Update.

16 years ago$specialPageAliases should remain absent for Russian, as this causes confusion instea...
Siebrand Mazeland [Tue, 5 Feb 2008 15:48:50 +0000 (15:48 +0000)]
$specialPageAliases should remain absent for Russian, as this causes confusion instead of adding a better localised look and feel. Removed per discussion on Betawiki/irc.