Antoine Musso
28ea816fba
Implementing user levels management. This is only a very basic interface and several things need to be done! A tracking bug is at http://bugzilla.wikipedia.org/show_bug.cgi?id=767
2004-10-24 19:14:48 +00:00
Tim Starling
62c933c9c8
Moved some defines to Defines.php, removed unnecessary line from Language::getUserToggle()
2004-10-24 12:03:29 +00:00
Brion Vibber
af4f7ee759
spelling
2004-10-24 05:48:54 +00:00
Tim Starling
ac7279aa6e
Using wfSuppressWarnings() instead of the error suppression operator, to avoid the blank page syndrome
2004-10-23 10:24:13 +00:00
Erik Moeller
0d02b52702
Preliminary support for shared upload directory. This is primarily intended
...
for the Wikimedia Commons. If $wgUseSharedUploads is set, MediaWiki will try
to locate an image file in the shared upload directory if it is not found
locally. Thumbnails for shared images will also be generated in the
shared directory.
Note: I changed
$text = $this->replaceInternalLinks ( $text );
$text = $this->replaceExternalLinks( $text );
to
$text = $this->replaceExternalLinks( $text );
$text = $this->replaceInternalLinks ( $text );
in Parser.php. Otherwise [[Media:Bla.jpg]] to an absolute URL would be
incorrectly parsed as external links. The header of
replaceExternalLinks says:
Note: we have to do external links before the internal ones
So the old order was not consistent with the documentation. I did some
tests and nothing seems to be broken, but I have some problems executing
parserTests.php so I couldn't test it systematically.
2004-10-21 05:04:14 +00:00
Zheng Zhu
ccf6536d52
Moving code that checks for valid link in another variant from Parser.php to Language.php
2004-10-21 02:47:51 +00:00
Zheng Zhu
b6093aad4e
Added option wgDisableLangConversion to disable langauge variant conversion, mainly for debugging and testing purpose.
2004-10-19 18:02:44 +00:00
Emmanuel Engelhart
ba3f1e74cc
+ nonunicodebrowser message
2004-10-10 21:27:15 +00:00
Evan Prodromou
3f39990075
Fixed problems with hiding certain links (portal, currentevents,
...
disclaimers). Corrected help text in Language.php -- it said to set
the values to '', but the code used '-'. Fixed Skin.php so it checks
for '-' for disclaimers. Also, fixed SkinPHPTal.php so it checks for
'-' anywhere it can show up -- in buildNavigationUrls and buildNavUrls.
2004-10-08 22:00:51 +00:00
Zheng Zhu
e1eadafba8
Added fallback in case the preferred language variant is not provided in the manual conversion markup.
2004-10-08 13:57:01 +00:00
River Tarnell
11b6bf89f0
Replace searchdisabled with a more informative message
2004-10-07 01:16:37 +00:00
Zheng Zhu
f778c2396a
Show error message when 6730wgwgUseDatabaseMessages is off in Special:Allmessages. This fixes bug 440.
2004-10-05 16:13:40 +00:00
Zheng Zhu
bfc27da4c4
Convert the title of an article to the preferred language variant.
2004-10-04 03:47:39 +00:00
Jens Frank
c03d9ab67b
Add previous/next links to old revision pages
2004-10-02 21:36:36 +00:00
Antoine Musso
fc11eaedaa
New userlevel feature. Sysop only, for testing. NO FORM IS VALIDATED : use at your own risks
2004-10-01 15:57:09 +00:00
Jens Frank
414079a69f
Admin interface to site parameters, UI part.
...
No way to save settings, yet. Might be a starting point for Hashar's efforts
2004-09-30 21:33:34 +00:00
Arne Heizmann
3a0da4e9f9
bugfix
2004-09-30 14:50:48 +00:00
Brion Vibber
aa76d1e907
Tietew's patch for optionally selecting revisions on undeletion.
...
Bug 507: http://bugzilla.wikipedia.org/show_bug.cgi?id=507
2004-09-29 16:27:49 +00:00
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
Jens Frank
a7d6e764b7
Removed testcode.
2004-09-26 15:11:30 +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
Brion Vibber
a0fef33026
Finish fixing the default language.
2004-09-25 21:57:27 +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
d07ce937ee
Added a simple syntax check in the conversion code
2004-09-24 19:02:39 +00:00
Zheng Zhu
4f7aeeb348
fixed formating (tab instead of space)
2004-09-24 18:37:33 +00:00
Zheng Zhu
caceeaae57
Replaced call to deprecated Namespace::getSpecial(); update comment on autoConvert()
2004-09-24 18:31:16 +00:00
Magnus Manske
c97f3bbdeb
Wiki database system
2004-09-24 14:49:22 +00:00
Zheng Zhu
6d10e85a52
Changed installation code so that wgContLanguageCode is set, replacing wgLanguageCode.
2004-09-24 00:34:13 +00:00
Brion Vibber
79a3ad65ef
Verify known image types on upload.
2004-09-23 20:57:35 +00:00
Antoine Musso
666c29c0d4
Fix http://bugzilla.wikipedia.org/show_bug.cgi?id=490 Implement a header in Special:Category
2004-09-22 00:58:41 +00:00
Antoine Musso
f1b85bfadc
Fix http://bugzilla.wikipedia.org/show_bug.cgi?id=528 . New shorter "nosuchuser" message ("nosuchusershort") when an admin tries to block a non existent user.
2004-09-22 00:42:09 +00:00
Arne Heizmann
d413d2c158
bugfix: Special:Allpages "next" link should include &namespace= parameter
2004-09-21 00:17:12 +00:00
Jens Frank
8890d458dd
Fixed broken code.
...
> PLEASE TEST YOUR PATCHES BEFORE COMMITTING THEM
2004-09-20 05:27:16 +00:00
Zheng Zhu
b9fa50e7e8
* Updated the message for 'yourvariant' to reflect that it is meant for the language variant of the content
...
* Updated getPreferredVariant() to return some meaningful default values
2004-09-20 01:47:10 +00:00
Wil Mahan
8dfc4aad72
Fix literal \n in 'editingold' message
2004-09-19 20:47:18 +00:00
Antoine Musso
ec5fffe8ed
Allow user to always preview text on editing ( implement http://bugzilla.wikipedia.org/show_bug.cgi?id=530 )
2004-09-19 17:09:12 +00:00
Zheng Zhu
ca869524aa
moved parsing of the -{}- tag to Language.php, and generalized it a little bit so that other languages can use it (hopefully).
2004-09-18 03:37:50 +00:00
Zheng Zhu
7c7c1cc5d3
added a hook to get preferred language variant
2004-09-17 19:12:15 +00:00
Zheng Zhu
324952f9a0
added the getVariant() interface to get a list of supported language variants
2004-09-17 18:27:06 +00:00
Jens Frank
ff264a485a
Added convert() to Language class, so that convert can be called
...
without checking wgLanguageCode. Avoid hardcodes.
2004-09-17 05:51:03 +00:00
Jens Frank
3d946b5c22
New Special page: Visual list of newly uploaded images Special:Newimages
2004-09-14 20:57:54 +00:00
Jens Frank
7be4991983
New user option. Provides a setting to limit the image size on image description pages.
2004-09-10 00:53:31 +00:00
Antoine Musso
b582cbef7e
'yourlanguage' => 'Interface language'
2004-09-08 01:36:51 +00:00
Tim Starling
a7e4f89cb4
Stub language file for zh-tw, changing Setup.php and Language.php to allow for languages with hyphens in their code
2004-09-05 06:17:37 +00:00
Arne Heizmann
9194bdac2e
change all occurrences of "fromwikipedia" to "tagline".
...
change all occurrences of "aboutwikipedia" to "aboutsite".
2004-09-03 21:29:06 +00:00
Arne Heizmann
bb4b485679
We should try not to use the same message for different things :/
2004-09-01 21:53:50 +00:00
Domas Mituzas
653e63e7c7
time(), date(), timeanddate() now use wfTimestamp(TS_MW) for timestamp input
...
* should be merged into other language files, defining these functions as well
2004-09-01 14:10:42 +00:00
Arne Heizmann
a67ae36cfa
display "view current revision" link on old revisions. (This means that the
...
Classic skin will have it twice in different places, but I hope people won't mind.)
2004-09-01 03:01:37 +00:00
Arne Heizmann
7eaaa7f7f5
remove trailing white space (sorry)
2004-09-01 02:57:26 +00:00
Erik Moeller
f11ab4263b
Custom namespaces:
...
To add a new namespace, just set $wgExtraNamespaces in LocalSettings.php.
Custom namespaces must begin at 100.
This is primarily intended to let us add a bunch of international versions
of the "Help:" namespace on Meta, so we can finally have a single place for
all documentation and easily dump/import it to other wikis.
2004-08-31 10:23:55 +00:00