lhc/web/wiklou.git
18 years agoInitialise external storage
Tim Starling [Wed, 11 Jan 2006 01:02:47 +0000 (01:02 +0000)]
Initialise external storage

18 years agowhitespace
Brion Vibber [Wed, 11 Jan 2006 00:16:02 +0000 (00:16 +0000)]
whitespace

18 years agoRevert namespacebanner feature:
Brion Vibber [Wed, 11 Jan 2006 00:09:42 +0000 (00:09 +0000)]
Revert namespacebanner feature:
* causes fatal error during database error reporting
* indirect keys won't show up in allmessages; check this for correctness and safety
* no release notes entry for new feature!

18 years agoRevert bogus change for bug 4530; doesn't do as requested
Brion Vibber [Wed, 11 Jan 2006 00:01:15 +0000 (00:01 +0000)]
Revert bogus change for bug 4530; doesn't do as requested

18 years agoReverting image redirect fix; side effects:
Brion Vibber [Tue, 10 Jan 2006 23:57:30 +0000 (23:57 +0000)]
Reverting image redirect fix; side effects:
* no 'redirected from' backlink
* redirect=no mode failed to work

18 years agoNote about $wgCacheEpoch format ( `date +%Y%m%d%H%M%S` )
Antoine Musso [Tue, 10 Jan 2006 23:17:32 +0000 (23:17 +0000)]
Note about $wgCacheEpoch format ( `date +%Y%m%d%H%M%S` )

18 years agofixed redirect-to-image bug
Magnus Manske [Tue, 10 Jan 2006 22:13:18 +0000 (22:13 +0000)]
fixed redirect-to-image bug

18 years agomini-fix
Magnus Manske [Tue, 10 Jan 2006 21:49:56 +0000 (21:49 +0000)]
mini-fix

18 years agoBrion-style conformity :-)
Magnus Manske [Tue, 10 Jan 2006 21:45:56 +0000 (21:45 +0000)]
Brion-style conformity :-)

18 years agomoving some more stuff from index.php to Wiki.php
Magnus Manske [Tue, 10 Jan 2006 21:20:03 +0000 (21:20 +0000)]
moving some more stuff from index.php to Wiki.php

18 years agoTemporarily removing Upgrader extension thingy
Brion Vibber [Tue, 10 Jan 2006 20:00:28 +0000 (20:00 +0000)]
Temporarily removing Upgrader extension thingy
* including code from DefaultSettings is a no-no
* no release-notes entries for major changes?
* not following code formatting standards
* serial version numbers probably not reliable
* HEAD is our production code; maybe try this separately first?

18 years agoBug 4555: [patch] Fix for Language.php bug introduced in revision 1.784
Niklas Laxström [Tue, 10 Jan 2006 19:53:29 +0000 (19:53 +0000)]
Bug 4555: [patch] Fix for Language.php bug introduced in revision 1.784

18 years agoBug 4548: Update for Portuguese language (pt)
Niklas Laxström [Tue, 10 Jan 2006 19:06:31 +0000 (19:06 +0000)]
Bug 4548: Update for Portuguese language (pt)

18 years agoMissing variable declarations
Niklas Laxström [Tue, 10 Jan 2006 18:44:39 +0000 (18:44 +0000)]
Missing variable declarations

18 years agoMoving image and category detection
Magnus Manske [Tue, 10 Jan 2006 18:41:23 +0000 (18:41 +0000)]
Moving image and category detection

18 years agocount ( a ) , count ( a,b) , count (a,b,c) -> count++, faster smoother!!!
Domas Mituzas [Tue, 10 Jan 2006 17:56:59 +0000 (17:56 +0000)]
count ( a ) , count ( a,b) , count (a,b,c) -> count++, faster smoother!!!

18 years agoAlso remove the global from old place
Niklas Laxström [Tue, 10 Jan 2006 17:46:23 +0000 (17:46 +0000)]
Also remove the global from old place

18 years ago* Fixed fatal parsing error
Ævar Arnfjörð Bjarmason [Tue, 10 Jan 2006 17:38:16 +0000 (17:38 +0000)]
* Fixed fatal parsing error

18 years agoSecond attempt at (partially) moving to Wiki.php; tested this time, worksForMe
Magnus Manske [Tue, 10 Jan 2006 17:34:04 +0000 (17:34 +0000)]
Second attempt at (partially) moving to Wiki.php; tested this time, worksForMe

18 years ago* If you're using a global, remember the global thingy...
Ævar Arnfjörð Bjarmason [Tue, 10 Jan 2006 16:19:32 +0000 (16:19 +0000)]
* If you're using a global, remember the global thingy...

18 years agoNo more globals here :-)
Magnus Manske [Tue, 10 Jan 2006 15:45:37 +0000 (15:45 +0000)]
No more globals here :-)

18 years agomini-fix
Magnus Manske [Tue, 10 Jan 2006 15:40:49 +0000 (15:40 +0000)]
mini-fix

18 years agoA rewrite especially for Tim :-)
Magnus Manske [Tue, 10 Jan 2006 14:58:06 +0000 (14:58 +0000)]
A rewrite especially for Tim :-)
(just for the actions, though)

18 years agoMissing global fix
Magnus Manske [Tue, 10 Jan 2006 14:44:50 +0000 (14:44 +0000)]
Missing global fix

18 years agoEnforce $wgSVGMaxSize when rendering, even for SVGs with a very large source size...
Tim Starling [Tue, 10 Jan 2006 14:13:40 +0000 (14:13 +0000)]
Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source size. This is necessary to limit server memory usage.

18 years agoNew toy: Automatic database upgrades (deactivated by default)
Magnus Manske [Tue, 10 Jan 2006 12:53:43 +0000 (12:53 +0000)]
New toy: Automatic database upgrades (deactivated by default)
Can create/upgrade database tables for MediaWiki and extensions based on internal version management.
For HOWTO see the beginning of include/Upgrader.php

18 years agoMoved wgAmericanDate check to date() from dateFormat() where it broke default time...
Niklas Laxström [Tue, 10 Jan 2006 12:22:58 +0000 (12:22 +0000)]
Moved wgAmericanDate check to date() from dateFormat() where it broke default time preference for other languages

18 years agoMore fixes to Fr
Niklas Laxström [Tue, 10 Jan 2006 11:51:22 +0000 (11:51 +0000)]
More fixes to Fr

18 years agoSimple script to initialise external storage
Tim Starling [Tue, 10 Jan 2006 11:50:10 +0000 (11:50 +0000)]
Simple script to initialise external storage

18 years agomiliseconds...
Domas Mituzas [Tue, 10 Jan 2006 10:59:09 +0000 (10:59 +0000)]
miliseconds...
* Do not check master lag
* check just thread counts on SHOW STATUS, less bits on wire, less rows to handle for php

18 years agodot ('.') is not a valid thousands separator in lithuanian language
Andrius R [Tue, 10 Jan 2006 06:27:24 +0000 (06:27 +0000)]
dot ('.') is not a valid thousands separator in lithuanian language

18 years ago* Performance hack for domas: Only call the mb_ functions or do the expensive
Ævar Arnfjörð Bjarmason [Tue, 10 Jan 2006 00:21:27 +0000 (00:21 +0000)]
* Performance hack for domas: Only call the mb_ functions or do the expensive
  table lookups if we're dealing with a multibyte string, otherwise call
  strtolower(), ucfirst() and friends

18 years agocheck function_exists() once, do nothing if not exists...
Domas Mituzas [Tue, 10 Jan 2006 00:07:01 +0000 (00:07 +0000)]
check function_exists() once, do nothing if not exists...

18 years agoChanged wrong namespaces :<
Niklas Laxström [Mon, 9 Jan 2006 22:43:59 +0000 (22:43 +0000)]
Changed wrong namespaces :<

18 years agoRemove SpecialValidate.php (again?), no longer used
Brion Vibber [Mon, 9 Jan 2006 22:39:10 +0000 (22:39 +0000)]
Remove SpecialValidate.php (again?), no longer used

18 years agoFixing some namespaces.
Antoine Musso [Mon, 9 Jan 2006 22:17:54 +0000 (22:17 +0000)]
Fixing some namespaces.
Translations from http://oc.wikipedia.org/wiki/Template:Wikivar

18 years agoReverting SpecialFilelist for the moment; odd half-state of code should not be going...
Brion Vibber [Mon, 9 Jan 2006 22:07:31 +0000 (22:07 +0000)]
Reverting SpecialFilelist for the moment; odd half-state of code should not be going into our production code yet

18 years agoReverting SpecialImagelist and SpecialNewimages from odd half-state.
Brion Vibber [Mon, 9 Jan 2006 22:06:40 +0000 (22:06 +0000)]
Reverting SpecialImagelist and SpecialNewimages from odd half-state.
If they're actually being replaced, they should be actually replaced, not left half-there and unused.
New code not yet reviewed.

18 years agoFatal spelling mistake
Niklas Laxström [Mon, 9 Jan 2006 21:53:07 +0000 (21:53 +0000)]
Fatal spelling mistake

18 years agoMajor update! Adding SpecialFilelist.php to replace both SpecialNewimages.php and...
Magnus Manske [Mon, 9 Jan 2006 21:48:49 +0000 (21:48 +0000)]
Major update! Adding SpecialFilelist.php to replace both SpecialNewimages.php and SpecialImagelist.php
The latter ones have been bend to load SpecialFilelist with a parameter to simulate
 the respective behaviour.
SpecialFilelist uses mostly code from SpecialNewimages, but also from SpecialImagelist. Internally, it uses a class to structure code and handle parameters
 better than its predecessors.
If somethings breaks, Newimages and Imagelist can be restored by outcommenting the new part (everything before the OBSOLETE line) and removing the OLD_ from the function name.
If Filelist turns out to work, please remove the obsolete parts in the other two files.

18 years agoMissing default
Niklas Laxström [Mon, 9 Jan 2006 21:36:03 +0000 (21:36 +0000)]
Missing default

18 years ago* Skip loading of RecentChange.php except where needed
Brion Vibber [Mon, 9 Jan 2006 21:09:33 +0000 (21:09 +0000)]
* Skip loading of RecentChange.php except where needed
Moved constants to Define.php; removed unneeded includes until use of RecentChange:: in Article, Log, CheckUser

18 years ago* Big cleanup:
Niklas Laxström [Mon, 9 Jan 2006 20:39:32 +0000 (20:39 +0000)]
* Big cleanup:
 - Removed obsolote, badly or untranslated messages
 - Removed references to wikipedia/wikimedia etc in messages
 - Other cleanup, like removing html and javascript and extension calls
 - Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh
 - Removed some useless backwards compatibility hacks
 - Fixed formatnum on many languages

18 years agoRemoved web bug from sundanese language file
Brion Vibber [Mon, 9 Jan 2006 16:44:11 +0000 (16:44 +0000)]
Removed web bug from sundanese language file

18 years ago* Fixed a fatal typo
Niklas Laxström [Mon, 9 Jan 2006 15:23:10 +0000 (15:23 +0000)]
* Fixed a fatal typo

18 years agoBIG ONE - Possible DB server killer! (deactivated by default:-)
Magnus Manske [Mon, 9 Jan 2006 14:20:26 +0000 (14:20 +0000)]
BIG ONE - Possible DB server killer! (deactivated by default:-)
Recent changes can now be filtered by categories (AND and OR)
To enable, set $wgAllowCategorizedRecentChanges = true ; in LocalSettings

18 years ago* Adding a space after the implode() comma
Ævar Arnfjörð Bjarmason [Mon, 9 Jan 2006 13:19:17 +0000 (13:19 +0000)]
* Adding a space after the implode() comma

18 years ago* (bug 2019) Almost fixed the rendering of the page in RTL enviroments, still
Ævar Arnfjörð Bjarmason [Mon, 9 Jan 2006 13:15:37 +0000 (13:15 +0000)]
* (bug 2019) Almost fixed the rendering of the page in RTL enviroments, still
  looks a bit off
* Removed the whole construction of a custom language object, now using my own
  listToText() function and LanguageUtf8::lc()
* Documentation: Documented some functions

18 years agoDocument $wgParserCacheExpireTime
Domas Mituzas [Mon, 9 Jan 2006 10:46:47 +0000 (10:46 +0000)]
Document $wgParserCacheExpireTime

18 years agomove hardcoded ParserCache expire time to DefaultSettings.php, 1 day now
Domas Mituzas [Mon, 9 Jan 2006 10:45:47 +0000 (10:45 +0000)]
move hardcoded ParserCache expire time to DefaultSettings.php, 1 day now

18 years agorevert broken commit which causes search form to fail
Brion Vibber [Mon, 9 Jan 2006 05:11:25 +0000 (05:11 +0000)]
revert broken commit which causes search form to fail

18 years agoforgot this
Tim Starling [Mon, 9 Jan 2006 03:52:24 +0000 (03:52 +0000)]
forgot this

18 years agoOption to write text directly to external storage.
Tim Starling [Mon, 9 Jan 2006 03:16:56 +0000 (03:16 +0000)]
Option to write text directly to external storage.

18 years agoFixed notice
Tim Starling [Mon, 9 Jan 2006 03:10:57 +0000 (03:10 +0000)]
Fixed notice

18 years ago* Including the maintenance/parserTestsParserTime.php extension for the date tests
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 22:35:45 +0000 (22:35 +0000)]
* Including the maintenance/parserTestsParserTime.php extension for the date tests
* Passing a custom revision ID to the parser, for the {{REVISIONID}} test
* Deprecated support for *nix, Windows, VMS and the Nintendo Gameboy, MediaWiki
  now only runs on Britney Spears

18 years ago* Magic Word testcases, not all of them and the namespace stuff is broken (& disabled)
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 22:33:07 +0000 (22:33 +0000)]
* Magic Word testcases, not all of them and the namespace stuff is broken (& disabled)

18 years ago* An extension for the parsertests that modifies the date reported by the parser
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 22:31:17 +0000 (22:31 +0000)]
* An extension for the parsertests that modifies the date reported by the parser

18 years agoFix #4144 : bring support for sudanese language
Antoine Musso [Sun, 8 Jan 2006 20:33:07 +0000 (20:33 +0000)]
Fix #4144 : bring support for sudanese language

18 years agoFix for bug 4469: Implement MediaWiki:<namespace>:Sitenotice
Magnus Manske [Sun, 8 Jan 2006 19:53:20 +0000 (19:53 +0000)]
Fix for bug 4469: Implement MediaWiki:<namespace>:Sitenotice
MediaWiki:Namespacebanner contains the "base name", to which the name of the namespace is appended, like "basename-namespace". By default the base name is also "Namespacebanner" to add confusion. In namespace names, spaces are replaced by "-" (due to some weird message handling bug).
So the namespace-specific notice messages loke like:
"Namespacebanner-" (main namespace)
"Namespacebanner-Talk" (Talk namespace)
"Namespacebanner-MediaWiki-talk" (for MediaWiki_talk)

18 years agoSecond part of bug 4083: Special:Validation doesn't check wpEditToken
Antoine Musso [Sun, 8 Jan 2006 19:10:36 +0000 (19:10 +0000)]
Second part of bug 4083: Special:Validation doesn't check wpEditToken

18 years agoFix security issues:
Antoine Musso [Sun, 8 Jan 2006 19:02:24 +0000 (19:02 +0000)]
Fix security issues:
* Bug 4083: Special:Validation doesn't check wpEditToken
* Possible XSS issue

18 years agoFix #2571: Duplicate anchors and missing form id tag in search form on Cologne Blue...
Antoine Musso [Sun, 8 Jan 2006 18:15:36 +0000 (18:15 +0000)]
Fix #2571: Duplicate anchors and missing form id tag in search form on Cologne Blue skin

18 years agoFix #4530: local name for Kurdish language
Antoine Musso [Sun, 8 Jan 2006 17:36:30 +0000 (17:36 +0000)]
Fix #4530: local name for Kurdish language

18 years ago* Return true from the hook function so it won't stop other hooks from being
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 16:57:58 +0000 (16:57 +0000)]
* Return true from the hook function so it won't stop other hooks from being
  run that might be added later

18 years ago* Fixed two comment parsertests I made earlier
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 16:51:03 +0000 (16:51 +0000)]
* Fixed two comment parsertests I made earlier
* Fixed a comment within a ... comment

18 years agoREVERT: Bug 3835: add a cancel link on special:movepage
Antoine Musso [Sun, 8 Jan 2006 16:23:51 +0000 (16:23 +0000)]
REVERT: Bug 3835: add a cancel link on special:movepage

18 years agoFixing bug 2082: Related changes views (Special:Recentchangeslinked) do not indicate...
Magnus Manske [Sun, 8 Jan 2006 15:59:16 +0000 (15:59 +0000)]
Fixing bug 2082: Related changes views (Special:Recentchangeslinked) do not indicate one's watched page

18 years agoSetting dummy variable to prevent error message in SpecialRecentchangeslinked
Magnus Manske [Sun, 8 Jan 2006 15:26:20 +0000 (15:26 +0000)]
Setting dummy variable to prevent error message in SpecialRecentchangeslinked

18 years ago* (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
Magnus Manske [Sun, 8 Jan 2006 15:14:47 +0000 (15:14 +0000)]
* (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits

18 years ago* Added a Parser::getTags() accessor to get a list of parser extension tags,
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 15:13:37 +0000 (15:13 +0000)]
* Added a Parser::getTags() accessor to get a list of parser extension tags,
  for Special:Version
* Documentation

18 years ago* (bug 4531) Show a list of parser extension tags
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 15:12:03 +0000 (15:12 +0000)]
* (bug 4531) Show a list of parser extension tags

18 years agonote that #912 got fixed
Antoine Musso [Sun, 8 Jan 2006 14:50:50 +0000 (14:50 +0000)]
note that #912 got fixed

18 years agoFix signup form layout (now looks like the login form)
Antoine Musso [Sun, 8 Jan 2006 14:07:21 +0000 (14:07 +0000)]
Fix signup form layout (now looks like the login form)

18 years agoBug 3835: add a cancel link on special:movepage
Antoine Musso [Sun, 8 Jan 2006 13:49:01 +0000 (13:49 +0000)]
Bug 3835: add a cancel link on special:movepage

18 years agoGroup bugs by sections, there is so many of them that was hard to read.
Antoine Musso [Sun, 8 Jan 2006 13:35:55 +0000 (13:35 +0000)]
Group bugs by sections, there is so many of them that was hard to read.

18 years ago* Removing $wgExtraNamespaces array which defined a portal & portal talk
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 12:57:10 +0000 (12:57 +0000)]
* Removing $wgExtraNamespaces array which defined a portal & portal talk
  namespace, indroduced in revision 1.37 by jeluf per
  http://meta.wikimedia.org/w/index.php?title=LanguageHe.php&diff=93344&oldid=93343
  Oddly enough, no he* wikimedia project used these and of course they
  shouldn't be set here, so uh, killing them;)

18 years agomissing messages array
Antoine Musso [Sun, 8 Jan 2006 12:32:40 +0000 (12:32 +0000)]
missing messages array

18 years agoBug #4251: Support for venitian
Antoine Musso [Sun, 8 Jan 2006 12:29:18 +0000 (12:29 +0000)]
Bug #4251: Support for venitian

18 years agohardcoded NS_PROJECT
Antoine Musso [Sun, 8 Jan 2006 12:15:02 +0000 (12:15 +0000)]
hardcoded NS_PROJECT

18 years agoFix hardcoded NS_PROJECT / NS_PROJECT_TALK
Antoine Musso [Sun, 8 Jan 2006 11:56:38 +0000 (11:56 +0000)]
Fix hardcoded NS_PROJECT / NS_PROJECT_TALK

18 years ago* Adding a noxml option for skipping XML well formdness tests in parser tests,
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 10:37:25 +0000 (10:37 +0000)]
* Adding a noxml option for skipping XML well formdness tests in parser tests,
  used in the extension tag tests which don't return xhtml

18 years ago* More <!-- comment --> tests, two of which fail
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 10:33:28 +0000 (10:33 +0000)]
* More <!-- comment --> tests, two of which fail
* Two tests for hex sequences in links, one of which fails
* moved all the XSS tests to one place
* More & improved parser hook tests

18 years ago* Using var_dump() with output buffering instead of print_r(), allows for
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 10:29:26 +0000 (10:29 +0000)]
* Using var_dump() with output buffering instead of print_r(), allows for
  distinguishing between an empty string and NULL
* Formatting
* Documentation: @copyright...

18 years ago* Add a getRegexCase() accessor for getting i or nothing depending on the
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 05:35:03 +0000 (05:35 +0000)]
* Add a getRegexCase() accessor for getting i or nothing depending on the
  case-insensitiveness of the thing, only needed with getBaseRegex() since that
  won't include it automatically..

18 years ago* Fixed a peer development oversight introduced in revision 1.564 by rob
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 05:29:58 +0000 (05:29 +0000)]
* Fixed a peer development oversight introduced in revision 1.564 by rob
  - Didn't use the magic word class to match subst: in the sign*A*ture, as a
result {{Subst:x}} would be turned into {{subst:Subst:x}} (no /i) and
    {{this_is_valid_subst_in_some_locale:x}} would be turned into
    {{subst:this...}}

18 years ago* Fixed bug, $this->mBaseRegex would contain an invalid regular expression if
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 04:25:43 +0000 (04:25 +0000)]
* Fixed bug, $this->mBaseRegex would contain an invalid regular expression if
  the supplied magic word synonyms contained /, of course none of them do, but
  hey;)

18 years agoSome information about database access in MediaWiki.
Tim Starling [Sun, 8 Jan 2006 03:50:37 +0000 (03:50 +0000)]
Some information about database access in MediaWiki.

18 years ago* New function: User::getBoolOption() that wraps User::getOption, casts its
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 03:40:48 +0000 (03:40 +0000)]
* New function: User::getBoolOption() that wraps User::getOption, casts its
  output to bool and returns it
* Documentation: Documented User::getBoolOption() and User::getOption()

18 years ago* Fixed bugs introduced in revision 1.566 by avar (see, I can make them too!)
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 03:39:26 +0000 (03:39 +0000)]
* Fixed bugs introduced in revision 1.566 by avar (see, I can make them too!)
  - User::getOption() doesn't return bool, as a result all signitures were
    fancy, just use User::getBoolOption()
* Fixed stuff introduced in revision 1.564 by rob
  - User::getOption() output is pre-trimmed, no need for double-trimming
  - == => ===
  - the ternary op takes precedence over =, -()

18 years ago* Fixed bugs introduced in revision 1.155 by rob ;)
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 03:12:54 +0000 (03:12 +0000)]
* Fixed bugs introduced in revision 1.155 by rob ;)
  - Using $x === false, if ($x) is a logic error in this case because PHP
    thinks (among other things) that (int)0 and (string)0 are false, so a
custom signiture that was "0" would fail

18 years ago* Fixed bugs introduced in revision 1.564 by rob ;)
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 03:09:31 +0000 (03:09 +0000)]
* Fixed bugs introduced in revision 1.564 by rob ;)
  - Changed back to using if $x === false, if ($x) is a logic error in this
    case because PHP thinks (among other things) that (int)0 and (string)0 are
false, so a custom signiture that was "0" would fail
  - $nick was changed to $nickname in 1.564 in most places, but not all, as a
    result no fancy signiture worked (feature?;) and php vomited E_NOTICE
  - $name => $username, same thing as above, variable name change where not all
    of them were changed resulting in E_NOTICE etc. etc.

18 years agoUse wfGetDB(DB_SLAVE) when appropriate. Changed deletion summary autogeneration to...
Tim Starling [Sun, 8 Jan 2006 01:25:50 +0000 (01:25 +0000)]
Use wfGetDB(DB_SLAVE) when appropriate. Changed deletion summary autogeneration to make it cheaper and more slave-friendly.

18 years agoRemove bizarre typo, because Nixlas Laxstr�m complained.
Rob Church [Sun, 8 Jan 2006 01:08:16 +0000 (01:08 +0000)]
Remove bizarre typo, because Nixlas Laxstr�m complained.

18 years ago* Reverting ->getDB() => wfGetDB() in 1.434, not replication-safe
Ævar Arnfjörð Bjarmason [Sun, 8 Jan 2006 00:44:07 +0000 (00:44 +0000)]
* Reverting ->getDB() => wfGetDB() in 1.434, not replication-safe

18 years ago* Change order of things in pre-save transform, so that the forced substitution in...
Rob Church [Sat, 7 Jan 2006 23:37:40 +0000 (23:37 +0000)]
* Change order of things in pre-save transform, so that the forced substitution in cleaned signatures will *do something*
* Remove now-redundant message from Language.php
* Improve signature validation in user preferences; poor XML causes the user to be screamed at; signatures still silent-cleaned upon changing

18 years agorm. redundant function
Rob Church [Sat, 7 Jan 2006 23:14:04 +0000 (23:14 +0000)]
rm. redundant function

18 years agoDo a silent cleanup of the signature on change
Rob Church [Sat, 7 Jan 2006 23:13:16 +0000 (23:13 +0000)]
Do a silent cleanup of the signature on change

18 years agoCleanup signature handling
Rob Church [Sat, 7 Jan 2006 23:09:21 +0000 (23:09 +0000)]
Cleanup signature handling

* Introduce a function to cleanup signatures [currently strips out ~~~, ~~~~ and ~~~~~, and forces transclusions to be substituted]
* Cleanup Parser::getUserSig()
* Minor cleanup on Parser::validateSig()

18 years agoFix for bug 2522
Magnus Manske [Sat, 7 Jan 2006 22:33:54 +0000 (22:33 +0000)]
Fix for bug 2522

18 years ago* Protect against spoofing of X-Forwarded-For header
Brion Vibber [Sat, 7 Jan 2006 21:44:10 +0000 (21:44 +0000)]
* Protect against spoofing of X-Forwarded-For header