lhc/web/wiklou.git
19 years agotesting checkin; note to self for future 1.5 release
Brion Vibber [Thu, 24 Mar 2005 02:58:57 +0000 (02:58 +0000)]
testing checkin; note to self for future 1.5 release

19 years agouse intval for column
Erik Moeller [Wed, 23 Mar 2005 23:14:09 +0000 (23:14 +0000)]
use intval for column
fix $ew

19 years agoreplace description single-line field with multi-line textarea
Erik Moeller [Wed, 23 Mar 2005 22:55:38 +0000 (22:55 +0000)]
replace description single-line field with multi-line textarea

19 years ago(zh) allow manual conversion of the article title among the Chinese variants for...
Zheng Zhu [Wed, 23 Mar 2005 07:33:12 +0000 (07:33 +0000)]
(zh) allow manual conversion of the article title among the Chinese variants for rendering purpose.

19 years agochange to timestamp-sorted revisions
Magnus Manske [Mon, 21 Mar 2005 19:30:02 +0000 (19:30 +0000)]
change to timestamp-sorted revisions

19 years agoBug 1638: Belrusian needs a language file ( LanguageBe.php )
Jens Frank [Mon, 21 Mar 2005 18:18:31 +0000 (18:18 +0000)]
Bug 1638: Belrusian needs a language file ( LanguageBe.php )

19 years agoBug 1721: Typo
Jens Frank [Mon, 21 Mar 2005 16:33:53 +0000 (16:33 +0000)]
Bug 1721: Typo

19 years agoBug 1704: Untranslateable text in SpecialLog
Jens Frank [Mon, 21 Mar 2005 16:18:52 +0000 (16:18 +0000)]
Bug 1704: Untranslateable text in SpecialLog

19 years agotypo
Brion Vibber [Mon, 21 Mar 2005 07:30:02 +0000 (07:30 +0000)]
typo

19 years ago* (bug 1720) Fix genitive month names for uk
Brion Vibber [Mon, 21 Mar 2005 07:20:26 +0000 (07:20 +0000)]
* (bug 1720) Fix genitive month names for uk

19 years agoRemoved old code
Magnus Manske [Sun, 20 Mar 2005 19:08:37 +0000 (19:08 +0000)]
Removed old code

19 years agoSome minor edits, and a couple of added messages for Special:Makesysop
Tim Starling [Sun, 20 Mar 2005 14:28:19 +0000 (14:28 +0000)]
Some minor edits, and a couple of added messages for Special:Makesysop

19 years agoRemoved Makesysop, now an extension
Tim Starling [Sun, 20 Mar 2005 14:27:20 +0000 (14:27 +0000)]
Removed Makesysop, now an extension

19 years agoFixed comment
Tim Starling [Sun, 20 Mar 2005 14:26:37 +0000 (14:26 +0000)]
Fixed comment

19 years agoUse Revision and Article to save the main page
Brion Vibber [Sun, 20 Mar 2005 10:32:32 +0000 (10:32 +0000)]
Use Revision and Article to save the main page

19 years agoFail gracefully when given bogus revisions
Brion Vibber [Sun, 20 Mar 2005 10:31:55 +0000 (10:31 +0000)]
Fail gracefully when given bogus revisions

19 years agoAdd fatal errors for magic_quotes_runtime and magic_quotes_sybase php config settings.
Brion Vibber [Sun, 20 Mar 2005 09:02:27 +0000 (09:02 +0000)]
Add fatal errors for magic_quotes_runtime and magic_quotes_sybase php config settings.
Tone down the safe mode warning a bit, as we no longer have the temp file issue as bad

19 years agofixed english
Tim Starling [Sun, 20 Mar 2005 06:11:38 +0000 (06:11 +0000)]
fixed english

19 years agoChanged default groups to be more like Wikipedia
Tim Starling [Sun, 20 Mar 2005 06:10:55 +0000 (06:10 +0000)]
Changed default groups to be more like Wikipedia

19 years agointroduced "import" right for Special:Import
Tim Starling [Sun, 20 Mar 2005 06:09:26 +0000 (06:09 +0000)]
introduced "import" right for Special:Import

19 years agoFixed typo
Tim Starling [Sun, 20 Mar 2005 06:06:13 +0000 (06:06 +0000)]
Fixed typo

19 years agoremoved commented-out sections
Tim Starling [Sun, 20 Mar 2005 06:05:43 +0000 (06:05 +0000)]
removed commented-out sections

19 years agoFixed warning due to default timestamp from Article being passed to wfTimestamp
Tim Starling [Sun, 20 Mar 2005 03:59:06 +0000 (03:59 +0000)]
Fixed warning due to default timestamp from Article being passed to wfTimestamp

Warning was: gmmktime(): Windows does not support negative values for this function in <b>c:\\htdocs\\w\\includes\\GlobalFunctions.php</b> on line <b>1017</b>

19 years agoremoved redundant function call
Tim Starling [Sun, 20 Mar 2005 03:57:45 +0000 (03:57 +0000)]
removed redundant function call

19 years agoconvert namespaces to sql
River Tarnell [Sun, 20 Mar 2005 03:29:12 +0000 (03:29 +0000)]
convert namespaces to sql

19 years agoOption to turn special page sorting feature off
Tim Starling [Sun, 20 Mar 2005 02:53:23 +0000 (02:53 +0000)]
Option to turn special page sorting feature off

19 years agoMaking Special:Specialpages less ugly: sorting and changing categorisation style
Tim Starling [Sun, 20 Mar 2005 02:37:08 +0000 (02:37 +0000)]
Making Special:Specialpages less ugly: sorting and changing categorisation style

19 years ago* (bug 1696) Update namespaces, dates in uk localization
Brion Vibber [Sat, 19 Mar 2005 23:46:24 +0000 (23:46 +0000)]
* (bug 1696) Update namespaces, dates in uk localization
Also removed redundant specialpages array no longer used

19 years agoBUG#190 Hide your own edits on the watchlist
Jens Frank [Sat, 19 Mar 2005 16:09:17 +0000 (16:09 +0000)]
BUG#190 Hide your own edits on the watchlist

19 years agocorrect validate-table code
Magnus Manske [Sat, 19 Mar 2005 13:42:36 +0000 (13:42 +0000)]
correct validate-table code

19 years agofix broken sidebar
Jens Frank [Sat, 19 Mar 2005 12:04:00 +0000 (12:04 +0000)]
fix broken sidebar

19 years agoBUG#15 Allow editors to view diff of their change before actually submitting an edit
Jens Frank [Sat, 19 Mar 2005 12:01:57 +0000 (12:01 +0000)]
BUG#15 Allow editors to view diff of their change before actually submitting an edit

19 years agoUse Revision for individual message loads; not using it for bulk load just now; need...
Brion Vibber [Sat, 19 Mar 2005 10:40:41 +0000 (10:40 +0000)]
Use Revision for individual message loads; not using it for bulk load just now; need to modify to do bulk loads efficiently

19 years agoUpdate message initialiser to use Revision functions for backend-independence. No...
Brion Vibber [Sat, 19 Mar 2005 10:17:41 +0000 (10:17 +0000)]
Update message initialiser to use Revision functions for backend-independence. No longer inserts new revisions if previous text was the same as the current text (in 1.3 it would overwrite without saving the prior value)

19 years agovalidation improvements
Magnus Manske [Fri, 18 Mar 2005 23:08:25 +0000 (23:08 +0000)]
validation improvements

19 years agovalidation improvements
Magnus Manske [Fri, 18 Mar 2005 21:59:13 +0000 (21:59 +0000)]
validation improvements

19 years agodon't enable debug log by default
River Tarnell [Fri, 18 Mar 2005 20:53:38 +0000 (20:53 +0000)]
don't enable debug log by default

19 years agodocumenting and initializing $wgUseCommaCount
Erik Moeller [Fri, 18 Mar 2005 20:43:07 +0000 (20:43 +0000)]
documenting and initializing $wgUseCommaCount

19 years agoThe return of the validation feature (caveat: new table scheme!)
Magnus Manske [Fri, 18 Mar 2005 15:02:27 +0000 (15:02 +0000)]
The return of the validation feature (caveat: new table scheme!)

19 years agouse wfMsgForContent for copyright policy link on edit page since it is
Erik Moeller [Fri, 18 Mar 2005 14:13:58 +0000 (14:13 +0000)]
use wfMsgForContent for copyright policy link on edit page since it is
probably going to point to the same page regardless of user language
preference (is also used in other calls). Note that many language files
don't use the proper format and instead have the license hardcoded, so
this won't have any effect on them.

19 years agoRe-establishing validation feature (the beginnings)
Magnus Manske [Fri, 18 Mar 2005 10:51:17 +0000 (10:51 +0000)]
Re-establishing validation feature (the beginnings)

19 years agoRe-establishing validation feature (the beginnings)
Magnus Manske [Fri, 18 Mar 2005 09:20:40 +0000 (09:20 +0000)]
Re-establishing validation feature (the beginnings)

19 years agoBypassing UNION SQL for mysql3
Magnus Manske [Fri, 18 Mar 2005 09:20:17 +0000 (09:20 +0000)]
Bypassing UNION SQL for mysql3

19 years agoReduce redundant hits to the page table for information on the current page; just...
Brion Vibber [Fri, 18 Mar 2005 08:37:50 +0000 (08:37 +0000)]
Reduce redundant hits to the page table for information on the current page; just grab the record once instead of dribs and drabs.

19 years agoSuppress notice when counters are off
Brion Vibber [Fri, 18 Mar 2005 07:56:28 +0000 (07:56 +0000)]
Suppress notice when counters are off

19 years agoFix misplaced braces which put 'special' tab on some pages incorrectly
Brion Vibber [Fri, 18 Mar 2005 07:44:08 +0000 (07:44 +0000)]
Fix misplaced braces which put 'special' tab on some pages incorrectly

19 years agoLoad text for Newpages RSS/Atom feed separately (needed for new storage mechanism)
Brion Vibber [Fri, 18 Mar 2005 06:49:14 +0000 (06:49 +0000)]
Load text for Newpages RSS/Atom feed separately (needed for new storage mechanism)
Use full title in feeds if they include non-main-ns stuff

19 years agoRemove obsolete phase2 importer. maintenance/importPhase2.php should perhaps be updat...
Brion Vibber [Fri, 18 Mar 2005 05:53:25 +0000 (05:53 +0000)]
Remove obsolete phase2 importer. maintenance/importPhase2.php should perhaps be updated to current...

19 years agoFix stupid error on template loading for nonexisting templates
Brion Vibber [Fri, 18 Mar 2005 05:38:49 +0000 (05:38 +0000)]
Fix stupid error on template loading for nonexisting templates

19 years agoLazy loading of revision text; needed for separate text storage backend.
Brion Vibber [Fri, 18 Mar 2005 04:32:55 +0000 (04:32 +0000)]
Lazy loading of revision text; needed for separate text storage backend.
Use Revision for Article::loadLastEdit

19 years agoclarify the "we're confused" debug message
Brion Vibber [Fri, 18 Mar 2005 04:23:36 +0000 (04:23 +0000)]
clarify the "we're confused" debug message

19 years agoInclude function name for SQL statements dumped to debug log
Brion Vibber [Fri, 18 Mar 2005 04:22:05 +0000 (04:22 +0000)]
Include function name for SQL statements dumped to debug log

19 years agoRe-establishing validation feature (the beginnings)
Magnus Manske [Thu, 17 Mar 2005 15:05:07 +0000 (15:05 +0000)]
Re-establishing validation feature (the beginnings)

19 years agoRe-establishing validation feature (the beginnings)
Magnus Manske [Thu, 17 Mar 2005 13:47:05 +0000 (13:47 +0000)]
Re-establishing validation feature (the beginnings)

19 years agoprotection against injection of $wgProxyKey from register_globals
Tim Starling [Wed, 16 Mar 2005 07:55:31 +0000 (07:55 +0000)]
protection against injection of $wgProxyKey from register_globals

19 years agoMaking the secret key source a bit more robust for existing installations
Tim Starling [Wed, 16 Mar 2005 07:41:58 +0000 (07:41 +0000)]
Making the secret key source a bit more robust for existing installations

19 years agoStronger user token generation
Tim Starling [Wed, 16 Mar 2005 07:36:02 +0000 (07:36 +0000)]
Stronger user token generation

19 years agoenable turck/eaccellerator for apache2handler as well
Domas Mituzas [Tue, 15 Mar 2005 21:03:36 +0000 (21:03 +0000)]
enable turck/eaccellerator for apache2handler as well

19 years agomake conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw
Zheng Zhu [Tue, 15 Mar 2005 20:57:04 +0000 (20:57 +0000)]
make conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw

19 years ago* (bug 1370) e-notif correction
Brion Vibber [Tue, 15 Mar 2005 07:27:48 +0000 (07:27 +0000)]
* (bug 1370) e-notif correction

19 years agoEnhancement 1485 Automatic rendering of -- as HTML dash
Jens Frank [Tue, 15 Mar 2005 06:07:58 +0000 (06:07 +0000)]
Enhancement 1485 Automatic rendering of -- as HTML dash

19 years agoMark interwiki redirect URLs with a source parameter to stop them from further redire...
Brion Vibber [Tue, 15 Mar 2005 03:32:30 +0000 (03:32 +0000)]
Mark interwiki redirect URLs with a source parameter to stop them from further redirecting, and if on a whitelist display the return URL for handy edit-linking.

19 years agoremove tabs at bottom, add newline
Erik Moeller [Tue, 15 Mar 2005 01:12:52 +0000 (01:12 +0000)]
remove tabs at bottom, add newline

19 years agoTweaks for valid output
Brion Vibber [Mon, 14 Mar 2005 13:19:24 +0000 (13:19 +0000)]
Tweaks for valid output

19 years agoRewrite output to create Special:Export format for import
Brion Vibber [Mon, 14 Mar 2005 12:08:13 +0000 (12:08 +0000)]
Rewrite output to create Special:Export format for import
instead of raw SQL. Should be 'future-proof' against future
schema changes.

19 years agoContinuing adventures in the saga of using Revision class to separate
Brion Vibber [Mon, 14 Mar 2005 10:06:28 +0000 (10:06 +0000)]
Continuing adventures in the saga of using Revision class to separate
out the text-loading backend... page content load and redirect handling

19 years agodidn't mean to commit that comment
River Tarnell [Mon, 14 Mar 2005 07:44:46 +0000 (07:44 +0000)]
didn't mean to commit that comment

19 years agoallow redirects in categories; show cats on redirect page
River Tarnell [Mon, 14 Mar 2005 07:42:38 +0000 (07:42 +0000)]
allow redirects in categories; show cats on redirect page

19 years ago@ considered evil
Jens Frank [Mon, 14 Mar 2005 07:26:20 +0000 (07:26 +0000)]
@ considered evil

19 years agono need to show PHP's internal errors if we make our own error messages
Erik Moeller [Mon, 14 Mar 2005 04:16:27 +0000 (04:16 +0000)]
no need to show PHP's internal errors if we make our own error messages

19 years agoampersand 4eva
River Tarnell [Mon, 14 Mar 2005 03:34:32 +0000 (03:34 +0000)]
ampersand 4eva

19 years agofix URLs
River Tarnell [Mon, 14 Mar 2005 03:13:27 +0000 (03:13 +0000)]
fix URLs

19 years agoAdd updater to remove inverse_timestamp and fix indexes on revision table
Brion Vibber [Mon, 14 Mar 2005 02:59:23 +0000 (02:59 +0000)]
Add updater to remove inverse_timestamp and fix indexes on revision table

19 years agouse rev_timestamp for history browsing instead of LIMIT
River Tarnell [Mon, 14 Mar 2005 02:42:59 +0000 (02:42 +0000)]
use rev_timestamp for history browsing instead of LIMIT

19 years agoadd initEncoding method to proxy class
Brion Vibber [Mon, 14 Mar 2005 02:22:44 +0000 (02:22 +0000)]
add initEncoding method to proxy class

19 years agoDon't force edit encoding when LanguageEo.php is loaded; defer until $wgContLang...
Brion Vibber [Mon, 14 Mar 2005 02:00:53 +0000 (02:00 +0000)]
Don't force edit encoding when LanguageEo.php is loaded; defer until $wgContLang initialization.
This makes editing work on other languages with UI language set to Esperanto in preferences.

19 years agoConvert Title::createRedirect() to new revision/page insertion functions.
Brion Vibber [Mon, 14 Mar 2005 01:46:10 +0000 (01:46 +0000)]
Convert Title::createRedirect() to new revision/page insertion functions.
This method is only used by moveCustomMessages, which is now deprecated...

19 years agoBUG 1532, BUG 1544 Selfname changes for some Asian and other languages
Jens Frank [Sun, 13 Mar 2005 18:17:47 +0000 (18:17 +0000)]
BUG 1532, BUG 1544 Selfname changes for some Asian and other languages

19 years agoBug 1617: Incorrect login message when using AuthPlugin
Jens Frank [Sun, 13 Mar 2005 17:49:28 +0000 (17:49 +0000)]
Bug 1617: Incorrect login message when using AuthPlugin

19 years agoRemoved special case preventing table of contents on the main page. People can use...
Tim Starling [Sun, 13 Mar 2005 16:52:48 +0000 (16:52 +0000)]
Removed special case preventing table of contents on the main page. People can use __NOTOC__, after all.

19 years agoBUG 1594 Render a hyphen in a formula as &minus; in HTML
Jens Frank [Sun, 13 Mar 2005 15:37:09 +0000 (15:37 +0000)]
BUG 1594 Render a hyphen in a formula as &minus; in HTML
Better patch than the first try. Allows A-B to be rendered as MathML or as HTML

19 years agoChanged the calling protocol for function wfRunHooks() in Hooks.php.
Evan Prodromou [Sun, 13 Mar 2005 15:29:43 +0000 (15:29 +0000)]
Changed the calling protocol for function wfRunHooks() in Hooks.php.

Previously, this function used variable arguments to allow
different hooks to pass different parameters. However, var args
silently convert reference-calling to value-calling. So a call
that used to work like this:

    # old
    wfRunHooks('SomeEvent', $param1, &$param2, $param3);

...now works like this:

    # new
    wfRunHooks('SomeEvent', array($param1, &$param2, $param3));

Hook functions can now change pass-by-reference parameters correctly
(e.g. $param2 in the above example).

All calls to wfRunHooks() were changed and tested, and the change
was documented in docs/hooks.doc. This change was originally checked
in on REL1_4 branch as a bugfix, but per vibber reverted and checked
in to HEAD instead.

19 years ago* Appllied patch for bug 1686, image metadata cache by Andrius Ramanauskas.
Tim Starling [Sun, 13 Mar 2005 15:00:59 +0000 (15:00 +0000)]
* Appllied patch for bug 1686, image metadata cache by Andrius Ramanauskas.
* Changed memcached invalidation style in this patch to recache instead of deleting, which is better for concurrency
* Added a fix for the media link problem, differnet to my fix for the same problem in REL1_4 but either should work.
* Fixed image deletion, it didn't work at all. Not sure when it was broken or if it's been reported. It was working in REL1_4. It was a trivial error.

19 years agoFor custom messages, fall back to the default language's db messages
Brion Vibber [Sun, 13 Mar 2005 11:50:54 +0000 (11:50 +0000)]
For custom messages, fall back to the default language's db messages

19 years agoDon't run moveCustomMessages() on upgrade; this causes trouble and isn't really needed.
Brion Vibber [Sun, 13 Mar 2005 10:59:37 +0000 (10:59 +0000)]
Don't run moveCustomMessages() on upgrade; this causes trouble and isn't really needed.
(Meant to deal with custom templates on 1.2 wikis stored in the MediaWiki: namespace, but today it mostly just screws up custom messages that really do belong there.)

19 years agoBUG 1594 Render a hyphen in a formula as &minus; in HTML
Jens Frank [Sun, 13 Mar 2005 10:59:04 +0000 (10:59 +0000)]
BUG 1594 Render a hyphen in a formula as &minus; in HTML

19 years agoBUG 1615
Jens Frank [Sun, 13 Mar 2005 10:46:28 +0000 (10:46 +0000)]
BUG 1615

* Changed NS_MEDIAWIKI and NS_MEDIAWIKI_TALK namespaces (ahem, again:)
* Removed $wgMagicWordsIs, now just inherits the English ones.
* Annihilated $wgValidSpecialPagesIs (didn't do anything, legacy code)
* Skin names now actually work (wee!)
* Updated $wgAllMessagesIs to bring it in line with the ones at the is.wp,
  changed them from Wikipedia specific things where appropriate.
* Changed Wikipedia => {{SITENAME}}, http://is.wikipedia.org => {{SERVER}} etc.

19 years agoBug 1641: ISO 8601 support for some date functions
Jens Frank [Sun, 13 Mar 2005 10:20:44 +0000 (10:20 +0000)]
Bug 1641: ISO 8601 support for some date functions

19 years agoBug 1648: A new template message for a single undeleted revision
Jens Frank [Sun, 13 Mar 2005 10:01:20 +0000 (10:01 +0000)]
Bug 1648: A new template message for a single undeleted revision

19 years agoBUG 1653 - Removing hardcoded messages in Special:Allmessages
Jens Frank [Sun, 13 Mar 2005 09:03:58 +0000 (09:03 +0000)]
BUG 1653 - Removing hardcoded messages in Special:Allmessages

19 years agoChange interface to Article::updateRevisionOn() to take a Revision object instead...
Brion Vibber [Sun, 13 Mar 2005 07:49:15 +0000 (07:49 +0000)]
Change interface to Article::updateRevisionOn() to take a Revision object instead of pieces

19 years agoFix Special:Import for new schema; make it create page records as needed and hook...
Brion Vibber [Sun, 13 Mar 2005 07:22:20 +0000 (07:22 +0000)]
Fix Special:Import for new schema; make it create page records as needed and hook up the revisions when new.
WikiError class for pseudo-exceptions (must be manually checked, as PHP4 has no exceptions)

19 years agotweak some comments (schema blah blah)
Brion Vibber [Sun, 13 Mar 2005 07:19:13 +0000 (07:19 +0000)]
tweak some comments (schema blah blah)

19 years agoCheck and fix for pages whose page_latest is not set to the latest revision
Brion Vibber [Sun, 13 Mar 2005 07:18:13 +0000 (07:18 +0000)]
Check and fix for pages whose page_latest is not set to the latest revision

19 years agofix deadlock loop
Brion Vibber [Sun, 13 Mar 2005 06:43:33 +0000 (06:43 +0000)]
fix deadlock loop

19 years agoremove obsolete line
Brion Vibber [Sun, 13 Mar 2005 02:01:27 +0000 (02:01 +0000)]
remove obsolete line

19 years agoStart on a script to find and clean up orphan revisions
Brion Vibber [Sun, 13 Mar 2005 01:16:21 +0000 (01:16 +0000)]
Start on a script to find and clean up orphan revisions

19 years agoChange title move redirect creation to use Revision and Article to save
Brion Vibber [Sun, 13 Mar 2005 00:34:04 +0000 (00:34 +0000)]
Change title move redirect creation to use Revision and Article to save

19 years agoGet rollback working on new schema
Brion Vibber [Sat, 12 Mar 2005 12:50:43 +0000 (12:50 +0000)]
Get rollback working on new schema

19 years agosnip a forgotten field from page_len fix
Brion Vibber [Sat, 12 Mar 2005 12:11:13 +0000 (12:11 +0000)]
snip a forgotten field from page_len fix