[Wikidata-bugs] [Maniphest] [Created] T76703: Constraint check for duplicate label and description gets checked with an old revision

2014-12-04 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: MediaWiki-extensions-WikibaseRepository. Fomafix changed Security from none to none. TASK DESCRIPTION https://www.wikidata.org/wiki/Q2241863?uselang=de contains Label: Schloss Kirchberg (Kirchberg an der

[Wikidata-bugs] [Maniphest] [Commented On] T66176: Patrol link is misplaced when content contains uncleared floating elements

2014-12-11 Thread Fomafix
Fomafix added a comment. In Wikibase the problem is now mitigated because it uses .wikibase-entityview { clear: both; float: left; width: 100%; } In MediaWiki core the problem still exist when the content contains an uncleared floating element. TASK DETAIL https

[Wikidata-bugs] [Maniphest] [Closed] T86754: siteidtointerwiki gadget removes wikidatawiki completely

2015-01-14 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix closed this task as Resolved. Fomafix claimed this task. Fomafix added a comment. https://www.wikidata.org/w/index.php?title=MediaWiki:Gadget-SiteIdToInterwiki.jsdiff=188079498oldid=187899012 TASK DETAIL https://phabricator.wikimedia.org/T86754

[Wikidata-bugs] [Maniphest] [Created] T87096: Diff of a qualifier shows the value of the new property instead of the old property

2015-01-17 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: MediaWiki-extensions-WikibaseRepository. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Screenshot of the diff page https://www.wikidata.org/w/index.php?title=Q230036curid=224044diff

[Wikidata-bugs] [Maniphest] [Changed Subscribers] T87016: Do not show move link while adding a site link

2015-01-17 Thread Fomafix
Fomafix added a subscriber: Fomafix. TASK DETAIL https://phabricator.wikimedia.org/T87016 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Changed CC] T85804: JS error: unrecognized expression: unsupported pseudo: wikibase-statementview on old revisions of items

2015-01-10 Thread Fomafix
Fomafix added a subscriber: Fomafix. TASK DETAIL https://phabricator.wikimedia.org/T85804 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Created] T85752: Not allowed attributes on the edit link

2015-01-04 Thread Fomafix
Fomafix created this task. Fomafix claimed this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: MediaWiki-extensions-WikibaseClient. TASK DESCRIPTION http://validator.w3.org/check?uri=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWikipedia%3ASandbox shows: * Attribute

[Wikidata-bugs] [Maniphest] [Commented On] T93764: If a particular property is only used in a reference or qualifier, then the value does not get linked by authority control gadget

2015-03-24 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix added a comment. I there a real need for this? TASK DETAIL https://phabricator.wikimedia.org/T93764 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign username. EMAIL PREFERENCES https

[Wikidata-bugs] [Maniphest] [Created] T88112: Raw HTML code and unreplaced $1 in error message after revert on Wikidata

2015-01-30 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: MediaWiki-extensions-WikibaseRepository. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION I wanted to revert this change: https://www.wikidata.org/w/index.php?title=Q14737094curid

[Wikidata-bugs] [Maniphest] [Created] T96248: Edit button keeps fixed positioned after canceling

2015-04-16 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added projects: Wikidata, Easy. Restricted Application added a subscriber: Aklapper. TASK DESCRIPTION Steps to reproduce: * Load https://www.wikidata.org/wiki/Q4115189 {F114730} * Click on //[edit]// and scroll down

[Wikidata-bugs] [Project] [Updated] Wikidata-Gadgets

2015-06-03 Thread Fomafix
Fomafix added a member: Fomafix. PROJECT DETAIL https://phabricator.wikimedia.org/project/profile/1278/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix, Bene, Mbch331, Tobi_WMDE_SW, Ricordisamoa, Wikidata-bugs, Addshore, Sjoerddebruin

[Wikidata-bugs] [Maniphest] [Created] T110024: Error: Required option not specified properly when adding reference in one step

2015-08-24 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: Wikidata. Herald added a subscriber: Aklapper. TASK DESCRIPTION Steps to reproduce: * [add] a new statement * expand 0 references * click on [add reference] In the JavaScript console occurs

[Wikidata-bugs] [Maniphest] [Commented On] T54564: Allow sitelinks to wikipedia and wikivoyage redirect pages to fix the 'Bonnie and Clyde problem'

2015-07-28 Thread Fomafix
Fomafix added a comment. Feel free to create an article See [[kilowatt hour]] It has the nearly the same content as #REDIRECT [[kilowatt hour]] TASK DETAIL https://phabricator.wikimedia.org/T54564 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Commented On] T55466: using back button in browser loads old version

2015-08-09 Thread Fomafix
Fomafix added a comment. I still can reproduce this behavior on www.wikidata.org with Firefox 39: - Load an item. - Change the label. - Load the page history. - Use browser's back-button - The item is shown again, but without the changed label. TASK DETAIL https://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Commented On] T55466: using back button in browser loads old version

2015-08-10 Thread Fomafix
Fomafix added a comment. Now I tested with Chrome and there the label kept changed. TASK DETAIL https://phabricator.wikimedia.org/T55466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Tobi_WMDE_SW, Jonas, Bene, JeroenDeDauw, gerritbot

[Wikidata-bugs] [Maniphest] [Commented On] T54564: Allow sitelinks to wikipedia and wikivoyage redirect pages to fix the 'Bonnie and Clyde problem'

2015-07-27 Thread Fomafix
Fomafix added a comment. The discussion about items without sitelinks is off topic. The topic is items with sitelinks to redirects. Here is an other example which demonstrates that sitelinks to redirects can solve linking problems: Wikidata has Q182098 https://www.wikidata.org/wiki/Q182098

[Wikidata-bugs] [Maniphest] [Closed] T39459: Don't try to add labels in non-existing languages: restrict to Language::isKnownLanguageTag

2015-07-21 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix closed this task as Resolved. Fomafix claimed this task. Fomafix added a comment. The API and the special pages like https://www.wikidata.org/wiki/Special:SetLabelDescriptionAliases check for existence of the language code. A label, a description

[Wikidata-bugs] [Maniphest] [Commented On] T106456: Editing label and description simultaneously conflicts with existing items which have the new label and old description

2015-07-21 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix added a comment. When I wrote https://phabricator.wikimedia.org/T76703 the user interface didn't support simultaneous editing. The simultaneous editing is currently just an UI gimmick. On saving there are several separate request for every value

[Wikidata-bugs] [Maniphest] [Reopened] T39459: Don't try to add labels in non-existing languages: restrict to Language::isKnownLanguageTag

2015-07-21 Thread Fomafix
Fomafix reopened this task as Open. Fomafix added a comment. Herald added a subscriber: Aklapper. Reopen. The task description is still not fixed. TASK DETAIL https://phabricator.wikimedia.org/T39459 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Wikidata-bugs] [Maniphest] [Up For Grabs] T39459: Don't try to add labels in non-existing languages: restrict to Language::isKnownLanguageTag

2015-07-21 Thread Fomafix
Fomafix placed this task up for grabs. TASK DETAIL https://phabricator.wikimedia.org/T39459 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Aklapper, Fomafix, Nikola_Smolenski, adrianheine, Wikidata-bugs, GPHemsley, siebrand, jeblad

[Wikidata-bugs] [Maniphest] [Commented On] T55466: using back button in browser loads old version

2015-07-24 Thread Fomafix
Fomafix added a comment. I retested removing of a sitelink. It does not replayed when using the back button. TASK DETAIL https://phabricator.wikimedia.org/T55466 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: JeroenDeDauw, gerritbot

[Wikidata-bugs] [Maniphest] [Commented On] T55466: using back button in browser loads old version

2015-07-24 Thread Fomafix
Fomafix added a comment. I just tested with removing a sitelink and with adding statement on an other item. In both tests I opened the history and click on back in the browser. The sitelink change was replayed, the statement change was not replayed. Can someone reproduce this behavior? What

[Wikidata-bugs] [Maniphest] [Commented On] T85340: The messages Wikibase-validator-sitelink-conflict and Wikibase-undo-title show HTML when used as an error after trying to reset an item page

2015-07-15 Thread Fomafix
Fomafix added a comment. The HTML code is still in the message: F192393: T85340.png https://phabricator.wikimedia.org/F192393 Can this problem solved by replacing in EditEntityAction.php https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikibase.git

[Wikidata-bugs] [Maniphest] [Commented On] T105637: TypeError: context is undefined when searchSuggest.js is used on Wikidata

2015-07-13 Thread Fomafix
Fomafix added a comment. The problem is in repo/resources/wikibase.ui.entitysearch.js in extension Wikibase. Here the context gets removed: $.removeData( input, 'suggestionsContext' ); I guess this problem is independent to https://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Reopened] T51024: Removal of de-formal from allowed language for labels

2015-07-20 Thread Fomafix
Fomafix reopened this task as Open. Fomafix added a comment. Herald added a subscriber: Aklapper. Herald added a project: Wikidata. Reopen: https://phabricator.wikimedia.org/T38430 is resolved and de-formal is still not usable as user interface language, because it shows an own label

[Wikidata-bugs] [Maniphest] [Commented On] T51024: Removal of de-formal from allowed language for labels

2015-07-20 Thread Fomafix
Fomafix added a comment. In https://phabricator.wikimedia.org/T51024#1465675, @Nemo_bis wrote: it shows an own label, description and alias in the language 'de-formal' Can you be so kind as to point out exactly where, in your example? Current result with `uselang=de-formal` https

[Wikidata-bugs] [Maniphest] [Edited] T59706: getLanguageCode() differ from wgContentLanguage of the target wiki

2015-07-20 Thread Fomafix
Fomafix edited the task description. Fomafix set Security to None. Herald added a project: Wikidata. TASK DETAIL https://phabricator.wikimedia.org/T59706 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: liangent, He7d3r, Fomafix, Unknown

[Wikidata-bugs] [Maniphest] [Updated] T105430: Ensure that language tags generated in RDF output are standard language names

2015-07-20 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix added a comment. Converting the MediaWiki internal language codes to BCP 47 conform language codes is a valid task. Especially for the RDF and the HTML output. This should be done in all MediaWiki projects and extensions, not only in Wikidata. Here

[Wikidata-bugs] [Maniphest] [Commented On] T59706: getLanguageCode() differ from wgContentLanguage of the target wiki

2015-07-20 Thread Fomafix
Fomafix added a comment. The primary identifier to distinguish the content is ´simplewiki´ and ´enwiki´. TASK DETAIL https://phabricator.wikimedia.org/T59706 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Smalyshev, liangent, He7d3r

[Wikidata-bugs] [Maniphest] [Updated] T105430: Ensure that language tags generated in RDF output are standard language names

2015-07-20 Thread Fomafix
Fomafix added a comment. Not only the RDF export must have BCP 47 conform language codes, the HTML attribute lang also must have a BCP 47 conform language code. Simple https://simple.wikipedia.org/ already uses the correct language code ´en´ for the content (`wgContentLanguage`). This language

[Wikidata-bugs] [Maniphest] [Updated] T105430: Ensure that language tags generated in RDF output are standard language names

2015-07-21 Thread Fomafix
Fomafix added a comment. Please do not quote and comment parts of the sentence without the context. I created https://phabricator.wikimedia.org/T106367 for some special not BCP 47 conform language codes. Please add more codes there if you find some more. I implemented this in `wfBCP47

[Wikidata-bugs] [Maniphest] [Commented On] T51024: Removal of de-formal from allowed language for labels

2015-07-21 Thread Fomafix
Fomafix added a comment. This is not just a missing language fallback for the visualization. Labels, descriptions and aliases with the language code `de-formal` should eliminated completely. It is still possible to add such values via API: https://www.wikidata.org/w/index.php?title

[Wikidata-bugs] [Maniphest] [Updated] T105430: Ensure that language tags generated in RDF output are standard language names

2015-07-21 Thread Fomafix
Fomafix added a comment. In https://phabricator.wikimedia.org/T105430#1466282, @Smalyshev wrote: This language code should be used for the sitelinks. In HTML and in the RDF export That would lead to the situation where links to Simple English wiki and to English wiki

[Wikidata-bugs] [Maniphest] [Reopened] T44396: duplicate/invalid language codes

2015-07-21 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix reopened this task as Open. Fomafix added a comment. Herald added a subscriber: Aklapper. Reopened. It is not fixed. It is still possible to add unwanted values via API: - Description with language code `be-x-old`: https://www.wikidata.org/w

[Wikidata-bugs] [Maniphest] [Created] T116472: [Bug] URLs contain unescaped

2015-10-24 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: MediaWiki-extensions-WikibaseView. Herald added a subscriber: Aklapper. Herald added a project: Wikidata. TASK DESCRIPTION https://www.wikidata.org/wiki/Q4115189 contains ```lang=html English

[Wikidata-bugs] [Maniphest] [Claimed] T116472: [Bug] URLs contain unescaped

2015-10-24 Thread Fomafix
Fomafix claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T116472 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: gerritbot, Mbch331, Aklapper, Fomafix, Wikidata-bugs, aude

[Wikidata-bugs] [Maniphest] [Created] T116475: Replace setlang

2015-10-24 Thread Fomafix
Fomafix created this task. Fomafix added projects: MediaWiki-extensions-WikibaseView, Wikidata. Herald added a subscriber: Aklapper. TASK DESCRIPTION Wikibase uses currently the URL parameter `setlang` in: * https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikibase.git

[Wikidata-bugs] [Maniphest] [Updated] T116475: Replace setlang

2015-10-24 Thread Fomafix
Fomafix added a blocked task: T111990: Deprecate setlang GET parameter. TASK DETAIL https://phabricator.wikimedia.org/T116475 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Aklapper, Wikidata-bugs, aude

[Wikidata-bugs] [Maniphest] [Edited] T116475: Replace setlang

2015-10-24 Thread Fomafix
Fomafix edited the task description. Fomafix set Security to None. TASK DETAIL https://phabricator.wikimedia.org/T116475 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Aklapper, Wikidata-bugs, aude

[Wikidata-bugs] [Maniphest] [Changed Subscribers] T53071: Utils::getLanguageCodes() should filter [[mw:Manual:$wgDummyLanguageCodes]] out

2015-11-10 Thread Fomafix
Fomafix added a subscriber: Fomafix. Herald added a subscriber: Aklapper. TASK DETAIL https://phabricator.wikimedia.org/T53071 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Aklapper, Fomafix, liangent, Wikidata-bugs, Addshore

[Wikidata-bugs] [Maniphest] [Created] T117358: Purge item on adding a label to a referenced item

2015-11-01 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: Wikidata. Herald added a subscriber: Aklapper. TASK DESCRIPTION Q1393232 references Q20470230 and showed in German //Necati Englisch// because Q20470230 had no German label. Now Q20470230 has a German

[Wikidata-bugs] [Maniphest] [Commented On] T111201: Post-Deployment discussion for Russian Wikivoyage

2015-11-04 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix added a comment. In https://phabricator.wikimedia.org/T111201#1784142, @Atsirlin wrote: > Bug resolved by adding > > .toctext {display: inline;} > > to Mediawiki:Common.css. Thanks to Andyrom75! The local definition must have a hig

[Wikidata-bugs] [Maniphest] [Lowered Priority] T105637: [Bug] "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2015-11-06 Thread Fomafix
Fomafix lowered the priority of this task from "High" to "Normal". Fomafix added a comment. Lower priority. It is just an error message, without loss of functionality. TASK DETAIL https://phabricator.wikimedia.org/T105637 EMAIL PREFERENCES https://phabricator.wikimedi

[Wikidata-bugs] [Maniphest] [Commented On] T102533: [Bug] Disallow (or resolve) dummy language codes.

2015-10-08 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix added a comment. Are there entries with "dummy" languages codes in Wikidata? Or are they already removed or replaced? TASK DETAIL https://phabricator.wikimedia.org/T102533 EMAIL PREFERENCES https://phabricator.wikimedia.org/sett

[Wikidata-bugs] [Maniphest] [Created] T115980: Gadget Merge.js generates warning "Unrecognized value for parameter 'ignoreconflicts': label"

2015-10-20 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: Wikidata-Gadgets. Herald added a subscriber: Aklapper. Herald added a project: Wikidata. TASK DESCRIPTION The Wikidata gadget [[ https://www.wikidata.org/wiki/MediaWiki:Gadget-Merge.js | Merge.js ]] uses

[Wikidata-bugs] [Maniphest] [Reopened] T115980: Gadget Merge.js generates warning "Unrecognized value for parameter 'ignoreconflicts': label"

2015-10-20 Thread Fomafix
Fomafix reopened this task as "Open". Fomafix added a comment. I guess this is complete independent to https://phabricator.wikimedia.org/T115892. The support for //ignoreconflicts: label// was removed in https://phabricator.wikimedia.org/rEWBA80f161f91fc221ef4af828aac75a9c8e10868406

[Wikidata-bugs] [Maniphest] [Commented On] T115892: Merging broken, doesn't move content or creates redirects

2015-10-19 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix added a comment. I could reproduce the problem with the gadget by merging Q15866980 <https://www.wikidata.org/wiki/Q15866980> to Q6702577 <https://www.wikidata.org/wiki/Q6702577>. The first POST actionwbmergeitems format

[Wikidata-bugs] [Maniphest] [Triaged] T115980: Gadget Merge.js generates warning "Unrecognized value for parameter 'ignoreconflicts': label"

2015-10-20 Thread Fomafix
Fomafix triaged this task as "Low" priority. Fomafix added a comment. Just a harmless warning. TASK DETAIL https://phabricator.wikimedia.org/T115980 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: matej_suchanek, Aklappe

[Wikidata-bugs] [Maniphest] [Closed] T115980: Gadget Merge.js generates warning "Unrecognized value for parameter 'ignoreconflicts': label"

2015-10-20 Thread Fomafix
Fomafix closed this task as "Resolved". Fomafix claimed this task. Fomafix added a comment. I removed the option `ignoreconflicts: 'label'` (diff <https://www.wikidata.org/w/index.php?title=MediaWiki:Gadget-Merge.js=15040602=260401549=260400365>). The warning in the API resp

[Wikidata-bugs] [Maniphest] [Commented On] T102533: [Bug] Disallow (or resolve) dummy language codes.

2015-10-10 Thread Fomafix
Fomafix added a comment. I think the deployment should start with block adding new labels, descriptions and aliases with dummy language codes. Then the bots can fix the current entries by replacing the right language code or removing the entry when the entry with the right language code

[Wikidata-bugs] [Maniphest] [Commented On] T44396: duplicate/invalid language codes

2015-08-25 Thread Fomafix
Fomafix added a comment. In https://phabricator.wikimedia.org/T44396#1467435, @Nemo_bis wrote: Isn't that T39459: Don't try to add labels in non-existing languages: restrict to Language::isKnownLanguageTag https://phabricator.wikimedia.org/T39459? No. https://phabricator.wikimedia.org

[Wikidata-bugs] [Maniphest] [Commented On] T62828: Special:SetAliases (or SpecialModifyTerm) should properly validate / normalize label/alias input

2015-09-05 Thread Fomafix
Fomafix added a comment. In https://phabricator.wikimedia.org/T62828#1611276, @Ricordisamoa wrote: > Set U+202F as alias: https://www.wikidata.org/wiki/?diff=247934139, the GUI > still works. The GUI still does not allow to edit or remove this alias:F2542759: T62828.2015-09-05.png

[Wikidata-bugs] [Maniphest] [Commented On] T44396: duplicate/invalid language codes

2015-08-25 Thread Fomafix
Fomafix added a comment. It is not possible to add a label/description/alias with language code xyzzy. Neither via GUI nor via API. When you try to do it, you get an error message. When you open the GUI with `uselang=xyzzy` you get a UI which gives you input elements for label/description

[Wikidata-bugs] [Maniphest] [Created] T120847: Use BCP 47 conform language codes for the HTML attribute lang

2015-12-08 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added projects: Wikidata, MediaWiki-extensions-WikibaseView, MediaWiki-extensions-WikibaseRepository. Herald added a subscriber: Aklapper. TASK DESCRIPTION The HTML attribute [[ http://www.w3.org/TR/html5/dom.html

[Wikidata-bugs] [Maniphest] [Commented On] T43103: initialization of the Language object is very heavy

2015-12-16 Thread Fomafix
Fomafix added a comment. In https://phabricator.wikimedia.org/T43103#1884553, @Nikerabbit wrote: > What version of MediaWiki? What storage backend? I no longer see high memory > consumption. - MediaWiki from the current git master version with SQLite. - The 1.5 GB footprint is after d

[Wikidata-bugs] [Maniphest] [Commented On] T43103: initialization of the Language object is very heavy

2015-12-16 Thread Fomafix
Fomafix added a comment. On my system the command > time echo 'foreach ( Language::fetchLanguageNames() as $l => $name ) { print > Language::factory( $l )->getHtmlCode(); }' | php maintenance/eval.php consumes with cleared file cache: real2m54.465s user2m1

[Wikidata-bugs] [Maniphest] [Changed Subscribers] T43103: initialization of the Language object is very heavy

2015-12-16 Thread Fomafix
Fomafix added a subscriber: Fomafix. Herald added a subscriber: Aklapper. TASK DETAIL https://phabricator.wikimedia.org/T43103 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Aklapper, Fomafix, Ricordisamoa, Jarekt, Purodha, Logicwiki

[Wikidata-bugs] [Maniphest] [Commented On] T105321: AuthorityControl gadget always uses globe:earth

2015-12-01 Thread Fomafix
Fomafix added a subscriber: Fomafix. Fomafix added a comment. The problem is in https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikidata.git/master/vendor%2Fdata-values%2Fjavascript%2Flib%2FglobeCoordinate%2FglobeCoordinate.GlobeCoordinate.js#L43 not in the gadget. TASK DETAIL https

[Wikidata-bugs] [Maniphest] [Created] T119856: getEntities generates warning Unrecognized parameter: 'dir'

2015-11-29 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: Wikibase-JavaScript-Api. Herald added a subscriber: Aklapper. Herald added a project: Wikidata. TASK DESCRIPTION Steps to reproduce: ```lang=js var api = new mw.Api(), repoApi = new wb.api.RepoApi

[Wikidata-bugs] [Maniphest] [Created] T123226: Duplicate watchers on merge

2016-01-11 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added a project: Wikidata. Herald added subscribers: StudiesWorld, Aklapper. TASK DESCRIPTION A move of a normal wiki page duplicates all watchers of the source page to the target page. It would be nice when merging

[Wikidata-bugs] [Maniphest] [Changed Subscribers] T125063: [Task] Remove universally bad language codes from the set of language codes available for monolingual text values

2016-01-28 Thread Fomafix
Fomafix added a subscriber: Fomafix. TASK DETAIL https://phabricator.wikimedia.org/T125063 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Fomafix, gerritbot, adrianheine, Aklapper, Wikidata-bugs, aude, Mbch331

[Wikidata-bugs] [Maniphest] [Changed Subscribers] T125073: [Story] Replace bad, but currently necessary language codes

2016-01-28 Thread Fomafix
Fomafix added a subscriber: Fomafix. TASK DETAIL https://phabricator.wikimedia.org/T125073 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Fomafix, adrianheine, Aklapper, Wikidata-bugs, aude, Mbch331

[Wikidata-bugs] [Maniphest] [Updated] T105637: [Bug] "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2016-02-23 Thread Fomafix
Fomafix removed a project: Wikidata-Gadgets. Fomafix added a comment. Not a bug in a gadget. TASK DETAIL https://phabricator.wikimedia.org/T105637 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Fomafix Cc: Jonas, JanZerebecki, Ricordisamoa

[Wikidata-bugs] [Maniphest] [Created] T124344: [Bug] $2 in description gets substituted

2016-01-21 Thread Fomafix
Fomafix created this task. Fomafix added a subscriber: Fomafix. Fomafix added projects: Wikidata, MediaWiki-extensions-WikibaseView. Herald added subscribers: StudiesWorld, Aklapper. TASK DESCRIPTION The string `$2` in the description gets substituted by `Label` in the HTML: https

[Wikidata-bugs] [Maniphest] [Commented On] T43103: initialization of the Language object is very heavy

2016-02-18 Thread Fomafix
Fomafix added a comment. I think the Language object is still very heavy. Maybe a new lightweight object just for the language code would be an improvement. TASK DETAIL https://phabricator.wikimedia.org/T43103 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel

[Wikidata-bugs] [Maniphest] [Commented On] T105321: AuthorityControl gadget always uses globe:earth

2016-04-06 Thread Fomafix
Fomafix added a comment. In https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikidata.git/master/vendor%2Fdata-values%2Fjavascript%2Flib%2FglobeCoordinate%2FglobeCoordinate.GlobeCoordinate.js#L142 if( this.getGlobe() !== otherGlobeCoordinate.getGlobe() ) { return false

[Wikidata-bugs] [Maniphest] [Commented On] T54564: Allow sitelinks to redirect pages to fix the 'Bonnie and Clyde problem'

2016-05-24 Thread Fomafix
Fomafix added a comment. This is a special case of the Bonnie and Clyde problem. This Bonnie and Clyde problem is: 1. Q219937 <https://www.wikidata.org/wiki/Q219937>: Bonnie and Clyde 2. Q2319886 <https://www.wikidata.org/wiki/Q2319886>: Bonnie Parker 3. Q33

[Wikidata-bugs] [Maniphest] [Commented On] T43103: initialization of the Language object is very heavy

2017-02-18 Thread Fomafix
Fomafix added a comment. Exactly. Is https://gerrit.wikimedia.org/r/331208 the right step into this direction? What are the next steps?TASK DETAILhttps://phabricator.wikimedia.org/T43103EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Rical

[Wikidata-bugs] [Maniphest] [Commented On] T43103: initialization of the Language object is very heavy

2017-02-12 Thread Fomafix
Fomafix added a comment. With https://gerrit.wikimedia.org/r/331208 it is suggested to introduce a new PHP class LanguageCode. This class can also take some of the code from the class Language. Maybe the class LanguageCode can be a lightweight part of the class Language with a better performance

[Wikidata-bugs] [Maniphest] [Closed] T116475: Replace setlang

2016-08-16 Thread Fomafix
Fomafix closed this task as "Resolved".Fomafix assigned this task to adrianheine.Fomafix added a comment. The parameter setlang has been removed in ab2dd237ba90763e7bbea393c1caa77c852ef619.TASK DETAILhttps://phabricator.wikimedia.org/T116475EMAIL PREFERENCEShttps://phabricator.wik

[Wikidata-bugs] [Maniphest] [Created] T145050: Wikibase API should use the modern JSON syntax in API response on formatversion=2

2016-09-08 Thread Fomafix
Fomafix created this task.Fomafix added a project: Wikibase-_javascript_-Api.Herald added a subscriber: Aklapper.Herald added a project: Wikidata. TASK DESCRIPTIONCurrent result on https://www.wikidata.org/w/api.php?format=json=1=""> {"entities":{"-1":{"s

[Wikidata-bugs] [Maniphest] [Commented On] T117358: Purge item when a referenced item has an label added or changed

2016-08-24 Thread Fomafix
Fomafix added a comment. A complete purge may not be necessary. At least the described cached value should be invalidated.TASK DETAILhttps://phabricator.wikimedia.org/T117358EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Sjoerddebruin, Aklapper

[Wikidata-bugs] [Maniphest] [Updated] T44396: duplicate/invalid language codes

2016-11-10 Thread Fomafix
Fomafix added a comment. In T44396#2777658, @Esc3300 wrote: Can we close this and just make new tasks for anything that is still outstanding? You can not close this task as resolved, because it is not solved. But you can merge this task with a similar task for example with T102533: [Bug

[Wikidata-bugs] [Maniphest] [Reopened] T62828: Special:SetAliases (or SpecialModifyTerm) should properly validate / normalize label/alias input

2017-04-12 Thread Fomafix
Fomafix reopened this task as "Open".Fomafix added a comment. I can restore the U+202F and it is not possible to remove or edit this value with the GUI.TASK DETAILhttps://phabricator.wikimedia.org/T62828EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferenc

[Wikidata-bugs] [Maniphest] [Created] T163083: ArticlePlaceholder tries to load not existing resources

2017-04-16 Thread Fomafix
Fomafix created this task.Fomafix added a project: ArticlePlaceholder.Herald added a subscriber: Aklapper.Herald added a project: Wikidata. TASK DESCRIPTIONhttps://nn.wikipedia.org/wiki/Spesial:AboutTopic/Q845189?debug=true tries to load the following resources: https://nn.wikipedia.org/w

[Wikidata-bugs] [Maniphest] [Block] T96040: Wikibase special pages (tracking)

2017-04-07 Thread Fomafix
Fomafix reopened subtask T62828: Special:SetAliases (or SpecialModifyTerm) should properly validate / normalize label/alias input as "Open". TASK DETAILhttps://phabricator.wikimedia.org/T96040EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Wikidata-bugs] [Maniphest] [Reopened] T62828: Special:SetAliases (or SpecialModifyTerm) should properly validate / normalize label/alias input

2017-04-07 Thread Fomafix
Fomafix reopened this task as "Open".Fomafix added a comment. The GUI still does not allow to edit or remove this alias: F7359697: T62828.2017-04-08.pngTASK DETAILhttps://phabricator.wikimedia.org/T62828EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferenc

[Wikidata-bugs] [Maniphest] [Commented On] T54564: Allow sitelinks to redirect pages to fix the 'Bonnie and Clyde problem'

2017-04-07 Thread Fomafix
Fomafix added a comment. In T54564#3163993, @Choomaq wrote: there are different types of redirects. In T42755 there was suggested to use the magic word __STATICREDIRECT__ as indicator for allowing sitelinks to redirects.TASK DETAILhttps://phabricator.wikimedia.org/T54564EMAIL PREFERENCEShttps

[Wikidata-bugs] [Maniphest] [Commented On] T105637: [Bug] "TypeError: context is undefined" when searchSuggest.js is used on Wikidata

2017-07-11 Thread Fomafix
Fomafix added a comment. I can still reproduce the error message in the _javascript_ console. TypeError: context is undefined https://www.wikidata.org/w/resources/src/mediawiki/mediawiki.searchSuggest.js:305:6TASK DETAILhttps://phabricator.wikimedia.org/T105637EMAIL PREFERENCEShttps

[Wikidata-bugs] [Maniphest] [Commented On] T170668: "Unknown dependency: wikibase.mobile" on Wikidata element pages

2017-07-15 Thread Fomafix
Fomafix added a comment. I also get this error message in the _javascript_ console on Wikidata.TASK DETAILhttps://phabricator.wikimedia.org/T170668EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Fomafix, Aklapper, Danmichaelo, GoranSMilovanovic

[Wikidata-bugs] [Maniphest] [Merged] T106367: Generate BCP 47 conform language codes

2017-07-03 Thread Fomafix
Fomafix closed this task as a duplicate of T152050: "de-formal" is no valid HTML language code. TASK DETAILhttps://phabricator.wikimedia.org/T106367EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Jonas, gerritbot, Aklapper, Fomafi

[Wikidata-bugs] [Maniphest] [Updated] T106367: Generate BCP 47 conform language codes

2017-07-03 Thread Fomafix
Fomafix added a subscriber: Phispi.Fomafix merged a task: T152050: "de-formal" is no valid HTML language code. TASK DETAILhttps://phabricator.wikimedia.org/T106367EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Phispi, Jonas, gerritbot

[Wikidata-bugs] [Maniphest] [Reopened] T106367: Generate BCP 47 conform language codes

2017-07-03 Thread Fomafix
Fomafix reopened this task as "Open". TASK DETAILhttps://phabricator.wikimedia.org/T106367EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Phispi, Jonas, gerritbot, Aklapper, Fomafix, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls

[Wikidata-bugs] [Maniphest] [Updated] T106367: Generate BCP 47 conform language codes

2017-07-04 Thread Fomafix
Fomafix added a parent task: T2209: HTML validity (tracking). TASK DETAILhttps://phabricator.wikimedia.org/T106367EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Phispi, Jonas, gerritbot, Aklapper, Fomafix, Lordiis, GoranSMilovanovic, Adik2382

[Wikidata-bugs] [Maniphest] [Created] T169551: Nu Html Checker generates error because of inside of

2017-07-03 Thread Fomafix
Fomafix created this task.Fomafix added a project: Wikidata.Herald added a subscriber: Aklapper. TASK DESCRIPTIONFor page https://www.wikidata.org/wiki/Q15397819 the https://validator.w3.org/ shows the following error: https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.wikidata.org%2Fwiki

[Wikidata-bugs] [Maniphest] [Updated] T145050: Wikibase API should use the modern JSON syntax in API response on formatversion=2

2017-05-01 Thread Fomafix
Fomafix added projects: MediaWiki-extensions-WikibaseRepository, MediaWiki-API. TASK DETAILhttps://phabricator.wikimedia.org/T145050EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Aklapper, Fomafix, QZanden, Sethakill, dg711, Izno, Wikidata-bugs

[Wikidata-bugs] [Maniphest] [Edited] T125073: [Story] Replace bad, but currently necessary language codes

2018-06-30 Thread Fomafix
Fomafix updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...* `mo` does not exist, it should be `ro-md` (or `ro-cyrl`): T18889 * `als` is described as Alemannic, but the language code for that is actually `gsw` and `als` is Tosk Albanian: T25215 * `sr-ec` should be `sr-cyrl

[Wikidata-bugs] [Maniphest] [Created] T187000: Special:AboutTopic fails with MalformedTitleException on Wikidata labels with "<"

2018-02-11 Thread Fomafix
Fomafix created this task.Fomafix added a project: ArticlePlaceholder.Herald added a subscriber: Aklapper.Herald added a project: Wikidata. TASK DESCRIPTIONhttps://nn.wikipedia.org/wiki/Spesial:AboutTopic/Q20648570?uselang=en shows Fatal exception of type "MalformedTitleException" bec

[Wikidata-bugs] [Maniphest] [Created] T186788: [Bug] Special:SetSiteLink shows the form twice after an error

2018-02-08 Thread Fomafix
Fomafix created this task.Fomafix added a project: MediaWiki-extensions-WikibaseRepository.Herald added a subscriber: Aklapper.Herald added a project: Wikidata. TASK DESCRIPTIONSpecial:SetSiteLink contains the form twice when showing an error message after an error: F13291336: SetSiteLink.pngTASK

[Wikidata-bugs] [Maniphest] [Reopened] T120847: Use BCP 47 conform language codes for the HTML attribute lang

2018-02-07 Thread Fomafix
Fomafix reopened this task as "Open".Fomafix updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONThe HTML attribute [[ http://www.w3.org/TR/html5/dom.html#the-lang-and-xml:lang-attributes | `lang` ]] should use [[ https://tools.ietf.org/html/bcp47 | BCP 47]] confor

[Wikidata-bugs] [Maniphest] [Updated] T120847: Use BCP 47 conform language codes for the HTML attribute lang

2018-02-07 Thread Fomafix
Fomafix added a parent task: T2209: HTML validity (tracking). TASK DETAILhttps://phabricator.wikimedia.org/T120847EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Lydia_Pintscher, Aklapper, Fomafix, Lahi, Gq86, GoranSMilovanovic, QZanden

[Wikidata-bugs] [Maniphest] [Commented On] T120847: Use BCP 47 conform language codes for the HTML attribute lang

2018-02-07 Thread Fomafix
Fomafix added a comment. Reopened. The HTML fails the HTML validation because of invalid lang attributes. This is not an invalid bug.TASK DETAILhttps://phabricator.wikimedia.org/T120847EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Lydia_Pintscher

[Wikidata-bugs] [Maniphest] [Edited] T120847: Use BCP 47 conform language codes for the HTML attribute lang

2018-02-07 Thread Fomafix
Fomafix updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONThe value of the HTML attribute [[ https://www.w3.org/TR/html5/dom.html#the-lang-and-xml:lang-attributes | `lang` ]] should usemust be a valid [[ https://tools.ietf.org/html/bcp47 | BCP 47]] conform language codestag

[Wikidata-bugs] [Maniphest] [Reopened] T120847: Use BCP 47 conform language codes for the HTML attribute lang

2018-07-20 Thread Fomafix
Fomafix reopened this task as "Open".Fomafix added a comment. Reopened. Validation of https://www.wikidata.org/wiki/Q5296 (https://validator.w3.org/nu/?doc=https://www.wikidata.org/wiki/Q5296) still fails because for the lang and the hreflang attributes LanguageCode::bcp47 is not ap

[Wikidata-bugs] [Maniphest] [Updated] T120847: Use BCP 47 conform language codes for the HTML attribute lang

2018-04-01 Thread Fomafix
Fomafix added a comment. T106367 is a related task for other lang attributes in MediaWiki core.TASK DETAILhttps://phabricator.wikimedia.org/T120847EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FomafixCc: Lydia_Pintscher, Aklapper, Fomafix, Lahi, Gq86

[Wikidata-bugs] [Maniphest] [Retitled] T106367: Generate BCP 47 conform language codes for the HTML attribute `lang`

2018-03-30 Thread Fomafix
Fomafix renamed this task from "Generate BCP 47 conform language codes" to "Generate BCP 47 conform language codes for the HTML attribute `lang`".Fomafix updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONMediaWiki currently generates for the HTML a

[Wikidata-bugs] [Maniphest] [Commented On] T207433: Fatal exception when using uselang=sr-cyrl or uselang=sr-latn on Wikidata

2018-10-19 Thread Fomafix
Fomafix added a comment. https://de.wikipedia.org/w/index.php?title=Wikipedia:Spielwiese=""> is also affected. It seams to happen when values from Wikidata are included in the page.TASK DETAILhttps://phabricator.wikimedia.org/T207433EMAIL PREFERENCEShttps://phabricator.wikimedia.org/s

[Wikidata-bugs] [Maniphest] [Created] T207447: uselang=zh-hant-hk causes fatal exception of type "BadMethodCallException"

2018-10-19 Thread Fomafix
Fomafix created this task.Fomafix added projects: Wikimedia-production-error, Wikidata.Restricted Application added a subscriber: Aklapper. TASK DESCRIPTIONError Request ID: W8mX4QpAME8AAHLuf4oAAACK message[W8mX4QpAME8AAHLuf4oAAACK] 2018-10-19 08:37:53: Fatal exception of type

[Wikidata-bugs] [Maniphest] [Retitled] T207433: uselang=sr-cyrl and uselang=sr-latn causes fatal exception of type "MWException"

2018-10-19 Thread Fomafix
Fomafix renamed this task from "Fatal exception when using uselang=sr-cyrl or uselang=sr-latn on Wikidata" to "uselang=sr-cyrl and uselang=sr-latn causes fatal exception of type "MWException"".Fomafix added a subscriber: cscott.Fomafix updated the task description.

[Wikidata-bugs] [Maniphest] [Created] T207433: Fatal exception when using uselang=sr-cyrl or uselang=sr-latn on Wikidata

2018-10-18 Thread Fomafix
Fomafix created this task.Fomafix added projects: Wikimedia-production-error, Wikidata.Restricted Application added a subscriber: Aklapper. TASK DESCRIPTIONhttps://www.wikidata.org/wiki/Wikidata:Glossary?uselang=sr-cyrl leads to Internal error [W8llMwpAMEsAACb4rOcW] 2018-10-19 05:01:39

  1   2   >