lhc/web/wiklou.git
14 years agoDatabaseSqlite: avoid fatals with non-zero $failFunction
Max Semenik [Wed, 3 Feb 2010 19:55:56 +0000 (19:55 +0000)]
DatabaseSqlite: avoid fatals with non-zero $failFunction

14 years agokilled trailing ?>
Max Semenik [Wed, 3 Feb 2010 19:36:04 +0000 (19:36 +0000)]
killed trailing ?>

14 years agorm superfuluous requires from tests
Max Semenik [Wed, 3 Feb 2010 19:30:36 +0000 (19:30 +0000)]
rm superfuluous requires from tests

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 3 Feb 2010 19:28:17 +0000 (19:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-03 19:00 UTC)

14 years agoMoved tests to maintenance - one directory less to care about when configuring access.
Max Semenik [Wed, 3 Feb 2010 19:21:37 +0000 (19:21 +0000)]
Moved tests to maintenance - one directory less to care about when configuring access.

14 years agoFollow-up r61938: also port SearchUpdate test
Alexandre Emsenhuber [Wed, 3 Feb 2010 19:09:14 +0000 (19:09 +0000)]
Follow-up r61938: also port SearchUpdate test

14 years agoFollow-up r61940: delete Makefile too
Alexandre Emsenhuber [Wed, 3 Feb 2010 18:07:26 +0000 (18:07 +0000)]
Follow-up r61940: delete Makefile too

14 years agoRevert unrelated (and unworking) change from r61940)
Chad Horohoe [Wed, 3 Feb 2010 17:59:25 +0000 (17:59 +0000)]
Revert unrelated (and unworking) change from r61940)

14 years agoLast tests were ported in r61938 or are otherwise unused, deleting /t and unifying...
Chad Horohoe [Wed, 3 Feb 2010 17:57:52 +0000 (17:57 +0000)]
Last tests were ported in r61938 or are otherwise unused, deleting /t and unifying unit tests once and for all

14 years ago* Port tests from t/inc/
Alexandre Emsenhuber [Wed, 3 Feb 2010 17:35:59 +0000 (17:35 +0000)]
* Port tests from t/inc/
* Added new tests to XmlTest

14 years agofollow up 61907 remove 5.0 bug check
Mark A. Hershberger [Wed, 3 Feb 2010 16:29:09 +0000 (16:29 +0000)]
follow up 61907 remove 5.0 bug check

14 years agofollow-up r61917 - stylize for coding conventions
Mark A. Hershberger [Wed, 3 Feb 2010 16:27:04 +0000 (16:27 +0000)]
follow-up r61917 - stylize for coding conventions

14 years agoFollow-up r61055: prevent "\n" appearing as text.
Siebrand Mazeland [Wed, 3 Feb 2010 15:57:54 +0000 (15:57 +0000)]
Follow-up r61055: prevent "\n" appearing as text.

14 years agoStarting to phase out /t in favor of /tests, so removing things already covered by...
Chad Horohoe [Wed, 3 Feb 2010 14:58:44 +0000 (14:58 +0000)]
Starting to phase out /t in favor of /tests, so removing things already covered by the latter (or otherwise unneeded). People prefer PHPUnit, according to cabal-like IRC polling and previous discussions elsewhere

14 years agoCatch the case when allow_url_fopen=false
Alexandre Emsenhuber [Wed, 3 Feb 2010 13:33:13 +0000 (13:33 +0000)]
Catch the case when allow_url_fopen=false

14 years agoPort IP tests to PHPUnit format
Chad Horohoe [Wed, 3 Feb 2010 13:32:44 +0000 (13:32 +0000)]
Port IP tests to PHPUnit format

14 years agoAdded tests for SiteConfiguration ($wgConf)
Alexandre Emsenhuber [Wed, 3 Feb 2010 13:05:00 +0000 (13:05 +0000)]
Added tests for SiteConfiguration ($wgConf)

14 years agoUse wfAppendQuery() instead of "$path?$wgStyleVersion" where $path can contain ?foo...
Roan Kattouw [Wed, 3 Feb 2010 10:48:11 +0000 (10:48 +0000)]
Use wfAppendQuery() instead of "$path?$wgStyleVersion" where $path can contain ?foo=bar&bar=baz . This fixes the bug where MediaWiki:Monobook.js was included on every page and the JS variable skin was always set to 'monobook'; this happened because of &useskin=vector?265

14 years agoFollowup to r61912, make sure hight is actually given, also dont ignore if upright...
OverlordQ [Wed, 3 Feb 2010 08:53:43 +0000 (08:53 +0000)]
Followup to r61912, make sure hight is actually given, also dont ignore if upright is specified

14 years agoAdd preliminary API tests. Next step: UploadChunks API testing.
Mark A. Hershberger [Wed, 3 Feb 2010 07:45:05 +0000 (07:45 +0000)]
Add preliminary API tests.  Next step: UploadChunks API testing.

14 years agoRevert r58025 (User::newFromName() returns WikiError under certain circumstances...
Tim Starling [Wed, 3 Feb 2010 07:39:32 +0000 (07:39 +0000)]
Revert r58025 (User::newFromName() returns WikiError under certain circumstances). Incomplete, breaks lots of things, see CR.

14 years agoFollow-up r61911: rebuild MessagesEn.php
Siebrand Mazeland [Wed, 3 Feb 2010 07:38:57 +0000 (07:38 +0000)]
Follow-up r61911: rebuild MessagesEn.php

14 years ago* Fix for r57997 and bug 21222: move math, gallery, pre and nowiki to a new module...
Tim Starling [Wed, 3 Feb 2010 07:10:58 +0000 (07:10 +0000)]
* Fix for r57997 and bug 21222: move math, gallery, pre and nowiki to a new module called CoreTagHooks, analogous to CoreParserFunctions.
* Extended the return interface for tag hooks in a way analogous to the one for parser functions, allowing <nowiki> and <html> to specify that they want to be in the nowiki replacement array instead of the general replacement array.
* Removed ParserOptions::setUseTeX() and related. If <math> is going to be registered in firstCallInit(), then it needs to be stable across multiple parser calls and not change based on parser options. Only one extension caller.

In parserTests.inc:
* Fixed parser test failures due to $wgMathDirectory not being properly set up. The math directory of the host wiki was being used, leading to a parser test failure if it was not writable.
* Fixed message cache hack from r15502. Made parser tests not fail in the case where a tested message is overwritten by the local wiki. All tests now pass on my installation.

14 years agoFix for not being able to override thumbnail height
OverlordQ [Wed, 3 Feb 2010 06:21:25 +0000 (06:21 +0000)]
Fix for not being able to override thumbnail height

14 years agofollow-up r61655 fill out the rest of the missing messages
Mark A. Hershberger [Wed, 3 Feb 2010 06:19:47 +0000 (06:19 +0000)]
follow-up r61655 fill out the rest of the missing messages
Add cookie handling to HttpFunctions.

14 years agoFollowup to r61905: remove parser tests for ex-feature.
Tim Starling [Wed, 3 Feb 2010 05:42:31 +0000 (05:42 +0000)]
Followup to r61905: remove parser tests for ex-feature.

14 years agoBump minimum supported version to 5.1.0
Mark A. Hershberger [Wed, 3 Feb 2010 05:32:32 +0000 (05:32 +0000)]
Bump minimum supported version to 5.1.0

14 years agoRemove <a> tag hook for now, pending resolution of implementation issues as discussed...
Tim Starling [Wed, 3 Feb 2010 05:07:57 +0000 (05:07 +0000)]
Remove <a> tag hook for now, pending resolution of implementation issues as discussed on CR r58717.

14 years agoRevert r56514 and r60421 per CR.
Tim Starling [Wed, 3 Feb 2010 04:54:20 +0000 (04:54 +0000)]
Revert r56514 and r60421 per CR.

14 years agofollow up r61779 - anyone who writes "!$x == null" is an idiot
Mark A. Hershberger [Wed, 3 Feb 2010 02:19:25 +0000 (02:19 +0000)]
follow up r61779 - anyone who writes "!$x == null" is an idiot

14 years agoPHPUnit tests:
Max Semenik [Tue, 2 Feb 2010 20:53:28 +0000 (20:53 +0000)]
PHPUnit tests:
* include Setup.php in bootstrap to avoid fatals
* require --> require_once, was causing problems
* require_once "foo.php" --> require_once( "foo.php" ), that's MediaWiki common practice

14 years ago* (bug 21593) Special:UserRights now lists automatic groups membership
Alexandre Emsenhuber [Tue, 2 Feb 2010 20:45:35 +0000 (20:45 +0000)]
* (bug 21593) Special:UserRights now lists automatic groups membership

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 2 Feb 2010 19:40:21 +0000 (19:40 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-02 19:15 UTC)

14 years agoMerge alternative readme into main file. Two ways to install phpunit, document them...
Chad Horohoe [Tue, 2 Feb 2010 19:17:14 +0000 (19:17 +0000)]
Merge alternative readme into main file. Two ways to install phpunit, document them both. Drop run-test.php method of running files doesn't work. Update makefile. TODO: Merge all of the nasty global setup crap into a common wrapper (maybe MediaWiki_TestCase?) so we don't have to constantly reinvent the whell.

14 years agoexistant -> existent for r61855
Aryeh Gregor [Tue, 2 Feb 2010 17:46:53 +0000 (17:46 +0000)]
existant -> existent for r61855

14 years agoFollow-up r61806: also escape tag in getPageTitle()
Alexandre Emsenhuber [Tue, 2 Feb 2010 16:26:52 +0000 (16:26 +0000)]
Follow-up r61806: also escape tag in getPageTitle()

14 years ago* (bug 21518) Special:UserRights no longer displays the user name box for users that...
Alexandre Emsenhuber [Tue, 2 Feb 2010 15:59:47 +0000 (15:59 +0000)]
* (bug 21518) Special:UserRights no longer displays the user name box for users that can only change their rights
* changed empty() to !count()
* break line at 80 chars in RELEASE-NOTES

14 years agoFollow up r61856, no need.
Philip Tzou [Tue, 2 Feb 2010 15:26:20 +0000 (15:26 +0000)]
Follow up r61856, no need.

14 years agoParser tests for behaviour of subst: and safesubst: after r61710
Conrad Irwin [Tue, 2 Feb 2010 15:24:08 +0000 (15:24 +0000)]
Parser tests for behaviour of subst: and safesubst: after r61710

14 years agoFollow up r60742, r60743, r60764, r60766, r61214, r61390. Split stripForSearch into...
Philip Tzou [Tue, 2 Feb 2010 15:09:01 +0000 (15:09 +0000)]
Follow up r60742, r60743, r60764, r60766, r61214, r61390. Split stripForSearch into wordSegmentation and normalizeForSearch. So the wordSegmentation could be called by search engines separately.

14 years agoAdd a parser test for r61816
Conrad Irwin [Tue, 2 Feb 2010 15:03:08 +0000 (15:03 +0000)]
Add a parser test for r61816

14 years agoFix a bunch of really weird spacing, other style fixes
Chad Horohoe [Tue, 2 Feb 2010 13:20:26 +0000 (13:20 +0000)]
Fix a bunch of really weird spacing, other style fixes

14 years agoFix r61838: add /common
Roan Kattouw [Tue, 2 Feb 2010 01:06:22 +0000 (01:06 +0000)]
Fix r61838: add /common

14 years agoFix hardcoding of /skins in OutputPage::addJQuery()
Roan Kattouw [Tue, 2 Feb 2010 01:02:16 +0000 (01:02 +0000)]
Fix hardcoding of /skins in OutputPage::addJQuery()

14 years agoAllow external URLs (e.g. http://bits.wikimedia.org/foo) in OutputPage::addScript()
Roan Kattouw [Tue, 2 Feb 2010 00:44:32 +0000 (00:44 +0000)]
Allow external URLs (e.g. bits.wikimedia.org/foo) in OutputPage::addScript()

14 years agoFix parser test that I broke with r61816
Conrad Irwin [Mon, 1 Feb 2010 21:36:36 +0000 (21:36 +0000)]
Fix parser test that I broke with r61816

14 years agoBug 18784 - Internal links like [[File:Foo|caption]] should read 'caption', not ...
Conrad Irwin [Mon, 1 Feb 2010 20:43:24 +0000 (20:43 +0000)]
Bug 18784 - Internal links like [[File:Foo|caption]] should read 'caption', not 'File:Foo' when Foo is not an image

14 years agoFix a bug found in Makefile.py.
Philip Tzou [Mon, 1 Feb 2010 20:39:17 +0000 (20:39 +0000)]
Fix a bug found in Makefile.py.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 1 Feb 2010 19:27:46 +0000 (19:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-02-01 19:00 UTC)

14 years agoAllow gender in 'login-userblocked', per request on http://translatewiki.net/wiki...
Alexandre Emsenhuber [Mon, 1 Feb 2010 18:51:52 +0000 (18:51 +0000)]
Allow gender in 'login-userblocked', per request on translatewiki.net/wiki/Thread:Support/Login-userblocked

14 years ago1. Update the Chinese conversion tables.
Philip Tzou [Mon, 1 Feb 2010 18:31:19 +0000 (18:31 +0000)]
1. Update the Chinese conversion tables.
2. A little modification on Makefile.py.

14 years agoFixes to OutputPage's documentation
Alexandre Emsenhuber [Mon, 1 Feb 2010 18:04:17 +0000 (18:04 +0000)]
Fixes to OutputPage's documentation
* action=raw -> action=render
* escape tags in setPageTitle()'s documentation so that it's displayed correctly (not treated as real tags)

14 years agoRevert r55877 per bug 22343
Raimond Spekking [Mon, 1 Feb 2010 16:50:57 +0000 (16:50 +0000)]
Revert r55877 per bug 22343

14 years agoWhitespace fixes for r61761, r61779
Roan Kattouw [Mon, 1 Feb 2010 15:36:14 +0000 (15:36 +0000)]
Whitespace fixes for r61761, r61779

14 years agoCleanup r61694, move blocked check to after password check, global auth checks, etc...
Chad Horohoe [Mon, 1 Feb 2010 14:51:46 +0000 (14:51 +0000)]
Cleanup r61694, move blocked check to after password check, global auth checks, etc. Prevents hunting for blocked users

14 years agoRemove unused file IEMacFixes.css
Aryeh Gregor [Mon, 1 Feb 2010 14:44:55 +0000 (14:44 +0000)]
Remove unused file IEMacFixes.css

There are no references to it outside comments.

14 years agoSkin class: documentation and spacing tweaks, shortened some long lines, added braces
Jack Phoenix [Mon, 1 Feb 2010 13:52:55 +0000 (13:52 +0000)]
Skin class: documentation and spacing tweaks, shortened some long lines, added braces

14 years agoAdd period after space of undo title
Aaron Schulz [Mon, 1 Feb 2010 11:01:14 +0000 (11:01 +0000)]
Add period after space of undo title

14 years agofollow up r61355, initial, incomplete dealing with TimStarlings CR
Mark A. Hershberger [Mon, 1 Feb 2010 07:05:23 +0000 (07:05 +0000)]
follow up r61355, initial, incomplete dealing with TimStarlings CR

14 years agoFor r61355:
Tim Starling [Mon, 1 Feb 2010 06:06:31 +0000 (06:06 +0000)]
For r61355:
* Removed style note, nobody cares
* Fixed indenting and braces

14 years agofollow up r61775 (reapply): Fix parsertests so that they work even when server-side...
Mark A. Hershberger [Mon, 1 Feb 2010 04:59:59 +0000 (04:59 +0000)]
follow up r61775 (reapply): Fix parsertests so that they work even when server-side thumbnailing isn't configured.

14 years agofollow up 61775 -- REVERT REVERT
Mark A. Hershberger [Mon, 1 Feb 2010 04:57:42 +0000 (04:57 +0000)]
follow up 61775 -- REVERT REVERT

14 years agoFix parsertests so that they work even when server-side thumbnailing isn't configured.
Mark A. Hershberger [Mon, 1 Feb 2010 04:55:15 +0000 (04:55 +0000)]
Fix parsertests so that they work even when server-side thumbnailing isn't configured.

14 years agofixes problem on PHP 5.1 where titles are displayed as "Object":
Mark A. Hershberger [Mon, 1 Feb 2010 02:45:23 +0000 (02:45 +0000)]
fixes problem on PHP 5.1 where titles are displayed as "Object":
TimStarling sez: "presumably some clever person has been using __toString()"
Why did it have to be in code *I* wrote?

14 years agoRequire $wgHtml5 for $wgExperimentalHtmlIds
Aryeh Gregor [Mon, 1 Feb 2010 01:43:07 +0000 (01:43 +0000)]
Require $wgHtml5 for $wgExperimentalHtmlIds

This way, if you want to disable HTML5 you don't have to turn off an
extra setting to maintain validity.

14 years agoAdd myself to Api Credits
Sam Reed [Sun, 31 Jan 2010 23:28:33 +0000 (23:28 +0000)]
Add myself to Api Credits

14 years agoLast fail change from r61761
Sam Reed [Sun, 31 Jan 2010 23:12:17 +0000 (23:12 +0000)]
Last fail change from r61761

14 years agoRem extra brace from r61761
Sam Reed [Sun, 31 Jan 2010 23:10:57 +0000 (23:10 +0000)]
Rem extra brace from r61761

14 years agoFix r61760/r61762
Sam Reed [Sun, 31 Jan 2010 23:09:03 +0000 (23:09 +0000)]
Fix r61760/r61762

14 years agoFix r61760
Sam Reed [Sun, 31 Jan 2010 23:08:15 +0000 (23:08 +0000)]
Fix r61760

14 years agoFinish (bug 18427) Comment (edit summary) parser option for API
Sam Reed [Sun, 31 Jan 2010 23:06:35 +0000 (23:06 +0000)]
Finish (bug 18427) Comment (edit summary) parser option for API

Followup to r61747 r61754 (RELEASE-NOTES to cover whole bug)

14 years agoin_array to isset on ApiQueryLogEvents as per (most?) rest of the API
Sam Reed [Sun, 31 Jan 2010 22:28:27 +0000 (22:28 +0000)]
in_array to isset on ApiQueryLogEvents as per (most?) rest of the API

14 years ago* (bug 20809) Expose EditFormPreloadText via the API
Sam Reed [Sun, 31 Jan 2010 22:06:02 +0000 (22:06 +0000)]
* (bug 20809) Expose EditFormPreloadText via the API

If page exists, don't run hook and just display ''

Comment for readable and url

14 years agoRevert changes to Spyc in r61756: changes tabs to spaces, so it actually makes it...
Roan Kattouw [Sun, 31 Jan 2010 21:54:29 +0000 (21:54 +0000)]
Revert changes to Spyc in r61756: changes tabs to spaces, so it actually makes it worse. Also, I believe that we don't stylize libraries from external sources as a general rule

14 years agoStylize.php on API
Sam Reed [Sun, 31 Jan 2010 21:21:46 +0000 (21:21 +0000)]
Stylize.php on API

14 years agoWhitespace/brace cleanup to ApiQueryDeletedrevs
Sam Reed [Sun, 31 Jan 2010 21:12:15 +0000 (21:12 +0000)]
Whitespace/brace cleanup to ApiQueryDeletedrevs

14 years agobug 18427 - Parsed comment on prop=revision
Sam Reed [Sun, 31 Jan 2010 20:59:50 +0000 (20:59 +0000)]
bug 18427 - Parsed comment on prop=revision

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 31 Jan 2010 20:01:53 +0000 (20:01 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-31 19:30 UTC)

14 years agoParamDescriptions for ApiQueryRevisions were inconsistently starting with upper and...
Sam Reed [Sun, 31 Jan 2010 19:46:23 +0000 (19:46 +0000)]
ParamDescriptions for ApiQueryRevisions were inconsistently starting with upper and lower case.

Normalise to Upper case (as per rest of API)

14 years ago(bug 16039) Text disappearing after a bad image
Max Semenik [Sun, 31 Jan 2010 18:26:37 +0000 (18:26 +0000)]
(bug 16039) Text disappearing after a bad image

14 years agoRv extra precautions from r61465. I think I was confused by bug 16039 into adding it
Max Semenik [Sun, 31 Jan 2010 18:16:05 +0000 (18:16 +0000)]
Rv extra precautions from r61465. I think I was confused by bug 16039 into adding it

14 years agoPart 1 of bug 18427 - "add comment= parameter to action=parse, spitting out <parsedco...
Sam Reed [Sun, 31 Jan 2010 17:45:51 +0000 (17:45 +0000)]
Part 1 of bug 18427 - "add comment= parameter to action=parse, spitting out <parsedcomment> with
the HTML"

Done outputting "parsedsummary", though, summary may suffice?

14 years agoLocalization update for he.
Rotem Liss [Sun, 31 Jan 2010 17:22:56 +0000 (17:22 +0000)]
Localization update for he.

14 years ago(bug 22324) Remove no longer used message 'uploadcorrupt'. Pointed out by Karun...
Siebrand Mazeland [Sun, 31 Jan 2010 10:56:41 +0000 (10:56 +0000)]
(bug 22324) Remove no longer used message 'uploadcorrupt'. Pointed out by  Karun Dambietz

14 years agoModify IPBlockForm::(un)suppressUserName so it can be used on a different database.
Victor Vasiliev [Sun, 31 Jan 2010 01:16:55 +0000 (01:16 +0000)]
Modify IPBlockForm::(un)suppressUserName so it can be used on a different database.

14 years agoLocalisation updates for core messages from translatewiki.net
Siebrand Mazeland [Sat, 30 Jan 2010 23:34:31 +0000 (23:34 +0000)]
Localisation updates for core messages from translatewiki.net
* update namespace names and special page aliases for Upper Franconian
* remove trailing whitespace

14 years agoLocalisation updates for core messages from translatewiki.net
Siebrand Mazeland [Sat, 30 Jan 2010 23:31:22 +0000 (23:31 +0000)]
Localisation updates for core messages from translatewiki.net
* add Upper Franconian
* cleanup renamed users
* misc. updates

14 years agoRELEASE-NOTES for r61730 after https://bugzilla.wikimedia.org/show_bug.cgi?id=18758#c4
Sam Reed [Sat, 30 Jan 2010 22:57:18 +0000 (22:57 +0000)]
RELEASE-NOTES for r61730 after https://bugzilla.wikimedia.org/show_bug.cgi?id=18758#c4

* (bug 18758) API read of watchlist's wl_notificationtimestamp

14 years agoStart of implementation of bug 18758 - Get value of wl_notificationtimestamp
Sam Reed [Sat, 30 Jan 2010 22:48:54 +0000 (22:48 +0000)]
Start of implementation of bug 18758 - Get value of wl_notificationtimestamp

14 years agofixing r61124: typos
Tobias [Sat, 30 Jan 2010 22:00:34 +0000 (22:00 +0000)]
fixing r61124: typos

14 years agoMonoBook: remove three unused globals which were added in r56770 to support loading...
Jack Phoenix [Sat, 30 Jan 2010 20:26:38 +0000 (20:26 +0000)]
MonoBook: remove three unused globals which were added in r56770 to support loading of IEFixes.js but IEFixes.js was merged into wikibits.js in r60994

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 30 Jan 2010 19:20:23 +0000 (19:20 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-30 19:00 UTC)

14 years agoPer Nikerabbit, follow-up to r61690: document $interface parameter
Alexandre Emsenhuber [Sat, 30 Jan 2010 17:40:17 +0000 (17:40 +0000)]
Per Nikerabbit, follow-up to r61690: document $interface parameter

14 years agoCheck $this not $wgUser in canSendEmail()
Chad Horohoe [Sat, 30 Jan 2010 16:20:54 +0000 (16:20 +0000)]
Check $this not $wgUser in canSendEmail()

14 years agoFix "you are blocked" message for users who were blocked by zero-ID user.
Victor Vasiliev [Sat, 30 Jan 2010 14:27:28 +0000 (14:27 +0000)]
Fix "you are blocked" message for users who were blocked by zero-ID user.

14 years agoFix for r61710. Changing subst: to subst:$1 would cause huge problems with localisation
Conrad Irwin [Sat, 30 Jan 2010 12:46:16 +0000 (12:46 +0000)]
Fix for r61710. Changing subst: to subst:$1 would cause huge problems with localisation
instead add some proper functions to MagicWord.php to deal with the situation.

14 years agoAPI: Fix E_NOTICE. !is_null() and isset() are not equivalent when indexing arrays
Roan Kattouw [Sat, 30 Jan 2010 12:09:28 +0000 (12:09 +0000)]
API: Fix E_NOTICE. !is_null() and isset() are not equivalent when indexing arrays

14 years agoBump $wgStyleVersion for r61700
Roan Kattouw [Sat, 30 Jan 2010 12:07:40 +0000 (12:07 +0000)]
Bump $wgStyleVersion for r61700

14 years agobug 22297 - "syntax for substitution that doesn't break transclusion"
Conrad Irwin [Sat, 30 Jan 2010 11:58:19 +0000 (11:58 +0000)]
bug 22297 - "syntax for substitution that doesn't break transclusion"
Adds "safesubst:$1" that works similarly to "subst:$1"
(relevant to bug 5453, bug 16714, bug 4484)

14 years ago* Show diff link for DELETED_TEXT revs if user can see them (like history)
Aaron Schulz [Sat, 30 Jan 2010 09:10:03 +0000 (09:10 +0000)]
* Show diff link for DELETED_TEXT revs if user can see them (like history)
* Broke long line