lhc/web/wiklou.git
20 years agoadding meta keywords
Magnus Manske [Sat, 20 Mar 2004 13:27:08 +0000 (13:27 +0000)]
adding meta keywords

20 years agofixing category feature, again
Magnus Manske [Sat, 20 Mar 2004 12:10:25 +0000 (12:10 +0000)]
fixing category feature, again

20 years agoUninitialized variable cleanup; allow x-code input for page box in export for Esperanto
Brion Vibber [Sat, 20 Mar 2004 08:56:05 +0000 (08:56 +0000)]
Uninitialized variable cleanup; allow x-code input for page box in export for Esperanto

20 years agoUninitialized variable cleanup
Brion Vibber [Sat, 20 Mar 2004 08:55:22 +0000 (08:55 +0000)]
Uninitialized variable cleanup

20 years agoClean up initialized variables; fix upload error.
Brion Vibber [Sat, 20 Mar 2004 08:41:33 +0000 (08:41 +0000)]
Clean up initialized variables; fix upload error.

20 years agoSend cache-control headers with feeds, this makes 304 responses possible
Brion Vibber [Sat, 20 Mar 2004 02:35:08 +0000 (02:35 +0000)]
Send cache-control headers with feeds, this makes 304 responses possible

20 years agoPut section-edit-summary-title back into head branch for now.
Brion Vibber [Sat, 20 Mar 2004 01:18:19 +0000 (01:18 +0000)]
Put section-edit-summary-title back into head branch for now.

20 years agoRemove recently-added insert-section-title-as-summary on section edit.
Brion Vibber [Fri, 19 Mar 2004 22:35:46 +0000 (22:35 +0000)]
Remove recently-added insert-section-title-as-summary on section edit.
There have been a number of complaints about this being slipped onto
the live Wikipedia, particularly to the effect that it discourages
people from filling out an actual edit summary that describes what
they wrote.

20 years agoAutodiscovery <link> for RSS feed. Added helper functions for query stuff:
Brion Vibber [Fri, 19 Mar 2004 08:05:36 +0000 (08:05 +0000)]
Autodiscovery <link> for RSS feed. Added helper functions for query stuff:
appendQuery() and escapeAppendQuery() to WebRequest.

20 years agoFix stupid mistake in untested charset conversion code.
Brion Vibber [Fri, 19 Mar 2004 05:39:42 +0000 (05:39 +0000)]
Fix stupid mistake in untested charset conversion code.

20 years agoSome more RSS syndication work. <author> tags now included; Special:Newpages
Brion Vibber [Fri, 19 Mar 2004 05:31:18 +0000 (05:31 +0000)]
Some more RSS syndication work. <author> tags now included; Special:Newpages
includes page text (incomplete); preliminary feed support for Recentchanges;
added RSS feed link next to printable link (incomplete).

20 years agodon't prefill summary again during preview
Erik Moeller [Thu, 18 Mar 2004 15:02:56 +0000 (15:02 +0000)]
don't prefill summary again during preview

20 years agoprefill edit summary with section title when section editing
Erik Moeller [Thu, 18 Mar 2004 06:56:14 +0000 (06:56 +0000)]
prefill edit summary with section title when section editing

20 years agoAdd stub files for Urdu and Yiddish to fix right-to-left settings
Brion Vibber [Thu, 18 Mar 2004 05:33:58 +0000 (05:33 +0000)]
Add stub files for Urdu and Yiddish to fix right-to-left settings

20 years agoConverter from late Phase 2 format to MediaWiki 1.2.0. A fresh wiki
Brion Vibber [Wed, 17 Mar 2004 08:50:58 +0000 (08:50 +0000)]
Converter from late Phase 2 format to MediaWiki 1.2.0. A fresh wiki
install should be created in a new database, then this script run
to import stuff in. Be careful!

20 years agoUse wgSitename and wgMetaNamespace
Brion Vibber [Wed, 17 Mar 2004 08:48:54 +0000 (08:48 +0000)]
Use wgSitename and wgMetaNamespace

20 years agoFix source forge bug 694639
Antoine Musso [Tue, 16 Mar 2004 15:57:42 +0000 (15:57 +0000)]
Fix source forge bug 694639

Thanks to gwicke on irc for teaching me how to stop + or * to be greedy (ie replace by +? and *?).

Space around column are striped from link but the link title still show the spaces.

20 years agoFix source forge bug 803693
Antoine Musso [Tue, 16 Mar 2004 14:25:09 +0000 (14:25 +0000)]
Fix source forge bug 803693

When a title is given in a == == headline, the html was incorectly generated as:
<a name="sectionname"></a><a class="internal">link</a>

It now generates:

<a class="internal" name="sectioname">link</a>

20 years agofix source forge bug 854204
Antoine Musso [Tue, 16 Mar 2004 13:08:35 +0000 (13:08 +0000)]
fix source forge bug 854204

Skin cologne blue will show the donation link at the bottom of left bar in "special page" if $wgSiteSupportPage is set.

20 years agoStill not complete, but import is approaching functionality
Brion Vibber [Tue, 16 Mar 2004 06:18:37 +0000 (06:18 +0000)]
Still not complete, but import is approaching functionality

20 years agofix source forge bug 787780
Antoine Musso [Tue, 16 Mar 2004 03:58:36 +0000 (03:58 +0000)]
fix source forge bug 787780

Allow = sign in headers. Ex:  = my text = crap = will render as <h1>my text = crap</h1>

20 years agoremoving a debugging line (echo $variable)... I feel so lame :(
Antoine Musso [Tue, 16 Mar 2004 02:27:42 +0000 (02:27 +0000)]
removing a debugging line (echo $variable)... I feel so lame :(

20 years agoFix sourceforge bug 872981
Antoine Musso [Tue, 16 Mar 2004 02:17:33 +0000 (02:17 +0000)]
Fix sourceforge bug 872981

Render [[[link]]]  as  [<a href...>link</a>]
Render [[[link|text]]] as [<a href...>text</a>]

UNTESTED with $wgLang->linkPrefixExtension()  true

20 years agoImplement sourceforge feature request 903491
Antoine Musso [Mon, 15 Mar 2004 14:53:54 +0000 (14:53 +0000)]
Implement sourceforge feature request 903491

Show a backlink to the article.

20 years agomoved to the irc directory
Tim Starling [Mon, 15 Mar 2004 12:15:52 +0000 (12:15 +0000)]
moved to the irc directory

20 years agoChange behavior of toolbar in browsers not supporting document.selection:
Erik Moeller [Mon, 15 Mar 2004 02:36:40 +0000 (02:36 +0000)]
Change behavior of toolbar in browsers not supporting document.selection:
- When the mouse is moved over the buttons the infobox shows an example text
- When the user *clicks* a button, he is prompted to enter text, which is
  then formatted according to the button they chose and inserted into the
  infobox
- After the first button has been clicked, the infobox no longer changes
  on mouse move to allow for copy and pasting.

This could be modified to add an additional [+] button that pastes the
content of the the infobox into the textarea, but I've tried this and found
it confusing.

20 years agoFixed problems with section editing and merging
Mr. E23 [Sun, 14 Mar 2004 22:28:52 +0000 (22:28 +0000)]
Fixed problems with section editing and merging

20 years agoFixed problem with merging of identical changes
Mr. E23 [Sun, 14 Mar 2004 21:34:03 +0000 (21:34 +0000)]
Fixed problem with merging of identical changes

20 years agofixed language linking bug left from elimination of globals
Jens Frank [Sun, 14 Mar 2004 21:29:30 +0000 (21:29 +0000)]
fixed language linking bug left from elimination of globals

20 years agoExperimental merging of edit conflicts
Mr. E23 [Sun, 14 Mar 2004 15:05:52 +0000 (15:05 +0000)]
Experimental merging of edit conflicts

20 years agoFixed broken edit conflict page
Mr. E23 [Sun, 14 Mar 2004 13:42:16 +0000 (13:42 +0000)]
Fixed broken edit conflict page

20 years agobetter script
Tim Starling [Sun, 14 Mar 2004 09:34:28 +0000 (09:34 +0000)]
better script

20 years agoRevert last change, which did not produce working URLs when given titles to search on.
Brion Vibber [Sun, 14 Mar 2004 06:40:00 +0000 (06:40 +0000)]
Revert last change, which did not produce working URLs when given titles to search on.

20 years agoFix sourceforge bug 856707
Antoine Musso [Sun, 14 Mar 2004 06:06:42 +0000 (06:06 +0000)]
Fix sourceforge bug 856707

Fix the imdb url although there is a redirect.

20 years agoFix sourceforge bug 855544
Antoine Musso [Sun, 14 Mar 2004 05:28:46 +0000 (05:28 +0000)]
Fix sourceforge bug 855544

Disallow the creation of articles with titles wich are bigger than the size of cur_title in the database.  Please review this code, it is working but I am not sure if it is safe :)

20 years agoFix sourceforge bug 600079
Antoine Musso [Sun, 14 Mar 2004 03:02:42 +0000 (03:02 +0000)]
Fix sourceforge bug 600079

Allow to move a talk page if an article is moved across different namespace (unless the new namespace is itself a talk page)

20 years agobug fix: invalid ranges didn't halt processing
Tim Starling [Sun, 14 Mar 2004 02:02:59 +0000 (02:02 +0000)]
bug fix: invalid ranges didn't halt processing

20 years agoLighter version using a sub function to avoid repetiting code. Will ease futur status...
Antoine Musso [Sun, 14 Mar 2004 01:44:17 +0000 (01:44 +0000)]
Lighter version using a sub function to avoid repetiting code. Will ease futur status integration as well.

20 years agoStandardizing linebreaks
Mr. E23 [Sun, 14 Mar 2004 00:55:43 +0000 (00:55 +0000)]
Standardizing linebreaks

20 years agofix occurence of "/wiki" instead of $wgScriptPath
Antoine Musso [Sun, 14 Mar 2004 00:55:42 +0000 (00:55 +0000)]
fix occurence of "/wiki" instead of $wgScriptPath
Fix sourceforge bug #911754.

fix occurence of "wikipedia" instead of $wgMetaNameSpace
Fix sourceforge bug #883893

20 years agomake gnunote work without mod_rewrite
Erik Moeller [Sun, 14 Mar 2004 00:34:36 +0000 (00:34 +0000)]
make gnunote work without mod_rewrite

20 years agofix occurence of "/wiki" instead of $wgScriptPath
Antoine Musso [Sun, 14 Mar 2004 00:32:43 +0000 (00:32 +0000)]
fix occurence of "/wiki" instead of $wgScriptPath
Fix sourceforge bug #911754.

20 years agofix occurence of "/wiki" instead of $wgScriptPath
Antoine Musso [Sun, 14 Mar 2004 00:27:27 +0000 (00:27 +0000)]
fix occurence of "/wiki" instead of $wgScriptPath

20 years agoadded manual purge action
Gabriel Wicke [Sat, 13 Mar 2004 16:09:00 +0000 (16:09 +0000)]
added manual purge action

20 years agocalls to setSquidMaxage for cacheable pages
Gabriel Wicke [Sat, 13 Mar 2004 13:43:22 +0000 (13:43 +0000)]
calls to setSquidMaxage for cacheable pages

20 years agomade setSquidMaxage an accessor, default mSquidMaxage = 0
Gabriel Wicke [Sat, 13 Mar 2004 13:42:17 +0000 (13:42 +0000)]
made setSquidMaxage an accessor, default mSquidMaxage = 0

20 years agoDetect port the server is running on; needed for redirects and other full URLs
Brion Vibber [Sat, 13 Mar 2004 11:28:05 +0000 (11:28 +0000)]
Detect port the server is running on; needed for redirects and other full URLs

20 years agoMinor enhanced recentchanges fix for Safari; put <a>s inside the two <span>s to preve...
Brion Vibber [Sat, 13 Mar 2004 09:25:09 +0000 (09:25 +0000)]
Minor enhanced recentchanges fix for Safari; put <a>s inside the two <span>s to prevent a rogue underline from being displayed under the arrow icons

20 years agoDisable underlined links in default settings for Arabic; it harms readibility signifi...
Brion Vibber [Sat, 13 Mar 2004 09:18:39 +0000 (09:18 +0000)]
Disable underlined links in default settings for Arabic; it harms readibility significantly

20 years agoRemove the forced left-align in enhanced recentchanges; this screws up display for...
Brion Vibber [Sat, 13 Mar 2004 08:53:16 +0000 (08:53 +0000)]
Remove the forced left-align in enhanced recentchanges; this screws up display for RTL languages. Added left-pointing Arr_l.png arrow for use in same.

20 years agoFix caption alignment for RTL langs
Brion Vibber [Sat, 13 Mar 2004 08:11:08 +0000 (08:11 +0000)]
Fix caption alignment for RTL langs

20 years agoMake sure output buffering is off for install scripts
Brion Vibber [Sat, 13 Mar 2004 06:29:39 +0000 (06:29 +0000)]
Make sure output buffering is off for install scripts

20 years agobug fix in proxy check
Tim Starling [Sat, 13 Mar 2004 02:20:35 +0000 (02:20 +0000)]
bug fix in proxy check

20 years agoAllowing user ids to be specified e.g. "#1234@en", to work around any encoding problems
Tim Starling [Fri, 12 Mar 2004 05:56:25 +0000 (05:56 +0000)]
Allowing user ids to be specified e.g. "#1234@en", to work around any encoding problems

20 years agoSome changes to the link tables. They now all use a key on cur_id for the *_from...
Brion Vibber [Thu, 11 Mar 2004 09:06:13 +0000 (09:06 +0000)]
Some changes to the link tables. They now all use a key on cur_id for the *_from column instead of strings, and have a unique index to force prevent any duplicate entries. There's not yet a clean step in the update script, so just clear out your links tables (patch-linktables.sql) and rebuild them with refreshLinks.php.

This saves trouble in a number of places where we can now do joins with the link tables to get other info (such as cur_is_redirect!) as well as the name, and fewer bits need to be juggled on page renaming, as outgoing links no longer have to be changed (cur_id remains the same when a page is renamed).

rebuildLinks.inc and some of the tools in the 'maintenance page' still need to be updated to work with the new setup. (Special:Maintenance needs a *lot* of cleanup in general. It's kind of a catch-all of vaguely defined features which suck performance like a hydroelectric dam.)

Also I've slipped in some extra debug code. And, I think 'indexes.sql' is a big waste of time and should all be moved into tables.sql. Building indexes separately doesn't help on InnoDB and won't do anything on MyISAM either if you're just going to replace the table after it's built with an imported one from a dump which creates it with indexes.

20 years agoRemoved duplicate stub style declarations.
Evan Prodromou [Thu, 11 Mar 2004 05:59:03 +0000 (05:59 +0000)]
Removed duplicate stub style declarations.

20 years agoMade linkscc title column case sensitive
Mr. E23 [Wed, 10 Mar 2004 23:43:54 +0000 (23:43 +0000)]
Made linkscc title column case sensitive

20 years agoAdd incomplete Special:Import to repository; will complete it when have a chance
Brion Vibber [Wed, 10 Mar 2004 16:08:16 +0000 (16:08 +0000)]
Add incomplete Special:Import to repository; will complete it when have a chance

20 years agoproxy check
Tim Starling [Wed, 10 Mar 2004 14:37:06 +0000 (14:37 +0000)]
proxy check

20 years agoproxy check
Tim Starling [Wed, 10 Mar 2004 14:24:40 +0000 (14:24 +0000)]
proxy check

20 years agoSave password cookie fixes
Brion Vibber [Wed, 10 Mar 2004 05:21:58 +0000 (05:21 +0000)]
Save password cookie fixes

20 years agoFixed 'call on non-object' error on Special:Contributions
Mr. E23 [Wed, 10 Mar 2004 01:37:16 +0000 (01:37 +0000)]
Fixed 'call on non-object' error on Special:Contributions

20 years agoSet up Smarty skins to be usable if $wgUseSmarty is set
Brion Vibber [Wed, 10 Mar 2004 00:56:23 +0000 (00:56 +0000)]
Set up Smarty skins to be usable if $wgUseSmarty is set

20 years agopurge first url only once
Gabriel Wicke [Tue, 9 Mar 2004 14:00:37 +0000 (14:00 +0000)]
purge first url only once

20 years agohistory purging
Gabriel Wicke [Tue, 9 Mar 2004 12:55:54 +0000 (12:55 +0000)]
history purging

20 years agobug fixes and indentation in purge function
Gabriel Wicke [Tue, 9 Mar 2004 12:07:35 +0000 (12:07 +0000)]
bug fixes and indentation in purge function

20 years agosupport for second-tier squids in the ip parsing function
Gabriel Wicke [Mon, 8 Mar 2004 18:44:20 +0000 (18:44 +0000)]
support for second-tier squids in the ip parsing function

20 years agoMake login work again; some var init fixes
Brion Vibber [Mon, 8 Mar 2004 10:17:24 +0000 (10:17 +0000)]
Make login work again; some var init fixes

20 years agoConsolidate with Title::getInternalURL() a bit
Brion Vibber [Mon, 8 Mar 2004 09:51:11 +0000 (09:51 +0000)]
Consolidate with Title::getInternalURL() a bit

20 years agocode formatting
Tim Starling [Mon, 8 Mar 2004 09:43:36 +0000 (09:43 +0000)]
code formatting

20 years agofixed a couple of minor bugs
Tim Starling [Mon, 8 Mar 2004 09:42:00 +0000 (09:42 +0000)]
fixed a couple of minor bugs

20 years agouse the one central list of talk namespaces, don't make your own every time you need one
Tim Starling [Mon, 8 Mar 2004 09:39:01 +0000 (09:39 +0000)]
use the one central list of talk namespaces, don't make your own every time you need one

20 years agofreeing a result object
Tim Starling [Mon, 8 Mar 2004 09:37:53 +0000 (09:37 +0000)]
freeing a result object

20 years agoability to dump messages to a file, not quite sure what to use it for yet
Tim Starling [Mon, 8 Mar 2004 09:33:23 +0000 (09:33 +0000)]
ability to dump messages to a file, not quite sure what to use it for yet

20 years agooverwriting of old default messages; ability to dump messages to a file
Tim Starling [Mon, 8 Mar 2004 09:30:24 +0000 (09:30 +0000)]
overwriting of old default messages; ability to dump messages to a file

20 years agodisabling database messages during install
Tim Starling [Mon, 8 Mar 2004 09:29:14 +0000 (09:29 +0000)]
disabling database messages during install

20 years agobug fix, mContainsOldMagic goes in mOutput now
Tim Starling [Mon, 8 Mar 2004 09:26:23 +0000 (09:26 +0000)]
bug fix, mContainsOldMagic goes in mOutput now

20 years agoMore globals and uninitialized variables fixes. Added WebRequest ($wgRequest)
Brion Vibber [Mon, 8 Mar 2004 09:09:35 +0000 (09:09 +0000)]
More globals and uninitialized variables fixes. Added WebRequest ($wgRequest)
object to encapsulate the handling of get/post variables:

The following grab something out of $_REQUEST. The first parameter is the
variable name and is required. The second is an optional default value:

  $wgRequest->getVal() - any type, returns NULL if no default given
  $wgRequest->getInt() - forced integer, 0 default
  $wgRequest->getText() - runs through $wgLang->recodeInput()
  $wgRequest->getBool() - return true/false
  $wgRequest->getCheck() - returns true if the var is set, even if to ""

$wgRequest strips slashes at initialization if necessary.

Also in this fine object:
  $wgRequest->wasPosted() - returns false if this wasn't a real form post,
    so we can protect against faked submissions in get urls.

There's still plenty of work to do, not everything uses the new functions
yet. To test the strict mode, do define('DEBUG_GLOBALS', 1);

20 years agoMore unitialized variable cleanup && 'pure' register_globals cleanup...
Brion Vibber [Mon, 8 Mar 2004 02:50:04 +0000 (02:50 +0000)]
More unitialized variable cleanup && 'pure' register_globals cleanup...
Added wfDebugDieBacktrace() function to help in pinpointing problems by
showing a function call backtrace along with a friendly die message.

20 years agoFixed what seems to be an off-by-one error (it tried to access one past the end of...
Brion Vibber [Mon, 8 Mar 2004 02:46:27 +0000 (02:46 +0000)]
Fixed what seems to be an off-by-one error (it tried to access one past the end of the array quite consistently). Someone who understands this code, please check.

20 years agoImported the register_globals hack from REL1_2. Also starting work on
Brion Vibber [Mon, 8 Mar 2004 01:51:32 +0000 (01:51 +0000)]
Imported the register_globals hack from REL1_2. Also starting work on
elimination of the use of import_request_variables (which gives us all
the insecurity of register_globals). Uncomment the define of DEBUG_GLOBALS
in index.php to turn on extra error reporting and trace down use of
uninitialized variables and nassssty globals.

Also rearranged the magic_quotes fixing, may not yet cover everything...

20 years agoCreate an error warning for thumbnails of non-existing images
Jens Frank [Sun, 7 Mar 2004 19:40:58 +0000 (19:40 +0000)]
Create an error warning for thumbnails of non-existing images

20 years agoFixed parse error
Mr. E23 [Sun, 7 Mar 2004 17:27:00 +0000 (17:27 +0000)]
Fixed parse error

20 years agoReplace the random boolean parameters on Title::getURL() with a set of
Brion Vibber [Sun, 7 Mar 2004 07:26:56 +0000 (07:26 +0000)]
Replace the random boolean parameters on Title::getURL() with a set of
practical, clear methods:
  Title::getLocalURL() - "/wiki/index.php/Foobar" or "/wiki/index.php?title=Foobar&action=edit"
  Title::getFullUrl() - ditto with $wgServer on the front
  Title::getInternalUrl() - ditto with $wgInternalServer on the front (for some squid-related functions)
  Title::escapeLocalUrl() - local URL escaped for HTML output
  Title::escapeFullUrl() - full URL escaped for HTML output

All take an optional query parameter.

Title::getURL(), wfFullUrl() and wfFullUrlE() are now officially
deprecated and will result in instant death. wfLocalUrl() and wfLocalUrlE()
will be killed shortly; they are still used in the language files.

20 years agoAvoid failing on pre-4.3.2 due to lack of 'x' create-only option on fopen
Brion Vibber [Sun, 7 Mar 2004 01:31:08 +0000 (01:31 +0000)]
Avoid failing on pre-4.3.2 due to lack of 'x' create-only option on fopen

20 years agoTry blank root password if user fails... fix (unused) math paths, use the libgd check...
Brion Vibber [Sun, 7 Mar 2004 01:07:08 +0000 (01:07 +0000)]
Try blank root password if user fails... fix (unused) math paths, use the libgd check to disable/enable thumbnails (but upload is still off)

20 years agoCopy the arrow files on install/update
Brion Vibber [Sun, 7 Mar 2004 00:43:42 +0000 (00:43 +0000)]
Copy the arrow files on install/update

20 years agoGIMP source image for the arrows
Brion Vibber [Sun, 7 Mar 2004 00:35:48 +0000 (00:35 +0000)]
GIMP source image for the arrows

20 years agoAdd long-missing arrow images for enhanced recentchanges. These Arr_r.png and Arr_d...
Brion Vibber [Sun, 7 Mar 2004 00:33:43 +0000 (00:33 +0000)]
Add long-missing arrow images for enhanced recentchanges. These Arr_r.png and Arr_d.png are by Brion Vibber, made quickly in the gimp.

20 years agoPut site name first in feed title
Brion Vibber [Sat, 6 Mar 2004 23:01:53 +0000 (23:01 +0000)]
Put site name first in feed title

20 years agoISBN links disabled insides of [[link]]s, too, upon brions request
Jens Frank [Sat, 6 Mar 2004 21:51:58 +0000 (21:51 +0000)]
ISBN links disabled insides of [[link]]s, too, upon brions request

20 years agodisable RFC autolinking inside of [[links]]
Jens Frank [Sat, 6 Mar 2004 21:45:05 +0000 (21:45 +0000)]
disable RFC autolinking inside of [[links]]

20 years agoUse PATH_INFO for prettier default URLs: index.php/Foo instead of index.php?title=Foo
Brion Vibber [Sat, 6 Mar 2004 21:35:07 +0000 (21:35 +0000)]
Use PATH_INFO for prettier default URLs: index.php/Foo instead of index.php?title=Foo

20 years agoAdded RFC link magic, similar to ISBN magic
Jens Frank [Sat, 6 Mar 2004 21:30:42 +0000 (21:30 +0000)]
Added RFC link magic, similar to ISBN magic

20 years agoMoved ISBN magic to new parser
Jens Frank [Sat, 6 Mar 2004 20:04:25 +0000 (20:04 +0000)]
Moved ISBN magic to new parser

20 years agoFix timestamp error in redirects (fails in particularly ugly fashion on Windows server)
Brion Vibber [Sat, 6 Mar 2004 09:34:05 +0000 (09:34 +0000)]
Fix timestamp error in redirects (fails in particularly ugly fashion on Windows server)

20 years agoMoved database update functions into maintenance/updater.inc, to be used
Brion Vibber [Sat, 6 Mar 2004 09:04:25 +0000 (09:04 +0000)]
Moved database update functions into maintenance/updater.inc, to be used
by both update.php and config/index.php. Check path separator to get the
include path right in Windows for the in-place LocalSettings.php.

20 years agoIn case of mysterious write failure, spit out the config file for manual paste. Haven...
Brion Vibber [Sat, 6 Mar 2004 03:17:43 +0000 (03:17 +0000)]
In case of mysterious write failure, spit out the config file for manual paste. Haven't yet determined the exact failure condition, but a user is reporting this. (The is_writable() should catch it up above.)

20 years agoAdd digit transformation function Language::formatNum() for Arabic and other
Brion Vibber [Sat, 6 Mar 2004 03:03:14 +0000 (03:03 +0000)]
Add digit transformation function Language::formatNum() for Arabic and other
languages which need to use localized (decimal) digits. Sample implementation
for Arabic.

20 years agoOops, left debug output in
Tim Starling [Sat, 6 Mar 2004 02:13:59 +0000 (02:13 +0000)]
Oops, left debug output in