LucasWerkmeister claimed this task.
LucasWerkmeister added a comment.

  I tested the above patch locally with the following version of the 
`search-nonefound` message (adapted from the Wikidata version):
  
    There were no results matching the query.
    
    {{#switch:{{NAMESPACENUMBER:$1}}
    |122=You may [[Special:MyLanguage/Project:Property proposal|propose a new 
property]].
    |146=You may 
[{{fullurl:Special:NewLexeme|lemma={{urlencode:{{#switch:{{ucfirst:$2}}
     |L:{{PAGENAME:$2}}
     |Lexeme:{{PAGENAME:$1}}={{PAGENAME:$2}}
     |#default={{lcfirst:{{PAGENAME:$2}}}}
    }}|PATH}}}} create a new lexeme] for "{{#switch:{{ucfirst:$1}}
     |L:{{PAGENAME:$1}}
     |Lexeme:{{PAGENAME:$1}}={{PAGENAME:$1}}
     |#default={{lcfirst:{{PAGENAME:$1}}}}
    }}".</translate>
    |#default=You may [{{fullurl:Special:NewItem|label={{urlencode:$2|PATH}}}} 
create a new item] for "$1".
    }}
  
  Seems to work like a charm.

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

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

To: LucasWerkmeister
Cc: LucasWerkmeister, matej_suchanek, Ayack, Lucas_Werkmeister_WMDE, Aklapper, 
Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to