Sam Reed
b7ff4b8b88
* (bug 26484) add a lltitles param to prop=langlinks
2011-01-05 21:51:12 +00:00
Raimond Spekking
f55d963699
Localisation updates for core and extension messages from translatewiki.net (2011-01-05 21:11:00 UTC)
2011-01-05 21:32:10 +00:00
Sam Reed
e76859d792
* (bug 26483) add a iwtitles param to prop=iwlinks
2011-01-05 21:28:18 +00:00
Happy-melon
e147220482
Add IDs to various revdel notices for skinning.
2011-01-05 21:25:04 +00:00
Bryan Tong Minh
c425479416
Follow-up r79655: array_diff makes in_array unnecessary
2011-01-05 19:58:09 +00:00
Sam Reed
be25e4316d
* (bug 26485) add a elextlinks param to prop=extlinks
...
Refactored some code out of ApiQueryExtLinksUsage
Had to duplicate some code into ApiQueryExternalLinks (Boo). Marked with a TODO to fix it up
2011-01-05 19:45:19 +00:00
Sam Reed
f6c4df5eef
Refactor out protocol preperation to ApiQueryExtLinksUsage::prepareProtocols()
2011-01-05 19:28:00 +00:00
Bryan Tong Minh
718ff89310
(bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected pages to be queried via the API and Special:ProtectedPages, and allowing disabling upload protection by removing it from $wgRestrictionTypes.
2011-01-05 19:17:36 +00:00
Sam Reed
bfce19b61b
Followup r79638
...
If we're ping limited, add a warning as such, and don't bother trying to linkupdate any of the other articles in the output.
2011-01-05 17:57:12 +00:00
Philip Tzou
52bb88d41e
Follow r79649 and r79650. Errrr, remove the redundant minus
2011-01-05 16:37:36 +00:00
Philip Tzou
6fe99a3e4c
follow r79649, move the in-block assignment outside.
2011-01-05 16:30:10 +00:00
Philip Tzou
233fb62e22
Add fallback languages support for ApiOpenSearch.
2011-01-05 16:21:01 +00:00
Alexandre Emsenhuber
86d7eeb4d3
Easier method (and to check existence in correct language)
2011-01-05 15:50:34 +00:00
Chad Horohoe
b61756cdea
Followup r73348, r70608: move 'infinity' stuff to DB classes
2011-01-05 13:43:13 +00:00
Chad Horohoe
958d82a003
Followup r68129: rename UndeleteForm to SpecialUndelete per CR. Not used in any extensions
2011-01-05 13:20:39 +00:00
Alexandre Emsenhuber
1e22a9dbde
Allow OutputPage::parse() to parse in any langauge, modified wfMsgExt() and wfMessage() accordingly
2011-01-05 12:24:39 +00:00
Daniel Friesen
7e0a31a4d4
Allow filenames to be specified in a <gallery> with the File:, Image: or media: omitted by defaulting to NS_FILE.
2011-01-05 06:16:13 +00:00
Sam Reed
f0cac4fcf1
* (bug 26498) allow LinksUpdate with API
...
Original patch by Umherirrender. Tweaked to take account of User->pingLimiter() (ie only update links if not limited)
Possible TODO: Error if we are limited? $this->dieUsageMsg( array( 'actionthrottledtext' ) ); seems a bit harsh
Maybe just have a linkupdate="$this->parseMsg( array( 'actionthrottledtext' ) )" in the result? Or something. Definately notification of error to some respect is needed. Just dieing and stopping the whole process is OTT?
2011-01-05 03:31:51 +00:00
Sam Reed
da31774f70
* (bug 26482) add a imimages param to prop=images
2011-01-05 02:52:04 +00:00
Sam Reed
5885c02a1a
* (bug 26460) Add support for listing category members by category pageid
2011-01-04 23:59:39 +00:00
Sam Reed
359964eafc
* (bug 25135) add "normalized" to action=parse
...
Mov addition of $oldid earlier
2011-01-04 21:37:18 +00:00
Raimond Spekking
35651ac19a
Localisation updates for core and extension messages from translatewiki.net (2011-01-04 20:46:00 UTC)
2011-01-04 21:15:16 +00:00
Sam Reed
c5961079ea
Remove another setting of failFunction in phase3 in a database constructor
2011-01-04 19:54:30 +00:00
Sam Reed
783d4ab681
Simplest possible fix for *(bug 26552) ForeignDBRepo broken?
...
Going to see what other uses I can find of stuff constructing their own Database Instances...
2011-01-04 19:33:13 +00:00
Alexandre Emsenhuber
625b4216e5
Run preSaveTransform() with the user that did the edit, not unconditionally $wgUser
2011-01-04 19:08:44 +00:00
Alexandre Emsenhuber
bcb833d939
Use $this->mTitle instead of $wgArticle->getTitle()
2011-01-04 15:02:54 +00:00
Alexandre Emsenhuber
903a3752fd
Use isArticleRelated() instead of checking if $wgArticle is set
2011-01-04 14:49:08 +00:00
Platonides
8de91ab2e4
Partial revert of r79520, follow up to r79558. Unconditionally use the new format.
...
For environments post r70783, they will need to rerender pages with __NOEDITSECTION__ or no headings (hopefully those will be simple pages).
There will be no extra parser cache misses for environments pre r70783.
2011-01-04 11:31:06 +00:00
Tim Starling
ccfe5ad97b
Fix for bug 26561: clickjacking attacks. See the bug report for full documentation.
2011-01-04 06:12:33 +00:00
Daniel Friesen
beded16563
*sigh* I was looking at parser tests, but not notices in a site this time... Followup r79558 fix a small php notice.
2011-01-04 04:23:01 +00:00
Daniel Friesen
d3b9fcdc4a
Followup r79520 and r79528, one of the args was missing when calling doEditSectionLink. Additionally the LanguageConverter was screwing up editsection markers really badly. Switched to <editsection> pesudo-xml style markers for best compatibility with the language converter. (tags are already escaped so we don't need to worry about similar user input)
2011-01-04 04:20:09 +00:00
Sam Reed
22832a2527
* (bug 26560) On allusers if limit < total number of users, last user gets duplicate
...
If $lastUserData is set to null, it won't get added again!
2011-01-04 04:05:32 +00:00
Sam Reed
df0a765cfe
* (bug 26559) list=allusers auprop=rights does not match list=users usprop=rights
2011-01-04 03:36:39 +00:00
Sam Reed
0014c1113c
* (bug 26558) list=allusers auprop=groups does not list groups a user is automatically a member of
2011-01-04 02:48:02 +00:00
Sam Reed
f1b7c91cf8
Followup r79545, we don't really care for duplicate userrights
2011-01-04 02:18:03 +00:00
Sam Reed
97a0295e34
Add rights to array. Grrr
2011-01-04 02:13:51 +00:00
Sam Reed
b30c1e7e72
Crappy spaces from r79549
2011-01-04 02:08:38 +00:00
Sam Reed
58df1dc895
Rest of * (bug 25767) Add userrights properties to allusers and users query lists
...
Add missing parameter from r79545
2011-01-04 02:06:55 +00:00
X!
3e36a442e7
Forcing array breaks MWFunction with <2 parameters
2011-01-04 01:51:48 +00:00
X!
e1f21873d5
Fix r79494: Don't prefix functions now that they're in their own class
2011-01-04 01:44:11 +00:00
Sam Reed
e1bcab1ab8
* (bug 25767) Add userrights properties to allusers and users query lists
...
First part of this bug. Listing of all rights that users have
2011-01-04 01:39:02 +00:00
X!
ffa443c049
Followup to r79532: Did I really need to implement a parameter? No, I did not.
2011-01-04 01:35:01 +00:00
Chad Horohoe
617395c33d
Remove nasty ancient global $title (at least $wgTitle is easier to grep for), its no longer set since r78512. Afaict, this generic-named global is no longer in core.
...
It's not a title object, it's a string of what title= in the URL. If you want that, use WebRequest::getText() or something. Using this string is *wrong* and any extensions should be fixed (I didn't check because $title is a PITA to grep for). Don't backport to 1.17 because this is trivial, harmless, and may Break Something.
(Also made fileCachedPage private since it has no outside callers and I can't see any reason why you should)
2011-01-04 00:42:48 +00:00
Chad Horohoe
0243ff103f
Add new addExtensionTable() wrapper for adding new tables for extensions: way easier than remembering array syntax for addExtensionUpdate()
2011-01-03 23:56:49 +00:00
Ilmari Karonen
ff0a67c75e
make action=parse return a missingtitle error if the page param refers to a missing (rather than just invalid) title
2011-01-03 23:20:13 +00:00
Daniel Friesen
ecd545b1fd
Followup r79520, some characters inside the encoded data were being modified by the parser causing it to break. Switching to a encoding scheme without that issue and adding a test to throw a less fatal error.
2011-01-03 21:04:05 +00:00
Raimond Spekking
ea5cd0c84d
Localisation updates for core and extension messages from translatewiki.net (2011-01-03 20:25:00 UTC)
2011-01-03 20:52:23 +00:00
Sam Reed
1da2cd2dde
Move comment about groups potentially returning less results from server.
...
Comment out description line about rights from ApiQueryUsers, as that prop doesn't exist (Might do in future. Possible artifact from large scale comment addition?)
2011-01-03 20:41:22 +00:00
Ilmari Karonen
6c9c1a2caf
merge the nearly identical Title::moveToNewTitle() and Title::moveOverExistingRedirect() to a single Title::moveToInternal() method
2011-01-03 20:32:04 +00:00
X!
76b8218e75
Throw an exception if calling parent or self on MWFunction.
2011-01-03 20:19:51 +00:00