Last modified: 2012-09-27 01:11:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T27722, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25722 - Non-existent file namespace pages have a "edit" tab instead of a "create" tab
Non-existent file namespace pages have a "edit" tab instead of a "create" tab
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
http://en.wikipedia.org/w/index.php?t...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-31 09:21 UTC by Rehman
Modified: 2012-09-27 01:11 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rehman 2010-10-31 09:21:56 UTC

    
Comment 1 Niklas Laxström 2010-10-31 09:41:19 UTC
Forgot to add an description?
Comment 2 Rehman 2010-10-31 09:46:14 UTC
Sorry it the first time I'm using bugzulla. I have copied the original proposal from Wikipedia (copied from: http://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_%28technical%29&oldid=393945185#Page_tabs):

In the "File:" namespace (using the current new Vector theme), we used to have tabs like (in the respective colours):

1. For a file that exists: <font color="Blue">'''File'''</font>, <font color="Blue">'''Discussion'''</font>, <font color="Blue">'''Read'''</font>, <font color="Blue">'''Edit'''</font>, <font color="Blue">'''View history'''</font>

2. For a file that doesn't exist: <font color="Red">'''File'''</font>, <font color="Red">'''Discussion'''</font>, <font color="Blue">'''Create'''</font> <p>These tabs were then changed to:

3. For a file that exists: <font color="Blue">'''File'''</font>, <font color="Blue">'''Talk'''</font>, <font color="Blue">'''Read'''</font>, <font color="Blue">'''Edit'''</font>, <font color="Blue">'''History'''</font>

4. For a file that doesn't exist: <font color="Red">'''File'''</font>, <font color="Red">'''Talk'''</font>, <font color="Blue">'''Edit'''</font>

For an editor who frequently works within the File: namespace, the new colouring could be quite misleading and wastes valuable time. In sample 4, I propose renaming the blue "Edit" tab to "Create" as it was before. If this needs too much work across multiple namespaces, then at least recolour it to red.

Kind regards,
Rehman
Comment 3 Bawolff (Brian Wolff) 2010-10-31 16:08:52 UTC
I'm Changing summary to be more specific (hopefully I understood you right).


Trying a random page... http://en.wikipedia.org/wiki/File:Fdbaskdfsajbjkdsajkdsf.jpg

I see a blue tab labelled "create". Can you give a link to a page where your issue occurs?
Comment 4 Derk-Jan Hartman 2010-11-01 00:39:03 UTC
Perhaps Rehman, you do not use the interface language "English", but one of the English variants ?
Comment 5 Rehman 2010-11-01 01:35:17 UTC
@Derk: Yes, I use EN-UK.

@Bawolff: Its probably because of the language variant, as Derk said.

Cant we make it to show a red "Create" on all English variants (or maybe in all languages (translated of course))?
Comment 6 Bawolff (Brian Wolff) 2010-11-01 10:55:18 UTC
(In reply to comment #5)
> @Derk: Yes, I use EN-UK.
> 
> @Bawolff: Its probably because of the language variant, as Derk said.
> 
> Cant we make it to show a red "Create" on all English variants (or maybe in all
> languages (translated of course))?

Still not seeing the error: http://en.wikipedia.org/wiki/File:Fdbaskdfsajbjkdsajkdsf.jpg?uselang=en-gb (I presume you meant en-GB since en-UK is not a lang code). If it is an issue with using an english 'variant' this is something that should probably be taken up with the translate wiki people. (But I don't think it is as I can't reproduce it)
Comment 7 Rehman 2010-11-01 11:08:31 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > @Derk: Yes, I use EN-UK.
> > 
> > @Bawolff: Its probably because of the language variant, as Derk said.
> > 
> > Cant we make it to show a red "Create" on all English variants (or maybe in all
> > languages (translated of course))?
> 
> Still not seeing the error:
> http://en.wikipedia.org/wiki/File:Fdbaskdfsajbjkdsajkdsf.jpg?uselang=en-gb (I
> presume you meant en-GB since en-UK is not a lang code). If it is an issue with
> using an english 'variant' this is something that should probably be taken up
> with the translate wiki people. (But I don't think it is as I can't reproduce
> it)

Well, in Special:Preferences in en.wiki, the language variant I am using is no doubt called "en-GB - British English".

And in your sample file link above, I clearly see a blue "Edit" tab... I can provide a screen snapshot if there is a way...
Comment 8 Bawolff (Brian Wolff) 2010-11-01 12:24:37 UTC
(In reply to comment #7)
> 
> Well, in Special:Preferences in en.wiki, the language variant I am using is no
> doubt called "en-GB - British English".
> 
> And in your sample file link above, I clearly see a blue "Edit" tab... I can
> provide a screen snapshot if there is a way...

Are you using any custom css or js that would change the contents of the tab?
Comment 9 Rehman 2010-11-01 12:46:34 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > 
> > Well, in Special:Preferences in en.wiki, the language variant I am using is no
> > doubt called "en-GB - British English".
> > 
> > And in your sample file link above, I clearly see a blue "Edit" tab... I can
> > provide a screen snapshot if there is a way...
> 
> Are you using any custom css or js that would change the contents of the tab?

I barely got the posting of this bug right, I'm sure I don't use any "custom" css or js (whatever thats supposed to mean) to change anything ;)

I use three different PCs, all three with Firefox 3.6.12, and each with:
1. XP Professional x32
2. 7 Home Premium x32
3. 7 Professional x64

But guess what I discovered, it shows a blue "Create" in Internet Explorer 8.0.6, on my XP (haven't tested the other OSs). Now why is that weird?
Comment 10 Bawolff (Brian Wolff) 2010-11-01 17:32:46 UTC
>I barely got the posting of this bug right, I'm sure I don't use any "custom"
>css or js (whatever thats supposed to mean) to change anything ;)

Does the bug still appear logged out (Any custom css/js you may use, for example if you have something checked in the gadgets section of [[special:preferences]] won't apply to you if you're logged out, so checking if it happens when logged out is a good way to narrow it down).

>But guess what I discovered, it shows a blue "Create" in Internet Explorer
>8.0.6, on my XP (haven't tested the other OSs). Now why is that weird?

That is weird. I'm testing on firefox 3.0.6 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009061212 Iceweasel/3.0.6 (Debian-3.0.6-1)) in case anyone wonders (not that it should matter).
Comment 11 Rehman 2010-11-02 00:35:53 UTC
(In reply to comment #10)

> Does the bug still appear logged out (Any custom css/js you may use, for
> example if you have something checked in the gadgets section of
> [[special:preferences]] won't apply to you if you're logged out, so checking if
> it happens when logged out is a good way to narrow it down).

Tried when logged out, theres nothing in the "Create"/"Edit" area, as it should be... And the "File" and "Talk" are also red.

Assuming you mean css/js as the gadgets in prefs, I unchecked all the check boxes at preferences/gadgets, and... There is a blue "Create"!

Then I rechecked/unchecked each to find which causes the problem, but it seems re-enabling anything I used "Gadgets" would cause it to change back to a blue "Edit"...
Comment 12 Krinkle 2010-11-02 01:12:29 UTC
(In reply to comment #11)
> boxes at preferences/gadgets, and... There is a blue "Create"!
> 
> Then I rechecked/unchecked each to find which causes the problem, but it seems
> re-enabling anything I used "Gadgets" would cause it to change back to a blue
> "Edit"...

It would be helpfull narrow-down which Gadget on en.wikipedia is causing this.
Do so by unchecking everything, clearing (see [[MediaWiki:Clearyourcache]] to learn how) your cache, and verifying that the link correctly reads "Create" in red.

Then enable one on of the gadgets you used to have and clear cache again and refresh the file-page again, and so forth untill it goes wrong.
Comment 13 Rehman 2010-11-02 05:50:09 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > boxes at preferences/gadgets, and... There is a blue "Create"!
> > 
> > Then I rechecked/unchecked each to find which causes the problem, but it seems
> > re-enabling anything I used "Gadgets" would cause it to change back to a blue
> > "Edit"...
> 
> It would be helpfull narrow-down which Gadget on en.wikipedia is causing this.
> Do so by unchecking everything, clearing (see [[MediaWiki:Clearyourcache]] to
> learn how) your cache, and verifying that the link correctly reads "Create" in
> red.
> 
> Then enable one on of the gadgets you used to have and clear cache again and
> refresh the file-page again, and so forth untill it goes wrong.

Yup, thats what I did, as I said in Comment-11. Enabling anything causes the problem...
Comment 14 Bawolff (Brian Wolff) 2010-11-02 13:57:03 UTC
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > > boxes at preferences/gadgets, and... There is a blue "Create"!
> > > 
> > > Then I rechecked/unchecked each to find which causes the problem, but it seems
> > > re-enabling anything I used "Gadgets" would cause it to change back to a blue
> > > "Edit"...
> > 
> > It would be helpfull narrow-down which Gadget on en.wikipedia is causing this.
> > Do so by unchecking everything, clearing (see [[MediaWiki:Clearyourcache]] to
> > learn how) your cache, and verifying that the link correctly reads "Create" in
> > red.
> > 
> > Then enable one on of the gadgets you used to have and clear cache again and
> > refresh the file-page again, and so forth untill it goes wrong.
> 
> Yup, thats what I did, as I said in Comment-11. Enabling anything causes the
> problem...

Can you give a specific example of one gadget, where having that, and that alone enabled causes the issue. I just tried a random one, and the behaviour did not occur. I can't imagine you tested all 32 different choices to say that any of them cause the issue.
Comment 15 Rehman 2010-11-02 13:59:27 UTC
(In reply to comment #14)
> Can you give a specific example of one gadget, where having that, and that
> alone enabled causes the issue. I just tried a random one, and the behaviour
> did not occur. I can't imagine you tested all 32 different choices to say that
> any of them cause the issue.

Yes: Twinkle, refTools, Friendly...
Comment 16 Bawolff (Brian Wolff) 2010-11-02 14:11:09 UTC
Confirmed. issue is caused by friendly (and only friendly, the other gadgets, including refTools and Twinkle do not cause the issue. But Twinkle and friendly seem to have merged, so I don't know what the deal with that is).

Anyways, closing as INVALID (since this is a user script issue, not a mediawiki issue) Please continue this discussion at http://en.wikipedia.org/wiki/Wikipedia_talk:Twinkle/Bugs#TW-B-412_.28new.29
Comment 17 Rehman 2010-11-02 14:12:43 UTC
(In reply to comment #16)
> Confirmed. issue is caused by friendly (and only friendly, the other gadgets,
> including refTools and Twinkle do not cause the issue. But Twinkle and friendly
> seem to have merged, so I don't know what the deal with that is).
> 
> Anyways, closing as INVALID (since this is a user script issue, not a mediawiki
> issue) Please continue this discussion at
> http://en.wikipedia.org/wiki/Wikipedia_talk:Twinkle/Bugs#TW-B-412_.28new.29

Thank you for your time. Kind regards,
Rehman

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links