| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
but they're very hard to grep for (part of the problem with them!), so let's leave the calls in with a wfDeprecated() for a while...
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/89408
|
|
|
|
|
|
|
| |
Instead, bring back some of r86872 (abstract base class for classes providing access to RequestContext methods), which is a more 'classical' solution.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/89406
|
|
|
|
|
|
|
| |
nagging people for this stuff, but for now, I'll JFDI myself.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/88797
|
|
|
|
|
|
|
| |
http://svn.wikimedia.org/doc/todo.html nicely.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/88355
|
|
|
|
|
|
|
| |
http://svn.wikimedia.org/doc/deprecated.html).
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/88290
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Threads are lost and nowhere to be found any more.
[25-Apr-2011 18:12:45] /wiki/Special:MoveThread/Thread:User_talk:Siebrand/test/One_new_message: Exception: MWNamespace::getTalk does not make any sense for given namespace -1
#0 /www/w/includes/Namespace.php(81): MWNamespace::isMethodValidFor(-1, 'MWNamespace::ge...')
#1 /www/w/includes/WatchedItem.php(73): MWNamespace::getTalk(-1)
#2 /www/w/includes/User.php(2304): WatchedItem->addWatch()
#3 /www/w/includes/actions/WatchAction.php(53): User->addWatch(Object(Title))
#4 /www/w/includes/Action.php(376): WatchAction->onView()
#5 /www/w/extensions/LiquidThreads/classes/Thread.php(115): FormlessAction->execute()
#6 /www/w/extensions/LiquidThreads/classes/Thread.php(435): Thread::create(Object(Article), Object(Article), NULL, 1, 'One new message')
#7 /www/w/extensions/LiquidThreads/classes/Thread.php(414): Thread->leaveTrace('move test', Object(Title), Object(Title))
#8 /www/w/extensions/LiquidThreads/pages/SpecialMoveThread.php(107): Thread->moveToPage(Object(Title), 'move test', true)
#9 [internal function]: SpecialMoveThread->trySubmit(Array)
#10 /www/w/includes/HTMLForm.php(279): call_user_func(Array, Array)
#11 /www/w/includes/HTMLForm.php(228): HTMLForm->trySubmit()
#12 /www/w/includes/HTMLForm.php(242): HTMLForm->tryAuthorizedSubmit()
#13 /www/w/extensions/LiquidThreads/pages/ThreadActionPage.php(37): HTMLForm->show()
#14 /www/w/includes/SpecialPageFactory.php(459): ThreadActionPage->execute('Thread:User_tal...')
#15 /www/w/includes/Wiki.php(252): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#16 /www/w/includes/Wiki.php(98): MediaWiki->handleSpecialCases()
#17 /www/w/index.php(145): MediaWiki->performRequestForTitle(NULL)
#18 {main}
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86875
|
|
|
|
|
|
|
| |
get(Request|User|Title|Lang|Skin|Output) accessors for objects acting as a context source. Article is rather messier because both getTitle() and getUser() are in use for other things, and Article::$mTitle is in extremely wide use both within Article.php and outside.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86872
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the password-reset request dialogue from SpecialUserlogin.
* Refactor with all the latest bells and whistles
* Allow wikis to enable resettting by entering an email address (bug 13015). This is currently an unindexed query, but it is disabled by default so no immediate problem.
* Allow resetting to be disabled entirely (bug 20473).
* Don't send registered users' IP addresses in the emails (bug 18347)
* Check that a user is not globally blocked before letting them send messages (bug 23669)
* Display a more useful error message when an account exists globally but not locally (bug 18996).
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86482
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86443
|
|
|
|
|
|
|
| |
executePath(), make them subclass a RedirectSpecialPage and have their execute() method do the redirection. Fixes fatal errors seen on TWN where executePath() was trying to call SpecialMyPage::execute(), which bubbled up to SpecialPage::execute() and made a horrible mess.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86407
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enforce private access for member variables suggested since at least 1.4. Didn't do $mName because grepping for "->mName" gave far too many results to check.
* Move the stuff related to redirects (getRedirect(), getRedirectQuery(), $mAllowedRedirectParams and $mAddedRedirectParams) to SpecialRedirectToSpecial and adjust callers
* Document stuff
* Mark getFile() as deprecated
* Group together getListed(), setListed() and listed() to draw attention to the fact that all three have been there since 1.6 and that we need to pick one and deprecate the other(s)
* add isIncludable() getter
* mark as deprecated and evil the mutators added in 1.6 for things which *really* shouldn't be mutating anywhere. AFAICT they're not actually used many places. Didn't deprecate including() as it's in wide use and it's legitimately set in SpecialPageFactory::executePath().
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86347
|
|
|
|
|
|
|
| |
future, which is the endpoint of getting rid of the define-special-pages-by-global-functions structure. Committing this separate to the other changes because it should be backported to 1.17.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86346
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86339
|
|
|
|
|
|
|
| |
Swap a couple of name() to getName()
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86336
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86282
|
|
|
|
|
|
|
|
|
|
|
| |
their own class; there's no reason we need to be parsing them in every single SpecialPage subclass. Leave all the methods as stubs in SpecialPage.php; if we required PHP 5.3 they could be replaced by a a __callStatic() magic method, but that doesn't work on PHP 5.2.
Also make a few changes to the functions available. SpecialPageFactory::resolveAlias() now takes an optional subpage and returns array(<name>,<subpage>). Similarly merge getPage() and getPageByAlias(). There were many examples of (extensions particularly) making dubious assumptions about the presence or absence of subpages or canonical-ness.
I didn't deprecate SpecialPage::getTitleFor() as it's got over six hundred calls. I'm rather undecided on the best position of getPage()/executePath(). Although the latter needs cleanup anyway.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86255
|
|
|
|
|
|
|
| |
somebody has the time to work on it again. Reverts r67094 and its followups in trunk: r67099, r67111, r67112, r67115, r67398, r81425, r81427
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86155
|
|
|
|
|
|
|
|
|
|
|
| |
core).
Per CR at the time: this creates a nearly irreversable action that is not nearly well documented enough (even if disabled by default).
We already have the $wgBlockDisablesLogin kludge in place for this. If we're going to do more work on this idea, it should be well thought out, not another hack.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86146
|
|
|
|
|
|
|
| |
$wgSpecialPage['PageName'] = 'ClassName', including SpecialRedirectToSpecial, which is ugly and nasty anyway.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86053
|
|
|
|
|
|
|
| |
Thing to use for this class of queries. Yay for the end of global-function-based special pages in core. About fifteen left in extensions now...
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/86048
|
|
|
|
|
|
|
| |
other special pages
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85889
|
|
|
|
|
|
|
|
|
| |
initializing OutputPages 'with' a context and send depreciated calls to extensions directly creating OutputPage instances.
Now that we've taken care of the mess of mTitle inside OutputPage and Skin and made RequestContext track Skin instead of $wgUser we don't need the hack in SpecialPage anymore.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85302
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85293
|
|
|
|
|
|
|
|
|
| |
* Internalise $title in MediaWiki base class
* Fix access fatal in SpecialPage by getting the context from the MediaWiki base class rather than the OutputPage
* Fix a couple of typos in RequestContext which would have thrown errors/fatals if anyone had ever called them.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85285
|
|
|
|
|
|
|
|
|
| |
for me and that plethora of bugs and hicoughs I had to deal with in impelenting it.
http://www.mediawiki.org/wiki/Requests_for_comment/Context_object (it's little different though)
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85240
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85234
|
|
|
|
|
|
|
| |
from includable special pages. After some re-examination we replace the OutputPage and OutputPage is coded in a way to avoid poluting global things with things like the use of header(); in set* calls, so setting things on OutputPage while in an includable special page just gets discarded.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85231
|
|
|
|
|
|
|
| |
(they are the worse offenders), and fix some bugs related to inculudable special pages and their context.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85229
|
|
|
|
|
|
|
| |
instead of using globals. We already had a setContext, Special page implementations should be properly utalizing that data.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85227
|
|
|
|
|
|
|
| |
the output of the page. Like getTitle use $out->get{User,Skin} instead of $wgUser and $wgUser->getSkin() for things where the user or skin is being used for output generation back to $out instead of using globals with bad structure.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/85226
|
|
|
|
|
|
|
| |
HTMLCheckField to work with GET forms.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/84814
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/84807
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/84805
|
|
|
|
|
|
|
|
|
| |
it to subclass SpecialPage and hence changing the indentation :D. SpecialInterwikiWatchlist.php is virtually a clone of this code, so make it subclass in turn and remove duplication; there is probably more that could be removed.
Only three more global-function special page implementations left. \o/
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/84796
|
|
|
|
|
|
|
| |
complete special page. Make it subclass SpecialPage and do all the usual stuff. Rewrite it to use HTMLForm and other exciting things, and give it a good general clean up.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/84718
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SpecialIpblocklist:
* Move and rename to SpecialBlockList
* Use an HTMLForm in GET mode for the options form
* Use TablePager to organise the results more nicely
* Standardise the filtration for IPs and IP ranges, so looking at blocks for a range will now also show rangeblocks which contain the range
* General tidy up
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/83909
|
|
|
|
|
|
|
| |
new SpecialUnblock.php. This leaves IPBlockList as, astonishingly enough, a list of blocks... :D
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/83855
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move to SpecialBlock.php, and rename class appropriately
* Complete refactor
* Use HTMLForm in block form. This changes most of the ids and field names on the form, but allows proper validation, nicer formatting, clears up several fixmes, and is generally Better(TM).
* Spin various parts out into static functions, several of which properly belong in the backend (but Block.php is a worse mess still)
* Invert some of the block options so that every checkbox makes the block more severe (so "check to disable email" is fine, but "check to allow usertalk edit" (default true) is inverted to "check to disable usertalk edit" (default false).
* revert r40359 (move doMassUserBlock() to core). No one seems to be using this function, which has nothing to do with the frontend UI in SpecialBlock (it might perhaps belong in Block.php); it is pretty bespoke for CheckUser, doesn't seem to have very much utility elsewhere.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/83786
|
|
|
|
|
|
|
| |
Special:SpecialPages. Patch by Jarry1250 with a few tweaks by me. Tested, saw no errors or warnings.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/83554
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/82008
|
|
|
|
|
|
|
| |
Introduces $mRequest, $mOutput and $mFullTitle, which can be used instead of $wgRequest, $wgOut and $wgTitle. Introduces msg(), which is a wrapper around wfMessage()->title().
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/81895
|
|
|
|
|
|
|
|
| |
* Missing space in SpecialPage.php
* Raising z-index of .suggestions (when used in a jQuery UI modal box the suggestion list appeared behind the modal instead of on top (ui modal has z-index: 1000; )
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/80981
|
|
|
|
|
|
|
| |
And while we're at it... update a random assortment of code using wfEmptyMsg to use the new wfMessage class and our exists/isBlank/isDisabled methods.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/80248
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/80004
|
|
|
|
|
|
|
| |
any extensions
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/79643
|
|
|
|
|
|
|
|
|
| |
instantiate a variable-length constructor in php 5.1.3 and up, and falls
back to the old, ugly, manual method that was in the old wfCreateObject
function. The instances in the core have been replaced.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/79504
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/79037
|
|
|
|
|
|
|
|
|
| |
to index.php?oldid=###.
Also refactor SpecialPage::getRedirectQuery() to return an associative array to pass to wfArrayToCGI(), rather than bodging the query string together internally.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/79036
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78793
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* QueryPage now uses array-based query building instead of raw SQL
* Converted all QueryPage-based special pages that were using old-style wfSpecialFoo functions to new-style SpecialPage subclasses; this is possible because QueryPage is changed to extend SpecialPage
* Backward compatibility for extensions is partly preserved: getSQL() is fallen back on for QueryPage subclasses that don't implement getQueryInfo(), but getOrder() will be ignored (implement getOrderFields() instead). This also means that dual compatibility (1.18 compat and b/c with pre-1.18) is trivial
Extension changes will be merged after this commit.
These changes make it easier to write an API module for QueryPages (bug 14869); this wasn't done in the branch but will be done in trunk soon.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/78786
|