Brion Vibber [Mon, 21 Mar 2005 07:30:02 +0000 (07:30 +0000)]
typo
Brion Vibber [Mon, 21 Mar 2005 07:20:26 +0000 (07:20 +0000)]
* (bug 1720) Fix genitive month names for uk
Magnus Manske [Sun, 20 Mar 2005 19:08:37 +0000 (19:08 +0000)]
Removed old code
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
Tim Starling [Sun, 20 Mar 2005 14:27:20 +0000 (14:27 +0000)]
Removed Makesysop, now an extension
Tim Starling [Sun, 20 Mar 2005 14:26:37 +0000 (14:26 +0000)]
Fixed comment
Brion Vibber [Sun, 20 Mar 2005 10:32:32 +0000 (10:32 +0000)]
Use Revision and Article to save the main page
Brion Vibber [Sun, 20 Mar 2005 10:31:55 +0000 (10:31 +0000)]
Fail gracefully when given bogus revisions
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
Tim Starling [Sun, 20 Mar 2005 06:11:38 +0000 (06:11 +0000)]
fixed english
Tim Starling [Sun, 20 Mar 2005 06:10:55 +0000 (06:10 +0000)]
Changed default groups to be more like Wikipedia
Tim Starling [Sun, 20 Mar 2005 06:09:26 +0000 (06:09 +0000)]
introduced "import" right for Special:Import
Tim Starling [Sun, 20 Mar 2005 06:06:13 +0000 (06:06 +0000)]
Fixed typo
Tim Starling [Sun, 20 Mar 2005 06:05:43 +0000 (06:05 +0000)]
removed commented-out sections
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>
Tim Starling [Sun, 20 Mar 2005 03:57:45 +0000 (03:57 +0000)]
removed redundant function call
River Tarnell [Sun, 20 Mar 2005 03:29:12 +0000 (03:29 +0000)]
convert namespaces to sql
Tim Starling [Sun, 20 Mar 2005 02:53:23 +0000 (02:53 +0000)]
Option to turn special page sorting feature off
Tim Starling [Sun, 20 Mar 2005 02:37:08 +0000 (02:37 +0000)]
Making Special:Specialpages less ugly: sorting and changing categorisation style
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
Jens Frank [Sat, 19 Mar 2005 16:09:17 +0000 (16:09 +0000)]
BUG#190 Hide your own edits on the watchlist
Magnus Manske [Sat, 19 Mar 2005 13:42:36 +0000 (13:42 +0000)]
correct validate-table code
Jens Frank [Sat, 19 Mar 2005 12:04:00 +0000 (12:04 +0000)]
fix broken sidebar
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
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
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)
Magnus Manske [Fri, 18 Mar 2005 23:08:25 +0000 (23:08 +0000)]
validation improvements
Magnus Manske [Fri, 18 Mar 2005 21:59:13 +0000 (21:59 +0000)]
validation improvements
River Tarnell [Fri, 18 Mar 2005 20:53:38 +0000 (20:53 +0000)]
don't enable debug log by default
Erik Moeller [Fri, 18 Mar 2005 20:43:07 +0000 (20:43 +0000)]
documenting and initializing $wgUseCommaCount
Magnus Manske [Fri, 18 Mar 2005 15:02:27 +0000 (15:02 +0000)]
The return of the validation feature (caveat: new table scheme!)
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.
Magnus Manske [Fri, 18 Mar 2005 10:51:17 +0000 (10:51 +0000)]
Re-establishing validation feature (the beginnings)
Magnus Manske [Fri, 18 Mar 2005 09:20:40 +0000 (09:20 +0000)]
Re-establishing validation feature (the beginnings)
Magnus Manske [Fri, 18 Mar 2005 09:20:17 +0000 (09:20 +0000)]
Bypassing UNION SQL for mysql3
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.
Brion Vibber [Fri, 18 Mar 2005 07:56:28 +0000 (07:56 +0000)]
Suppress notice when counters are off
Brion Vibber [Fri, 18 Mar 2005 07:44:08 +0000 (07:44 +0000)]
Fix misplaced braces which put 'special' tab on some pages incorrectly
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
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...
Brion Vibber [Fri, 18 Mar 2005 05:38:49 +0000 (05:38 +0000)]
Fix stupid error on template loading for nonexisting templates
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
Brion Vibber [Fri, 18 Mar 2005 04:23:36 +0000 (04:23 +0000)]
clarify the "we're confused" debug message
Brion Vibber [Fri, 18 Mar 2005 04:22:05 +0000 (04:22 +0000)]
Include function name for SQL statements dumped to debug log
Magnus Manske [Thu, 17 Mar 2005 15:05:07 +0000 (15:05 +0000)]
Re-establishing validation feature (the beginnings)
Magnus Manske [Thu, 17 Mar 2005 13:47:05 +0000 (13:47 +0000)]
Re-establishing validation feature (the beginnings)
Tim Starling [Wed, 16 Mar 2005 07:55:31 +0000 (07:55 +0000)]
protection against injection of $wgProxyKey from register_globals
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
Tim Starling [Wed, 16 Mar 2005 07:36:02 +0000 (07:36 +0000)]
Stronger user token generation
Domas Mituzas [Tue, 15 Mar 2005 21:03:36 +0000 (21:03 +0000)]
enable turck/eaccellerator for apache2handler as well
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
Brion Vibber [Tue, 15 Mar 2005 07:27:48 +0000 (07:27 +0000)]
* (bug 1370) e-notif correction
Jens Frank [Tue, 15 Mar 2005 06:07:58 +0000 (06:07 +0000)]
Enhancement 1485 Automatic rendering of -- as HTML dash
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.
Erik Moeller [Tue, 15 Mar 2005 01:12:52 +0000 (01:12 +0000)]
remove tabs at bottom, add newline
Brion Vibber [Mon, 14 Mar 2005 13:19:24 +0000 (13:19 +0000)]
Tweaks for valid output
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.
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
River Tarnell [Mon, 14 Mar 2005 07:44:46 +0000 (07:44 +0000)]
didn't mean to commit that comment
River Tarnell [Mon, 14 Mar 2005 07:42:38 +0000 (07:42 +0000)]
allow redirects in categories; show cats on redirect page
Jens Frank [Mon, 14 Mar 2005 07:26:20 +0000 (07:26 +0000)]
@ considered evil
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
River Tarnell [Mon, 14 Mar 2005 03:34:32 +0000 (03:34 +0000)]
ampersand 4eva
River Tarnell [Mon, 14 Mar 2005 03:13:27 +0000 (03:13 +0000)]
fix URLs
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
River Tarnell [Mon, 14 Mar 2005 02:42:59 +0000 (02:42 +0000)]
use rev_timestamp for history browsing instead of LIMIT
Brion Vibber [Mon, 14 Mar 2005 02:22:44 +0000 (02:22 +0000)]
add initEncoding method to proxy class
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.
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...
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
Jens Frank [Sun, 13 Mar 2005 17:49:28 +0000 (17:49 +0000)]
Bug 1617: Incorrect login message when using AuthPlugin
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.
Jens Frank [Sun, 13 Mar 2005 15:37:09 +0000 (15:37 +0000)]
BUG 1594 Render a hyphen in a formula as − in HTML
Better patch than the first try. Allows A-B to be rendered as MathML or as HTML
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.
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.
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
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.)
Jens Frank [Sun, 13 Mar 2005 10:59:04 +0000 (10:59 +0000)]
BUG 1594 Render a hyphen in a formula as − in HTML
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.
Jens Frank [Sun, 13 Mar 2005 10:20:44 +0000 (10:20 +0000)]
Bug 1641: ISO 8601 support for some date functions
Jens Frank [Sun, 13 Mar 2005 10:01:20 +0000 (10:01 +0000)]
Bug 1648: A new template message for a single undeleted revision
Jens Frank [Sun, 13 Mar 2005 09:03:58 +0000 (09:03 +0000)]
BUG 1653 - Removing hardcoded messages in Special:Allmessages
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
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)
Brion Vibber [Sun, 13 Mar 2005 07:19:13 +0000 (07:19 +0000)]
tweak some comments (schema blah blah)
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
Brion Vibber [Sun, 13 Mar 2005 06:43:33 +0000 (06:43 +0000)]
fix deadlock loop
Brion Vibber [Sun, 13 Mar 2005 02:01:27 +0000 (02:01 +0000)]
remove obsolete line
Brion Vibber [Sun, 13 Mar 2005 01:16:21 +0000 (01:16 +0000)]
Start on a script to find and clean up orphan revisions
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
Brion Vibber [Sat, 12 Mar 2005 12:50:43 +0000 (12:50 +0000)]
Get rollback working on new schema
Brion Vibber [Sat, 12 Mar 2005 12:11:13 +0000 (12:11 +0000)]
snip a forgotten field from page_len fix
Brion Vibber [Sat, 12 Mar 2005 11:51:02 +0000 (11:51 +0000)]
Add page_len field with byte length of current revision text, since
revision text is now stored separately and may be compressed.
This field is indexed which speeds up Special:Shortpages & Longpages.
Removed no longer used wfArticleIsStub().
Brion Vibber [Sat, 12 Mar 2005 10:50:51 +0000 (10:50 +0000)]
Update Article::quickEdit() to use Revision::insertOn()
Brion Vibber [Sat, 12 Mar 2005 09:50:02 +0000 (09:50 +0000)]
* (bug 1680) Fix linktrail for fo
Brion Vibber [Sat, 12 Mar 2005 08:06:46 +0000 (08:06 +0000)]
* Make undeletion (more or less) work with new schema
* Add ar_rev_id field to archive to preserve revision IDs across deletion+undeletion
Brion Vibber [Fri, 11 Mar 2005 08:38:24 +0000 (08:38 +0000)]
Consolidate some bits in Article::insertNewArticle() and Article::updateArticle()
Added Article::insertOn() and Article::updateRevisionOn() for the db-accessing
guts, using Revision for the actual revision+text saving.
Brion Vibber [Fri, 11 Mar 2005 06:00:05 +0000 (06:00 +0000)]
Add Revision::insertOn() method for saving new revisions into the database;
modify Article::updateArticle() to use it.
Brion Vibber [Fri, 11 Mar 2005 04:47:33 +0000 (04:47 +0000)]
* (bug 1643) remove 'confirmcheck' message, no longer used
Brion Vibber [Fri, 11 Mar 2005 04:38:01 +0000 (04:38 +0000)]
* (bug 1643) Removal of the deletion, protection and unprotection checkboxes
patch by avar