[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2014-06-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #12 from Brad Jorsch  ---
(In reply to Bawolff (Brian Wolff) from comment #11)
> In OutputPage, we use the following:
> 
> list( $canonicalSpecialPageName, /*...*/ ) =
> SpecialPageFactory::resolveAlias(
> $title->getDBkey() );
> 
> to populate $wgCanonicalSpecialPageName in js, which is probably what's
> being asked for.

SpecialPageFactory::resolveAlias returns the "realname" value.

But there's nothing forcing that realname to actually work as
[[Special:Realname]], it just relies on the realname being listed in the 'en'
version of $specialPageAliases and every other language falling back to 'en'
eventually.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2014-06-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Bawolff (Brian Wolff)  changed:

   What|Removed |Added

 CC||bawolff...@gmail.com

--- Comment #11 from Bawolff (Brian Wolff)  ---
(In reply to Brad Jorsch from comment #10)
> On the one hand, it looks like there *isn't* a "canonical" name. "realname"
> isn't guaranteed to work at all.
> 
> But if every language falls back to 'en', then the aliases defined for 'en'
> are all "canonical". And all the 'en' alias lists seem to include the
> "realname".

In OutputPage, we use the following:

list( $canonicalSpecialPageName, /*...*/ ) =
SpecialPageFactory::resolveAlias(
$title->getDBkey() );

to populate $wgCanonicalSpecialPageName in js, which is probably what's being
asked for.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2014-06-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Brad Jorsch  changed:

   What|Removed |Added

   Priority|High|Low
 CC||bjor...@wikimedia.org

--- Comment #10 from Brad Jorsch  ---
On the one hand, it looks like there *isn't* a "canonical" name. "realname"
isn't guaranteed to work at all.

But if every language falls back to 'en', then the aliases defined for 'en' are
all "canonical". And all the 'en' alias lists seem to include the "realname".

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2014-01-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #9 from db  ---
(In reply to comment #6)
> (In reply to comment #5)
> Magic words:
>  * Note to translators:
>  *  
> Please include the English words as synonyms.  This allows people
>  *  
> from other wikis to contribute more easily.
> 
Didn't we discuss this
> elsewhere and resolved to unconditionally add the
English canonical word?

This was already done with r81960

This bug was about adding a indicator in the api result to see the canonical
form which will work in all wikis. This can also be done by adding a language
attribute about the language, where the alias came from, than the alias from
"en" can be used as canonical form.

Or the bug gets closed, because the realname can be used, but I have not
tested, if that works for all special pages.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-12-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Aaron Schulz  changed:

   What|Removed |Added

 CC||schulzaaro...@yahoo.de

--- Comment #9 from Aaron Schulz  2011-12-06 01:27:15 
UTC ---
Fixed in r54567.

Please update and add explained comment.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-09-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Niklas Laxström  changed:

   What|Removed |Added

   Keywords||i18n
 CC||niklas.laxst...@gmail.com

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-08-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Bug 28671 depends on bug 28676, which changed state.

Bug 28676 Summary: Add a way to get canonical aliases for Special Pages
https://bugzilla.wikimedia.org/show_bug.cgi?id=28676

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-08-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Mark A. Hershberger  changed:

   What|Removed |Added

 AssignedTo|roan.katt...@gmail.com  |wikibugs-l@lists.wikimedia.
   ||org

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Mark A. Hershberger  changed:

   What|Removed |Added

   Keywords|triage  |

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Mark A. Hershberger  changed:

   What|Removed |Added

   Keywords||triage

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Mark A. Hershberger  changed:

   What|Removed |Added

   Priority|Unprioritized   |High
 CC||m...@everybody.org

--- Comment #8 from Mark A. Hershberger  2011-04-23 
17:40:43 UTC ---
(In reply to comment #6)
> Didn't we discuss this elsewhere and resolved to unconditionally add the
> English canonical word?

That makes a lot of sense.  Use this bug or one of the others that Reedy filed
for tracking progress on it?

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #7 from Reedy  2011-04-23 16:44:38 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > Magic words:
> >  * Note to translators:
> >  *   Please include the English words as synonyms.  This allows people
> >  *   from other wikis to contribute more easily.
> > 
> Didn't we discuss this elsewhere and resolved to unconditionally add the
> English canonical word?

If that's the case, it means half of this original bug is invalid then...

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #6 from Bryan Tong Minh  2011-04-23 
16:28:49 UTC ---
(In reply to comment #5)
> Magic words:
>  * Note to translators:
>  *   Please include the English words as synonyms.  This allows people
>  *   from other wikis to contribute more easily.
> 
Didn't we discuss this elsewhere and resolved to unconditionally add the
English canonical word?

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Reedy  changed:

   What|Removed |Added

 Depends on||28676

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Reedy  changed:

   What|Removed |Added

   Severity|normal  |enhancement

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

Reedy  changed:

   What|Removed |Added

 Depends on||28675

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #5 from Reedy  2011-04-23 14:59:47 UTC ---
Magic words:
 * Note to translators:
 *   Please include the English words as synonyms.  This allows people
 *   from other wikis to contribute more easily.

Special pages
Aliases from the fallback
 * localisation (usually English) will be included by default.

The magic word ones aren't guaranteed... And the english would only be there as
fallback, unless it's added..

Gonna log a couple of dependency bugs for this.. It's a bit of a farce

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #4 from duplicate...@googlemail.com 2011-04-23 13:22:15 UTC ---
(In reply to comment #3)
>   
> 
>   Zufällige_Seite
>   Random
>   RandomPage
> 
> Why not...?

Because the canonical one is Random not
RandomPage, it should work with RandomPage, but it only an
english alias.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #3 from Reedy  2011-04-23 13:09:22 UTC ---
  

  Zufällige_Seite
  Random
  RandomPage


Why not...?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #2 from duplicate...@googlemail.com 2011-04-23 13:07:01 UTC ---
(In reply to comment #1)
> For the specialpages, surely realname is the canonical one?
>   
> 
>   MediaWiki-Systemnachrichten
>   AllMessages
> 
>   

No, that does not work for Randompage

> Same for name on magicword?
>   
> 
>   INITIAL_GROSS:
>   UCFIRST:
> 
>   

That does not work for redirect or img_alt

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 28671] indicate canonical alias on meta=siteinfo&siprop=magicwords|specialpagealiases

2011-04-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=28671

--- Comment #1 from Reedy  2011-04-23 11:22:12 UTC ---
For the specialpages, surely realname is the canonical one?

  

  MediaWiki-Systemnachrichten
  AllMessages

  

Same for name on magicword?

  

  INITIAL_GROSS:
  UCFIRST:

  

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

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l