Commit graph

19091 commits

Author SHA1 Message Date
Siebrand Mazeland
cb44ab5ed9 Add 'emailuserfooter' 2008-07-05 19:50:57 +00:00
Greg Sabino Mullane
5e6fc17565 Handle multi-insert ignores properly, as pointed out on wikitech. 2008-07-05 17:00:01 +00:00
Shinjiman
6dc2f67fff * Re-implement the message caches for r35821
* Tweaked the message fetching on the MediaWiki:Conversiontable/xx-xx by changes of the message caching
  patch by Nikerabbit
2008-07-05 15:39:10 +00:00
Niklas Laxström
688705411e * Allow grammar 2008-07-05 15:15:40 +00:00
Chad Horohoe
486dd110bf Re-implement "Email user footer,"
* Now grabs message from global language instead of user's UI lang.
* Added a separator between msg and footer
* Shortened message
* Removed a bunch of useless params from the previous incarnation of this.
2008-07-05 14:43:56 +00:00
Shinjiman
e776c21a2f Localisation updates Cantonese, Chinese and Old/Late Time Chinese 2008-07-05 14:41:01 +00:00
Siebrand Mazeland
a885b5628f Fix incorrect link button name 2008-07-05 14:06:34 +00:00
Siebrand Mazeland
5897b6b15d svn:eol-style 2008-07-05 14:05:03 +00:00
Siebrand Mazeland
ba1100d77a Custom buttons for Ukranian 2008-07-05 14:02:59 +00:00
Rotem Liss
4f4093c1a2 Update and fixes. 2008-07-05 13:13:44 +00:00
Nicolas Dumazet
579bfd985b moving $cat = new self() before $cat->mTitle = $title ; PHP was unhappy. 2008-07-05 13:13:29 +00:00
Siebrand Mazeland
dda5edf845 Update message 'undelete'. Previous text was incorrect as pointed out by AlexSm. 2008-07-05 12:43:51 +00:00
Alexandre Emsenhuber
1d13d14667 Removed "See diff.doc", it seems that this file never existed 2008-07-05 11:59:58 +00:00
Rotem Liss
e5f252756a Various fixes. 2008-07-05 11:52:11 +00:00
Alexandre Emsenhuber
de9c02190c * Added $IP in dirs for OpenSearchUrls hook
* getHooksFromDoc() now returns an unique array
* 80 chars per line in docs/hooks.txt
2008-07-05 11:36:55 +00:00
Roan Kattouw
07db2080a5 Fix regression from r37046: tokens should not be supplied when in JSON callback mode. Also remove ApiQueryBase::getTokenFlag() which is now obsolete. 2008-07-05 11:18:50 +00:00
Daniel Friesen
e339f61471 New hook ParserBeforeTranscludeTemplate:
This hook allows for modification of the title and text of a template which is being transcluded.

Use of this hook will allow extensions to create features such as TransWiki for an alternative to ScaryTransclusions.
2008-07-05 03:36:12 +00:00
Brion Vibber
dae4d46723 Revert r37009 -- turns out you can do these structures, it's just very nonobvious. :)
An anonymous sub-array allows creating sub-elements in addition to the attributes:
array(
    'attrib1' => 'val1',
    'attrib2' => 'val2',
    array(
        'tag' => 'stuff',
        'tag2' => 'stuff2',
    )
)
2008-07-04 22:44:57 +00:00
Brion Vibber
d2f71aa89f Break localized edit buttons into subdirectories so they'll stay manageable 2008-07-04 21:48:42 +00:00
Brion Vibber
b5aa2d7084 fix sql syntax error 2008-07-04 21:39:08 +00:00
Mohamed Magdy
0c72619337 Added localization of edit button images for Tarask Belarusian (be-tarask).
Images by http://commons.wikimedia.org/wiki/User:AlexeyMargolin
2008-07-04 21:33:08 +00:00
Brion Vibber
798bb1cdc4 Revert r37063 "KTHMLfixes no longer loaded on skins where it doesn't exist. (bug 14717)"
* Hardcoding to monobook doesn't make sense here; other skins may include such fix files
* Only addressing KHTMLfixes doesn't make sense here; there's a big pile of Opera fixes right above it which would presumably suffer the same problem

If these are required, and are required per-skin, then the skin should probably specify to the JS which ones it needs.
On the other hand, if they're not required, or can be done in a skin-independent fashion, then that should be checked.
2008-07-04 21:23:00 +00:00
Chad Horohoe
9cf14f43cc KTHMLfixes no longer loaded on skins where it doesn't exist. (bug 14717) 2008-07-04 16:43:44 +00:00
Greg Sabino Mullane
d5b7177cf5 Properly handle the 'IGNORE' option passed to the insert funtion:
rather than just turning off errors, do some savepoint trickery 
so we end at the same state as when we started, to emulate 
MySQL's INSERT...IGNORE. Bug 14708.
2008-07-04 15:57:44 +00:00
Shinjiman
b61621a92a fix encoding problems on r37058 2008-07-04 15:17:40 +00:00
Shinjiman
ea3b78eb62 * (bug 14604) Update LanguageConverter for T (Title) conversion
bugzilla attachment 5048
  patch by fdcn
* Localisation updates Cantonese, Chinese and Old/Late Time Chinese
2008-07-04 15:01:41 +00:00
Mohamed Magdy
f60cc66924 Added localization of edit button images for Arabic language.
Image translation by AhmadSherif. GPL font Kacst Naskh (http://ceri.kacst.edu.sa/fonts.htm).
2008-07-04 14:55:17 +00:00
Bryan Tong Minh
45193da66b Remove non working, obsolete ICRepo. Use the working ForeignAPIRepo. 2008-07-04 14:20:41 +00:00
Victor Vasiliev
6adcda1cc8 Don't pass $db, as Tim Starling advises 2008-07-04 13:04:03 +00:00
Mohamed Magdy
319ec75fae timezone-utc translation. 2008-07-04 12:38:51 +00:00
Domas Mituzas
cea5261f51 adding explanations break the feature, page is supposed to be blank! kind of! revert r36902 2008-07-04 12:20:45 +00:00
Roan Kattouw
0104fa1f0c Rewritten the way the API handles tokens:
* Instead of hardcoding stuff all over the place, use callbacks
* Extensions can now add their own tokens to prop=info or prop=revisions using hooks
2008-07-04 12:07:02 +00:00
Nicolas Dumazet
56a36cff30 mCategoties -> mCategories
Oops, that typo was surviving here since March :p
2008-07-04 11:01:02 +00:00
Nicolas Dumazet
bd2ab6be1a Correcting commit 37038 : only getXXXDeletions were simple array_diff_assoc. Sorry 2008-07-04 10:51:04 +00:00
Niklas Laxström
30febddb2c * (bug 11732) Allow localisation of edit button images 2008-07-04 10:34:41 +00:00
Nicolas Dumazet
ae5d81b425 syntax fix 2008-07-04 10:30:48 +00:00
Nicolas Dumazet
da8cfb32cf 6 array_diff_* were computed twice. Compute once, and remember them instead. 2008-07-04 10:24:20 +00:00
Huji
5d7494e31f Localisation updates: Adding/updating Persian translations 2008-07-04 09:41:48 +00:00
Aaron Schulz
58f01b0645 Re-commit fixed r37006 2008-07-04 09:38:12 +00:00
Victor Vasiliev
ed66838f12 * (bug 14723) Added time zone and writing direction to meta=siteinfo. Patch by MaxSem
* Some random cleanup
2008-07-04 09:21:11 +00:00
Siebrand Mazeland
49b7071785 Localisation updates for core messages from Betawiki (2008-07-04 22:44 CEST) 2008-07-04 07:18:02 +00:00
Siebrand Mazeland
badc7f7d7a Trying to resolve commit r37017/revert r37018: Throw an E_USER_NOTICE saying that function is deprecated for wfGetHTTP() and wfIsLocalURL() 2008-07-04 06:47:47 +00:00
Tim Starling
90a1018148 Revert r37017. Please do not remove functions unless you have a really really good reason, say because you actually want to break all extensions that use them because the underlying functionality needs to be removed. There are more extensions out of Wikimedia version control than in it, and many sysadmins will not update their extensions simultaneously with the core. 2008-07-04 02:52:44 +00:00
Chad Horohoe
9bbd9c2f53 Remove wfGetHTTP() and wfIsLocalUrl(). Unused wrapper functions for stuff in the Http class. 2008-07-04 02:25:38 +00:00
Chad Horohoe
55f67df50c Typo in variable name. 2008-07-04 01:59:13 +00:00
Brion Vibber
bbaa82d5f9 Revert r37006 -- causes fatal errors:
PHP Fatal error:  Using $this when not in object context in Article.php on line 135
2008-07-04 00:04:58 +00:00
Raimond Spekking
605579eff5 Localisation updates German 2008-07-03 21:39:29 +00:00
Chad Horohoe
b7ecf45444 Simplify configuration and make a better caching key. 2008-07-03 21:33:09 +00:00
Brion Vibber
4e4be177e4 Have been playing with custom API modules and been a bit frustrated with the XML output mode...
Adding pseudo-element _attribs alongside _element for XML output. There doesn't seem to be a good way currently to specify both attributes *and* subelements -- '*' lets you have text and attributes, but not sub-elements and attributes. Contents of _attribs will be added as attributes without disturbing the sub-elements.
2008-07-03 21:25:20 +00:00
Chad Horohoe
009e1897ee Revert thumb caching because it wasn't actually caching what I thought it was. 2008-07-03 21:12:32 +00:00