Zheng Zhu
bae7fb64bc
let getVariants() returns the content language by default. this makes sure messages of the content language are drawn from the MediaWiki namespace.
2004-09-27 00:06:40 +00:00
Zheng Zhu
ad85441185
Use wfMsgForContent() when making links
2004-09-26 23:45:18 +00:00
Brion Vibber
332a0cf268
Back out kturner's old table restructure for now.
...
This will require downtiime on upgrade, so we're not going to do it until we have a better idea of the cost and can make all necessary changes at once to minimize it.
2004-09-26 19:49:44 +00:00
Wil Mahan
c2756ebfa1
Fix problem with RFC magic links, as noted at bug 479
2004-09-26 17:59:08 +00:00
Tim Starling
2f6ba3b82b
Oops, no UTF8
2004-09-26 16:29:03 +00:00
Tim Starling
34da792bb9
New language file by Quackor, slightly modified by me
2004-09-26 16:09:33 +00:00
Jens Frank
a7d6e764b7
Removed testcode.
2004-09-26 15:11:30 +00:00
River Tarnell
db17f97f9e
include sql patch
2004-09-26 14:43:50 +00:00
River Tarnell
705c7680fc
remove old_namespace and old_title from old table.
2004-09-26 14:43:12 +00:00
Tim Starling
65c32390e9
comments
2004-09-26 13:41:21 +00:00
River Tarnell
72e66de074
user_token
2004-09-26 11:17:34 +00:00
Tim Starling
91cf173f4a
More informative error message for when the user forgot to move LocalSettings.php. Moved recently-added setup code from index.php to Setup.php where it's meant to be. index.php isn't the only entry point!
2004-09-26 10:41:48 +00:00
Tim Starling
ce75d528b7
Added check for valid user permissions when updating database
2004-09-26 10:07:31 +00:00
Jens Frank
87c7a6b335
Avoid PHP warning about undefined constant
2004-09-26 09:51:41 +00:00
Jens Frank
734caee098
BUG#419 Added global variable that defines the elements of the navigation sidebar.
...
Made MonoBook use the global sidebar definition
2004-09-26 09:45:35 +00:00
Tim Starling
8f61d0007e
Refactored updaters.inc. With all those functions doing virtually the same thing, it was getting kind of silly
2004-09-26 09:22:49 +00:00
Domas Mituzas
f5cf795458
create schema mediawiki and store all objects in it
...
add user_token
2004-09-26 09:03:45 +00:00
Tim Starling
d0310d98a4
user_token field (from REL1_3A)
2004-09-26 08:53:48 +00:00
Tim Starling
1b085b5017
Improved security: don't send out password hashes or store them in the session, use random tokens instead (from REL1_3A)
2004-09-26 08:25:12 +00:00
Tim Starling
0c0c2dcde7
protection from multiple includes (from REL1_3A)
2004-09-26 08:06:04 +00:00
Tim Starling
7568f63d1a
Extensions for testing and debugging
2004-09-26 06:45:30 +00:00
Brion Vibber
4653c87d0d
Start on compatibility with PHPTAL 1.0 (on PHP5).
...
Currently requires that PHPTAL 1.0.0d2 be separately installed and hacked up a little, and $wgUsePHPTal manually enabled.
2004-09-26 01:56:43 +00:00
Zheng Zhu
eb267e2492
some more UI related fix
2004-09-26 01:50:26 +00:00
Brion Vibber
5ab89f81e7
Fix fallback message checks.
2004-09-26 00:02:28 +00:00
Zheng Zhu
a8a113d22d
fix fallback in wfMsgReal() as well
2004-09-26 00:00:52 +00:00
Brion Vibber
f9092f8096
Fix fallback for missing messages
2004-09-25 23:54:42 +00:00
Brion Vibber
a0fef33026
Finish fixing the default language.
2004-09-25 21:57:27 +00:00
Brion Vibber
f3abe98278
Get CVS to shut up about the build files & executable
2004-09-25 21:49:04 +00:00
Wil Mahan
282c3b0159
Work with $wgUseTidy again, and add more tests (we now have 100!)
2004-09-25 21:20:32 +00:00
Wil Mahan
e1ea27cf2e
Don't strip leading ':' in maybeDoSubpageLink() so that
...
{{:foo}} works for including from main namespace.
2004-09-25 20:35:38 +00:00
Wil Mahan
2f54e9b50e
Fix bug 561: {{/Subpage}} acts like {{Template:/Subpage}}, by
...
breaking out a maybeDoSubpageLink() function and using it when
including a template.
2004-09-25 20:13:14 +00:00
Wil Mahan
446f11bafc
Move tidy call from Parser to OutputPage so that it happens
...
after link placeholder replacement.
2004-09-25 18:22:21 +00:00
Tim Starling
c69b7ca3f3
a couple of extra functions, useful for debugging
2004-09-25 16:54:31 +00:00
Tim Starling
8089d9774f
More debugging info, better hashing function - crc32() goes negative in live PHP!
2004-09-25 16:50:27 +00:00
Wil Mahan
7bd759a966
Undo some of my changes to sections from templates; I think they
...
were wrong
2004-09-25 16:06:10 +00:00
Tim Starling
620e1b8298
Second parameter to wfMsg(nogomatch)
2004-09-25 14:32:19 +00:00
Tim Starling
a41e47b351
various modifications found lying around in the live copy. Some of these should probably be incorporated into the main development branches
2004-09-25 14:02:04 +00:00
Brion Vibber
b16286fd56
Turning validation back off by default. I'm assuming this was checked in by mistake.
2004-09-25 10:50:01 +00:00
Brion Vibber
5537c5b85e
Avoid gratuitously breaking configurations: continue to use
...
$wgLanguageCode in LocalSettings.php, and pass that value on
to $wgContLanguageCode internally.
2004-09-25 10:38:34 +00:00
Brion Vibber
869024bcb4
Adjust some spacing
2004-09-25 10:31:42 +00:00
Brion Vibber
d586617605
Change LanguageEn to be UTF-8 by default. This fixes the problem with
...
language selection destroying non-ASCII characters when English was selected.
2004-09-25 10:08:42 +00:00
River Tarnell
bdb843ade7
disallow empty searches
2004-09-25 09:57:03 +00:00
Brion Vibber
9f87d33e17
Set wgUploadPath for tests so we don't all have to be using Wil's filesystem layout. ;)
2004-09-25 09:49:04 +00:00
Jens Frank
17db2f5885
Avoid warning when incrementing non-existing element of array
2004-09-25 08:32:53 +00:00
Wil Mahan
cb98a3d07e
New tests for sections and various bugs
2004-09-25 05:58:49 +00:00
Wil Mahan
2851381491
Add a "--regex" option to limit which tests are run; replace
...
"!!disabled" with "!!option ... disabled"
2004-09-25 05:58:05 +00:00
Wil Mahan
90d2ccd96a
Fix two parser bugs: bug 41 and bug 529. For the former, I replaced
...
a broken check for '{{{' in braceSubstitution(). For the latter,
I undid part of JeLuF's fix to bug 523 and changed
braceSubstitution() to add a newline '{|', '#', '*', ';', or ':'
come at the beginning of a template and a newline isn't already
present. Also, minor cleanups to the template section code.
2004-09-25 05:16:38 +00:00
Zheng Zhu
ada3997051
first attempt to support multiple language variants in the MediaWiki: namespace.
2004-09-25 04:15:47 +00:00
Zheng Zhu
32c223e2a1
removed caching of UI messages; it does not make sense, after all.
2004-09-25 02:23:04 +00:00
Wil Mahan
62dec72993
Add an option for setting the title; add test for interlanguage links;
...
remove dupliate test
2004-09-24 21:49:56 +00:00