https://bugzilla.wikimedia.org/show_bug.cgi?id=41836

--- Comment #6 from Krinkle <[email protected]> 2012-11-09 12:37:50 UTC ---
(In reply to comment #5)
> Design-wise I don't see how this is a good idea at all. Other than cosmetic
> differences, what's the difference between article?action=foo and
> Special:foo/article? If anything, the distinction is separate for a good
> reason. Actions should be reserved for just that, actions, i.e., operations
> that affect a singular article, such as edit/move/view/delete/undelete/etc.

It is actually the opposite. To the user the difference is just url cosmetics,
but that's quite irrelevant in this discussion. Though the pages for an action
and a special page look very similar, they are built in very different ways.
And the problems we had with the tab and toolbox adapting to the correct page
shows this problem.

We're talking about the backend usage of using a SpecialPage vs. Action
subclasses. The proposed situation here is that over the years the differences
for having these separately (where Actions were formerly just methods on the
Article class) have reduced if not, become no longer applicable.

For example the following ones are all related to a page (query):
* Special:WhatLinksHere
* action=view
* action=history
* action=info

And these as well (more manipulations of state, less information retrieval):
* action=delete
* Special:Undelete
* Special:MovePage
* action=purge
* action=edit
* action=protect

So it makes sense to have one back-end interface for pages, and have a method
for setting the page context (which would affect the tab bar, page title and
toolbox).

One interesting difference is that actions don't take parameters (you can't go
to action=history and enter a page name, but you can go to
Special:WhatLinksHere and enter a page name).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to