[Wikidata-bugs] [Maniphest] T311409: Wikibase needs special handling for translatable pages

2024-03-28 Thread Michael
Michael added a project: Wikidata Sitelinks.

TASK DETAIL
  https://phabricator.wikimedia.org/T311409

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: Tacsipacsi, Lucas_Werkmeister_WMDE, Aklapper, Nikerabbit, 
Danny_Benjafield_WMDE, S8321414, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, KimKelting, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T311409: Wikibase needs special handling for translatable pages

2023-10-29 Thread Tacsipacsi
Tacsipacsi added a comment.


  What about adding a hook to `SiteLinkTable::getItemIdForLink` that allows 
Translate to fake the item ID (by providing the item ID of the translatable 
page)? It would make translations of connected pages work the same way as the 
translatable pages themselves: not appearing in Special:UnconnectedPages; 
showing interlanguage links; allowing access to Wikidata data without having to 
use `mw.wikibase.getEntityIdForTitle()` in Lua; etc. (Maybe the hook should run 
only if there is no data in the database, i.e. only allow adding virtual 
sitelinks to pages that have no real sitelinks, and don’t allow 
changing/removing real sitelinks.)

TASK DETAIL
  https://phabricator.wikimedia.org/T311409

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Tacsipacsi
Cc: Tacsipacsi, Lucas_Werkmeister_WMDE, Aklapper, Nikerabbit, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T311409: Wikibase needs special handling for translatable pages

2022-07-03 Thread Nikerabbit
Nikerabbit added a comment.


  ParserOutput has methods for page props (stored in the db) and extension 
data. (not stored in the db) Translate already sets latter for translation 
pages: 
https://gerrit.wikimedia.org/g/mediawiki/extensions/Translate/+/d7618b5924c6476cabebe8eec2dcb544a763fd87/tag/PageTranslationHooks.php#103

TASK DETAIL
  https://phabricator.wikimedia.org/T311409

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikerabbit
Cc: Lucas_Werkmeister_WMDE, Aklapper, Nikerabbit, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T311409: Wikibase needs special handling for translatable pages

2022-06-27 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  The output of Special:UnconnectedPages is determined by the 
`unexpectedUnconnectedPage` page prop, which 
`ClientParserOutputDataUpdater::setUnexpectedUnconnectedPage()` sets for any 
content that is neither
  
  - connected to an item, nor
  - a redirect, nor
  - has the `expectedUnconnectedPage` page prop set.
  
  I guess we could insert a hook here, so that Translate can tell Wikibase to 
not consider the page “unexpected(ly) unconnected”. Or is there a relevant 
standard method directly on the `Content` or `ParserOutput`?

TASK DETAIL
  https://phabricator.wikimedia.org/T311409

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Nikerabbit, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T311409: Wikibase needs special handling for translatable pages

2022-06-27 Thread Nikerabbit
Nikerabbit added a subtask: T304978: Remove translation pages from 
UnconnectedPages and related API.

TASK DETAIL
  https://phabricator.wikimedia.org/T311409

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikerabbit
Cc: Aklapper, Nikerabbit, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T311409: Wikibase needs special handling for translatable pages

2022-06-27 Thread Nikerabbit
Nikerabbit created this task.
Nikerabbit added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  See T304978: Remove translation pages from UnconnectedPages and related API 
 for an user report. What is the 
best way we can tell Wikibase about translatable pages, so that it doesn't for 
example list translation pages as unconnected pages?

TASK DETAIL
  https://phabricator.wikimedia.org/T311409

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nikerabbit
Cc: Aklapper, Nikerabbit, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org