Commit graph

20077 commits

Author SHA1 Message Date
Bryan Tong Minh
e751a22a2f * (bug 13879) Special:EmailUser shows a form in case no user was specified 2008-08-21 22:15:34 +00:00
Aryeh Gregor
356e655213 Do not use PHP 5.2.0 functions in core, kthx. 2008-08-21 21:41:30 +00:00
Chad Horohoe
968da62b1e Bump style version for r39776. 2008-08-21 20:28:45 +00:00
Chad Horohoe
bd31a86947 Use wfEmptyMsg() instead of !$message. 2008-08-21 20:20:15 +00:00
Siebrand Mazeland
a6b98c4e04 Add newline to put each message on its own line. 2008-08-21 19:44:19 +00:00
Rotem Liss
7074e06df8 Fixing comments. 2008-08-21 19:29:26 +00:00
Rotem Liss
bb133a3418 Add duplicate check to the default checks: Now that messages may be makred as optional, every message not marked as such should be translated. 2008-08-21 19:15:40 +00:00
Rotem Liss
e47ea2e250 Localization fix. 2008-08-21 19:13:33 +00:00
Rotem Liss
5c6fb12860 Localization fix. 2008-08-21 19:12:42 +00:00
Rotem Liss
1bdb4f9162 Localization update. 2008-08-21 19:10:50 +00:00
Guy Van den Broeck
3dbc4b0dcd Simplified i18n for HTMLDiff 2008-08-21 18:32:53 +00:00
Shinjiman
6b95534375 Localisation updates Cantonese, Chinese and Old/Late Time Chinese 2008-08-21 16:58:58 +00:00
Siebrand Mazeland
cb3e103475 Localisation updates for core messages from Betawiki (2008-08-21 17:36 CEST) 2008-08-21 15:51:50 +00:00
Roan Kattouw
44475e0314 Adding action=watch to the API 2008-08-21 15:44:13 +00:00
Alexandre Emsenhuber
177b1e264a Tweaks for skins:
* Moved SkinTemplate::addStyle() and related stuff to OutputPage so that it can be used non-SkinTemplate skins and avoid duplication with the actual OutputPage::addStyle() (the two functions have the same format).
* Non-SkinTemplate skins now also load their CSS with <link> tags instead of @import.
* Moved SkinTemplate::setupUserCss() to Skin.
* Merged action=raw&gen=(js|css) for SkinTemplate and non-SkinTemplate skins, renamed functions to Skin::generateUserJs() and Skin::generateUserStyleSheet() and dropped a lot of cascading call which is a bit incomprehensible.
2008-08-21 14:09:57 +00:00
Greg Sabino Mullane
609ad54835 Force inserted bools to be ints, per Tim's suggestion on bug 15148.
This should be fine for now as Postgres uses SMALLINTs for BOOLs, to 
match MySQLs BOOL/TINYINT aliasing and subsequent MW coding assumptions.
It's possible this will cause bad effects if inserted values are called 
in a boolean context when they are going into a non-SMALLINT column, but we can handle 
those as they come up.
2008-08-21 13:10:19 +00:00
Tim Starling
ca28cc4b16 Added GlobalBlocking local table 2008-08-21 11:54:53 +00:00
Rotem Liss
c096c128ad Localization update for he. 2008-08-21 08:51:40 +00:00
Fran Rogers
797c7653cf More Doxygen alias fixes; these aliases should be consistent enough to use all over now :) 2008-08-21 08:39:31 +00:00
Siebrand Mazeland
2e7b68cd6a Mark 'accesskey-visualcomparison' as optional. Rebuilt message files. 2008-08-21 08:33:25 +00:00
Ilmari Karonen
3f8b2a112b Same for other skins, modify release note accordingly. 2008-08-21 07:42:43 +00:00
Ilmari Karonen
947ccadf7a Make the "image" tab blue for images without a local description page (such as Commons images). 2008-08-21 07:25:28 +00:00
Aaron Schulz
fa315edbb4 minor code tweaks 2008-08-21 03:05:25 +00:00
Chad Horohoe
7f5577dd8d +1 $wgStyleVersion for previous commit. 2008-08-21 00:55:10 +00:00
Guy Van den Broeck
683618fd33 Added button for Visual Comparison to history page, previous and next diff buttons follow that choice consistently and diff pages have a link to switch from/to source/visual comparison 2008-08-21 00:45:13 +00:00
Chad Horohoe
7986de73df messages.inc even. 2008-08-21 00:32:46 +00:00
Chad Horohoe
a817efbe7b * Move messages from a hardcoded $bundle to core message files.
* getString() is now a wrapper for htmlspecialchars( wfMsgNoTrans() ) as these messages are plaintext (per guyvdb)
* Could probably use more cleanup, but this is a nice start in the right direction.
2008-08-21 00:22:02 +00:00
Chad Horohoe
00e5b3325d Document a bit. 2008-08-20 22:22:29 +00:00
Alexandre Emsenhuber
28eff43b1d Tweak for r29770 (yes, some months after it):
If the wiki is read only mode, don't show a "database locked" error if previewing or showing diff, but rather the "normal" action with a warning that the database is currently locked. If the user is trying to save the page, he'll see the preview page instead. Currently, if you are saving or previewing a page while the database is locked, you'll see the "database locked" error with the current text (or no text at all if the page doesn't exist), not your text, this might be confusing.

Also added the reason of the lock to the readonlywarning message.
2008-08-20 21:27:12 +00:00
Bryan Tong Minh
f830c86e06 Provide some info on which case value was not handled in ApiLogin 2008-08-20 19:56:18 +00:00
Aaron Schulz
c19b2dd229 use quickUserCan() 2008-08-20 19:26:43 +00:00
Rotem Liss
aee07c75f1 Localization update. 2008-08-20 19:23:04 +00:00
Guy Van den Broeck
60b87b4ef0 Escape characters that were unescaped by the parser 2008-08-20 19:19:36 +00:00
Siebrand Mazeland
80d4d8f463 Fixes for r39727 2008-08-20 19:16:12 +00:00
Aaron Schulz
c0b011b5b8 function is not static 2008-08-20 19:13:13 +00:00
Guy Van den Broeck
e3868c9a5f 'Visual Comparison' added to messages 2008-08-20 19:09:27 +00:00
Guy Van den Broeck
a115a6d874 added diff headers for HTML diff 2008-08-20 18:45:43 +00:00
Brion Vibber
0e830bd136 fix for html diff on page with images -- ImageNode $attributes member was incorrectly declared as private 2008-08-20 18:25:45 +00:00
Rotem Liss
49d0ca8ce0 Localization update. 2008-08-20 18:12:16 +00:00
Brion Vibber
e2f1a14d9e * $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead.
I never liked the take-over-the-screen UI of the old ajax search; the new suggestion search does the same thing in a more natural, integrated way.
2008-08-20 18:11:59 +00:00
Greg Sabino Mullane
e5933b11e3 Update to match postgres/tables.sql 2008-08-20 17:51:08 +00:00
Aaron Schulz
17c79f9a8e redo allpages again less obtrusively 2008-08-20 17:50:13 +00:00
Rotem Liss
ac42c24f90 Localization update for he. 2008-08-20 16:25:15 +00:00
Brion Vibber
49ca55f804 Revert r39416, 39421, 39427, 39489, 39515, 39516 "Rewrite allpages to use a "tree" of index range subpages (similar to the starting page) rather than one increasingly large range list (bug 13902)"
Breaks several aspects of paging behavior:
* Subpage parameter seems to have incorrectly changed from starting point to prefix
* We've lost forward and backward paging links
2008-08-20 16:13:49 +00:00
Andrew Garrett
5a2a85a1b4 *ahem* self-revert. Something weird happened with getAll() 2008-08-20 14:12:52 +00:00
Andrew Garrett
4b5d8c21a8 Use a nice fancy deep-merge function for merging arrays in SiteConfiguration (newly written), and move the merging of config options and globals deeper into get(), so we don't need to duplicate the same functionality in the entry points. 2008-08-20 14:08:50 +00:00
Shinjiman
f0c65f67e4 Localisation updates Cantonese, Chinese and Old/Late Time Chinese 2008-08-20 13:45:43 +00:00
Andrew Garrett
8736d07448 Add "+setting" type code (adding to the existing global) into getAll, since that is what we use on Wikimedia 2008-08-20 12:56:59 +00:00
Andrew Garrett
e75a08f1bc PHP Sucks. Having a value of 0 was making $value appear as false, so you couldn't set a value when adding an option. Fixed this up with a strict check. 2008-08-20 12:30:31 +00:00
Aaron Schulz
28e11ec839 Load messages in a less shitty and more consistent manner for extensions. Previously relied on logName() being called. Failed miserably for extracts. 2008-08-20 09:43:46 +00:00