lhc/web/wiklou.git
17 years agosomeone forgot to bump this in r18949
Brion Vibber [Mon, 8 Jan 2007 11:11:29 +0000 (11:11 +0000)]
someone forgot to bump this in r18949

17 years agoFix regression in MediaWiki:Monobook.js and MediaWiki:Common.js loading.
Brion Vibber [Mon, 8 Jan 2007 10:58:50 +0000 (10:58 +0000)]
Fix regression in MediaWiki:Monobook.js and MediaWiki:Common.js loading.
Most language files defined these messages with the initial caps, which
with the new changes to the message cache meant they didn't get loaded
properly when requested directly out of software defaults instead of
through the database... woopsie!

17 years agoRestore previous heading formatting behavior to fix 12 parser tests broken by r18948...
Brion Vibber [Mon, 8 Jan 2007 09:45:59 +0000 (09:45 +0000)]
Restore previous heading formatting behavior to fix 12 parser tests broken by r18948, which claimed it wasn't supposed to impact output. :)

17 years ago* (bug 7020) Improved handheld stylesheet for Monobook (merged into main.css, not...
Aryeh Gregor [Mon, 8 Jan 2007 03:48:00 +0000 (03:48 +0000)]
* (bug 7020) Improved handheld stylesheet for Monobook (merged into main.css, not separate file).  It looks very nice in Opera's small screen mode, if I do say so myself.  :)
* This *should not* change anything for non-handheld, but I did have to add a missing <div class="pBody"> wrapper to cactions, and it's marginally possible that some quirky browser won't accept the style rules I added to make things look identical.  So there should be no problem, but be on the lookout.

17 years ago* Move headline construction to Linker function (from being hardcoded in Parser)
Aryeh Gregor [Mon, 8 Jan 2007 02:11:45 +0000 (02:11 +0000)]
* Move headline construction to Linker function (from being hardcoded in Parser)
* Use ?P<title> for capturing in the main headline-munching loop, for readability

Should have no impact on output except whitespace.

17 years agoRevert r18893/18894 (Special:Listinterwikis) for the moment; pretty broken.
Brion Vibber [Mon, 8 Jan 2007 01:41:51 +0000 (01:41 +0000)]
Revert r18893/18894 (Special:Listinterwikis) for the moment; pretty broken.
- no html escaping
- ugly :)
- doesn't use alternate interwiki database so will be wrong on wikimedia sites

17 years agoAdd 'Template namespace initialisation script' to list of reserved usernames.
Brion Vibber [Mon, 8 Jan 2007 00:51:45 +0000 (00:51 +0000)]
Add 'Template namespace initialisation script' to list of reserved usernames.
Was used for the MediaWiki->Template namespace moves in the 1.2 to 1.3 upgrade process.

17 years agoImplements #7667 : allow XHTML namespaces customization. Patch by Evan Miller
Antoine Musso [Sun, 7 Jan 2007 22:31:07 +0000 (22:31 +0000)]
Implements #7667 : allow XHTML namespaces customization. Patch by Evan Miller

17 years agoFix disabled search message
Antoine Musso [Sun, 7 Jan 2007 22:12:52 +0000 (22:12 +0000)]
Fix disabled search message

17 years ago(bug 5962) More Italian translations from BrokenArrow
Rob Church [Sun, 7 Jan 2007 21:57:47 +0000 (21:57 +0000)]
(bug 5962) More Italian translations from BrokenArrow

17 years agoBug #8512 id update. Patch by Ivan Lanin
Antoine Musso [Sun, 7 Jan 2007 21:48:43 +0000 (21:48 +0000)]
Bug #8512 id update. Patch by Ivan Lanin

17 years agomakes function static to fix strict errors in parser tests script.
Antoine Musso [Sun, 7 Jan 2007 18:52:45 +0000 (18:52 +0000)]
makes function static to fix strict errors in parser tests script.

17 years agoFix #7948 : warn that recentchanges need to be rebuild.
Antoine Musso [Sun, 7 Jan 2007 18:50:26 +0000 (18:50 +0000)]
Fix #7948 : warn that recentchanges need to be rebuild.

17 years agoDo not set $fallback to false.
Tim Starling [Sun, 7 Jan 2007 17:38:48 +0000 (17:38 +0000)]
Do not set $fallback to false.

17 years agoDon't create a new parser on every call to wfMsgExt(), that's slow.
Tim Starling [Sun, 7 Jan 2007 16:44:06 +0000 (16:44 +0000)]
Don't create a new parser on every call to wfMsgExt(), that's slow.

17 years agoFix NS_PROJECT_TALK (bug #7792)
Antoine Musso [Sun, 7 Jan 2007 16:36:14 +0000 (16:36 +0000)]
Fix NS_PROJECT_TALK (bug #7792)

17 years agoGerman localisation patch by Raymond
Leon Weber [Sun, 7 Jan 2007 16:27:37 +0000 (16:27 +0000)]
German localisation patch by Raymond

17 years agofix breakage of wfEmptyMsg
Tim Starling [Sun, 7 Jan 2007 15:43:23 +0000 (15:43 +0000)]
fix breakage of wfEmptyMsg

17 years agoUpdate to German translation
Jimmy Collins [Sun, 7 Jan 2007 14:36:22 +0000 (14:36 +0000)]
Update to German translation

17 years agoUpdate.
Rotem Liss [Sun, 7 Jan 2007 14:23:14 +0000 (14:23 +0000)]
Update.

17 years agoCorrect behaviour for title-case key input.
Tim Starling [Sun, 7 Jan 2007 14:22:32 +0000 (14:22 +0000)]
Correct behaviour for title-case key input.

17 years agofix missing </table>, quite visible running with tidy disabled on mediawiki messages
Brion Vibber [Sun, 7 Jan 2007 12:55:28 +0000 (12:55 +0000)]
fix missing </table>, quite visible running with tidy disabled on mediawiki messages

17 years agoFix regression in transclusion of {{MediaWiki:}} messages that don't exist locally.
Brion Vibber [Sun, 7 Jan 2007 12:30:46 +0000 (12:30 +0000)]
Fix regression in transclusion of {{MediaWiki:}} messages that don't exist locally.
(Regression because they used to be in the database and now aren't in most cases.)
Some UI messages use this to get page names, for instance.
Now grabs the value out of the message system if the page doesn't exist.

17 years ago* ensure 'MediaWiki default' user is a bot when running batch deletion of mediawiki...
Brion Vibber [Sun, 7 Jan 2007 11:21:41 +0000 (11:21 +0000)]
* ensure 'MediaWiki default' user is a bot when running batch deletion of mediawiki entries, so they don't clutter up RC
* as paranoia, don't insert a groups record into the database if User::addGroup() ends up run on a non-existing user

17 years agoBecause I just know someone's going to complain about watchlists/RC being cluttered...
Brion Vibber [Sun, 7 Jan 2007 10:54:02 +0000 (10:54 +0000)]
Because I just know someone's going to complain about watchlists/RC being cluttered up by 'X bytes' instead of 'X', for the moment I'm splitting this to use the new rc-change-size message, and leave it at '$1' by default (so no change from the old behavior, showing number alone).

One could stick in the labeling if one desired, or leave it blank.

17 years agoWell there was no problem in the first place. Nice work Werdna
Andrew Garrett [Sun, 7 Jan 2007 07:57:54 +0000 (07:57 +0000)]
Well there was no problem in the first place. Nice work Werdna

17 years agodon't mix braced and non-braced blocks; it's ugly and error-prone
Brion Vibber [Sun, 7 Jan 2007 06:59:14 +0000 (06:59 +0000)]
don't mix braced and non-braced blocks; it's ugly and error-prone

17 years agoOkay brion, this patch actually /works/. Thanks to the miracles of testing, I can...
Andrew Garrett [Sun, 7 Jan 2007 06:58:21 +0000 (06:58 +0000)]
Okay brion, this patch actually /works/. Thanks to the miracles of testing, I can now be certain that it does something other than give a PHP warning.

17 years agooops
Antoine Musso [Sun, 7 Jan 2007 06:44:08 +0000 (06:44 +0000)]
oops

17 years agoFix when nothing is passed to listToText (eg: no author)
Antoine Musso [Sun, 7 Jan 2007 06:33:21 +0000 (06:33 +0000)]
Fix when nothing is passed to listToText (eg: no author)

17 years agoFix for r18904 where autoblocker would not correctly block ipblock-exempt users.
Andrew Garrett [Sun, 7 Jan 2007 06:21:54 +0000 (06:21 +0000)]
Fix for r18904 where autoblocker would not correctly block ipblock-exempt users.

17 years agoDon't use jargon in messages. And I mean you, Werdna!
Aryeh Gregor [Sun, 7 Jan 2007 05:01:02 +0000 (05:01 +0000)]
Don't use jargon in messages.  And I mean you, Werdna!

17 years agoUpdate release notes for last commit
Andrew Garrett [Sun, 7 Jan 2007 04:38:39 +0000 (04:38 +0000)]
Update release notes for last commit

17 years agoRestore 18905, but instead of displaying the Preview, display Show Changes. Also...
Andrew Garrett [Sun, 7 Jan 2007 04:36:33 +0000 (04:36 +0000)]
Restore 18905, but instead of displaying the Preview, display Show Changes. Also, tweaked the undo messages to make them make more sense and more accurately convey what has happened.

17 years agoRevert r17905. Needs more thought, and may be annoying, particularly for large pages.
Andrew Garrett [Sun, 7 Jan 2007 04:27:34 +0000 (04:27 +0000)]
Revert r17905. Needs more thought, and may be annoying, particularly for large pages.

17 years agoPreview automatically when somebody clicks undo. I would make it do a diff of the...
Andrew Garrett [Sun, 7 Jan 2007 04:20:16 +0000 (04:20 +0000)]
Preview automatically when somebody clicks undo. I would make it do a diff of the undo edit, but I couldn't see an easy way to do this.

17 years ago* (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt permission...
Andrew Garrett [Sun, 7 Jan 2007 03:23:31 +0000 (03:23 +0000)]
* (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt permission key has been added to enable this behaviour, by default assigned to sysops.

17 years agoNew way to display the extensions and hooks. Pending css tweaking.
Antoine Musso [Sun, 7 Jan 2007 02:15:36 +0000 (02:15 +0000)]
New way to display the extensions and hooks. Pending css tweaking.

17 years agoWatchlist query group.
Tim Starling [Sun, 7 Jan 2007 02:08:55 +0000 (02:08 +0000)]
Watchlist query group.

17 years agoOn second thoughts, remove it altogether...if asking the user is really so hard,...
Rob Church [Sun, 7 Jan 2007 01:58:40 +0000 (01:58 +0000)]
On second thoughts, remove it altogether...if asking the user is really so hard, then look at the JavaScript globals at the top of the page.

17 years agoMove content language details to HTML comments; doesn't need to be immediately there...
Rob Church [Sun, 7 Jan 2007 01:53:44 +0000 (01:53 +0000)]
Move content language details to HTML comments; doesn't need to be immediately there, and it looks a bit odd

17 years agoRelease notes, else Brion my have head shall
Rob Church [Sun, 7 Jan 2007 01:21:20 +0000 (01:21 +0000)]
Release notes, else Brion my have head shall

17 years agoCount deleted edits when regenerating the edit count
Rob Church [Sun, 7 Jan 2007 01:18:44 +0000 (01:18 +0000)]
Count deleted edits when regenerating the edit count

17 years ago- whitespaces
Antoine Musso [Sun, 7 Jan 2007 00:20:43 +0000 (00:20 +0000)]
- whitespaces
+ comments

17 years ago* +fi
Niklas Laxström [Sat, 6 Jan 2007 23:54:09 +0000 (23:54 +0000)]
* +fi

17 years agoFix for r18893
Antoine Musso [Sat, 6 Jan 2007 23:47:44 +0000 (23:47 +0000)]
Fix for r18893

17 years agoSpecial:Listinterwikis
Antoine Musso [Sat, 6 Jan 2007 23:42:54 +0000 (23:42 +0000)]
Special:Listinterwikis

17 years agoString length check to avoid warnings for empty strings...
Robert Stojnić [Sat, 6 Jan 2007 23:20:40 +0000 (23:20 +0000)]
String length check to avoid warnings for empty strings...

17 years agoRoll back workaround for Firefox link underlining: I realized that <u><u>Foo</u>...
Aryeh Gregor [Sat, 6 Jan 2007 23:19:33 +0000 (23:19 +0000)]
Roll back workaround for Firefox link underlining: I realized that <u><u>Foo</u></u> is not necessarily supposed to display the same as <u>Foo</u>, so there will be double-underlining or similar bad stuff in some cases.  Mozilla has to fix this one.

17 years agoLanguage code and name used. It helps for support.
Antoine Musso [Sat, 6 Jan 2007 23:12:50 +0000 (23:12 +0000)]
Language code and name used. It helps for support.

17 years agoMisc updates
Antoine Musso [Sat, 6 Jan 2007 22:01:29 +0000 (22:01 +0000)]
Misc updates

17 years ago[[Special:Statistics]] as a command line script.
Antoine Musso [Sat, 6 Jan 2007 20:41:16 +0000 (20:41 +0000)]
[[Special:Statistics]] as a command line script.

17 years ago* Fix number formatting
Niklas Laxström [Sat, 6 Jan 2007 20:18:18 +0000 (20:18 +0000)]
* Fix number formatting

17 years agoReturn nothing on empty math tags instead of char encoding
Antoine Musso [Sat, 6 Jan 2007 18:46:08 +0000 (18:46 +0000)]
Return nothing on empty math tags instead of char encoding

17 years agoAdding MessageCache::addMessagesByLang for localised extensions. Please do not use...
Rotem Liss [Sat, 6 Jan 2007 18:29:53 +0000 (18:29 +0000)]
Adding MessageCache::addMessagesByLang for localised extensions. Please do not use it for now, for backwards compatibility.

17 years agomethod name in wfDebug
Antoine Musso [Sat, 6 Jan 2007 18:20:58 +0000 (18:20 +0000)]
method name in wfDebug

17 years ago* (bug 8508) Update to Japanese localisation (ja)
Niklas Laxström [Sat, 6 Jan 2007 16:23:55 +0000 (16:23 +0000)]
* (bug 8508) Update to Japanese localisation (ja)

17 years ago* Committed some message files which have been hanging around
Niklas Laxström [Sat, 6 Jan 2007 15:59:28 +0000 (15:59 +0000)]
* Committed some message files which have been hanging around

17 years ago* Updates
Niklas Laxström [Sat, 6 Jan 2007 15:55:07 +0000 (15:55 +0000)]
* Updates

17 years agoUpdate.
Rotem Liss [Sat, 6 Jan 2007 15:36:45 +0000 (15:36 +0000)]
Update.

17 years agoFix #8417 : Handle EXIF unknown date
Antoine Musso [Sat, 6 Jan 2007 15:31:39 +0000 (15:31 +0000)]
Fix #8417 : Handle EXIF unknown date

17 years agoSeparate body and nav bar a bit.
Antoine Musso [Sat, 6 Jan 2007 15:20:35 +0000 (15:20 +0000)]
Separate body and nav bar a bit.

17 years agoCleaner HTML output
Antoine Musso [Sat, 6 Jan 2007 15:19:14 +0000 (15:19 +0000)]
Cleaner HTML output

17 years ago* Recentchanges RSS/Atom feeds now use a separate message for the description to...
Brion Vibber [Sat, 6 Jan 2007 00:51:21 +0000 (00:51 +0000)]
* Recentchanges RSS/Atom feeds now use a separate message for the description to avoid cluttering it with useless wiki formatting

17 years ago* nbytes uses {{plural}}, support it
Niklas Laxström [Fri, 5 Jan 2007 23:18:37 +0000 (23:18 +0000)]
* nbytes uses {{plural}}, support it

17 years agoUse $wgLang->getCode() rather than $wgUser->getOption('language') in the parser cache...
Tim Starling [Fri, 5 Jan 2007 18:10:22 +0000 (18:10 +0000)]
Use $wgLang->getCode() rather than $wgUser->getOption('language') in the parser cache rendering hash, since the latter may be overridden by a uselang= parameter in the URL.

17 years ago* The MediaWiki namespace is no longer pre-filled with default messages on install...
Tim Starling [Fri, 5 Jan 2007 18:08:29 +0000 (18:08 +0000)]
* The MediaWiki namespace is no longer pre-filled with default messages on install. All default messages will be removed from the MediaWiki namespace on upgrade.
* Swapped the order of dimensions in the 2-d array $wgMessageCache->mExtensionMessages.

17 years agoWork around a bizarre interpretation of standards by Mozilla (https://bugzilla.mozill...
Aryeh Gregor [Fri, 5 Jan 2007 17:34:35 +0000 (17:34 +0000)]
Work around a bizarre interpretation of standards by Mozilla (https://bugzilla.mozilla.org/show_bug.cgi?id=365970): when links are underlined, so should all their descendants.

17 years ago* apply update from http://bugzilla.wikimedia.org/attachment.cgi?id=2983&action=view
Brion Vibber [Fri, 5 Jan 2007 17:31:27 +0000 (17:31 +0000)]
* apply update from bugzilla.wikimedia.org/attachment.cgi?id=2983&action=view
* fix non-normalized text

17 years agoIn SqlBagOStuff: Respect expiry time on get(). Fix incorrect value in _maxdatetime...
Tim Starling [Fri, 5 Jan 2007 16:54:52 +0000 (16:54 +0000)]
In SqlBagOStuff: Respect expiry time on get(). Fix incorrect value in _maxdatetime(), wfTimestamp() only works with a value in the range of unix timestamps. Increase pivot for distinguishing expiry time intervals from absolute dates from one month to 10 years.

17 years agoRevert fix of bug 8326 in r18461, plus an unrelated change to DefaultSettings.php.
Tim Starling [Fri, 5 Jan 2007 16:40:55 +0000 (16:40 +0000)]
Revert fix of bug 8326 in r18461, plus an unrelated change to DefaultSettings.php.

17 years agoline endings
Brion Vibber [Fri, 5 Jan 2007 03:37:19 +0000 (03:37 +0000)]
line endings

17 years agoFix line endings
Brion Vibber [Fri, 5 Jan 2007 01:39:47 +0000 (01:39 +0000)]
Fix line endings

17 years agoRename ImageGallery::setCaptionSafe() to ImageGallery::setCaptionHtml(), since as...
Rob Church [Fri, 5 Jan 2007 01:07:04 +0000 (01:07 +0000)]
Rename ImageGallery::setCaptionSafe() to ImageGallery::setCaptionHtml(), since as Simetrical points out...it's not actually safe :D

17 years ago(bug 8485) Correct Lingala number formatting
Rob Church [Thu, 4 Jan 2007 23:16:29 +0000 (23:16 +0000)]
(bug 8485) Correct Lingala number formatting

17 years agoImprove Parser::strip() performance by delaying update of the strip state until the...
Tim Starling [Thu, 4 Jan 2007 21:56:37 +0000 (21:56 +0000)]
Improve Parser::strip() performance by delaying update of the strip state until the end of the parse. This improves performance in two ways: firstly by minimising the size of the state array in the case of large numbers of tags, and secondly by avoiding unnecessary invalidation of the FSS object, when FSS is enabled. The same function is preserved, because a placeholder from one recursion level should never find its way into the output of the same recursion level.

17 years agoFixed parser tests broken in r18502
Tim Starling [Thu, 4 Jan 2007 21:26:05 +0000 (21:26 +0000)]
Fixed parser tests broken in r18502

17 years agoAdd wikiHow to interwiki.sql list.
Evan Prodromou [Thu, 4 Jan 2007 21:11:32 +0000 (21:11 +0000)]
Add wikiHow to interwiki.sql list.

17 years agoµ update
Antoine Musso [Thu, 4 Jan 2007 20:33:59 +0000 (20:33 +0000)]
µ update

17 years ago* Move escaping of image gallery captions to ImageGallery::setCaption()
Rob Church [Thu, 4 Jan 2007 19:47:11 +0000 (19:47 +0000)]
* Move escaping of image gallery captions to ImageGallery::setCaption()
* Allow developers to set HTML gallery captions with ImageGallery::setCaptionSafe()
* (bug 8489) Support basic links in <gallery> caption attribute

17 years agoTweaks
Rob Church [Thu, 4 Jan 2007 19:44:53 +0000 (19:44 +0000)]
Tweaks

17 years agoFix #8330: Recentchanges counter is confusing
Antoine Musso [Thu, 4 Jan 2007 19:12:52 +0000 (19:12 +0000)]
Fix #8330: Recentchanges counter is confusing

17 years agoFix #8413 : document $wgNamespaceRobotPolicies better in LocalSettings.php
Antoine Musso [Thu, 4 Jan 2007 18:48:19 +0000 (18:48 +0000)]
Fix #8413 : document $wgNamespaceRobotPolicies better in LocalSettings.php

17 years agoGerman localisation patch by raymond
Leon Weber [Thu, 4 Jan 2007 17:39:45 +0000 (17:39 +0000)]
German localisation patch by raymond

17 years agoUpdate.
Rotem Liss [Thu, 4 Jan 2007 14:21:12 +0000 (14:21 +0000)]
Update.

17 years agoRemove commented-out code
Rob Church [Thu, 4 Jan 2007 14:09:24 +0000 (14:09 +0000)]
Remove commented-out code

17 years ago(bug 8487) Don't show users action watch preferences that aren't applicable
Rob Church [Thu, 4 Jan 2007 14:08:51 +0000 (14:08 +0000)]
(bug 8487) Don't show users action watch preferences that aren't applicable

17 years agoAdvise users when updates for a query page have been disabled using $wgDisableQueryPa...
Rob Church [Wed, 3 Jan 2007 23:42:28 +0000 (23:42 +0000)]
Advise users when updates for a query page have been disabled using $wgDisableQueryPageUpdate

17 years agoAnother todo for sorttable
Aryeh Gregor [Wed, 3 Jan 2007 17:33:16 +0000 (17:33 +0000)]
Another todo for sorttable

17 years ago(bug 8456) Indonesian localisation patch by Ivan Lanin
Leon Weber [Wed, 3 Jan 2007 17:14:06 +0000 (17:14 +0000)]
(bug 8456) Indonesian localisation patch by Ivan Lanin

17 years agoGerman localisation patch by raymond
Leon Weber [Wed, 3 Jan 2007 16:52:50 +0000 (16:52 +0000)]
German localisation patch by raymond

17 years agoOnly do stripforsearch if we are using MySQL, per bug # 8470
Greg Sabino Mullane [Wed, 3 Jan 2007 16:36:05 +0000 (16:36 +0000)]
Only do stripforsearch if we are using MySQL, per bug # 8470

17 years agoonly generate preview output when the request is actually a preview
Tim Starling [Wed, 3 Jan 2007 15:09:53 +0000 (15:09 +0000)]
only generate preview output when the request is actually a preview

17 years agoIntroduce 'R' flag for -{}- tags. The flagged text will not be parsed
Robert Stojnić [Wed, 3 Jan 2007 14:37:15 +0000 (14:37 +0000)]
Introduce 'R' flag for -{}- tags. The flagged text will not be parsed
for alternatives syntax, but just outputed. Use this to wrap math.

17 years agoUpdate.
Rotem Liss [Wed, 3 Jan 2007 13:13:20 +0000 (13:13 +0000)]
Update.

17 years agoSpacing.
Rotem Liss [Wed, 3 Jan 2007 13:10:06 +0000 (13:10 +0000)]
Spacing.

17 years ago* Attempt to detect redirect loops for the canonical title redirect, and
Brion Vibber [Wed, 3 Jan 2007 09:15:11 +0000 (09:15 +0000)]
* Attempt to detect redirect loops for the canonical title redirect, and
  give some hints to the poor confused administrator.

17 years ago* Reduce config file clutter by setting various script and upload paths
Brion Vibber [Wed, 3 Jan 2007 08:41:16 +0000 (08:41 +0000)]
* Reduce config file clutter by setting various script and upload paths
  based on $IP or $wgScriptPath in Setup.php. They can still be explicitly
  overridden in LocalSettings.php if desired...

17 years agoRevert the attempt to autodetect CGI configs with working PATHINFO, since it turns...
Brion Vibber [Wed, 3 Jan 2007 07:41:20 +0000 (07:41 +0000)]
Revert the attempt to autodetect CGI configs with working PATHINFO, since it turns out not to be reliable enough.
For example, current versions of lighttpd munge PATH_INFO fatally on Mac OS X, and problems have been reported on other systems as well.
Sigh.

17 years agorevert apparently accidental change to defaults in r18775
Brion Vibber [Wed, 3 Jan 2007 07:10:17 +0000 (07:10 +0000)]
revert apparently accidental change to defaults in r18775